From caa0503a1a0422b0ec6c92fd291d9f018a2187a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Moreau?= Date: Thu, 10 Sep 2026 19:40:53 -0400 Subject: [PATCH 1/6] Wave P: event payloads, input events, and an imperative dogfood sample Fill the top consumption gaps found by auditing the projection against the four apps (all AXAML + view-model interop; zero imperative consumers): - Control gains KeyUp (Fields parity with KeyDown), GotFocus (NavigationMethod/KeyModifiers) and LostFocus, so keyboard and focus interaction is consumable from Rust. Control and every descendant republish under fresh IIDs. - SelectingItemsControl.SelectionChanged and TreeView.SelectionChanged now carry the added/removed item lists on host-implemented args interfaces (handler identities minted at version 2); RangeBase.ValueChanged carries the old/new value pair as fields. - avalonia-bindgen gains --write-baseline, the reviewed way to advance the frozen ABI snapshot after an intentional wave, wired into regenerate-and-build.ps1 as -UpdateAbiBaseline. - New avalonia example imperative_counter builds a full UI with no AXAML and no view-model IR, exercising composition, brushes, commands and the new event payloads end to end. --- .../.avalonia-projection.owned.json | 210 +- host/Generated/ObjectModel/IAvnArc.g.cs | 166 +- .../ObjectModel/IAvnAutoCompleteBox.g.cs | 166 +- host/Generated/ObjectModel/IAvnBorder.g.cs | 166 +- host/Generated/ObjectModel/IAvnButton.g.cs | 166 +- .../ObjectModel/IAvnButtonSpinner.g.cs | 166 +- host/Generated/ObjectModel/IAvnCalendar.g.cs | 166 +- .../ObjectModel/IAvnCalendarDatePicker.g.cs | 166 +- host/Generated/ObjectModel/IAvnCanvas.g.cs | 166 +- host/Generated/ObjectModel/IAvnCarousel.g.cs | 170 +- host/Generated/ObjectModel/IAvnCheckBox.g.cs | 166 +- host/Generated/ObjectModel/IAvnComboBox.g.cs | 170 +- .../ObjectModel/IAvnComboBoxItem.g.cs | 166 +- .../Generated/ObjectModel/IAvnCommandBar.g.cs | 166 +- .../ObjectModel/IAvnCommandBarButton.g.cs | 166 +- .../ObjectModel/IAvnCommandBarSeparator.g.cs | 166 +- .../IAvnCommandBarToggleButton.g.cs | 166 +- .../ObjectModel/IAvnContentControl.g.cs | 166 +- .../ObjectModel/IAvnContextMenu.g.cs | 170 +- host/Generated/ObjectModel/IAvnControl.g.cs | 184 +- .../IAvnControlGotFocusHandler.g.cs | 14 + .../ObjectModel/IAvnControlKeyUpHandler.g.cs | 14 + .../IAvnControlLostFocusHandler.g.cs | 14 + .../Generated/ObjectModel/IAvnDatePicker.g.cs | 166 +- host/Generated/ObjectModel/IAvnDecorator.g.cs | 166 +- host/Generated/ObjectModel/IAvnDockPanel.g.cs | 166 +- .../ObjectModel/IAvnDropDownButton.g.cs | 166 +- host/Generated/ObjectModel/IAvnEllipse.g.cs | 166 +- host/Generated/ObjectModel/IAvnExpander.g.cs | 166 +- host/Generated/ObjectModel/IAvnFlexPanel.g.cs | 166 +- host/Generated/ObjectModel/IAvnGrid.g.cs | 166 +- .../ObjectModel/IAvnGridSplitter.g.cs | 166 +- host/Generated/ObjectModel/IAvnGroupBox.g.cs | 166 +- .../IAvnHeaderedContentControl.g.cs | 166 +- .../ObjectModel/IAvnHeaderedItemsControl.g.cs | 166 +- .../IAvnHeaderedSelectingItemsControl.g.cs | 170 +- .../ObjectModel/IAvnHyperlinkButton.g.cs | 166 +- .../ObjectModel/IAvnIconElement.g.cs | 166 +- host/Generated/ObjectModel/IAvnImage.g.cs | 166 +- .../ObjectModel/IAvnItemsControl.g.cs | 166 +- host/Generated/ObjectModel/IAvnLabel.g.cs | 166 +- .../IAvnLayoutTransformControl.g.cs | 166 +- host/Generated/ObjectModel/IAvnLine.g.cs | 166 +- host/Generated/ObjectModel/IAvnListBox.g.cs | 170 +- .../ObjectModel/IAvnListBoxItem.g.cs | 166 +- .../ObjectModel/IAvnMaskedTextBox.g.cs | 166 +- host/Generated/ObjectModel/IAvnMenu.g.cs | 170 +- host/Generated/ObjectModel/IAvnMenuBase.g.cs | 170 +- host/Generated/ObjectModel/IAvnMenuItem.g.cs | 170 +- .../ObjectModel/IAvnNotificationCard.g.cs | 166 +- .../ObjectModel/IAvnNumericUpDown.g.cs | 166 +- host/Generated/ObjectModel/IAvnPanel.g.cs | 166 +- host/Generated/ObjectModel/IAvnPath.g.cs | 166 +- host/Generated/ObjectModel/IAvnPathIcon.g.cs | 166 +- host/Generated/ObjectModel/IAvnPipsPager.g.cs | 166 +- host/Generated/ObjectModel/IAvnPolygon.g.cs | 166 +- host/Generated/ObjectModel/IAvnPolyline.g.cs | 166 +- host/Generated/ObjectModel/IAvnPopup.g.cs | 166 +- .../ObjectModel/IAvnProgressBar.g.cs | 168 +- .../ObjectModel/IAvnRadioButton.g.cs | 166 +- host/Generated/ObjectModel/IAvnRangeBase.g.cs | 168 +- .../IAvnRangeBaseValueChangedHandler.g.cs | 4 +- host/Generated/ObjectModel/IAvnRectangle.g.cs | 166 +- .../ObjectModel/IAvnRefreshContainer.g.cs | 166 +- .../ObjectModel/IAvnRelativePanel.g.cs | 166 +- .../ObjectModel/IAvnRepeatButton.g.cs | 166 +- .../ObjectModel/IAvnScrollViewer.g.cs | 166 +- host/Generated/ObjectModel/IAvnSector.g.cs | 166 +- .../ObjectModel/IAvnSelectableTextBlock.g.cs | 166 +- .../IAvnSelectingItemsControl.g.cs | 170 +- ...ngItemsControlSelectionChangedHandler.g.cs | 94 +- host/Generated/ObjectModel/IAvnSeparator.g.cs | 166 +- host/Generated/ObjectModel/IAvnShape.g.cs | 166 +- host/Generated/ObjectModel/IAvnSlider.g.cs | 168 +- host/Generated/ObjectModel/IAvnSpinner.g.cs | 166 +- .../ObjectModel/IAvnSplitButton.g.cs | 166 +- host/Generated/ObjectModel/IAvnSplitView.g.cs | 166 +- .../Generated/ObjectModel/IAvnStackPanel.g.cs | 166 +- .../Generated/ObjectModel/IAvnTabControl.g.cs | 170 +- host/Generated/ObjectModel/IAvnTabItem.g.cs | 166 +- host/Generated/ObjectModel/IAvnTableView.g.cs | 170 +- .../ObjectModel/IAvnTableViewCell.g.cs | 166 +- .../ObjectModel/IAvnTableViewRow.g.cs | 166 +- .../ObjectModel/IAvnTemplatedControl.g.cs | 166 +- host/Generated/ObjectModel/IAvnTextBlock.g.cs | 166 +- host/Generated/ObjectModel/IAvnTextBox.g.cs | 166 +- .../ObjectModel/IAvnThemeVariantScope.g.cs | 166 +- host/Generated/ObjectModel/IAvnThumb.g.cs | 166 +- .../Generated/ObjectModel/IAvnTimePicker.g.cs | 166 +- .../ObjectModel/IAvnToggleButton.g.cs | 166 +- .../ObjectModel/IAvnToggleSplitButton.g.cs | 166 +- .../ObjectModel/IAvnToggleSwitch.g.cs | 166 +- host/Generated/ObjectModel/IAvnToolTip.g.cs | 166 +- .../IAvnTransitioningContentControl.g.cs | 166 +- host/Generated/ObjectModel/IAvnTreeView.g.cs | 170 +- .../ObjectModel/IAvnTreeViewItem.g.cs | 166 +- .../IAvnTreeViewSelectionChangedHandler.g.cs | 94 +- .../ObjectModel/IAvnUniformGrid.g.cs | 166 +- .../ObjectModel/IAvnUserControl.g.cs | 166 +- host/Generated/ObjectModel/IAvnViewbox.g.cs | 166 +- host/Generated/ObjectModel/IAvnWindow.g.cs | 166 +- .../IAvnWindowNotificationManager.g.cs | 166 +- host/Generated/ObjectModel/IAvnWrapPanel.g.cs | 166 +- .../AvaloniaProjectionProfiles.cs | 252 +- rust/.avalonia-projection.owned.json | 2 +- rust/COMPATIBILITY.md | 16 + rust/abi-baseline.json | 8394 +++++++----- rust/avalonia-bindgen/src/abi_contract.rs | 66 +- rust/avalonia-bindgen/src/lib.rs | 3 +- rust/avalonia-bindgen/src/main.rs | 54 + .../include/.avalonia-projection.owned.json | 2 +- rust/avalonia-sys/include/avalonia-rust-abi.h | 11258 ++++++++-------- .../src/.avalonia-bindgen.owned.json | 2 +- rust/avalonia-sys/src/generated.rs | 4895 ++++++- rust/avalonia-sys/tests/brush_abi.rs | 18 +- rust/avalonia-sys/tests/control_abi.rs | 66 +- rust/avalonia-sys/tests/definitions_abi.rs | 27 +- rust/avalonia-sys/tests/layout_abi.rs | 12 +- rust/avalonia-sys/tests/wave_a_abi.rs | 36 +- rust/avalonia-sys/tests/wave_b_abi.rs | 36 +- rust/avalonia-sys/tests/wave_c_abi.rs | 24 +- rust/avalonia-sys/tests/wave_d_abi.rs | 14 +- rust/avalonia-sys/tests/wave_e_abi.rs | 8 +- rust/avalonia-sys/tests/wave_f_abi.rs | 4 +- rust/avalonia-sys/tests/wave_g_abi.rs | 4 +- rust/avalonia-sys/tests/wave_h_abi.rs | 2 +- rust/avalonia-sys/tests/wave_i_abi.rs | 2 +- rust/avalonia-sys/tests/wave_j_abi.rs | 4 +- rust/avalonia-sys/tests/wave_k_abi.rs | 4 +- rust/avalonia/examples/imperative_counter.rs | 149 + .../avalonia/src/.avalonia-bindgen.owned.json | 2 +- rust/avalonia/src/generated.rs | 3537 ++++- rust/projection.ir.json | 558 +- rust/regenerate-and-build.ps1 | 14 + .../BrushMarshallingEmitterTests.cs | 10 +- .../ComSourceEmitterTests.cs | 4 +- .../GeometryMarshallingEmitterTests.cs | 2 +- .../ClrTypeExtractorTests.cs | 208 +- 138 files changed, 36182 insertions(+), 9959 deletions(-) create mode 100644 host/Generated/ObjectModel/IAvnControlGotFocusHandler.g.cs create mode 100644 host/Generated/ObjectModel/IAvnControlKeyUpHandler.g.cs create mode 100644 host/Generated/ObjectModel/IAvnControlLostFocusHandler.g.cs create mode 100644 rust/avalonia/examples/imperative_counter.rs diff --git a/host/Generated/ObjectModel/.avalonia-projection.owned.json b/host/Generated/ObjectModel/.avalonia-projection.owned.json index 46442aa..6ff924d 100644 --- a/host/Generated/ObjectModel/.avalonia-projection.owned.json +++ b/host/Generated/ObjectModel/.avalonia-projection.owned.json @@ -19,11 +19,11 @@ }, { "path": "IAvnArc.g.cs", - "sha256": "cf76c44d5f898f5b96cb700b87000d69025d7736056ef37c2a7e1d9fbfc57c3a" + "sha256": "59d16dd626ffb007382e9d761d0e65860e116d659b0d9ed27a53946f3626a474" }, { "path": "IAvnAutoCompleteBox.g.cs", - "sha256": "bd4e9915200011d3ab055e800c8c18427ef19027891e3ab13351f0ae88043096" + "sha256": "6a1501a24d43e6b76b7dc12228b788d89c39d0f2aa46c00f01d38538281ed1da" }, { "path": "IAvnAutoCompleteBoxDropDownClosedHandler.g.cs", @@ -63,7 +63,7 @@ }, { "path": "IAvnBorder.g.cs", - "sha256": "9b9442d465134725ea84f88e80be8d437e6fe7e6848803e815779f14b3ad6873" + "sha256": "5aa0f929ee0197060daee6517eed696548cc1c2c18112d25b4f624fcb7e89f0e" }, { "path": "IAvnBrush.g.cs", @@ -71,7 +71,7 @@ }, { "path": "IAvnButton.g.cs", - "sha256": "09d31d3f7ddf6570af36f21d0f74557a7103ca25ccbd847a86527c5491803375" + "sha256": "8eac1d8864849741000d65bd68829d2e0ffbcb42ca3bad73896e2abeee2dd55f" }, { "path": "IAvnButtonClickHandler.g.cs", @@ -79,15 +79,15 @@ }, { "path": "IAvnButtonSpinner.g.cs", - "sha256": "e3e36de62bf8fd9ae2b3ba0d055c8db68a8cb34ad733812b931c72f0a62203df" + "sha256": "60a65cdb6d991b3e3ff58bf5db1cca56638a8a408a763e40512811dcf40306c8" }, { "path": "IAvnCalendar.g.cs", - "sha256": "129c6308e54a6db8b564f2362ddcea648df962cf9aa71895ba29f2ac874826e3" + "sha256": "32cda70ad0e7d2089c29aa2c4148d973eb5d27064d551d87c90326726a84a089" }, { "path": "IAvnCalendarDatePicker.g.cs", - "sha256": "3832605d4759411bff694bbbb1ce04bebf7aa56a13b27aace601812f84eeefc1" + "sha256": "af4e6c24be30782abdf0b46d889f5196263227c060cc8a9ae8bd5373fa542253" }, { "path": "IAvnCalendarDatePickerCalendarClosedHandler.g.cs", @@ -119,7 +119,7 @@ }, { "path": "IAvnCanvas.g.cs", - "sha256": "00e3546e75469f62329c8a7b5b959e15341b873eae7aa05c02ad090b23d009b8" + "sha256": "e5df3c4724d5e955cd0f5c117ba849dd9ede906661f9a54bef8d8388ac506665" }, { "path": "IAvnCanvasStatics.g.cs", @@ -127,15 +127,15 @@ }, { "path": "IAvnCarousel.g.cs", - "sha256": "15e3a6d9f2c3b8d5e5493851cfd3d6cb11193265a0a6b09a79340fc90775e900" + "sha256": "f7b4727ebd5e2fb8f2afc732b01f0cbf4c52a718db65a08745475be9dfbe3b85" }, { "path": "IAvnCheckBox.g.cs", - "sha256": "6c19ad7f0277bda1da51f2211f0b08a10cd4b2790e0110e62d75c5d52ffd15a1" + "sha256": "dd8c8c532d70da177ad9127fd31176579cf9eadc1c6be2594584a510483093b8" }, { "path": "IAvnComboBox.g.cs", - "sha256": "13fddbf8a83c68f7862e1298181fc1c1593cdf83b486e7d31d930d4508b8c5c9" + "sha256": "ab6af3a65f4f08f81bf0e3558521ecd6e1f0d627dc32f5d2093f05f7f8a448fa" }, { "path": "IAvnComboBoxDropDownClosedHandler.g.cs", @@ -147,7 +147,7 @@ }, { "path": "IAvnComboBoxItem.g.cs", - "sha256": "1b3ee79e6a37333bdd50dae8068c2a1edab11041a97dd00e68fbbebb21c60ce2" + "sha256": "c7f80f04d06f78f495d94ec0a3d3e2ac9152187420f521d82e39b777bed7b3e8" }, { "path": "IAvnCommand.g.cs", @@ -155,11 +155,11 @@ }, { "path": "IAvnCommandBar.g.cs", - "sha256": "cec81982e180a2705bdfb16eae9ee6cb549b7bcea04cbc6e43de30007cbd344a" + "sha256": "17d9616479700c1285736ee3c81f697ef329485ded59670e19ffec392852073d" }, { "path": "IAvnCommandBarButton.g.cs", - "sha256": "597a94184c386077fad8e88126b7bb92f430b053cc473830117068445de0dfae" + "sha256": "6b59a0b13c171af10e621eee7f03b7a8f43b4a7abef4fae48cf64a3a69d131b6" }, { "path": "IAvnCommandBarClosedHandler.g.cs", @@ -179,19 +179,19 @@ }, { "path": "IAvnCommandBarSeparator.g.cs", - "sha256": "8fd25de5c066083b1ecca93b6a0adf2771ce418c3f99ff74e5178b09488b9953" + "sha256": "e6c8b7a045661a9a409b55c10ce226dd85b023afc8f4041aca22e132482c7534" }, { "path": "IAvnCommandBarToggleButton.g.cs", - "sha256": "92dd6eb5f9ac954a57ceb0e6868dd8e224bdcfd86581ccfeb0073e737616f6e1" + "sha256": "eaa6bc8a3dcb554b2b0a4631d8d13ec66292deec54b33720c0764ed55e631df3" }, { "path": "IAvnContentControl.g.cs", - "sha256": "cc0aa04814ce45eb57c62e86dd01173613ef2654143de815e60c9f18c1ebcf9a" + "sha256": "5e4ff7d86636b483e5a482b1e2cbb52e04bc337b10ba4eb2d8ab06282dba8cdd" }, { "path": "IAvnContextMenu.g.cs", - "sha256": "52e5c27095bf38aa7240206533f967cc5bafca0718f441a17dc10e4b8e53e17c" + "sha256": "24dc67e6541f36abe54ec0a479b6707555cdefa64475adba6a7a38eeae96b7a4" }, { "path": "IAvnContextMenuClosingHandler.g.cs", @@ -203,16 +203,24 @@ }, { "path": "IAvnControl.g.cs", - "sha256": "7c4ad3eae384fee1fbe1322d5e87fd40f2878fc7a4485c8f2777f7e211e22175" + "sha256": "8868cd2d509d95e146a94d60d57f8e08598e074922206172d78a41d8b7f1e1ab" }, { "path": "IAvnControlFactory.g.cs", "sha256": "0b16561747ebc843651c90574e80d5b5d4047ed1de15580b1017579f521a3d0d" }, + { + "path": "IAvnControlGotFocusHandler.g.cs", + "sha256": "0710d53e5740ac3fbdc72e7b3383bdd764135bad29cf901d4c1c0c8df19da6d3" + }, { "path": "IAvnControlKeyDownHandler.g.cs", "sha256": "0b187d8c401d810731e7ce37872c7c90d34a855b8b15ccc65f025992cb2e6c5e" }, + { + "path": "IAvnControlKeyUpHandler.g.cs", + "sha256": "5c5b2ef592d3c407b1c77a5fdf2e1856878a2347644182d35f962d585e0b693d" + }, { "path": "IAvnControlList.g.cs", "sha256": "05b3f6dc9d5721431fdb72880db358d77b0243aff3b6f71dfdfe714619126738" @@ -221,6 +229,10 @@ "path": "IAvnControlLoadedHandler.g.cs", "sha256": "f0f5a66674b7a657c5ab2781d729398be89859bae808d536516a3f9b6393228c" }, + { + "path": "IAvnControlLostFocusHandler.g.cs", + "sha256": "685d800933f2f955b85cf11e9eb580977ebd786a911c2163c3aa0c18866bcb6a" + }, { "path": "IAvnControlPointerEnteredHandler.g.cs", "sha256": "fd84807be1efb7f5509b2c4ae9e456bd06d52c9fc8727fed4dd305540636fbb0" @@ -243,7 +255,7 @@ }, { "path": "IAvnDatePicker.g.cs", - "sha256": "f3d9f55f73f71ce820062b08df524ab67edfb02dd4a8e9148610550e9a035be3" + "sha256": "57596e1ee4edb79e3c4c48ba0d6327c286cc49fdb7409a6582a6a8efa327bcef" }, { "path": "IAvnDatePickerSelectedDateChangedHandler.g.cs", @@ -255,11 +267,11 @@ }, { "path": "IAvnDecorator.g.cs", - "sha256": "e88f6411672f29ffdfa08efbb978aba67ca17e6625f98b5bec255d116d637261" + "sha256": "d1567af9c1029e2f2d8fdfb678a6f92c424fd6637a0b780774774f6db7e4a82d" }, { "path": "IAvnDockPanel.g.cs", - "sha256": "c0cfae3ed6ab616eaf82ae461792fa6277c7536bb68252337b8ad979a90bb46f" + "sha256": "8ce541a5ba44af31361e4e9348f91871120c15a93624c59f2614601160d09b5a" }, { "path": "IAvnDockPanelStatics.g.cs", @@ -267,15 +279,15 @@ }, { "path": "IAvnDropDownButton.g.cs", - "sha256": "bd086cbf4585a746837b78304891529fba7539a7329374592094d6ce743589af" + "sha256": "ab8ab87dbe6cad7e7070216ba8464753a2cebf0aae9a2b2eca7957f6523c04a3" }, { "path": "IAvnEllipse.g.cs", - "sha256": "a20813f32ac4a0624a948f588203c0dfee506919a7019b2e9ba408ab58219d37" + "sha256": "bab25a06db466ed246ca1e428ced3c6027166b160fbfe4b0e8911d40b4dd61d4" }, { "path": "IAvnExpander.g.cs", - "sha256": "0f77543fd5f39274aae5c2069e6969cba86c7061ff98665e35bca9e0e06e3769" + "sha256": "cf486379c64cd674b159c23f25b0906098832f102859ed93ef60d915b2db85a9" }, { "path": "IAvnExpanderCollapsedHandler.g.cs", @@ -295,7 +307,7 @@ }, { "path": "IAvnFlexPanel.g.cs", - "sha256": "f0d7c81a4187a5d74c71f49ec34e6537f9257a25caccb7f25271ffe08ffed9bf" + "sha256": "bd71b4d1b7cc38956d39c7d3e77b85447707296231a9629a4280557b5e7230ce" }, { "path": "IAvnFlyout.g.cs", @@ -315,11 +327,11 @@ }, { "path": "IAvnGrid.g.cs", - "sha256": "dc657cbc69548c23cc9323b0b420f65370366147753fa2bb6ffc30144491da68" + "sha256": "a5faa7a8fc98eb4839e03dd2d1eb8c9851a74cee3330ec3640e61120fdc37831" }, { "path": "IAvnGridSplitter.g.cs", - "sha256": "3a40de1ca8f994ec3d91d083bed2d14647185adfdfabb5e2e51eea0ec79040b7" + "sha256": "1876f90e45a18f43c4195b398670134f7e79bfde2193e5946f4742f555d2d7cc" }, { "path": "IAvnGridStatics.g.cs", @@ -327,31 +339,31 @@ }, { "path": "IAvnGroupBox.g.cs", - "sha256": "8d3ac22d1adc8e41f1d4225845caa309f3b457944c3c7a7dc46b9453f828e645" + "sha256": "22572df2c63616bd8ab6124c805892bd86dd8c90e0b8555fb2a80a70b533f937" }, { "path": "IAvnHeaderedContentControl.g.cs", - "sha256": "a03bf91738cb9ddff0c9f12447b745766f3dbf13712a8bf0f40e55c7dc984a11" + "sha256": "3e6eaf93327699196e21aeff52f637534355e46bc74e4806b9f666d35cec3db2" }, { "path": "IAvnHeaderedItemsControl.g.cs", - "sha256": "598ecbd41eed14b65199417cbd5d7e19310c5a44f232b6a81889704b99d71f14" + "sha256": "f75d8d62c018a32c9c8f879767bc6267d02d4706e63769461234c2cd6399a427" }, { "path": "IAvnHeaderedSelectingItemsControl.g.cs", - "sha256": "6f2058756b7f1f17faa2d1cc3da8ef76596e435ae05edb75adb2116e9018a999" + "sha256": "5bde4d7323596488226f56cfc737ea86020400a57101f59177aa749357f46930" }, { "path": "IAvnHyperlinkButton.g.cs", - "sha256": "009653523b1cbb1d9f26d1f10af36662493ecc50e911773899a45a77f994cb15" + "sha256": "5c443423ea57a16709275476fb40959d7921b2630eb4204149e50ab138fab06b" }, { "path": "IAvnIconElement.g.cs", - "sha256": "8570ceb12f28afb6e337127bbe2b317bc07d67c48c1e3561ba7f68c8e38e9b01" + "sha256": "fcb3a64ff61fbe13d1c76e361d29e6640dab782c3ded197b03add7bb4ea1b6da" }, { "path": "IAvnImage.g.cs", - "sha256": "a078374c92658fbed3b03cb9c52c2b71286b1319cb21b5a6da927a8cbd979ab7" + "sha256": "6c04e891889857265f64f582dffb542093bebbaad0722dd31e13187fc22abc69" }, { "path": "IAvnItemList.g.cs", @@ -359,39 +371,39 @@ }, { "path": "IAvnItemsControl.g.cs", - "sha256": "58826137b148c1c8b9f45aa6d0e2981f8258fa613e1ba9fe41c36c79400cc70f" + "sha256": "43757e13e3d7464753b12931a04c3c4adcceea32bc64417384281bd9b8493afb" }, { "path": "IAvnLabel.g.cs", - "sha256": "6fe6f30b88d6c895310e5f7e2f8bed1c09fc8c910573d0ea096ae3cdf4553ebd" + "sha256": "780bf4bcccda4fb5e26632c653059c6c42417171d5f9c51c44e1e0a80a6542d2" }, { "path": "IAvnLayoutTransformControl.g.cs", - "sha256": "4a13dce5f3abc824990ba41093f43485a86c62f5c17b1d420365e0256959d437" + "sha256": "3c68a5b5e8852b2d13eb1af1df88e16cc2a02f8fc69a25d4c2659f53245ac7e0" }, { "path": "IAvnLine.g.cs", - "sha256": "1a9665cc44fe50b5eaa3acca50afd3e8c911939d2e80846f2ecc874b28632067" + "sha256": "334299c6f645a0851caa39bf56bf0f355b2139094bb65d9cf0d14eead73da704" }, { "path": "IAvnListBox.g.cs", - "sha256": "b5cfd1d0673a227afad783ea8ebddd94abd5dc7173dc9f5ff419710a8045dc6c" + "sha256": "a8487e7971d6ed17b90fab74cf8fbf729b33fccd37ae038b4d6bea0e9a0740dc" }, { "path": "IAvnListBoxItem.g.cs", - "sha256": "72c726a605d4dfcf80d32c4bfd793fd5ad20a49c1d751e4788802c1b6291099c" + "sha256": "d7b612c31c4b38fe5446b479fffa8f5c1ca0d5c74e9bc3df8bfd85af4711db09" }, { "path": "IAvnMaskedTextBox.g.cs", - "sha256": "c7e94917d4c63813619dc09c3c5935db256d600cd88796ee6cf9e19dfda63abc" + "sha256": "33023bfeffdc9618496e2e53c70d3b1bba1f98f48d0624940be3fca426fc8ff3" }, { "path": "IAvnMenu.g.cs", - "sha256": "42ca3033d02246c386ac4e653ec5d15a4b3cab69b3828d48b10d849385dc6c1e" + "sha256": "71ae9d7dc5173eba1d27f73eae255049b156b92768dbe91a8c15d937e2658133" }, { "path": "IAvnMenuBase.g.cs", - "sha256": "014eed75e3fbc261e299fcc563275a9288458711fcd9ab0500a41a1ccc4640ef" + "sha256": "77512be5669e638d3cfa54faa157a69616a9bf1d1c3d60086f4e9aaddb69074c" }, { "path": "IAvnMenuBaseClosedHandler.g.cs", @@ -407,7 +419,7 @@ }, { "path": "IAvnMenuItem.g.cs", - "sha256": "7a24a3d7cf2cf96fccfe56722a2c9da6d649a4342a79ddf4388d8b3184cfb471" + "sha256": "4a3aa400070e6e0d51752aa2693f0503be01ef666d6e8cf564f52eabaebd8f68" }, { "path": "IAvnMenuItemClickHandler.g.cs", @@ -423,7 +435,7 @@ }, { "path": "IAvnNotificationCard.g.cs", - "sha256": "d1a6f3e925f3b6fe58a33962b7d774b543ab25c8901727feb425b8efea6fdfaf" + "sha256": "3b9ffcb8d57cedcc80110cd5b6cc9044f5dbd9940683208a0da718bd94de2413" }, { "path": "IAvnNotificationCardNotificationClosedHandler.g.cs", @@ -431,7 +443,7 @@ }, { "path": "IAvnNumericUpDown.g.cs", - "sha256": "8abc87664fe645c99438748a1f2a92c1a81b7fa3c995798ddb60bbaa26d09523" + "sha256": "56b9fb7415d54b67029a55475c2158aea6f167a22ab48b959c00ddfe36427031" }, { "path": "IAvnNumericUpDownSpinnedHandler.g.cs", @@ -443,19 +455,19 @@ }, { "path": "IAvnPanel.g.cs", - "sha256": "22a0029f737e24708c749fd8683a8717a4dbcaf6f0d8d133a32cf1dbbabec97a" + "sha256": "5afb8cb9dadfdd318d6dee1c777ed8611992ebef14ed58b18d0ba361bf7b388b" }, { "path": "IAvnPath.g.cs", - "sha256": "3bef1e24d4e7e1474be698fe5e7696c22d8df13c41f97551ad5c1514dc7e9b17" + "sha256": "cebf4a14ecfeb5c763afa60cda46c90aae6ebe8ab0e2c7f32eaba94bc4af4ad3" }, { "path": "IAvnPathIcon.g.cs", - "sha256": "fe01de95ae12514ed529a0441d59e8d51c39e1aac6d7b93e9e22c5fb155de761" + "sha256": "6a6d6991ef17506049b1e5c38ccf0b988754346783ccf7202807135ff34f44dc" }, { "path": "IAvnPipsPager.g.cs", - "sha256": "032a107f435761d27f7946930d41df132ad19be95ca1a310cb85afb01a022adc" + "sha256": "d786db945bd454f88ea36e4d8047a153d81a6d1b70bbce78a017f86c119557bf" }, { "path": "IAvnPipsPagerSelectedIndexChangedHandler.g.cs", @@ -463,15 +475,15 @@ }, { "path": "IAvnPolygon.g.cs", - "sha256": "690bf87e16b2a64df999f5e3d76e5bc3623dc717029385e11dde104461901bff" + "sha256": "5f50d77c6a93be787568e5c0fa281159bf58b8fc315a8fe18b8a3816a6bfa2f5" }, { "path": "IAvnPolyline.g.cs", - "sha256": "b43472481ac14f8565c6c2e0ce2300db603407961a2d68b19cacb1813c476d64" + "sha256": "fcb5e30a76fbb5d073d3961a89493d14b821e0c0a7f93684b00cf087d7b5e7e1" }, { "path": "IAvnPopup.g.cs", - "sha256": "591223ebea51227778c11141d841b402e4d4e4800d3e7d450bb97193f746588d" + "sha256": "3c8c920c3f904d56ac67f714248a57093e94711932dc8ddcc42c73f354a34f8e" }, { "path": "IAvnPopupClosedHandler.g.cs", @@ -495,27 +507,27 @@ }, { "path": "IAvnProgressBar.g.cs", - "sha256": "6750e0644e98fe809333a1f39dcbddb07fa26d43dbe63f907dcd14c8c8da7058" + "sha256": "912f79cd7d0fbc6dd994e6443f8d22360db050cf317eef02fe99837b4422964a" }, { "path": "IAvnRadioButton.g.cs", - "sha256": "cf816262a98c157f64ded99510fb83e2af0b5bd59a3b5fa4a00b5c328e610bcd" + "sha256": "6ae3f71064dbf16c16b9eea366bd0f1d2dc21bffaff2dbe7c1ba4150060f2717" }, { "path": "IAvnRangeBase.g.cs", - "sha256": "31a161e0b4e367d37276b0fb185281f3fa537fb40b89a6b196256f3eb32283a5" + "sha256": "ef9c0e3e8c5e4d0e9c753822ce42321ae0ee13071d6b0caf335aefa6e37c3064" }, { "path": "IAvnRangeBaseValueChangedHandler.g.cs", - "sha256": "33ffa6b1abdc3eb6d61b66c55eb107905272e0a0cf0629ec039d3c34d04094b6" + "sha256": "7907d0cc1291c5b40c079e95265c55826fc1c3f3f40c2a401a00b6750cd842fc" }, { "path": "IAvnRectangle.g.cs", - "sha256": "db506b168e776f3ab4503511a0649893d63356b7fd303180e105a6f5f6a73d2f" + "sha256": "96b104bd2f1d505c2daf5b0447b546de4bb7973f127cb8b9c8faf2afd51c57a7" }, { "path": "IAvnRefreshContainer.g.cs", - "sha256": "552d5713fa1c0a279373a66b8199b16879dadfc5d3ddad23f05f2a11d7b4a083" + "sha256": "5dd5ac6109b95f4c4a149a94aeb765be5e44409d7ba4a438a0a3ab7bdc2224b8" }, { "path": "IAvnRefreshContainerRefreshRequestedHandler.g.cs", @@ -523,7 +535,7 @@ }, { "path": "IAvnRelativePanel.g.cs", - "sha256": "1fea4e93fc172deff8f26887a97cbb9b04ac3def99cd30d7f7d6be6e7a49b250" + "sha256": "4a61c1a614967e958b313faddf84d7ac35996756d9de58db919b95ed421c96cd" }, { "path": "IAvnRelativePanelStatics.g.cs", @@ -531,11 +543,11 @@ }, { "path": "IAvnRepeatButton.g.cs", - "sha256": "272ea31c7d619dda2399bed6224433af503a5924533fc60595f380dd23f4b7fe" + "sha256": "81e2a687e61a778c044e89e78e621c531fe1a766b2e14af930681a4970a94b61" }, { "path": "IAvnScrollViewer.g.cs", - "sha256": "194bef1f63869856fffb597b42c435687d95411b00998d75d02eb1d6ba62a213" + "sha256": "e6a9416e7fd79588665ac3dbb11420a5ef9e230c7c6a3e36efc690a7969ea44c" }, { "path": "IAvnScrollViewerScrollChangedHandler.g.cs", @@ -543,11 +555,11 @@ }, { "path": "IAvnSector.g.cs", - "sha256": "c343262c56d93a33284df114670c6a9e74c00d8b6fe29121d59ae5de539b29af" + "sha256": "f51a366187f746c101b316a9ef6f08a8ba9265ae07b6a8970faefbd0f9921715" }, { "path": "IAvnSelectableTextBlock.g.cs", - "sha256": "cbe1e9113f8f97a92640ea2334b597224fa6cf9de4cb0373dfed90b52566c728" + "sha256": "a39f31c4f84484d2b1c7fff8a6a795492fc5d635292493984a0b0cca0ea03144" }, { "path": "IAvnSelectableTextBlockCopyingToClipboardHandler.g.cs", @@ -559,27 +571,27 @@ }, { "path": "IAvnSelectingItemsControl.g.cs", - "sha256": "3cf409bc49a05c89847845b9bf2a273b7356a42b021ead86e572c83b9d0b7ab2" + "sha256": "c43f40ef094f7e73f49053146233ac597732f2f497f1672b13b09ace4ebae2e1" }, { "path": "IAvnSelectingItemsControlSelectionChangedHandler.g.cs", - "sha256": "4cae2baaa187b918a00b828e5e9778170b1288283dfc551737afc447658503df" + "sha256": "e991504e74d731418b19868ecee9edfd62c4e342aa59a8979b6b7b13a4fc7856" }, { "path": "IAvnSeparator.g.cs", - "sha256": "096179351875e2648923a249660bf34fb660259460342684a0b47d665e269b1b" + "sha256": "e1268b65e02236de2eb719d577baa6b6b421394cbd4b6df9c608c566f66e03ee" }, { "path": "IAvnShape.g.cs", - "sha256": "7e6666c36266a9e1423199a058ba2005b9fb700ea2858a6d0bfdb7cd3c021c0b" + "sha256": "fb36307b5076646d1337a42e36c4acc54962a700919296e10d44698287d967a0" }, { "path": "IAvnSlider.g.cs", - "sha256": "22a164334a903b4249c5bade1bea5b468e4bbaec0840f414d5c0ba07c4cb859e" + "sha256": "f357e303ba362e023d008f2622e866301546a38d0183707bbd65a714eda167f9" }, { "path": "IAvnSpinner.g.cs", - "sha256": "5af8f13b3a84a2b5a2b600c07c46f66a02e2d8b95147bbe1819da14af3236724" + "sha256": "c68e06f349b87b11e99a70e4b6ca44421686ae9140eef8177019827850721869" }, { "path": "IAvnSpinnerSpinHandler.g.cs", @@ -587,7 +599,7 @@ }, { "path": "IAvnSplitButton.g.cs", - "sha256": "faf86530faa1083290c2aae0583e13bc816fbb129336f26f7388afdad53f6101" + "sha256": "2c54885863c49f890cd6de799f469ad93de4c11b9ad7cf4f1d2271cd3fe847ad" }, { "path": "IAvnSplitButtonClickHandler.g.cs", @@ -595,7 +607,7 @@ }, { "path": "IAvnSplitView.g.cs", - "sha256": "73e61c5ad47bfbbd4927832c213449b23804ffb051097d8c8f188fca6d2d447f" + "sha256": "e1a2d61e71dd3b5ed70291a69970eb1c3dc416727f0766f1a819baea10e5aa5e" }, { "path": "IAvnSplitViewPaneClosedHandler.g.cs", @@ -615,7 +627,7 @@ }, { "path": "IAvnStackPanel.g.cs", - "sha256": "6391c33268fb7e921dadf1dcdead13629caf8e0a2295f6040037bb4f94d10272" + "sha256": "6c6aded90413454c6d1008edef403e1fbff3cb2a4b480c884bec8da853c7007a" }, { "path": "IAvnStringList.g.cs", @@ -651,19 +663,19 @@ }, { "path": "IAvnTabControl.g.cs", - "sha256": "78d1cb91ca9d95b464edbc837e053ecb0a0b8567f2a3b093e527f1384c369090" + "sha256": "44d06624e2e1dee2638d2f27583814a9d03b2f396accf68700ae9b5c13ca45ca" }, { "path": "IAvnTabItem.g.cs", - "sha256": "9e7ca461d2aff8a0724dc611f549b6988f551c9ee090ee369c911dbc4e3eccb1" + "sha256": "58185d2e0b14d4ccd9e1e279f087fd21f3b0b051688526c859d9723abf72e18c" }, { "path": "IAvnTableView.g.cs", - "sha256": "0558cfb03d0cb8a994e34826c5ce5107b1722da38f6b361cdc11a0033c0e51b5" + "sha256": "c3f058752d43a8e8b71560c8e6b5207f653970aa11ccfc89dfd57d86f4ce1906" }, { "path": "IAvnTableViewCell.g.cs", - "sha256": "30cad4cc82f06b89f620bca8a3bd362f76be4a5d5a44c62fca9f5c8b4809ec32" + "sha256": "98a51aeb0f603ce1064a9bb10497d7a22bff5e049ca8d7c6c59344d6cc0e625f" }, { "path": "IAvnTableViewColumn.g.cs", @@ -671,19 +683,19 @@ }, { "path": "IAvnTableViewRow.g.cs", - "sha256": "91bd6ae3f4da55e9a473e44d4d6e6e50ceec91ca20fcb1114572fb3cb92a0af4" + "sha256": "57e1a649f5a254a69dafb57c9332950cefff5ae2e08baffb3430334f429b2879" }, { "path": "IAvnTemplatedControl.g.cs", - "sha256": "f8d9df6840076db806935a8519abf31b6c3369e7194937fd870241c1c44278b0" + "sha256": "c90877cf2b322d8119c790b01a69460a0d40c82b95ff7f1e882b51f4d9acba68" }, { "path": "IAvnTextBlock.g.cs", - "sha256": "fa3d4dc2cb40892612c595f86e415a619fc23d133fcaef5ba6ee11859f99aa43" + "sha256": "bb71c04fe8a1609646768c9f4f662615b15ddb9a27640e5c22cd5abab2b87171" }, { "path": "IAvnTextBox.g.cs", - "sha256": "20d5eeb221afcb9264aa78172ed5437def531ffecaca18eb2fd3711507f51399" + "sha256": "fffea4d28dd44d8ed34ad63482855247f3b268148b003d12dca733e87823eaff" }, { "path": "IAvnTextBoxCopyingToClipboardHandler.g.cs", @@ -707,11 +719,11 @@ }, { "path": "IAvnThemeVariantScope.g.cs", - "sha256": "41e18d283f253862ef215ce36ba30adfbe2369038974700baa3689c7545ea8ab" + "sha256": "4fad267e51d834cd54f2f317470411d5de593ab90410fe3495bb9742ec152c58" }, { "path": "IAvnThumb.g.cs", - "sha256": "024cdb96ff4164e79bb5414ff08e334d352c915977f70ccf7759c1d656e1a12f" + "sha256": "5137fccd10ccf41df2f3578fc3e3de875c4515ba4c671fe9ee5a65ef8252a67e" }, { "path": "IAvnThumbDragCompletedHandler.g.cs", @@ -727,7 +739,7 @@ }, { "path": "IAvnTimePicker.g.cs", - "sha256": "fa0a06e02dc51c2acbaccdd821c2946c5665b1807e3e0c0dec21313cfe6ac1d4" + "sha256": "94453a248781c0a719389c8f5a38035fdb3a8099e8c2c45a399e3405d5f277c1" }, { "path": "IAvnTimePickerSelectedTimeChangedHandler.g.cs", @@ -735,7 +747,7 @@ }, { "path": "IAvnToggleButton.g.cs", - "sha256": "15c556ef23f2893bba1d624ab58b7fcff9b8cfe999675659ed89613b11ebd030" + "sha256": "74e5d55d8b8489caba80a6a0aec6ea8674672c3f3186c534d52e17eff31596c6" }, { "path": "IAvnToggleButtonIsCheckedChangedHandler.g.cs", @@ -743,7 +755,7 @@ }, { "path": "IAvnToggleSplitButton.g.cs", - "sha256": "6cbec36127112fc5fd38533e84a6f383861e09dc90dd92e125a453aa3160189c" + "sha256": "0583cdafe4bbe5bf20e636fbb7669299d9108fe39c0b06ba64991697bfba0f09" }, { "path": "IAvnToggleSplitButtonIsCheckedChangedHandler.g.cs", @@ -751,11 +763,11 @@ }, { "path": "IAvnToggleSwitch.g.cs", - "sha256": "0bef03f0aea59b43d00203f2e1c427b7805f81a33fd84797804841409f9d8b9d" + "sha256": "10d9cb54bb64b628df0c889370b46a0fb2d28f907217b933337245b5fce05c2a" }, { "path": "IAvnToolTip.g.cs", - "sha256": "3506635f21f669f8b3ffcbed985159d17b46ae602812ecb1332957c8118f13a2" + "sha256": "31de0fe541c3db5bdbe0aa3b05e472f3413291b12dda7d9fbbf67d9acc08cdf6" }, { "path": "IAvnToolTipStatics.g.cs", @@ -763,7 +775,7 @@ }, { "path": "IAvnTransitioningContentControl.g.cs", - "sha256": "2b159ba0d27f1aaa9b795f0d6b054eb7497f4a2e7e0028bf758354afff4d4dc2" + "sha256": "f83fb224bc40959d8f2948b90b3eaf412468e91b5559c4dd4497cb9d95bc4036" }, { "path": "IAvnTransitioningContentControlTransitionCompletedHandler.g.cs", @@ -779,11 +791,11 @@ }, { "path": "IAvnTreeView.g.cs", - "sha256": "e511f48ca6f83685ae570b7f10ea11203e98bfe5f6686fb5db5c8f54148fc8d5" + "sha256": "078365e043f4e1ddd401b71ff0d940201d2174a4c657dd658d263246f1655218" }, { "path": "IAvnTreeViewItem.g.cs", - "sha256": "60b2e912018528c8e4b210a00cfe89a362516f27df83968fdac55c815c58a9f0" + "sha256": "ed031cec7fc25722a7d18d5ede4e1874c37feb4250ada566fb65075f2c810f3a" }, { "path": "IAvnTreeViewItemCollapsedHandler.g.cs", @@ -795,15 +807,15 @@ }, { "path": "IAvnTreeViewSelectionChangedHandler.g.cs", - "sha256": "b12b8768eac176770ba3afa59846d31cb1fda1bf8815372f0b7e01c05a08c8cc" + "sha256": "01b826adb47611cb9281d075c7c397c6615a05a0e4a571bc665a4cca2b3e8655" }, { "path": "IAvnUniformGrid.g.cs", - "sha256": "9bea5d2135ba8aeec70ec4d72be3aead2424fc5823fcaa7c162705ea6be3af01" + "sha256": "c968432b9b147124a9a0df90e77bf6b4285aa1929b3005f74dd9af86d1e87cac" }, { "path": "IAvnUserControl.g.cs", - "sha256": "155e77dcd2abee2cf2a9ffecd98ce841fd3ba70ec16d62cc11e7d57b6e1adbcd" + "sha256": "9f736cb332a5f6b9ad5179f8f3134c6b6d9221b907aa002ff8975f47c52876bc" }, { "path": "IAvnVariantList.g.cs", @@ -811,11 +823,11 @@ }, { "path": "IAvnViewbox.g.cs", - "sha256": "4e025bc31e0a358bc8710b2e952f0f838564f214207aa8586d8745fd82379795" + "sha256": "8a5f77d462f43b6e0c717b9af4f055e5e90f47d1d8224083e5982ed464d7749f" }, { "path": "IAvnWindow.g.cs", - "sha256": "c9153c57041331265ecca0e7c35f35131768819bb7eae89a2e5905dd5f85cddd" + "sha256": "e04d2587efddd87c49151a851c83f843a7b054a0cb4dca0837c0ec2fb0b7b1a1" }, { "path": "IAvnWindowClosingHandler.g.cs", @@ -823,11 +835,11 @@ }, { "path": "IAvnWindowNotificationManager.g.cs", - "sha256": "e52935ea45263f5c45745cd3ff003f85be2ddda1e4430dfe3cc97bb86566d0f1" + "sha256": "daaf87696c241192b6e79a1a3a6cf708d69b15d6da0323811ff9dc6835264964" }, { "path": "IAvnWrapPanel.g.cs", - "sha256": "aa430137c7221d737ae2652b78883575a409f8770725dc2dd2c17b1f4977025e" + "sha256": "a0308cdfdd093b2fd8705808cb6e7b8d3b8a18a594716ad0b80559f075c2f212" }, { "path": "ProjectionAotRoots.g.cs", diff --git a/host/Generated/ObjectModel/IAvnArc.g.cs b/host/Generated/ObjectModel/IAvnArc.g.cs index ee3dcc5..f6cc7bf 100644 --- a/host/Generated/ObjectModel/IAvnArc.g.cs +++ b/host/Generated/ObjectModel/IAvnArc.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("80597080-EEDD-5CAA-B4F1-88D78CA23B79")] +[Guid("394ACB52-3BF3-52D6-97E8-4BF0C102F4BE")] public partial interface IAvnArc : IAvnShape { [PreserveSig] @@ -47,8 +47,14 @@ public sealed partial class AvnArc : IAvnArc private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1128,6 +1134,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1176,6 +1274,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1665,12 +1811,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnAutoCompleteBox.g.cs b/host/Generated/ObjectModel/IAvnAutoCompleteBox.g.cs index d797ed2..b8dfd02 100644 --- a/host/Generated/ObjectModel/IAvnAutoCompleteBox.g.cs +++ b/host/Generated/ObjectModel/IAvnAutoCompleteBox.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("92CEFC39-4E40-5193-893F-F3E2C77ED24C")] +[Guid("86643B56-B59D-5EE3-8A9B-D44F7DA909E7")] public partial interface IAvnAutoCompleteBox : IAvnTemplatedControl { [PreserveSig] @@ -221,8 +221,14 @@ public sealed partial class AvnAutoCompleteBox : IAvnAutoCompleteBox private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1318,6 +1324,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1366,6 +1464,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -3039,12 +3185,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnBorder.g.cs b/host/Generated/ObjectModel/IAvnBorder.g.cs index 7d53c87..87316d2 100644 --- a/host/Generated/ObjectModel/IAvnBorder.g.cs +++ b/host/Generated/ObjectModel/IAvnBorder.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("80C1079E-AFDF-5483-A560-2DDB475CF894")] +[Guid("DFE5487A-B7C3-5DD1-A6EF-0CC9B9E6FC9C")] public partial interface IAvnBorder : IAvnDecorator { [PreserveSig] @@ -74,8 +74,14 @@ public sealed partial class AvnBorder : IAvnBorder private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1155,6 +1161,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1203,6 +1301,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1615,12 +1761,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnButton.g.cs b/host/Generated/ObjectModel/IAvnButton.g.cs index bdc6215..b4989d3 100644 --- a/host/Generated/ObjectModel/IAvnButton.g.cs +++ b/host/Generated/ObjectModel/IAvnButton.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("62D66949-2173-5007-9613-1F4B3E7C144E")] +[Guid("39E10286-7BB7-511B-8885-733B3AB380F6")] public partial interface IAvnButton : IAvnContentControl { [PreserveSig] @@ -86,8 +86,14 @@ public sealed partial class AvnButton : IAvnButton private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1169,6 +1175,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1217,6 +1315,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -2202,12 +2348,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnButtonSpinner.g.cs b/host/Generated/ObjectModel/IAvnButtonSpinner.g.cs index 2324351..341d034 100644 --- a/host/Generated/ObjectModel/IAvnButtonSpinner.g.cs +++ b/host/Generated/ObjectModel/IAvnButtonSpinner.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("046C4736-CECE-5455-98A8-F2DD3C84C846")] +[Guid("121045E2-0F99-5036-A5F8-373B15BC6449")] public partial interface IAvnButtonSpinner : IAvnSpinner { [PreserveSig] @@ -53,8 +53,14 @@ public sealed partial class AvnButtonSpinner : IAvnButtonSpinner private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1136,6 +1142,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1184,6 +1282,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -2060,12 +2206,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnCalendar.g.cs b/host/Generated/ObjectModel/IAvnCalendar.g.cs index dbbb56d..dd56e67 100644 --- a/host/Generated/ObjectModel/IAvnCalendar.g.cs +++ b/host/Generated/ObjectModel/IAvnCalendar.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("F1D659B7-93E5-5093-9D16-C480F7520E14")] +[Guid("D1959E20-E08E-5A66-A63B-4BD714E609D7")] public partial interface IAvnCalendar : IAvnTemplatedControl { [PreserveSig] @@ -131,8 +131,14 @@ public sealed partial class AvnCalendar : IAvnCalendar private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1218,6 +1224,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1266,6 +1364,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -2392,12 +2538,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnCalendarDatePicker.g.cs b/host/Generated/ObjectModel/IAvnCalendarDatePicker.g.cs index b27fe39..394a76f 100644 --- a/host/Generated/ObjectModel/IAvnCalendarDatePicker.g.cs +++ b/host/Generated/ObjectModel/IAvnCalendarDatePicker.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("DC5958DB-F3AD-5B9F-9C86-7B66DD3D2429")] +[Guid("52B3592A-D20D-5C93-8D31-E0552A7445FE")] public partial interface IAvnCalendarDatePicker : IAvnTemplatedControl { [PreserveSig] @@ -167,8 +167,14 @@ public sealed partial class AvnCalendarDatePicker : IAvnCalendarDatePicker private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1256,6 +1262,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1304,6 +1402,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -2632,12 +2778,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnCanvas.g.cs b/host/Generated/ObjectModel/IAvnCanvas.g.cs index 000d9bf..4ddf3c1 100644 --- a/host/Generated/ObjectModel/IAvnCanvas.g.cs +++ b/host/Generated/ObjectModel/IAvnCanvas.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("D9F89602-BD30-55F3-84C5-69EF65A6D0DA")] +[Guid("CE4E710B-D3A5-5021-A343-758FA078E791")] public partial interface IAvnCanvas : IAvnPanel { } @@ -35,8 +35,14 @@ public sealed partial class AvnCanvas : IAvnCanvas private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1116,6 +1122,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1164,6 +1262,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1359,12 +1505,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnCarousel.g.cs b/host/Generated/ObjectModel/IAvnCarousel.g.cs index 89d719e..288c26c 100644 --- a/host/Generated/ObjectModel/IAvnCarousel.g.cs +++ b/host/Generated/ObjectModel/IAvnCarousel.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("14D0DA2B-D8DF-5816-8B51-455DCF738DF0")] +[Guid("B496C390-157D-54E1-8415-E487E93DAF7D")] public partial interface IAvnCarousel : IAvnSelectingItemsControl { [PreserveSig] @@ -56,8 +56,14 @@ public sealed partial class AvnCarousel : IAvnCarousel private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1139,6 +1145,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1187,6 +1285,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -2099,7 +2245,9 @@ public int AdviseSelectionChanged(IAvnSelectingItemsControlSelectionChangedHandl var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var args = new AvnSelectingItemsControlSelectionChangedArgs(new global::System.Collections.IEnumerable?[] + {eventArgs.AddedItems, eventArgs.RemovedItems}); + var hr = handler.Invoke(args); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -2297,12 +2445,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnCheckBox.g.cs b/host/Generated/ObjectModel/IAvnCheckBox.g.cs index 4a3c2a6..7062a3f 100644 --- a/host/Generated/ObjectModel/IAvnCheckBox.g.cs +++ b/host/Generated/ObjectModel/IAvnCheckBox.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("2D002AFC-AAFB-5C2D-B747-D08DF78AC852")] +[Guid("AACDB973-AF3D-5BA5-A094-635178EF2C2E")] public partial interface IAvnCheckBox : IAvnToggleButton { } @@ -35,8 +35,14 @@ public sealed partial class AvnCheckBox : IAvnCheckBox private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1120,6 +1126,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1168,6 +1266,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -2261,12 +2407,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnComboBox.g.cs b/host/Generated/ObjectModel/IAvnComboBox.g.cs index df2b423..49a97ff 100644 --- a/host/Generated/ObjectModel/IAvnComboBox.g.cs +++ b/host/Generated/ObjectModel/IAvnComboBox.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("86CA773B-56AB-521C-BA29-D2579C59F7F3")] +[Guid("C05FA67D-1BEE-51A8-9367-0300AA1CAE23")] public partial interface IAvnComboBox : IAvnSelectingItemsControl { [PreserveSig] @@ -95,8 +95,14 @@ public sealed partial class AvnComboBox : IAvnComboBox private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1182,6 +1188,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1230,6 +1328,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -2142,7 +2288,9 @@ public int AdviseSelectionChanged(IAvnSelectingItemsControlSelectionChangedHandl var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var args = new AvnSelectingItemsControlSelectionChangedArgs(new global::System.Collections.IEnumerable?[] + {eventArgs.AddedItems, eventArgs.RemovedItems}); + var hr = handler.Invoke(args); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -2572,12 +2720,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnComboBoxItem.g.cs b/host/Generated/ObjectModel/IAvnComboBoxItem.g.cs index a3eb79d..e6eada4 100644 --- a/host/Generated/ObjectModel/IAvnComboBoxItem.g.cs +++ b/host/Generated/ObjectModel/IAvnComboBoxItem.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("2B9D2E17-500A-56F0-A0DB-14B92FF28CCB")] +[Guid("4AF5334E-4FEC-5F97-84F0-CD61FD0C6B88")] public partial interface IAvnComboBoxItem : IAvnListBoxItem { } @@ -35,8 +35,14 @@ public sealed partial class AvnComboBoxItem : IAvnComboBoxItem private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1116,6 +1122,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1164,6 +1262,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1901,12 +2047,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnCommandBar.g.cs b/host/Generated/ObjectModel/IAvnCommandBar.g.cs index e433f9b..fa7fdf3 100644 --- a/host/Generated/ObjectModel/IAvnCommandBar.g.cs +++ b/host/Generated/ObjectModel/IAvnCommandBar.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("1A9B7C3D-4D24-5330-9F8F-D9D0BC712695")] +[Guid("355E12ED-4932-5C4C-8AC1-AA74B666B584")] public partial interface IAvnCommandBar : IAvnTemplatedControl { [PreserveSig] @@ -137,8 +137,14 @@ public sealed partial class AvnCommandBar : IAvnCommandBar private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1226,6 +1232,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1274,6 +1372,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -2445,12 +2591,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnCommandBarButton.g.cs b/host/Generated/ObjectModel/IAvnCommandBarButton.g.cs index fa1e448..f244741 100644 --- a/host/Generated/ObjectModel/IAvnCommandBarButton.g.cs +++ b/host/Generated/ObjectModel/IAvnCommandBarButton.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("427EE3EA-2EA0-5FF8-B413-7D989D892604")] +[Guid("3A7F177E-FB8E-5893-B574-99ACD4CBC8B5")] public partial interface IAvnCommandBarButton : IAvnButton { [PreserveSig] @@ -71,8 +71,14 @@ public sealed partial class AvnCommandBarButton : IAvnCommandBarButton private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1154,6 +1160,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1202,6 +1300,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -2373,12 +2519,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnCommandBarSeparator.g.cs b/host/Generated/ObjectModel/IAvnCommandBarSeparator.g.cs index e29a0ea..209bd86 100644 --- a/host/Generated/ObjectModel/IAvnCommandBarSeparator.g.cs +++ b/host/Generated/ObjectModel/IAvnCommandBarSeparator.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("3D86A39E-0EC3-58FA-BE17-2F3CE4E95021")] +[Guid("21D4AA3D-ADFF-5CC6-9E76-EA1FBBD11C33")] public partial interface IAvnCommandBarSeparator : IAvnSeparator { [PreserveSig] @@ -47,8 +47,14 @@ public sealed partial class AvnCommandBarSeparator : IAvnCommandBarSeparator private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1128,6 +1134,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1176,6 +1274,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1820,12 +1966,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnCommandBarToggleButton.g.cs b/host/Generated/ObjectModel/IAvnCommandBarToggleButton.g.cs index f262e29..04847f3 100644 --- a/host/Generated/ObjectModel/IAvnCommandBarToggleButton.g.cs +++ b/host/Generated/ObjectModel/IAvnCommandBarToggleButton.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("7E7CC18B-4E66-5650-8FE4-1ACA445FA907")] +[Guid("28AA86DE-6253-5D07-964D-23785552FB86")] public partial interface IAvnCommandBarToggleButton : IAvnToggleButton { [PreserveSig] @@ -71,8 +71,14 @@ public sealed partial class AvnCommandBarToggleButton : IAvnCommandBarToggleButt private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1156,6 +1162,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1204,6 +1302,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -2483,12 +2629,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnContentControl.g.cs b/host/Generated/ObjectModel/IAvnContentControl.g.cs index 311fdd5..e30608c 100644 --- a/host/Generated/ObjectModel/IAvnContentControl.g.cs +++ b/host/Generated/ObjectModel/IAvnContentControl.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("F3CE3FB2-CD2D-5839-81C7-3DF70C3AD2F5")] +[Guid("71FA5ADD-9F62-5918-84D4-4B300B8EA192")] public partial interface IAvnContentControl : IAvnTemplatedControl { [PreserveSig] @@ -59,8 +59,14 @@ public sealed partial class AvnContentControl : IAvnContentControl private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1140,6 +1146,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1188,6 +1286,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1894,12 +2040,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnContextMenu.g.cs b/host/Generated/ObjectModel/IAvnContextMenu.g.cs index 16184a4..de0d70a 100644 --- a/host/Generated/ObjectModel/IAvnContextMenu.g.cs +++ b/host/Generated/ObjectModel/IAvnContextMenu.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("A5BAC0B5-5163-5500-8C58-629BE7DE3037")] +[Guid("770B19A7-FB74-5BCA-B1DD-9E0EF124EFEE")] public partial interface IAvnContextMenu : IAvnMenuBase { [PreserveSig] @@ -110,8 +110,14 @@ public sealed partial class AvnContextMenu : IAvnContextMenu private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1201,6 +1207,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1249,6 +1347,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -2161,7 +2307,9 @@ public int AdviseSelectionChanged(IAvnSelectingItemsControlSelectionChangedHandl var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var args = new AvnSelectingItemsControlSelectionChangedArgs(new global::System.Collections.IEnumerable?[] + {eventArgs.AddedItems, eventArgs.RemovedItems}); + var hr = handler.Invoke(args); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -2810,12 +2958,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnControl.g.cs b/host/Generated/ObjectModel/IAvnControl.g.cs index 35c929c..1965ce7 100644 --- a/host/Generated/ObjectModel/IAvnControl.g.cs +++ b/host/Generated/ObjectModel/IAvnControl.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("06D79016-63D8-5035-B293-19969F0BB3C6")] +[Guid("ABDFF81D-DB26-5BB7-9ACA-18353E6DB4D4")] public partial interface IAvnControl : IAvnStyledElement { [PreserveSig] @@ -121,12 +121,30 @@ public partial interface IAvnControl : IAvnStyledElement [PreserveSig] int UnadviseSizeChanged(long subscriptionId); + [PreserveSig] + int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId); + + [PreserveSig] + int UnadviseGotFocus(long subscriptionId); + + [PreserveSig] + int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId); + + [PreserveSig] + int UnadviseLostFocus(long subscriptionId); + [PreserveSig] int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId); [PreserveSig] int UnadviseKeyDown(long subscriptionId); + [PreserveSig] + int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId); + + [PreserveSig] + int UnadviseKeyUp(long subscriptionId); + [PreserveSig] int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId); @@ -164,8 +182,14 @@ public sealed partial class AvnControl : IAvnControl private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1245,6 +1269,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1293,6 +1409,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1441,12 +1605,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnControlGotFocusHandler.g.cs b/host/Generated/ObjectModel/IAvnControlGotFocusHandler.g.cs new file mode 100644 index 0000000..8311efe --- /dev/null +++ b/host/Generated/ObjectModel/IAvnControlGotFocusHandler.g.cs @@ -0,0 +1,14 @@ +// +#nullable enable +using System.Runtime.InteropServices; +using System.Runtime.InteropServices.Marshalling; + +namespace Avalonia.Host.Com; + +[GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] +[Guid("6621A073-4D3B-54C6-A32E-5701CDB745AD")] +public partial interface IAvnControlGotFocusHandler +{ + [PreserveSig] + int Invoke(int NavigationMethod, int KeyModifiers); +} diff --git a/host/Generated/ObjectModel/IAvnControlKeyUpHandler.g.cs b/host/Generated/ObjectModel/IAvnControlKeyUpHandler.g.cs new file mode 100644 index 0000000..756d12d --- /dev/null +++ b/host/Generated/ObjectModel/IAvnControlKeyUpHandler.g.cs @@ -0,0 +1,14 @@ +// +#nullable enable +using System.Runtime.InteropServices; +using System.Runtime.InteropServices.Marshalling; + +namespace Avalonia.Host.Com; + +[GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] +[Guid("B4FC3B9A-CF71-5EBB-9852-A46AEC80C6FE")] +public partial interface IAvnControlKeyUpHandler +{ + [PreserveSig] + int Invoke(int Key, int PhysicalKey, int KeyModifiers, string? KeySymbol, ref int Handled); +} diff --git a/host/Generated/ObjectModel/IAvnControlLostFocusHandler.g.cs b/host/Generated/ObjectModel/IAvnControlLostFocusHandler.g.cs new file mode 100644 index 0000000..b5de3bf --- /dev/null +++ b/host/Generated/ObjectModel/IAvnControlLostFocusHandler.g.cs @@ -0,0 +1,14 @@ +// +#nullable enable +using System.Runtime.InteropServices; +using System.Runtime.InteropServices.Marshalling; + +namespace Avalonia.Host.Com; + +[GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] +[Guid("BB0FBAD2-DB37-56AE-A3C2-73BC2030BD06")] +public partial interface IAvnControlLostFocusHandler +{ + [PreserveSig] + int Invoke(); +} diff --git a/host/Generated/ObjectModel/IAvnDatePicker.g.cs b/host/Generated/ObjectModel/IAvnDatePicker.g.cs index ddc0d23..fb8e18c 100644 --- a/host/Generated/ObjectModel/IAvnDatePicker.g.cs +++ b/host/Generated/ObjectModel/IAvnDatePicker.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("5C7D5B90-EC20-5621-BE13-EADAB8A0701B")] +[Guid("1441AD02-88FD-5BCE-9A23-18607667FAA3")] public partial interface IAvnDatePicker : IAvnTemplatedControl { [PreserveSig] @@ -104,8 +104,14 @@ public sealed partial class AvnDatePicker : IAvnDatePicker private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1187,6 +1193,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1235,6 +1333,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -2188,12 +2334,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnDecorator.g.cs b/host/Generated/ObjectModel/IAvnDecorator.g.cs index 850b7b3..2b112fc 100644 --- a/host/Generated/ObjectModel/IAvnDecorator.g.cs +++ b/host/Generated/ObjectModel/IAvnDecorator.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("57E09C6B-A22C-5F01-B65C-E54C3DD55E6C")] +[Guid("73D7A8D4-2B75-5F19-958F-DE0D15AC3079")] public partial interface IAvnDecorator : IAvnControl { [PreserveSig] @@ -47,8 +47,14 @@ public sealed partial class AvnDecorator : IAvnDecorator private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1128,6 +1134,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1176,6 +1274,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1386,12 +1532,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnDockPanel.g.cs b/host/Generated/ObjectModel/IAvnDockPanel.g.cs index 35aa273..daf70b8 100644 --- a/host/Generated/ObjectModel/IAvnDockPanel.g.cs +++ b/host/Generated/ObjectModel/IAvnDockPanel.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("F0C3E239-81CB-544D-9CEF-73B1D04C1FB3")] +[Guid("36376ACD-9F74-59B8-ADCA-CAE96F5E70B9")] public partial interface IAvnDockPanel : IAvnPanel { [PreserveSig] @@ -53,8 +53,14 @@ public sealed partial class AvnDockPanel : IAvnDockPanel private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1134,6 +1140,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1182,6 +1280,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1470,12 +1616,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnDropDownButton.g.cs b/host/Generated/ObjectModel/IAvnDropDownButton.g.cs index d07b342..aa9d87d 100644 --- a/host/Generated/ObjectModel/IAvnDropDownButton.g.cs +++ b/host/Generated/ObjectModel/IAvnDropDownButton.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("7CDEF76D-7FD4-5552-B591-2D98140A7A63")] +[Guid("85F27971-CEB0-528D-8D3B-C0AB62E11FDA")] public partial interface IAvnDropDownButton : IAvnButton { } @@ -35,8 +35,14 @@ public sealed partial class AvnDropDownButton : IAvnDropDownButton private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1118,6 +1124,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1166,6 +1264,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -2151,12 +2297,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnEllipse.g.cs b/host/Generated/ObjectModel/IAvnEllipse.g.cs index de771a2..f1646d0 100644 --- a/host/Generated/ObjectModel/IAvnEllipse.g.cs +++ b/host/Generated/ObjectModel/IAvnEllipse.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("613206FF-5917-53D8-A928-1BDE309FB7F1")] +[Guid("2AA5065D-5B4C-542B-B6CC-A230A576E4F1")] public partial interface IAvnEllipse : IAvnShape { } @@ -35,8 +35,14 @@ public sealed partial class AvnEllipse : IAvnEllipse private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1116,6 +1122,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1164,6 +1262,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1591,12 +1737,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnExpander.g.cs b/host/Generated/ObjectModel/IAvnExpander.g.cs index e4eaa64..16be043 100644 --- a/host/Generated/ObjectModel/IAvnExpander.g.cs +++ b/host/Generated/ObjectModel/IAvnExpander.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("24CFAB36-1C9D-5E25-AE07-E91DA6B3A21C")] +[Guid("5655BDB3-EF10-56D0-BE24-59FC88350939")] public partial interface IAvnExpander : IAvnHeaderedContentControl { [PreserveSig] @@ -71,8 +71,14 @@ public sealed partial class AvnExpander : IAvnExpander private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1160,6 +1166,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1208,6 +1306,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -2226,12 +2372,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnFlexPanel.g.cs b/host/Generated/ObjectModel/IAvnFlexPanel.g.cs index 6fe6bc4..9c728ef 100644 --- a/host/Generated/ObjectModel/IAvnFlexPanel.g.cs +++ b/host/Generated/ObjectModel/IAvnFlexPanel.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("299F0D1D-2C19-5531-A4C9-327C784B297D")] +[Guid("5E186F8A-D1FB-5989-A496-63982A999752")] public partial interface IAvnFlexPanel : IAvnPanel { [PreserveSig] @@ -77,8 +77,14 @@ public sealed partial class AvnFlexPanel : IAvnFlexPanel private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1158,6 +1164,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1206,6 +1304,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1618,12 +1764,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnGrid.g.cs b/host/Generated/ObjectModel/IAvnGrid.g.cs index 67eb8ce..9e7fd84 100644 --- a/host/Generated/ObjectModel/IAvnGrid.g.cs +++ b/host/Generated/ObjectModel/IAvnGrid.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("55E75D4C-FC75-51A9-BA87-6D28704EAFC8")] +[Guid("63034BE5-179A-5196-8338-F10785C6DDDD")] public partial interface IAvnGrid : IAvnPanel { [PreserveSig] @@ -65,8 +65,14 @@ public sealed partial class AvnGrid : IAvnGrid private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1146,6 +1152,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1194,6 +1292,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1544,12 +1690,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnGridSplitter.g.cs b/host/Generated/ObjectModel/IAvnGridSplitter.g.cs index 553515b..0a360f6 100644 --- a/host/Generated/ObjectModel/IAvnGridSplitter.g.cs +++ b/host/Generated/ObjectModel/IAvnGridSplitter.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("DBCA4F68-AFEE-5885-938A-194E7DE5C551")] +[Guid("93629BF6-E409-5BF3-BB49-454A884550E3")] public partial interface IAvnGridSplitter : IAvnThumb { [PreserveSig] @@ -65,8 +65,14 @@ public sealed partial class AvnGridSplitter : IAvnGridSplitter private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1152,6 +1158,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1200,6 +1298,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -2075,12 +2221,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnGroupBox.g.cs b/host/Generated/ObjectModel/IAvnGroupBox.g.cs index 881a69f..3a216f9 100644 --- a/host/Generated/ObjectModel/IAvnGroupBox.g.cs +++ b/host/Generated/ObjectModel/IAvnGroupBox.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("48EE658E-57F1-5550-AEB5-766477C616BD")] +[Guid("B2A2A0DC-533F-50D6-B486-8AFB44B0E82D")] public partial interface IAvnGroupBox : IAvnHeaderedContentControl { } @@ -35,8 +35,14 @@ public sealed partial class AvnGroupBox : IAvnGroupBox private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1116,6 +1122,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1164,6 +1262,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1932,12 +2078,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnHeaderedContentControl.g.cs b/host/Generated/ObjectModel/IAvnHeaderedContentControl.g.cs index 107d708..e9c4bf8 100644 --- a/host/Generated/ObjectModel/IAvnHeaderedContentControl.g.cs +++ b/host/Generated/ObjectModel/IAvnHeaderedContentControl.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("326C8A38-FA42-51F4-9041-E7FD0FFFB696")] +[Guid("C1825F55-DE82-5447-93A8-4A55F63BA652")] public partial interface IAvnHeaderedContentControl : IAvnContentControl { [PreserveSig] @@ -47,8 +47,14 @@ public sealed partial class AvnHeaderedContentControl : IAvnHeaderedContentContr private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1128,6 +1134,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1176,6 +1274,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1944,12 +2090,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnHeaderedItemsControl.g.cs b/host/Generated/ObjectModel/IAvnHeaderedItemsControl.g.cs index ae616f0..6a03df2 100644 --- a/host/Generated/ObjectModel/IAvnHeaderedItemsControl.g.cs +++ b/host/Generated/ObjectModel/IAvnHeaderedItemsControl.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("E4AB3702-5F01-59CF-9F5E-3C3DD281533F")] +[Guid("B6281359-24AB-5280-8B2C-762A53529C27")] public partial interface IAvnHeaderedItemsControl : IAvnItemsControl { [PreserveSig] @@ -47,8 +47,14 @@ public sealed partial class AvnHeaderedItemsControl : IAvnHeaderedItemsControl private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1128,6 +1134,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1176,6 +1274,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -2008,12 +2154,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnHeaderedSelectingItemsControl.g.cs b/host/Generated/ObjectModel/IAvnHeaderedSelectingItemsControl.g.cs index 8566049..d73674a 100644 --- a/host/Generated/ObjectModel/IAvnHeaderedSelectingItemsControl.g.cs +++ b/host/Generated/ObjectModel/IAvnHeaderedSelectingItemsControl.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("E0CB1C51-192B-5B9B-8A19-72EE4C68C27D")] +[Guid("8640C1BF-2502-5E21-B861-1ECBD1918FD1")] public partial interface IAvnHeaderedSelectingItemsControl : IAvnSelectingItemsControl { [PreserveSig] @@ -47,8 +47,14 @@ public sealed partial class AvnHeaderedSelectingItemsControl : IAvnHeaderedSelec private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1130,6 +1136,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1178,6 +1276,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -2090,7 +2236,9 @@ public int AdviseSelectionChanged(IAvnSelectingItemsControlSelectionChangedHandl var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var args = new AvnSelectingItemsControlSelectionChangedArgs(new global::System.Collections.IEnumerable?[] + {eventArgs.AddedItems, eventArgs.RemovedItems}); + var hr = handler.Invoke(args); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -2242,12 +2390,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnHyperlinkButton.g.cs b/host/Generated/ObjectModel/IAvnHyperlinkButton.g.cs index feff9ba..049efb3 100644 --- a/host/Generated/ObjectModel/IAvnHyperlinkButton.g.cs +++ b/host/Generated/ObjectModel/IAvnHyperlinkButton.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("BA5D6CE2-B42B-5ED0-B288-9775606E1802")] +[Guid("CCCE2078-E616-51A8-A55F-77D316F2C9AB")] public partial interface IAvnHyperlinkButton : IAvnButton { [PreserveSig] @@ -47,8 +47,14 @@ public sealed partial class AvnHyperlinkButton : IAvnHyperlinkButton private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1130,6 +1136,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1178,6 +1276,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -2225,12 +2371,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnIconElement.g.cs b/host/Generated/ObjectModel/IAvnIconElement.g.cs index 2cac31c..36fcefc 100644 --- a/host/Generated/ObjectModel/IAvnIconElement.g.cs +++ b/host/Generated/ObjectModel/IAvnIconElement.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("27129D51-9086-5E87-97F2-A7B30B2F7A32")] +[Guid("0A1BCD24-9DC9-55DB-B2AA-930041185E3B")] public partial interface IAvnIconElement : IAvnTemplatedControl { } @@ -35,8 +35,14 @@ public sealed partial class AvnIconElement : IAvnIconElement private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1116,6 +1122,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1164,6 +1262,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1746,12 +1892,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnImage.g.cs b/host/Generated/ObjectModel/IAvnImage.g.cs index 9ec378e..c285fe1 100644 --- a/host/Generated/ObjectModel/IAvnImage.g.cs +++ b/host/Generated/ObjectModel/IAvnImage.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("ACC338F6-8C35-57F4-BB82-4A3F397B130F")] +[Guid("4A556F2B-827F-5748-B7CD-C48452727A29")] public partial interface IAvnImage : IAvnControl { [PreserveSig] @@ -59,8 +59,14 @@ public sealed partial class AvnImage : IAvnImage private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1140,6 +1146,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1188,6 +1286,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1460,12 +1606,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnItemsControl.g.cs b/host/Generated/ObjectModel/IAvnItemsControl.g.cs index 74ec833..9538344 100644 --- a/host/Generated/ObjectModel/IAvnItemsControl.g.cs +++ b/host/Generated/ObjectModel/IAvnItemsControl.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("D985D274-6EFC-5423-B74F-7A73133992FC")] +[Guid("B656735C-EECA-50CC-A87D-B4362F7E045A")] public partial interface IAvnItemsControl : IAvnTemplatedControl { [PreserveSig] @@ -71,8 +71,14 @@ public sealed partial class AvnItemsControl : IAvnItemsControl private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1152,6 +1158,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1200,6 +1298,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1970,12 +2116,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnLabel.g.cs b/host/Generated/ObjectModel/IAvnLabel.g.cs index 882c904..414e5b6 100644 --- a/host/Generated/ObjectModel/IAvnLabel.g.cs +++ b/host/Generated/ObjectModel/IAvnLabel.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("621B0405-7E33-56EE-8FF0-E1CA604209BD")] +[Guid("A1ACC10D-5788-5CFF-9D99-798770898E14")] public partial interface IAvnLabel : IAvnContentControl { [PreserveSig] @@ -41,8 +41,14 @@ public sealed partial class AvnLabel : IAvnLabel private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1122,6 +1128,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1170,6 +1268,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1907,12 +2053,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnLayoutTransformControl.g.cs b/host/Generated/ObjectModel/IAvnLayoutTransformControl.g.cs index a2f0dda..0730bba 100644 --- a/host/Generated/ObjectModel/IAvnLayoutTransformControl.g.cs +++ b/host/Generated/ObjectModel/IAvnLayoutTransformControl.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("39D82382-98B4-510A-AE62-19E9BBA13698")] +[Guid("5295C33E-5E49-5425-B06D-D0A37D4AAE68")] public partial interface IAvnLayoutTransformControl : IAvnDecorator { [PreserveSig] @@ -41,8 +41,14 @@ public sealed partial class AvnLayoutTransformControl : IAvnLayoutTransformContr private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1122,6 +1128,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1170,6 +1268,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1411,12 +1557,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnLine.g.cs b/host/Generated/ObjectModel/IAvnLine.g.cs index 8c4b61e..017f795 100644 --- a/host/Generated/ObjectModel/IAvnLine.g.cs +++ b/host/Generated/ObjectModel/IAvnLine.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("F302A345-5295-5A86-B520-224278B68EAB")] +[Guid("12A0F43A-9EAB-5F5B-96EF-D91E25F31B78")] public partial interface IAvnLine : IAvnShape { [PreserveSig] @@ -47,8 +47,14 @@ public sealed partial class AvnLine : IAvnLine private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1128,6 +1134,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1176,6 +1274,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1665,12 +1811,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnListBox.g.cs b/host/Generated/ObjectModel/IAvnListBox.g.cs index ee90106..de553f8 100644 --- a/host/Generated/ObjectModel/IAvnListBox.g.cs +++ b/host/Generated/ObjectModel/IAvnListBox.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("B5B6A7D1-B302-56BB-93A9-D53237708632")] +[Guid("6D07BC84-D7C4-5226-A69E-AAF3EE1663A9")] public partial interface IAvnListBox : IAvnSelectingItemsControl { [PreserveSig] @@ -47,8 +47,14 @@ public sealed partial class AvnListBox : IAvnListBox private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1130,6 +1136,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1178,6 +1276,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -2090,7 +2236,9 @@ public int AdviseSelectionChanged(IAvnSelectingItemsControlSelectionChangedHandl var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var args = new AvnSelectingItemsControlSelectionChangedArgs(new global::System.Collections.IEnumerable?[] + {eventArgs.AddedItems, eventArgs.RemovedItems}); + var hr = handler.Invoke(args); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -2241,12 +2389,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnListBoxItem.g.cs b/host/Generated/ObjectModel/IAvnListBoxItem.g.cs index 429108b..b6ab853 100644 --- a/host/Generated/ObjectModel/IAvnListBoxItem.g.cs +++ b/host/Generated/ObjectModel/IAvnListBoxItem.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("19A8B0AF-1926-5DE4-B6EC-5E2F026831B6")] +[Guid("4BB2FF76-E252-53F1-8AE0-E32A2C1BBE76")] public partial interface IAvnListBoxItem : IAvnContentControl { [PreserveSig] @@ -41,8 +41,14 @@ public sealed partial class AvnListBoxItem : IAvnListBoxItem private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1122,6 +1128,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1170,6 +1268,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1907,12 +2053,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnMaskedTextBox.g.cs b/host/Generated/ObjectModel/IAvnMaskedTextBox.g.cs index 729fd07..3b705d3 100644 --- a/host/Generated/ObjectModel/IAvnMaskedTextBox.g.cs +++ b/host/Generated/ObjectModel/IAvnMaskedTextBox.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("C7B40FDD-3EBA-55CF-84BF-5FAD22229908")] +[Guid("E621C745-A587-5BDD-A1C5-8F498B8636C5")] public partial interface IAvnMaskedTextBox : IAvnTextBox { [PreserveSig] @@ -77,8 +77,14 @@ public sealed partial class AvnMaskedTextBox : IAvnMaskedTextBox private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1168,6 +1174,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1216,6 +1314,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -3469,12 +3615,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnMenu.g.cs b/host/Generated/ObjectModel/IAvnMenu.g.cs index 26a739b..c2f9d55 100644 --- a/host/Generated/ObjectModel/IAvnMenu.g.cs +++ b/host/Generated/ObjectModel/IAvnMenu.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("E97435D8-8BC7-5A16-B1D1-4B976008F341")] +[Guid("0220FC0F-FA60-5173-9E8B-AD96351B3C6D")] public partial interface IAvnMenu : IAvnMenuBase { } @@ -35,8 +35,14 @@ public sealed partial class AvnMenu : IAvnMenu private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1122,6 +1128,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1170,6 +1268,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -2082,7 +2228,9 @@ public int AdviseSelectionChanged(IAvnSelectingItemsControlSelectionChangedHandl var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var args = new AvnSelectingItemsControlSelectionChangedArgs(new global::System.Collections.IEnumerable?[] + {eventArgs.AddedItems, eventArgs.RemovedItems}); + var hr = handler.Invoke(args); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -2310,12 +2458,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnMenuBase.g.cs b/host/Generated/ObjectModel/IAvnMenuBase.g.cs index b4026fd..698300c 100644 --- a/host/Generated/ObjectModel/IAvnMenuBase.g.cs +++ b/host/Generated/ObjectModel/IAvnMenuBase.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("BAB46325-4D7E-54C4-B8E0-69A647E2BFC6")] +[Guid("3B780634-1A42-576F-A587-EE11F0B5C8E8")] public partial interface IAvnMenuBase : IAvnSelectingItemsControl { [PreserveSig] @@ -56,8 +56,14 @@ public sealed partial class AvnMenuBase : IAvnMenuBase private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1143,6 +1149,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1191,6 +1289,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -2103,7 +2249,9 @@ public int AdviseSelectionChanged(IAvnSelectingItemsControlSelectionChangedHandl var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var args = new AvnSelectingItemsControlSelectionChangedArgs(new global::System.Collections.IEnumerable?[] + {eventArgs.AddedItems, eventArgs.RemovedItems}); + var hr = handler.Invoke(args); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -2331,12 +2479,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnMenuItem.g.cs b/host/Generated/ObjectModel/IAvnMenuItem.g.cs index 5f9d765..8ebd5e3 100644 --- a/host/Generated/ObjectModel/IAvnMenuItem.g.cs +++ b/host/Generated/ObjectModel/IAvnMenuItem.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("1A9E2536-7437-553C-AFB6-681CF15021FF")] +[Guid("B08CE5EB-F84F-5466-BB66-986E0971333B")] public partial interface IAvnMenuItem : IAvnHeaderedSelectingItemsControl { [PreserveSig] @@ -125,8 +125,14 @@ public sealed partial class AvnMenuItem : IAvnMenuItem private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1212,6 +1218,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1260,6 +1358,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -2172,7 +2318,9 @@ public int AdviseSelectionChanged(IAvnSelectingItemsControlSelectionChangedHandl var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var args = new AvnSelectingItemsControlSelectionChangedArgs(new global::System.Collections.IEnumerable?[] + {eventArgs.AddedItems, eventArgs.RemovedItems}); + var hr = handler.Invoke(args); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -2819,12 +2967,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnNotificationCard.g.cs b/host/Generated/ObjectModel/IAvnNotificationCard.g.cs index c795d8d..e0204a7 100644 --- a/host/Generated/ObjectModel/IAvnNotificationCard.g.cs +++ b/host/Generated/ObjectModel/IAvnNotificationCard.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("DF540B6A-58F6-59F6-B3DB-F8FD04665402")] +[Guid("9E575724-617A-54E5-BF78-B6C68E5F4343")] public partial interface IAvnNotificationCard : IAvnContentControl { [PreserveSig] @@ -59,8 +59,14 @@ public sealed partial class AvnNotificationCard : IAvnNotificationCard private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1142,6 +1148,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1190,6 +1288,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -2035,12 +2181,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnNumericUpDown.g.cs b/host/Generated/ObjectModel/IAvnNumericUpDown.g.cs index 7639d40..ecf61cc 100644 --- a/host/Generated/ObjectModel/IAvnNumericUpDown.g.cs +++ b/host/Generated/ObjectModel/IAvnNumericUpDown.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("5F487A30-39D1-524A-9A6E-01E584452E03")] +[Guid("63426B0F-1A76-51A9-9E98-343D2E69C156")] public partial interface IAvnNumericUpDown : IAvnTemplatedControl { [PreserveSig] @@ -155,8 +155,14 @@ public sealed partial class AvnNumericUpDown : IAvnNumericUpDown private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1240,6 +1246,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1288,6 +1386,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -2520,12 +2666,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnPanel.g.cs b/host/Generated/ObjectModel/IAvnPanel.g.cs index b8cc13d..8807412 100644 --- a/host/Generated/ObjectModel/IAvnPanel.g.cs +++ b/host/Generated/ObjectModel/IAvnPanel.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("79DAA937-B232-5B99-84FB-E3D64124EDA5")] +[Guid("96AD03DD-F271-537E-A933-B7C75D63AC0C")] public partial interface IAvnPanel : IAvnControl { [PreserveSig] @@ -44,8 +44,14 @@ public sealed partial class AvnPanel : IAvnPanel private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1125,6 +1131,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1173,6 +1271,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1368,12 +1514,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnPath.g.cs b/host/Generated/ObjectModel/IAvnPath.g.cs index 936e5d5..6eae677 100644 --- a/host/Generated/ObjectModel/IAvnPath.g.cs +++ b/host/Generated/ObjectModel/IAvnPath.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("4EC11C5B-9EAE-57CB-ACC2-EB2E609490AC")] +[Guid("E5A71060-50E1-5554-81B4-030898F293CF")] public partial interface IAvnPath : IAvnShape { [PreserveSig] @@ -41,8 +41,14 @@ public sealed partial class AvnPath : IAvnPath private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1122,6 +1128,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1170,6 +1268,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1628,12 +1774,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnPathIcon.g.cs b/host/Generated/ObjectModel/IAvnPathIcon.g.cs index e01b042..9478a05 100644 --- a/host/Generated/ObjectModel/IAvnPathIcon.g.cs +++ b/host/Generated/ObjectModel/IAvnPathIcon.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("F220C58A-4D65-5882-8D9D-EBE5F0A1D9A4")] +[Guid("885577A3-AC29-51D9-ACB5-D30ABBB484FC")] public partial interface IAvnPathIcon : IAvnIconElement { [PreserveSig] @@ -41,8 +41,14 @@ public sealed partial class AvnPathIcon : IAvnPathIcon private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1122,6 +1128,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1170,6 +1268,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1783,12 +1929,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnPipsPager.g.cs b/host/Generated/ObjectModel/IAvnPipsPager.g.cs index 6cb97fa..57f55c3 100644 --- a/host/Generated/ObjectModel/IAvnPipsPager.g.cs +++ b/host/Generated/ObjectModel/IAvnPipsPager.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("03DEC932-3B73-5A8C-9CE7-9E82F4FADE70")] +[Guid("6C3C0A8B-3237-50C1-8DF3-5171EDF2A1B8")] public partial interface IAvnPipsPager : IAvnTemplatedControl { [PreserveSig] @@ -77,8 +77,14 @@ public sealed partial class AvnPipsPager : IAvnPipsPager private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1160,6 +1166,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1208,6 +1306,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -2022,12 +2168,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnPolygon.g.cs b/host/Generated/ObjectModel/IAvnPolygon.g.cs index 77554c8..a7e4a46 100644 --- a/host/Generated/ObjectModel/IAvnPolygon.g.cs +++ b/host/Generated/ObjectModel/IAvnPolygon.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("48E18C96-9363-5066-9A67-123E153A0919")] +[Guid("E706EC48-3CA1-5BEA-907E-460CA53B06BE")] public partial interface IAvnPolygon : IAvnShape { [PreserveSig] @@ -47,8 +47,14 @@ public sealed partial class AvnPolygon : IAvnPolygon private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1128,6 +1134,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1176,6 +1274,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1665,12 +1811,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnPolyline.g.cs b/host/Generated/ObjectModel/IAvnPolyline.g.cs index 9d04012..f438f17 100644 --- a/host/Generated/ObjectModel/IAvnPolyline.g.cs +++ b/host/Generated/ObjectModel/IAvnPolyline.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("9BACEFB3-B663-55EB-AF28-46001BA3A32B")] +[Guid("035DBEE9-DC4D-57B6-9140-DD59B208A9DC")] public partial interface IAvnPolyline : IAvnShape { [PreserveSig] @@ -47,8 +47,14 @@ public sealed partial class AvnPolyline : IAvnPolyline private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1128,6 +1134,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1176,6 +1274,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1665,12 +1811,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnPopup.g.cs b/host/Generated/ObjectModel/IAvnPopup.g.cs index f0b71e9..0541c7d 100644 --- a/host/Generated/ObjectModel/IAvnPopup.g.cs +++ b/host/Generated/ObjectModel/IAvnPopup.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("4F10A2E5-D393-52F5-97CB-0DDA9411F6E4")] +[Guid("6CCB1B6A-EC3B-5625-A604-97B56FF5B86F")] public partial interface IAvnPopup : IAvnControl { [PreserveSig] @@ -173,8 +173,14 @@ public sealed partial class AvnPopup : IAvnPopup private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1258,6 +1264,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1306,6 +1404,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -2197,12 +2343,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnProgressBar.g.cs b/host/Generated/ObjectModel/IAvnProgressBar.g.cs index 00051b5..7dbd03d 100644 --- a/host/Generated/ObjectModel/IAvnProgressBar.g.cs +++ b/host/Generated/ObjectModel/IAvnProgressBar.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("54861122-E527-532B-A444-76CB502B041E")] +[Guid("A87F44AD-6E9D-5059-A355-CBC907AD0F45")] public partial interface IAvnProgressBar : IAvnRangeBase { [PreserveSig] @@ -62,8 +62,14 @@ public sealed partial class AvnProgressBar : IAvnProgressBar private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1145,6 +1151,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1193,6 +1291,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1886,7 +2032,7 @@ public int AdviseValueChanged(IAvnRangeBaseValueChangedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke(eventArgs.OldValue, eventArgs.NewValue); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -2116,12 +2262,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnRadioButton.g.cs b/host/Generated/ObjectModel/IAvnRadioButton.g.cs index d4fe92b..f491d3b 100644 --- a/host/Generated/ObjectModel/IAvnRadioButton.g.cs +++ b/host/Generated/ObjectModel/IAvnRadioButton.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("45D712D8-A144-589A-9053-4333B61428BF")] +[Guid("1D9D9433-E351-59FA-A65E-F78DF4223F1C")] public partial interface IAvnRadioButton : IAvnToggleButton { [PreserveSig] @@ -41,8 +41,14 @@ public sealed partial class AvnRadioButton : IAvnRadioButton private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1126,6 +1132,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1174,6 +1272,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -2298,12 +2444,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnRangeBase.g.cs b/host/Generated/ObjectModel/IAvnRangeBase.g.cs index a9bee68..96fce6f 100644 --- a/host/Generated/ObjectModel/IAvnRangeBase.g.cs +++ b/host/Generated/ObjectModel/IAvnRangeBase.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("C2C5CCBC-F621-560A-B6F6-87A286DAB50B")] +[Guid("F1231250-DB6B-52E4-A42E-3C57E73C7023")] public partial interface IAvnRangeBase : IAvnTemplatedControl { [PreserveSig] @@ -71,8 +71,14 @@ public sealed partial class AvnRangeBase : IAvnRangeBase private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1154,6 +1160,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1202,6 +1300,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1895,7 +2041,7 @@ public int AdviseValueChanged(IAvnRangeBaseValueChangedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke(eventArgs.OldValue, eventArgs.NewValue); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1985,12 +2131,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnRangeBaseValueChangedHandler.g.cs b/host/Generated/ObjectModel/IAvnRangeBaseValueChangedHandler.g.cs index d37c39f..141ce00 100644 --- a/host/Generated/ObjectModel/IAvnRangeBaseValueChangedHandler.g.cs +++ b/host/Generated/ObjectModel/IAvnRangeBaseValueChangedHandler.g.cs @@ -6,9 +6,9 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("DAEDA8F7-D1F6-54B6-900D-4AAB0B0C72BA")] +[Guid("D71E5403-7A7E-5C5A-8A48-4C89346F0179")] public partial interface IAvnRangeBaseValueChangedHandler { [PreserveSig] - int Invoke(); + int Invoke(double OldValue, double NewValue); } diff --git a/host/Generated/ObjectModel/IAvnRectangle.g.cs b/host/Generated/ObjectModel/IAvnRectangle.g.cs index 585f42b..f3dd3e2 100644 --- a/host/Generated/ObjectModel/IAvnRectangle.g.cs +++ b/host/Generated/ObjectModel/IAvnRectangle.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("4C789DD6-03C9-5FC7-A38E-050060C28908")] +[Guid("E87D8C84-1090-5B7D-9DBA-9F122E19E333")] public partial interface IAvnRectangle : IAvnShape { [PreserveSig] @@ -47,8 +47,14 @@ public sealed partial class AvnRectangle : IAvnRectangle private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1128,6 +1134,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1176,6 +1274,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1665,12 +1811,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnRefreshContainer.g.cs b/host/Generated/ObjectModel/IAvnRefreshContainer.g.cs index dc9fec4..c2cd601 100644 --- a/host/Generated/ObjectModel/IAvnRefreshContainer.g.cs +++ b/host/Generated/ObjectModel/IAvnRefreshContainer.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("C83268B7-A9D2-51FA-B7C7-E9891E412A9B")] +[Guid("3693CF05-F784-5394-B7D2-6DF511F86F97")] public partial interface IAvnRefreshContainer : IAvnContentControl { [PreserveSig] @@ -56,8 +56,14 @@ public sealed partial class AvnRefreshContainer : IAvnRefreshContainer private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1139,6 +1145,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1187,6 +1285,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -2016,12 +2162,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnRelativePanel.g.cs b/host/Generated/ObjectModel/IAvnRelativePanel.g.cs index 5206c1c..18b5609 100644 --- a/host/Generated/ObjectModel/IAvnRelativePanel.g.cs +++ b/host/Generated/ObjectModel/IAvnRelativePanel.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("4A52A408-9843-5FFA-B1CC-4575FA75B2D5")] +[Guid("0E550183-4D72-5357-8C3F-9F15E41BC976")] public partial interface IAvnRelativePanel : IAvnPanel { } @@ -35,8 +35,14 @@ public sealed partial class AvnRelativePanel : IAvnRelativePanel private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1116,6 +1122,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1164,6 +1262,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1359,12 +1505,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnRepeatButton.g.cs b/host/Generated/ObjectModel/IAvnRepeatButton.g.cs index 413b5f3..83ffa3a 100644 --- a/host/Generated/ObjectModel/IAvnRepeatButton.g.cs +++ b/host/Generated/ObjectModel/IAvnRepeatButton.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("A0647C03-65F2-5FE4-A38E-B4A610F740A0")] +[Guid("E1023A87-3E17-5F1D-8671-36C4FD0D1CC3")] public partial interface IAvnRepeatButton : IAvnButton { [PreserveSig] @@ -47,8 +47,14 @@ public sealed partial class AvnRepeatButton : IAvnRepeatButton private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1130,6 +1136,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1178,6 +1276,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -2225,12 +2371,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnScrollViewer.g.cs b/host/Generated/ObjectModel/IAvnScrollViewer.g.cs index 92011c6..97fff80 100644 --- a/host/Generated/ObjectModel/IAvnScrollViewer.g.cs +++ b/host/Generated/ObjectModel/IAvnScrollViewer.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("597E4640-680B-5499-A4F0-D90B8F0539C7")] +[Guid("74E7350C-320E-5E2A-A8B9-CDD929B6B826")] public partial interface IAvnScrollViewer : IAvnContentControl { [PreserveSig] @@ -170,8 +170,14 @@ public sealed partial class AvnScrollViewer : IAvnScrollViewer private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1253,6 +1259,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1301,6 +1399,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -2717,12 +2863,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnSector.g.cs b/host/Generated/ObjectModel/IAvnSector.g.cs index 02c39b6..ef96c9e 100644 --- a/host/Generated/ObjectModel/IAvnSector.g.cs +++ b/host/Generated/ObjectModel/IAvnSector.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("BEB2012E-DE97-5F61-B066-1E1D924A192A")] +[Guid("5716DA45-6417-5758-89E7-303427808353")] public partial interface IAvnSector : IAvnShape { [PreserveSig] @@ -47,8 +47,14 @@ public sealed partial class AvnSector : IAvnSector private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1128,6 +1134,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1176,6 +1274,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1665,12 +1811,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnSelectableTextBlock.g.cs b/host/Generated/ObjectModel/IAvnSelectableTextBlock.g.cs index 1262563..0381aed 100644 --- a/host/Generated/ObjectModel/IAvnSelectableTextBlock.g.cs +++ b/host/Generated/ObjectModel/IAvnSelectableTextBlock.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("4C1CFF48-0D3A-5934-A1DA-6939E75C5678")] +[Guid("843AC2A4-7FEF-5858-8A9A-F199BBA52638")] public partial interface IAvnSelectableTextBlock : IAvnTextBlock { [PreserveSig] @@ -80,8 +80,14 @@ public sealed partial class AvnSelectableTextBlock : IAvnSelectableTextBlock private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1163,6 +1169,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1211,6 +1309,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -2164,12 +2310,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnSelectingItemsControl.g.cs b/host/Generated/ObjectModel/IAvnSelectingItemsControl.g.cs index 9c0b777..c07d437 100644 --- a/host/Generated/ObjectModel/IAvnSelectingItemsControl.g.cs +++ b/host/Generated/ObjectModel/IAvnSelectingItemsControl.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("B2D5F624-DE4C-5278-977F-9EB764DD6B2F")] +[Guid("56020FA9-D4A4-52B6-B5FC-EAEB6FD563C2")] public partial interface IAvnSelectingItemsControl : IAvnItemsControl { [PreserveSig] @@ -77,8 +77,14 @@ public sealed partial class AvnSelectingItemsControl : IAvnSelectingItemsControl private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1160,6 +1166,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1208,6 +1306,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -2120,7 +2266,9 @@ public int AdviseSelectionChanged(IAvnSelectingItemsControlSelectionChangedHandl var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var args = new AvnSelectingItemsControlSelectionChangedArgs(new global::System.Collections.IEnumerable?[] + {eventArgs.AddedItems, eventArgs.RemovedItems}); + var hr = handler.Invoke(args); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -2210,12 +2358,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnSelectingItemsControlSelectionChangedHandler.g.cs b/host/Generated/ObjectModel/IAvnSelectingItemsControlSelectionChangedHandler.g.cs index 4727770..56a64ff 100644 --- a/host/Generated/ObjectModel/IAvnSelectingItemsControlSelectionChangedHandler.g.cs +++ b/host/Generated/ObjectModel/IAvnSelectingItemsControlSelectionChangedHandler.g.cs @@ -2,13 +2,103 @@ #nullable enable using System.Runtime.InteropServices; using System.Runtime.InteropServices.Marshalling; +using System.Linq; namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("80E817ED-8F0E-5208-9EFD-ECBDEBC56A46")] +[Guid("A5A998E3-805F-5BB9-BE35-4ACCDA82BD37")] +public partial interface IAvnSelectingItemsControlSelectionChangedArgs +{ + [PreserveSig] + int GetAddedItemsCount(out int value); + + [PreserveSig] + int GetAddedItemsAt(int index, out AvnVariant value); + + [PreserveSig] + int GetRemovedItemsCount(out int value); + + [PreserveSig] + int GetRemovedItemsAt(int index, out AvnVariant value); + +} + +[GeneratedComClass] +public sealed partial class AvnSelectingItemsControlSelectionChangedArgs : IAvnSelectingItemsControlSelectionChangedArgs +{ + private readonly global::System.Collections.IEnumerable?[] _collections = new global::System.Collections.IEnumerable?[2]; + + internal AvnSelectingItemsControlSelectionChangedArgs(global::System.Collections.IEnumerable?[] collections) => _collections = collections; + + public int GetAddedItemsCount(out int value) + { + value = 0; + try + { + value = _collections[0]?.Cast().Count() ?? 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int GetAddedItemsAt(int index, out AvnVariant value) + { + value = default; + try + { + var item = _collections[0]?.Cast().ElementAtOrDefault(index); + if (index < 0 || item is null) + return global::Avalonia.Host.HResults.E_INVALIDARG; + value = AvnVariant.FromObject(item); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int GetRemovedItemsCount(out int value) + { + value = 0; + try + { + value = _collections[1]?.Cast().Count() ?? 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int GetRemovedItemsAt(int index, out AvnVariant value) + { + value = default; + try + { + var item = _collections[1]?.Cast().ElementAtOrDefault(index); + if (index < 0 || item is null) + return global::Avalonia.Host.HResults.E_INVALIDARG; + value = AvnVariant.FromObject(item); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + +} + +[GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] +[Guid("D9AAACF6-E516-52AC-ABBE-3E0210379161")] public partial interface IAvnSelectingItemsControlSelectionChangedHandler { [PreserveSig] - int Invoke(); + int Invoke(IAvnSelectingItemsControlSelectionChangedArgs args); } diff --git a/host/Generated/ObjectModel/IAvnSeparator.g.cs b/host/Generated/ObjectModel/IAvnSeparator.g.cs index 536d6ec..a35cfbc 100644 --- a/host/Generated/ObjectModel/IAvnSeparator.g.cs +++ b/host/Generated/ObjectModel/IAvnSeparator.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("FD4ADF2C-46AF-58ED-B8D1-2B813D56A4C0")] +[Guid("87BD59B4-CB85-5216-B757-72F95FCB49E3")] public partial interface IAvnSeparator : IAvnTemplatedControl { } @@ -35,8 +35,14 @@ public sealed partial class AvnSeparator : IAvnSeparator private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1116,6 +1122,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1164,6 +1262,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1746,12 +1892,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnShape.g.cs b/host/Generated/ObjectModel/IAvnShape.g.cs index bc3a8dc..dd33ac1 100644 --- a/host/Generated/ObjectModel/IAvnShape.g.cs +++ b/host/Generated/ObjectModel/IAvnShape.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("68C7A91F-DBEE-56E2-9A87-24B2B66D30AC")] +[Guid("5CB7105C-DAF9-5211-9659-62EAB03208FF")] public partial interface IAvnShape : IAvnControl { [PreserveSig] @@ -89,8 +89,14 @@ public sealed partial class AvnShape : IAvnShape private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1170,6 +1176,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1218,6 +1316,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1645,12 +1791,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnSlider.g.cs b/host/Generated/ObjectModel/IAvnSlider.g.cs index 2d75f43..036a5d2 100644 --- a/host/Generated/ObjectModel/IAvnSlider.g.cs +++ b/host/Generated/ObjectModel/IAvnSlider.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("704B6BAF-7A44-5CFE-A14B-440A8471D0B9")] +[Guid("BF042391-AF5A-5DD4-B321-055CA9F70D23")] public partial interface IAvnSlider : IAvnRangeBase { [PreserveSig] @@ -71,8 +71,14 @@ public sealed partial class AvnSlider : IAvnSlider private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1154,6 +1160,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1202,6 +1300,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1895,7 +2041,7 @@ public int AdviseValueChanged(IAvnRangeBaseValueChangedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke(eventArgs.OldValue, eventArgs.NewValue); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -2171,12 +2317,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnSpinner.g.cs b/host/Generated/ObjectModel/IAvnSpinner.g.cs index 6091cba..2a3d87b 100644 --- a/host/Generated/ObjectModel/IAvnSpinner.g.cs +++ b/host/Generated/ObjectModel/IAvnSpinner.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("6AAEEDDC-0307-57B2-9FA5-30A27DC1958E")] +[Guid("4A63E264-F914-5256-93AB-1268895B9073")] public partial interface IAvnSpinner : IAvnContentControl { [PreserveSig] @@ -47,8 +47,14 @@ public sealed partial class AvnSpinner : IAvnSpinner private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1130,6 +1136,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1178,6 +1276,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1961,12 +2107,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnSplitButton.g.cs b/host/Generated/ObjectModel/IAvnSplitButton.g.cs index a16f58f..8e4b446 100644 --- a/host/Generated/ObjectModel/IAvnSplitButton.g.cs +++ b/host/Generated/ObjectModel/IAvnSplitButton.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("1937A395-DF68-5F9F-94C1-07246380573C")] +[Guid("11D77809-48B6-5A29-B8D9-5D413BC96A85")] public partial interface IAvnSplitButton : IAvnContentControl { [PreserveSig] @@ -65,8 +65,14 @@ public sealed partial class AvnSplitButton : IAvnSplitButton private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1148,6 +1154,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1196,6 +1294,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -2072,12 +2218,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnSplitView.g.cs b/host/Generated/ObjectModel/IAvnSplitView.g.cs index c1f5b1b..f7086d2 100644 --- a/host/Generated/ObjectModel/IAvnSplitView.g.cs +++ b/host/Generated/ObjectModel/IAvnSplitView.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("51ED3B0D-0AAB-5AA3-9C4E-501C6027E774")] +[Guid("048A7E1E-0539-5D4A-95D8-5C2E6D429202")] public partial interface IAvnSplitView : IAvnContentControl { [PreserveSig] @@ -113,8 +113,14 @@ public sealed partial class AvnSplitView : IAvnSplitView private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1202,6 +1208,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1250,6 +1348,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -2423,12 +2569,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnStackPanel.g.cs b/host/Generated/ObjectModel/IAvnStackPanel.g.cs index e90e380..84c2848 100644 --- a/host/Generated/ObjectModel/IAvnStackPanel.g.cs +++ b/host/Generated/ObjectModel/IAvnStackPanel.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("2104EA3B-6DCB-5691-AE36-AB75B819F283")] +[Guid("17521479-DA81-5A88-9984-557EE08FF897")] public partial interface IAvnStackPanel : IAvnPanel { [PreserveSig] @@ -59,8 +59,14 @@ public sealed partial class AvnStackPanel : IAvnStackPanel private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1140,6 +1146,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1188,6 +1286,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1507,12 +1653,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnTabControl.g.cs b/host/Generated/ObjectModel/IAvnTabControl.g.cs index 6e69960..626cbad 100644 --- a/host/Generated/ObjectModel/IAvnTabControl.g.cs +++ b/host/Generated/ObjectModel/IAvnTabControl.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("C4664936-3D85-52A7-B48C-4CC32CA9B3A1")] +[Guid("8F087347-637D-5F69-BABE-6D6ED30440C1")] public partial interface IAvnTabControl : IAvnSelectingItemsControl { [PreserveSig] @@ -71,8 +71,14 @@ public sealed partial class AvnTabControl : IAvnTabControl private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1154,6 +1160,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1202,6 +1300,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -2114,7 +2260,9 @@ public int AdviseSelectionChanged(IAvnSelectingItemsControlSelectionChangedHandl var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var args = new AvnSelectingItemsControlSelectionChangedArgs(new global::System.Collections.IEnumerable?[] + {eventArgs.AddedItems, eventArgs.RemovedItems}); + var hr = handler.Invoke(args); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -2391,12 +2539,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnTabItem.g.cs b/host/Generated/ObjectModel/IAvnTabItem.g.cs index c270cb7..373d27e 100644 --- a/host/Generated/ObjectModel/IAvnTabItem.g.cs +++ b/host/Generated/ObjectModel/IAvnTabItem.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("F2FF8148-506B-5823-B99B-F10DD06AC7DE")] +[Guid("406B7990-01A7-533E-9A2A-7B70DDFCE8EC")] public partial interface IAvnTabItem : IAvnHeaderedContentControl { [PreserveSig] @@ -62,8 +62,14 @@ public sealed partial class AvnTabItem : IAvnTabItem private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1143,6 +1149,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1191,6 +1289,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -2099,12 +2245,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnTableView.g.cs b/host/Generated/ObjectModel/IAvnTableView.g.cs index ba42887..2d744ce 100644 --- a/host/Generated/ObjectModel/IAvnTableView.g.cs +++ b/host/Generated/ObjectModel/IAvnTableView.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("B0C8BD3E-D92C-542C-8E78-9020F9F5D0D8")] +[Guid("D4BE6E5C-B5DD-5BB0-A30F-3CC833767F7C")] public partial interface IAvnTableView : IAvnListBox { [PreserveSig] @@ -47,8 +47,14 @@ public sealed partial class AvnTableView : IAvnTableView private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1130,6 +1136,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1178,6 +1276,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -2090,7 +2236,9 @@ public int AdviseSelectionChanged(IAvnSelectingItemsControlSelectionChangedHandl var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var args = new AvnSelectingItemsControlSelectionChangedArgs(new global::System.Collections.IEnumerable?[] + {eventArgs.AddedItems, eventArgs.RemovedItems}); + var hr = handler.Invoke(args); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -2303,12 +2451,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnTableViewCell.g.cs b/host/Generated/ObjectModel/IAvnTableViewCell.g.cs index a45adfb..fa31d11 100644 --- a/host/Generated/ObjectModel/IAvnTableViewCell.g.cs +++ b/host/Generated/ObjectModel/IAvnTableViewCell.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("5FFBD394-21E2-5FA0-A738-F81CA24CA198")] +[Guid("7B4DC408-8142-5915-B1A7-15CE22062512")] public partial interface IAvnTableViewCell : IAvnContentControl { } @@ -35,8 +35,14 @@ public sealed partial class AvnTableViewCell : IAvnTableViewCell private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1116,6 +1122,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1164,6 +1262,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1870,12 +2016,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnTableViewRow.g.cs b/host/Generated/ObjectModel/IAvnTableViewRow.g.cs index 3f069c9..6fdce44 100644 --- a/host/Generated/ObjectModel/IAvnTableViewRow.g.cs +++ b/host/Generated/ObjectModel/IAvnTableViewRow.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("785207CE-7A58-5074-9CCD-5DFA0771DF61")] +[Guid("1A492B55-9FB8-5F66-986E-EF1DED34A38D")] public partial interface IAvnTableViewRow : IAvnListBoxItem { } @@ -35,8 +35,14 @@ public sealed partial class AvnTableViewRow : IAvnTableViewRow private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1116,6 +1122,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1164,6 +1262,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1901,12 +2047,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnTemplatedControl.g.cs b/host/Generated/ObjectModel/IAvnTemplatedControl.g.cs index 26c6dd0..137f6cc 100644 --- a/host/Generated/ObjectModel/IAvnTemplatedControl.g.cs +++ b/host/Generated/ObjectModel/IAvnTemplatedControl.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("D71DF481-E9FE-5463-BDA3-7C0546C5716A")] +[Guid("E2867468-09D4-5D05-A956-F687A78DF51A")] public partial interface IAvnTemplatedControl : IAvnControl { [PreserveSig] @@ -119,8 +119,14 @@ public sealed partial class AvnTemplatedControl : IAvnTemplatedControl private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1200,6 +1206,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1248,6 +1346,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1830,12 +1976,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnTextBlock.g.cs b/host/Generated/ObjectModel/IAvnTextBlock.g.cs index ceeb5c8..612e28b 100644 --- a/host/Generated/ObjectModel/IAvnTextBlock.g.cs +++ b/host/Generated/ObjectModel/IAvnTextBlock.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("70059000-39BE-58FA-9621-50CB7BBF46B1")] +[Guid("06129468-B036-5F97-ACA3-6C51B845746D")] public partial interface IAvnTextBlock : IAvnControl { [PreserveSig] @@ -143,8 +143,14 @@ public sealed partial class AvnTextBlock : IAvnTextBlock private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1224,6 +1230,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1272,6 +1370,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1978,12 +2124,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnTextBox.g.cs b/host/Generated/ObjectModel/IAvnTextBox.g.cs index e3a14f2..a0e40c4 100644 --- a/host/Generated/ObjectModel/IAvnTextBox.g.cs +++ b/host/Generated/ObjectModel/IAvnTextBox.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("B1615F3B-C31D-56CC-A999-064FAC4EFDF8")] +[Guid("BCD740F5-7423-5B2D-AD5E-CB40072226F8")] public partial interface IAvnTextBox : IAvnTemplatedControl { [PreserveSig] @@ -302,8 +302,14 @@ public sealed partial class AvnTextBox : IAvnTextBox private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1393,6 +1399,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1441,6 +1539,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -3476,12 +3622,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnThemeVariantScope.g.cs b/host/Generated/ObjectModel/IAvnThemeVariantScope.g.cs index 7dd1bcd..2098bf0 100644 --- a/host/Generated/ObjectModel/IAvnThemeVariantScope.g.cs +++ b/host/Generated/ObjectModel/IAvnThemeVariantScope.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("F8DF5A10-5406-5E10-A614-F50B8A8BE5A6")] +[Guid("2E35671F-C418-50E8-86C1-ED858C036A8D")] public partial interface IAvnThemeVariantScope : IAvnDecorator { [PreserveSig] @@ -41,8 +41,14 @@ public sealed partial class AvnThemeVariantScope : IAvnThemeVariantScope private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1122,6 +1128,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1170,6 +1268,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1411,12 +1557,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnThumb.g.cs b/host/Generated/ObjectModel/IAvnThumb.g.cs index c58b904..c9d7712 100644 --- a/host/Generated/ObjectModel/IAvnThumb.g.cs +++ b/host/Generated/ObjectModel/IAvnThumb.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("D4BA0A24-A5D3-56FE-B486-868C8C5A52B6")] +[Guid("B62C6C73-14C3-5E0D-A725-F5606107B454")] public partial interface IAvnThumb : IAvnTemplatedControl { [PreserveSig] @@ -53,8 +53,14 @@ public sealed partial class AvnThumb : IAvnThumb private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1140,6 +1146,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1188,6 +1286,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1908,12 +2054,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnTimePicker.g.cs b/host/Generated/ObjectModel/IAvnTimePicker.g.cs index 932eccf..89798a4 100644 --- a/host/Generated/ObjectModel/IAvnTimePicker.g.cs +++ b/host/Generated/ObjectModel/IAvnTimePicker.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("512BDA86-7718-5F1E-B2DE-8BCC7534AA46")] +[Guid("9F3B7D7A-E290-5ADC-997C-213A25F20D3B")] public partial interface IAvnTimePicker : IAvnTemplatedControl { [PreserveSig] @@ -80,8 +80,14 @@ public sealed partial class AvnTimePicker : IAvnTimePicker private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1163,6 +1169,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1211,6 +1309,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -2040,12 +2186,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnToggleButton.g.cs b/host/Generated/ObjectModel/IAvnToggleButton.g.cs index 29e5bac..af8ac73 100644 --- a/host/Generated/ObjectModel/IAvnToggleButton.g.cs +++ b/host/Generated/ObjectModel/IAvnToggleButton.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("978AD791-8ABE-5494-B9AB-B29937062870")] +[Guid("F9840045-23B2-5318-A7DA-EB7F3287FBD8")] public partial interface IAvnToggleButton : IAvnButton { [PreserveSig] @@ -53,8 +53,14 @@ public sealed partial class AvnToggleButton : IAvnToggleButton private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1138,6 +1144,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1186,6 +1284,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -2279,12 +2425,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnToggleSplitButton.g.cs b/host/Generated/ObjectModel/IAvnToggleSplitButton.g.cs index 14dee6f..bc1cd08 100644 --- a/host/Generated/ObjectModel/IAvnToggleSplitButton.g.cs +++ b/host/Generated/ObjectModel/IAvnToggleSplitButton.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("DD4F3760-D88D-5551-BD80-CA8721DEA1E9")] +[Guid("4FD7A582-1766-5CC7-B173-72F47FDF6BFF")] public partial interface IAvnToggleSplitButton : IAvnSplitButton { [PreserveSig] @@ -47,8 +47,14 @@ public sealed partial class AvnToggleSplitButton : IAvnToggleSplitButton private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1132,6 +1138,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1180,6 +1278,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -2133,12 +2279,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnToggleSwitch.g.cs b/host/Generated/ObjectModel/IAvnToggleSwitch.g.cs index 43ee754..65c3a63 100644 --- a/host/Generated/ObjectModel/IAvnToggleSwitch.g.cs +++ b/host/Generated/ObjectModel/IAvnToggleSwitch.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("D36D16B3-4A9B-5BD6-9258-7125ED95B433")] +[Guid("96F69492-4FBE-565F-8572-D7AEA40997E9")] public partial interface IAvnToggleSwitch : IAvnToggleButton { [PreserveSig] @@ -59,8 +59,14 @@ public sealed partial class AvnToggleSwitch : IAvnToggleSwitch private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1144,6 +1150,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1192,6 +1290,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -2409,12 +2555,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnToolTip.g.cs b/host/Generated/ObjectModel/IAvnToolTip.g.cs index fb2094c..b26dbbc 100644 --- a/host/Generated/ObjectModel/IAvnToolTip.g.cs +++ b/host/Generated/ObjectModel/IAvnToolTip.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("25BC085F-0BDB-59F4-B689-A1F0A8489B19")] +[Guid("8158AEAF-B85C-59C4-BFCE-98DF20F4C2C9")] public partial interface IAvnToolTip : IAvnContentControl { } @@ -35,8 +35,14 @@ public sealed partial class AvnToolTip : IAvnToolTip private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1116,6 +1122,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1164,6 +1262,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1870,12 +2016,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnTransitioningContentControl.g.cs b/host/Generated/ObjectModel/IAvnTransitioningContentControl.g.cs index 2375239..22dd950 100644 --- a/host/Generated/ObjectModel/IAvnTransitioningContentControl.g.cs +++ b/host/Generated/ObjectModel/IAvnTransitioningContentControl.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("6A3336CC-B09A-5484-BB6B-3E74C762E577")] +[Guid("643AACDC-AB53-56DF-A197-28042BF4D69F")] public partial interface IAvnTransitioningContentControl : IAvnContentControl { [PreserveSig] @@ -47,8 +47,14 @@ public sealed partial class AvnTransitioningContentControl : IAvnTransitioningCo private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1130,6 +1136,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1178,6 +1276,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1961,12 +2107,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnTreeView.g.cs b/host/Generated/ObjectModel/IAvnTreeView.g.cs index a370f49..71bcc81 100644 --- a/host/Generated/ObjectModel/IAvnTreeView.g.cs +++ b/host/Generated/ObjectModel/IAvnTreeView.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("AD4500EF-D3C0-5798-BF90-5E7515E85BEE")] +[Guid("E8A54D8B-7903-57AE-9BF8-F5A8055028FC")] public partial interface IAvnTreeView : IAvnItemsControl { [PreserveSig] @@ -83,8 +83,14 @@ public sealed partial class AvnTreeView : IAvnTreeView private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1166,6 +1172,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1214,6 +1312,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -2156,7 +2302,9 @@ public int AdviseSelectionChanged(IAvnTreeViewSelectionChangedHandler? handler, var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var args = new AvnTreeViewSelectionChangedArgs(new global::System.Collections.IEnumerable?[] + {eventArgs.AddedItems, eventArgs.RemovedItems}); + var hr = handler.Invoke(args); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -2246,12 +2394,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnTreeViewItem.g.cs b/host/Generated/ObjectModel/IAvnTreeViewItem.g.cs index b860d2a..3a6d698 100644 --- a/host/Generated/ObjectModel/IAvnTreeViewItem.g.cs +++ b/host/Generated/ObjectModel/IAvnTreeViewItem.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("B4B4B178-BF7A-52CD-8B27-EFEDBEA8C60E")] +[Guid("CDD644B1-7E5B-5C32-9271-5A69CEE65005")] public partial interface IAvnTreeViewItem : IAvnHeaderedItemsControl { [PreserveSig] @@ -62,8 +62,14 @@ public sealed partial class AvnTreeViewItem : IAvnTreeViewItem private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1147,6 +1153,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1195,6 +1293,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -2197,12 +2343,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnTreeViewSelectionChangedHandler.g.cs b/host/Generated/ObjectModel/IAvnTreeViewSelectionChangedHandler.g.cs index 409916b..7baf25f 100644 --- a/host/Generated/ObjectModel/IAvnTreeViewSelectionChangedHandler.g.cs +++ b/host/Generated/ObjectModel/IAvnTreeViewSelectionChangedHandler.g.cs @@ -2,13 +2,103 @@ #nullable enable using System.Runtime.InteropServices; using System.Runtime.InteropServices.Marshalling; +using System.Linq; namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("ED72A060-42CB-5648-804F-C5DCAB3CD87A")] +[Guid("A29EDF0E-EBE4-5118-99EB-615AE00A6BD5")] +public partial interface IAvnTreeViewSelectionChangedArgs +{ + [PreserveSig] + int GetAddedItemsCount(out int value); + + [PreserveSig] + int GetAddedItemsAt(int index, out AvnVariant value); + + [PreserveSig] + int GetRemovedItemsCount(out int value); + + [PreserveSig] + int GetRemovedItemsAt(int index, out AvnVariant value); + +} + +[GeneratedComClass] +public sealed partial class AvnTreeViewSelectionChangedArgs : IAvnTreeViewSelectionChangedArgs +{ + private readonly global::System.Collections.IEnumerable?[] _collections = new global::System.Collections.IEnumerable?[2]; + + internal AvnTreeViewSelectionChangedArgs(global::System.Collections.IEnumerable?[] collections) => _collections = collections; + + public int GetAddedItemsCount(out int value) + { + value = 0; + try + { + value = _collections[0]?.Cast().Count() ?? 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int GetAddedItemsAt(int index, out AvnVariant value) + { + value = default; + try + { + var item = _collections[0]?.Cast().ElementAtOrDefault(index); + if (index < 0 || item is null) + return global::Avalonia.Host.HResults.E_INVALIDARG; + value = AvnVariant.FromObject(item); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int GetRemovedItemsCount(out int value) + { + value = 0; + try + { + value = _collections[1]?.Cast().Count() ?? 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int GetRemovedItemsAt(int index, out AvnVariant value) + { + value = default; + try + { + var item = _collections[1]?.Cast().ElementAtOrDefault(index); + if (index < 0 || item is null) + return global::Avalonia.Host.HResults.E_INVALIDARG; + value = AvnVariant.FromObject(item); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + +} + +[GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] +[Guid("9F8E36AD-6E33-5211-B570-EB8B0C949511")] public partial interface IAvnTreeViewSelectionChangedHandler { [PreserveSig] - int Invoke(); + int Invoke(IAvnTreeViewSelectionChangedArgs args); } diff --git a/host/Generated/ObjectModel/IAvnUniformGrid.g.cs b/host/Generated/ObjectModel/IAvnUniformGrid.g.cs index a9c650c..0ddcf19 100644 --- a/host/Generated/ObjectModel/IAvnUniformGrid.g.cs +++ b/host/Generated/ObjectModel/IAvnUniformGrid.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("B6DABE9A-7AED-5BCF-B889-A715EC08D5E4")] +[Guid("600B20CC-7AA7-5EC9-B773-A893B4376F95")] public partial interface IAvnUniformGrid : IAvnPanel { [PreserveSig] @@ -65,8 +65,14 @@ public sealed partial class AvnUniformGrid : IAvnUniformGrid private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1146,6 +1152,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1194,6 +1292,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1544,12 +1690,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnUserControl.g.cs b/host/Generated/ObjectModel/IAvnUserControl.g.cs index eda9c76..23858ea 100644 --- a/host/Generated/ObjectModel/IAvnUserControl.g.cs +++ b/host/Generated/ObjectModel/IAvnUserControl.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("61A53A49-AD6E-58C8-88DF-DC3B769CF013")] +[Guid("E3ABA05B-DFF9-53C3-8885-CE2D78FEFFFC")] public partial interface IAvnUserControl : IAvnContentControl { } @@ -35,8 +35,14 @@ public sealed partial class AvnUserControl : IAvnUserControl private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1116,6 +1122,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1164,6 +1262,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1870,12 +2016,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnViewbox.g.cs b/host/Generated/ObjectModel/IAvnViewbox.g.cs index f1f1a92..19471e9 100644 --- a/host/Generated/ObjectModel/IAvnViewbox.g.cs +++ b/host/Generated/ObjectModel/IAvnViewbox.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("4F61E1E8-F773-5195-B8BF-89EF6E8F6C44")] +[Guid("3140444B-2172-5105-B7AD-D810D5794C13")] public partial interface IAvnViewbox : IAvnControl { [PreserveSig] @@ -53,8 +53,14 @@ public sealed partial class AvnViewbox : IAvnViewbox private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1134,6 +1140,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1182,6 +1280,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1423,12 +1569,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnWindow.g.cs b/host/Generated/ObjectModel/IAvnWindow.g.cs index 3b24904..f9b7497 100644 --- a/host/Generated/ObjectModel/IAvnWindow.g.cs +++ b/host/Generated/ObjectModel/IAvnWindow.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("BEAAC3C0-855F-5FC1-9750-80C538F7EE87")] +[Guid("29E3362E-B16E-5163-AED3-CF14D6B12784")] public partial interface IAvnWindow : IAvnContentControl { [PreserveSig] @@ -158,8 +158,14 @@ public sealed partial class AvnWindow : IAvnWindow private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1241,6 +1247,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1289,6 +1387,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -2647,12 +2793,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnWindowNotificationManager.g.cs b/host/Generated/ObjectModel/IAvnWindowNotificationManager.g.cs index 7a7e0a6..7970813 100644 --- a/host/Generated/ObjectModel/IAvnWindowNotificationManager.g.cs +++ b/host/Generated/ObjectModel/IAvnWindowNotificationManager.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("D4C37646-AAD1-5B56-A260-D0AB8CFE0936")] +[Guid("7C085288-6201-58A3-BD39-14F23696504B")] public partial interface IAvnWindowNotificationManager : IAvnTemplatedControl { [PreserveSig] @@ -62,8 +62,14 @@ public sealed partial class AvnWindowNotificationManager : IAvnWindowNotificatio private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1143,6 +1149,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1191,6 +1289,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1910,12 +2056,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnWrapPanel.g.cs b/host/Generated/ObjectModel/IAvnWrapPanel.g.cs index 1f21e4d..24908e1 100644 --- a/host/Generated/ObjectModel/IAvnWrapPanel.g.cs +++ b/host/Generated/ObjectModel/IAvnWrapPanel.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("92500527-364F-542C-8DF0-37F08036D83F")] +[Guid("802A39C5-57F6-5E1A-9DA8-02634571CF6D")] public partial interface IAvnWrapPanel : IAvnPanel { [PreserveSig] @@ -71,8 +71,14 @@ public sealed partial class AvnWrapPanel : IAvnWrapPanel private long _nextUnloadedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _sizeChangedSubscriptions = new(); private long _nextSizeChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _gotFocusSubscriptions = new(); + private long _nextGotFocusSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _lostFocusSubscriptions = new(); + private long _nextLostFocusSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _keyDownSubscriptions = new(); private long _nextKeyDownSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _keyUpSubscriptions = new(); + private long _nextKeyUpSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerEnteredSubscriptions = new(); private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); @@ -1152,6 +1158,98 @@ public int UnadviseSizeChanged(long subscriptionId) } } + public int AdviseGotFocus(IAvnControlGotFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.NavigationMethod, (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.GotFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextGotFocusSubscriptionId); + _gotFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.GotFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseGotFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_gotFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseLostFocus(IAvnControlLostFocusHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.LostFocus += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextLostFocusSubscriptionId); + _lostFocusSubscriptions.Add(subscriptionId, (handler, () => eventSource.LostFocus -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseLostFocus(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_lostFocusSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseKeyDown(IAvnControlKeyDownHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1200,6 +1298,54 @@ public int UnadviseKeyDown(long subscriptionId) } } + public int AdviseKeyUp(IAvnControlKeyUpHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var handled = eventArgs.Handled ? 1 : 0; + var hr = handler.Invoke((int)eventArgs.Key, (int)eventArgs.PhysicalKey, (int)eventArgs.KeyModifiers, eventArgs.KeySymbol, ref handled); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + eventArgs.Handled = handled != 0; + }); + eventSource.KeyUp += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextKeyUpSubscriptionId); + _keyUpSubscriptions.Add(subscriptionId, (handler, () => eventSource.KeyUp -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseKeyUp(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_keyUpSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out long subscriptionId) { subscriptionId = 0; @@ -1581,12 +1727,30 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _sizeChangedSubscriptions.Clear(); + foreach (var subscription in _gotFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _gotFocusSubscriptions.Clear(); + foreach (var subscription in _lostFocusSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _lostFocusSubscriptions.Clear(); foreach (var subscription in _keyDownSubscriptions.Values) { subscription.Unsubscribe(); global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _keyDownSubscriptions.Clear(); + foreach (var subscription in _keyUpSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _keyUpSubscriptions.Clear(); foreach (var subscription in _pointerEnteredSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/projection/Avalonia.Projection.Ir/AvaloniaProjectionProfiles.cs b/projection/Avalonia.Projection.Ir/AvaloniaProjectionProfiles.cs index bd5d43f..057c0e1 100644 --- a/projection/Avalonia.Projection.Ir/AvaloniaProjectionProfiles.cs +++ b/projection/Avalonia.Projection.Ir/AvaloniaProjectionProfiles.cs @@ -18,98 +18,98 @@ public static class AvaloniaProjectionProfiles // Loaded/Unloaded, so Control and every descendant republish. // StyledElement gains ActualThemeVariant in U27, so it and every descendant republish. ["Avalonia.Host.Com.IAvnStyledElement"] = 6, - ["Avalonia.Host.Com.IAvnControl"] = 8, - ["Avalonia.Host.Com.IAvnDecorator"] = 10, + ["Avalonia.Host.Com.IAvnControl"] = 9, + ["Avalonia.Host.Com.IAvnDecorator"] = 11, // Everything the completeness wave left alone. None of these sits below // ContentControl, Button, ToggleButton, ListBox, ComboBox or Grid, so their // flattened vtables are byte-identical to version 4. - ["Avalonia.Host.Com.IAvnBorder"] = 12, + ["Avalonia.Host.Com.IAvnBorder"] = 13, ["Avalonia.Host.Com.IAvnTableViewColumn"] = 7, - ["Avalonia.Host.Com.IAvnPanel"] = 11, - ["Avalonia.Host.Com.IAvnCanvas"] = 11, - ["Avalonia.Host.Com.IAvnDockPanel"] = 11, - ["Avalonia.Host.Com.IAvnStackPanel"] = 12, + ["Avalonia.Host.Com.IAvnPanel"] = 12, + ["Avalonia.Host.Com.IAvnCanvas"] = 12, + ["Avalonia.Host.Com.IAvnDockPanel"] = 12, + ["Avalonia.Host.Com.IAvnStackPanel"] = 13, // Wave M grew TemplatedControl (fonts/padding) and TextBlock (fonts/wrapping). // Nano-COM vtables are flattened, so every interface below TemplatedControl // republishes. TextBlock is not under TemplatedControl; SelectableTextBlock is. - ["Avalonia.Host.Com.IAvnTextBlock"] = 14, - ["Avalonia.Host.Com.IAvnSelectableTextBlock"] = 11, - ["Avalonia.Host.Com.IAvnTemplatedControl"] = 12, - ["Avalonia.Host.Com.IAvnItemsControl"] = 15, - ["Avalonia.Host.Com.IAvnSelectingItemsControl"] = 15, - ["Avalonia.Host.Com.IAvnTextBox"] = 18, - ["Avalonia.Host.Com.IAvnRangeBase"] = 12, - ["Avalonia.Host.Com.IAvnSlider"] = 12, - ["Avalonia.Host.Com.IAvnProgressBar"] = 13, - ["Avalonia.Host.Com.IAvnContentControl"] = 13, - ["Avalonia.Host.Com.IAvnHeaderedContentControl"] = 13, - ["Avalonia.Host.Com.IAvnExpander"] = 13, - ["Avalonia.Host.Com.IAvnButton"] = 16, - ["Avalonia.Host.Com.IAvnToggleButton"] = 16, - ["Avalonia.Host.Com.IAvnCheckBox"] = 16, - ["Avalonia.Host.Com.IAvnRadioButton"] = 16, - ["Avalonia.Host.Com.IAvnToggleSwitch"] = 16, - ["Avalonia.Host.Com.IAvnListBox"] = 16, - ["Avalonia.Host.Com.IAvnComboBox"] = 17, - ["Avalonia.Host.Com.IAvnListBoxItem"] = 15, - ["Avalonia.Host.Com.IAvnComboBoxItem"] = 15, - ["Avalonia.Host.Com.IAvnScrollViewer"] = 15, - ["Avalonia.Host.Com.IAvnWindow"] = 18, - ["Avalonia.Host.Com.IAvnGrid"] = 12, + ["Avalonia.Host.Com.IAvnTextBlock"] = 15, + ["Avalonia.Host.Com.IAvnSelectableTextBlock"] = 12, + ["Avalonia.Host.Com.IAvnTemplatedControl"] = 13, + ["Avalonia.Host.Com.IAvnItemsControl"] = 16, + ["Avalonia.Host.Com.IAvnSelectingItemsControl"] = 16, + ["Avalonia.Host.Com.IAvnTextBox"] = 19, + ["Avalonia.Host.Com.IAvnRangeBase"] = 13, + ["Avalonia.Host.Com.IAvnSlider"] = 13, + ["Avalonia.Host.Com.IAvnProgressBar"] = 14, + ["Avalonia.Host.Com.IAvnContentControl"] = 14, + ["Avalonia.Host.Com.IAvnHeaderedContentControl"] = 14, + ["Avalonia.Host.Com.IAvnExpander"] = 14, + ["Avalonia.Host.Com.IAvnButton"] = 17, + ["Avalonia.Host.Com.IAvnToggleButton"] = 17, + ["Avalonia.Host.Com.IAvnCheckBox"] = 17, + ["Avalonia.Host.Com.IAvnRadioButton"] = 17, + ["Avalonia.Host.Com.IAvnToggleSwitch"] = 17, + ["Avalonia.Host.Com.IAvnListBox"] = 17, + ["Avalonia.Host.Com.IAvnComboBox"] = 18, + ["Avalonia.Host.Com.IAvnListBoxItem"] = 16, + ["Avalonia.Host.Com.IAvnComboBoxItem"] = 16, + ["Avalonia.Host.Com.IAvnScrollViewer"] = 16, + ["Avalonia.Host.Com.IAvnWindow"] = 19, + ["Avalonia.Host.Com.IAvnGrid"] = 13, // Previously version-1 templated types inherit the TemplatedControl bump. - ["Avalonia.Host.Com.IAvnAutoCompleteBox"] = 16, - ["Avalonia.Host.Com.IAvnButtonSpinner"] = 9, - ["Avalonia.Host.Com.IAvnCalendar"] = 12, - ["Avalonia.Host.Com.IAvnCalendarDatePicker"] = 11, - ["Avalonia.Host.Com.IAvnCarousel"] = 13, - ["Avalonia.Host.Com.IAvnCommandBar"] = 12, + ["Avalonia.Host.Com.IAvnAutoCompleteBox"] = 17, + ["Avalonia.Host.Com.IAvnButtonSpinner"] = 10, + ["Avalonia.Host.Com.IAvnCalendar"] = 13, + ["Avalonia.Host.Com.IAvnCalendarDatePicker"] = 12, + ["Avalonia.Host.Com.IAvnCarousel"] = 14, + ["Avalonia.Host.Com.IAvnCommandBar"] = 13, ["Avalonia.Host.Com.IAvnCommand"] = 2, - ["Avalonia.Host.Com.IAvnCommandBarButton"] = 11, - ["Avalonia.Host.Com.IAvnCommandBarSeparator"] = 9, - ["Avalonia.Host.Com.IAvnCommandBarToggleButton"] = 11, - ["Avalonia.Host.Com.IAvnContextMenu"] = 15, - ["Avalonia.Host.Com.IAvnPopup"] = 8, + ["Avalonia.Host.Com.IAvnCommandBarButton"] = 12, + ["Avalonia.Host.Com.IAvnCommandBarSeparator"] = 10, + ["Avalonia.Host.Com.IAvnCommandBarToggleButton"] = 12, + ["Avalonia.Host.Com.IAvnContextMenu"] = 16, + ["Avalonia.Host.Com.IAvnPopup"] = 9, ["Avalonia.Host.Com.IAvnTrayIcon"] = 3, ["Avalonia.Host.Com.IAvnPopupFlyoutBase"] = 6, ["Avalonia.Host.Com.IAvnFlyout"] = 4, ["Avalonia.Host.Com.IAvnMenuFlyout"] = 5, - ["Avalonia.Host.Com.IAvnDatePicker"] = 11, - ["Avalonia.Host.Com.IAvnDropDownButton"] = 11, - ["Avalonia.Host.Com.IAvnGridSplitter"] = 10, - ["Avalonia.Host.Com.IAvnGroupBox"] = 9, - ["Avalonia.Host.Com.IAvnHeaderedItemsControl"] = 12, - ["Avalonia.Host.Com.IAvnHeaderedSelectingItemsControl"] = 12, - ["Avalonia.Host.Com.IAvnHyperlinkButton"] = 11, - ["Avalonia.Host.Com.IAvnIconElement"] = 9, - ["Avalonia.Host.Com.IAvnLabel"] = 10, - ["Avalonia.Host.Com.IAvnMaskedTextBox"] = 15, - ["Avalonia.Host.Com.IAvnMenu"] = 12, - ["Avalonia.Host.Com.IAvnMenuBase"] = 12, - ["Avalonia.Host.Com.IAvnMenuItem"] = 15, - ["Avalonia.Host.Com.IAvnNotificationCard"] = 10, - ["Avalonia.Host.Com.IAvnNumericUpDown"] = 10, - ["Avalonia.Host.Com.IAvnPathIcon"] = 9, - ["Avalonia.Host.Com.IAvnPipsPager"] = 10, - ["Avalonia.Host.Com.IAvnRefreshContainer"] = 10, - ["Avalonia.Host.Com.IAvnRepeatButton"] = 11, - ["Avalonia.Host.Com.IAvnSeparator"] = 9, - ["Avalonia.Host.Com.IAvnSpinner"] = 9, - ["Avalonia.Host.Com.IAvnSplitButton"] = 12, - ["Avalonia.Host.Com.IAvnSplitView"] = 9, - ["Avalonia.Host.Com.IAvnTabControl"] = 12, - ["Avalonia.Host.Com.IAvnTabItem"] = 11, - ["Avalonia.Host.Com.IAvnTableView"] = 13, - ["Avalonia.Host.Com.IAvnTableViewCell"] = 11, - ["Avalonia.Host.Com.IAvnTableViewRow"] = 9, - ["Avalonia.Host.Com.IAvnThumb"] = 10, - ["Avalonia.Host.Com.IAvnTimePicker"] = 11, - ["Avalonia.Host.Com.IAvnToggleSplitButton"] = 12, - ["Avalonia.Host.Com.IAvnToolTip"] = 9, - ["Avalonia.Host.Com.IAvnTransitioningContentControl"] = 10, - ["Avalonia.Host.Com.IAvnTreeView"] = 12, - ["Avalonia.Host.Com.IAvnTreeViewItem"] = 12, - ["Avalonia.Host.Com.IAvnUserControl"] = 9, - ["Avalonia.Host.Com.IAvnWindowNotificationManager"] = 10, + ["Avalonia.Host.Com.IAvnDatePicker"] = 12, + ["Avalonia.Host.Com.IAvnDropDownButton"] = 12, + ["Avalonia.Host.Com.IAvnGridSplitter"] = 11, + ["Avalonia.Host.Com.IAvnGroupBox"] = 10, + ["Avalonia.Host.Com.IAvnHeaderedItemsControl"] = 13, + ["Avalonia.Host.Com.IAvnHeaderedSelectingItemsControl"] = 13, + ["Avalonia.Host.Com.IAvnHyperlinkButton"] = 12, + ["Avalonia.Host.Com.IAvnIconElement"] = 10, + ["Avalonia.Host.Com.IAvnLabel"] = 11, + ["Avalonia.Host.Com.IAvnMaskedTextBox"] = 16, + ["Avalonia.Host.Com.IAvnMenu"] = 13, + ["Avalonia.Host.Com.IAvnMenuBase"] = 13, + ["Avalonia.Host.Com.IAvnMenuItem"] = 16, + ["Avalonia.Host.Com.IAvnNotificationCard"] = 11, + ["Avalonia.Host.Com.IAvnNumericUpDown"] = 11, + ["Avalonia.Host.Com.IAvnPathIcon"] = 10, + ["Avalonia.Host.Com.IAvnPipsPager"] = 11, + ["Avalonia.Host.Com.IAvnRefreshContainer"] = 11, + ["Avalonia.Host.Com.IAvnRepeatButton"] = 12, + ["Avalonia.Host.Com.IAvnSeparator"] = 10, + ["Avalonia.Host.Com.IAvnSpinner"] = 10, + ["Avalonia.Host.Com.IAvnSplitButton"] = 13, + ["Avalonia.Host.Com.IAvnSplitView"] = 10, + ["Avalonia.Host.Com.IAvnTabControl"] = 13, + ["Avalonia.Host.Com.IAvnTabItem"] = 12, + ["Avalonia.Host.Com.IAvnTableView"] = 14, + ["Avalonia.Host.Com.IAvnTableViewCell"] = 12, + ["Avalonia.Host.Com.IAvnTableViewRow"] = 10, + ["Avalonia.Host.Com.IAvnThumb"] = 11, + ["Avalonia.Host.Com.IAvnTimePicker"] = 12, + ["Avalonia.Host.Com.IAvnToggleSplitButton"] = 13, + ["Avalonia.Host.Com.IAvnToolTip"] = 10, + ["Avalonia.Host.Com.IAvnTransitioningContentControl"] = 11, + ["Avalonia.Host.Com.IAvnTreeView"] = 13, + ["Avalonia.Host.Com.IAvnTreeViewItem"] = 13, + ["Avalonia.Host.Com.IAvnUserControl"] = 10, + ["Avalonia.Host.Com.IAvnWindowNotificationManager"] = 11, // Wave A's seven new interfaces publish at the default version 1 and nothing they // sit under moved, so they need no entry here. Waves B, C and D do the same. // The factory is the only interface these waves move: wave A gave it a creator per @@ -120,24 +120,32 @@ public static class AvaloniaProjectionProfiles // (Calendar, CalendarDatePicker) so 8, wave G seven more so 9, and wave H // eight constructible shapes (Shape is abstract) so 10, wave I five more so 11, // and wave J six more so 12, and wave K five constructible (IconElement abstract) so 13. - ["Avalonia.Host.Com.IAvnImage"] = 8, - ["Avalonia.Host.Com.IAvnWrapPanel"] = 8, - ["Avalonia.Host.Com.IAvnUniformGrid"] = 8, - ["Avalonia.Host.Com.IAvnRelativePanel"] = 8, - ["Avalonia.Host.Com.IAvnViewbox"] = 8, - ["Avalonia.Host.Com.IAvnFlexPanel"] = 8, - ["Avalonia.Host.Com.IAvnShape"] = 8, - ["Avalonia.Host.Com.IAvnRectangle"] = 8, - ["Avalonia.Host.Com.IAvnEllipse"] = 8, - ["Avalonia.Host.Com.IAvnLine"] = 8, - ["Avalonia.Host.Com.IAvnPath"] = 8, - ["Avalonia.Host.Com.IAvnPolygon"] = 8, - ["Avalonia.Host.Com.IAvnPolyline"] = 8, - ["Avalonia.Host.Com.IAvnArc"] = 8, - ["Avalonia.Host.Com.IAvnSector"] = 8, - ["Avalonia.Host.Com.IAvnLayoutTransformControl"] = 8, - ["Avalonia.Host.Com.IAvnThemeVariantScope"] = 8, + ["Avalonia.Host.Com.IAvnImage"] = 9, + ["Avalonia.Host.Com.IAvnWrapPanel"] = 9, + ["Avalonia.Host.Com.IAvnUniformGrid"] = 9, + ["Avalonia.Host.Com.IAvnRelativePanel"] = 9, + ["Avalonia.Host.Com.IAvnViewbox"] = 9, + ["Avalonia.Host.Com.IAvnFlexPanel"] = 9, + ["Avalonia.Host.Com.IAvnShape"] = 9, + ["Avalonia.Host.Com.IAvnRectangle"] = 9, + ["Avalonia.Host.Com.IAvnEllipse"] = 9, + ["Avalonia.Host.Com.IAvnLine"] = 9, + ["Avalonia.Host.Com.IAvnPath"] = 9, + ["Avalonia.Host.Com.IAvnPolygon"] = 9, + ["Avalonia.Host.Com.IAvnPolyline"] = 9, + ["Avalonia.Host.Com.IAvnArc"] = 9, + ["Avalonia.Host.Com.IAvnSector"] = 9, + ["Avalonia.Host.Com.IAvnLayoutTransformControl"] = 9, + ["Avalonia.Host.Com.IAvnThemeVariantScope"] = 9, ["Avalonia.Host.Com.IAvnControlFactory"] = 13, + // Wave P. Payload-carrying replacements for the previously payload-less + // handlers: the handler Invoke slots change shape, so each handler mints a + // new IID at version 2. The advise/unadvise slots on the control interfaces + // keep their signatures; the controls themselves republish only because + // Control gained KeyUp/GotFocus/LostFocus. + ["Avalonia.Host.Com.IAvnSelectingItemsControlSelectionChangedHandler"] = 2, + ["Avalonia.Host.Com.IAvnTreeViewSelectionChangedHandler"] = 2, + ["Avalonia.Host.Com.IAvnRangeBaseValueChangedHandler"] = 2, }, IncludeTypeNames = [ @@ -283,7 +291,8 @@ public static class AvaloniaProjectionProfiles [ "Width", "Height", "MinWidth", "MinHeight", "MaxWidth", "MaxHeight", "Margin", "HorizontalAlignment", "VerticalAlignment", "IsVisible", - "Opacity", "IsEnabled", "KeyDown", "PointerEntered", "PointerExited", + "Opacity", "IsEnabled", "KeyDown", "KeyUp", "GotFocus", "LostFocus", + "PointerEntered", "PointerExited", "ContextMenu", "ContextFlyout", "IsLoaded", "Loaded", "Unloaded", "SizeChanged", "Tag", ], @@ -1449,9 +1458,11 @@ public static class AvaloniaProjectionProfiles { PayloadKind = EventPayloadKind.None, }, + // Wave P: RangeBaseValueChangedEventArgs carries the old/new double pair. ["Avalonia.Controls.Primitives.RangeBase.ValueChanged"] = new() { - PayloadKind = EventPayloadKind.None, + PayloadKind = EventPayloadKind.Fields, + Parameters = [new() { Name = "OldValue" }, new() { Name = "NewValue" }], }, ["Avalonia.Controls.Expander.Expanded"] = new() { @@ -1477,15 +1488,27 @@ public static class AvaloniaProjectionProfiles { PayloadKind = EventPayloadKind.None, }, + // Wave P: SelectionChangedEventArgs carries the added/removed item lists, + // which cross as Variant slots on the host-implemented args interface. ["Avalonia.Controls.Primitives.SelectingItemsControl.SelectionChanged"] = new() { - PayloadKind = EventPayloadKind.None, + PayloadKind = EventPayloadKind.Args, + Parameters = + [ + new() { Name = "AddedItems" }, + new() { Name = "RemovedItems" }, + ], }, // TreeView derives from ItemsControl, so its SelectionChanged is its own event - // rather than the SelectingItemsControl one. + // rather than the SelectingItemsControl one. Same SelectionChangedEventArgs shape. ["Avalonia.Controls.TreeView.SelectionChanged"] = new() { - PayloadKind = EventPayloadKind.None, + PayloadKind = EventPayloadKind.Args, + Parameters = + [ + new() { Name = "AddedItems" }, + new() { Name = "RemovedItems" }, + ], }, ["Avalonia.Controls.TreeViewItem.Expanded"] = new() { @@ -1778,6 +1801,33 @@ public static class AvaloniaProjectionProfiles new() { Name = "Handled", Direction = ParameterDirection.InOut }, ], }, + // Wave P: KeyUp mirrors KeyDown; GotFocus carries the navigation context; + // LostFocusEventArgs has no payload members, so it crosses as a notification. + ["Avalonia.Controls.Control.KeyUp"] = new() + { + PayloadKind = EventPayloadKind.Fields, + Parameters = + [ + new() { Name = "Key" }, + new() { Name = "PhysicalKey" }, + new() { Name = "KeyModifiers" }, + new() { Name = "KeySymbol" }, + new() { Name = "Handled", Direction = ParameterDirection.InOut }, + ], + }, + ["Avalonia.Controls.Control.GotFocus"] = new() + { + PayloadKind = EventPayloadKind.Fields, + Parameters = + [ + new() { Name = "NavigationMethod" }, + new() { Name = "KeyModifiers" }, + ], + }, + ["Avalonia.Controls.Control.LostFocus"] = new() + { + PayloadKind = EventPayloadKind.None, + }, ["Avalonia.Controls.Control.PointerEntered"] = new() { PayloadKind = EventPayloadKind.None, diff --git a/rust/.avalonia-projection.owned.json b/rust/.avalonia-projection.owned.json index 03128f6..58aa565 100644 --- a/rust/.avalonia-projection.owned.json +++ b/rust/.avalonia-projection.owned.json @@ -7,7 +7,7 @@ }, { "path": "projection.ir.json", - "sha256": "1c3f0e0b5b21f98ecd7a6de97f207f0f90fc0b5eb42eb4fd2bec4c583db0c802" + "sha256": "9c0025aa0dcac4d3d1bd944e3d39c6c88690c76f825162f86f72c6674f8b9826" } ] } diff --git a/rust/COMPATIBILITY.md b/rust/COMPATIBILITY.md index 7f866da..148ed70 100644 --- a/rust/COMPATIBILITY.md +++ b/rust/COMPATIBILITY.md @@ -76,6 +76,22 @@ with a host from another. The overlay-chrome pass widens the leaf `IAvnWindow` ABI from 7 to 8 to expose only the safe, non-nullable window work-area and dialog members. This stays local to the window leaf: `IAvnContentControl` remains at 6 and the factory remains at 13, while blockers such as `Icon`, `Position`, nullable geometry, and cancelable `Closing` payloads stay out of scope. +The wave P event-payload pass grows `IAvnControl` with `KeyUp`, `GotFocus` +and `LostFocus`, so `IAvnControl` and every interface below it republish on +fresh IIDs. Three previously payload-less handlers change their `Invoke` +shape and therefore mint new identities at version 2: +`IAvnSelectingItemsControlSelectionChangedHandler` and +`IAvnTreeViewSelectionChangedHandler` now receive a host-implemented +`*SelectionChangedArgs` interface exposing the added/removed items as Variant +count/getter slots, and `IAvnRangeBaseValueChangedHandler` now carries the +old/new value pair as fields. The advise/unadvise slots on the control +interfaces keep their signatures throughout; only the handler identities move. +Consumers compiled against the version 1 handlers fail `QueryInterface` +loudly (`E_NOINTERFACE`) rather than being called through a stale vtable. +After an intentional ABI wave, regenerate the frozen snapshot with +`pwsh ./rust/regenerate-and-build.ps1 -UpdateAbiBaseline` in the same change +so `abi-baseline.json` stays the reviewed record of what is released. + Published interface IIDs, vtable slot order, method signatures, calling conventions, ownership rules, and error semantics are immutable. Never reuse an IID for a changed interface and never insert a slot into an existing vtable. diff --git a/rust/abi-baseline.json b/rust/abi-baseline.json index c56963b..a1a8479 100644 --- a/rust/abi-baseline.json +++ b/rust/abi-baseline.json @@ -602,6 +602,25 @@ } ] }, + { + "name": "invoke", + "callingConvention": "AVN_CALL", + "returnType": "AvnHResult", + "parameters": [ + { + "type": "$self", + "name": "self" + }, + { + "type": "int32_t", + "name": "navigation_method" + }, + { + "type": "int32_t", + "name": "key_modifiers" + } + ] + }, { "name": "invoke", "callingConvention": "AVN_CALL", @@ -690,6 +709,40 @@ } ] }, + { + "name": "invoke", + "callingConvention": "AVN_CALL", + "returnType": "AvnHResult", + "parameters": [ + { + "type": "$self", + "name": "self" + }, + { + "type": "double", + "name": "old_value" + }, + { + "type": "double", + "name": "new_value" + } + ] + }, + { + "name": "invoke", + "callingConvention": "AVN_CALL", + "returnType": "AvnHResult", + "parameters": [ + { + "type": "$self", + "name": "self" + }, + { + "type": "IAvnSelectingItemsControlSelectionChangedArgs*", + "name": "args" + } + ] + }, { "name": "invoke", "callingConvention": "AVN_CALL", @@ -747,6 +800,21 @@ } ] }, + { + "name": "invoke", + "callingConvention": "AVN_CALL", + "returnType": "AvnHResult", + "parameters": [ + { + "type": "$self", + "name": "self" + }, + { + "type": "IAvnTreeViewSelectionChangedArgs*", + "name": "args" + } + ] + }, { "name": "invoke", "callingConvention": "AVN_CALL", @@ -2359,6 +2427,74 @@ } ] }, + { + "name": "advise_got_focus", + "callingConvention": "AVN_CALL", + "returnType": "AvnHResult", + "parameters": [ + { + "type": "$self", + "name": "self" + }, + { + "type": "IAvnControlGotFocusHandler*", + "name": "handler" + }, + { + "type": "int64_t*", + "name": "subscription_id" + } + ] + }, + { + "name": "unadvise_got_focus", + "callingConvention": "AVN_CALL", + "returnType": "AvnHResult", + "parameters": [ + { + "type": "$self", + "name": "self" + }, + { + "type": "int64_t", + "name": "subscription_id" + } + ] + }, + { + "name": "advise_lost_focus", + "callingConvention": "AVN_CALL", + "returnType": "AvnHResult", + "parameters": [ + { + "type": "$self", + "name": "self" + }, + { + "type": "IAvnControlLostFocusHandler*", + "name": "handler" + }, + { + "type": "int64_t*", + "name": "subscription_id" + } + ] + }, + { + "name": "unadvise_lost_focus", + "callingConvention": "AVN_CALL", + "returnType": "AvnHResult", + "parameters": [ + { + "type": "$self", + "name": "self" + }, + { + "type": "int64_t", + "name": "subscription_id" + } + ] + }, { "name": "advise_key_down", "callingConvention": "AVN_CALL", @@ -2393,6 +2529,40 @@ } ] }, + { + "name": "advise_key_up", + "callingConvention": "AVN_CALL", + "returnType": "AvnHResult", + "parameters": [ + { + "type": "$self", + "name": "self" + }, + { + "type": "IAvnControlKeyUpHandler*", + "name": "handler" + }, + { + "type": "int64_t*", + "name": "subscription_id" + } + ] + }, + { + "name": "unadvise_key_up", + "callingConvention": "AVN_CALL", + "returnType": "AvnHResult", + "parameters": [ + { + "type": "$self", + "name": "self" + }, + { + "type": "int64_t", + "name": "subscription_id" + } + ] + }, { "name": "advise_pointer_entered", "callingConvention": "AVN_CALL", @@ -17487,7 +17657,10 @@ "IAvnControl.E.Loaded:None:", "IAvnControl.E.Unloaded:None:", "IAvnControl.E.SizeChanged:Fields:NewSize:Size:In:0,PreviousSize:Size:In:0", + "IAvnControl.E.GotFocus:Fields:NavigationMethod:I32:In:0,KeyModifiers:I32:In:0", + "IAvnControl.E.LostFocus:None:", "IAvnControl.E.KeyDown:Fields:Key:I32:In:0,PhysicalKey:I32:In:0,KeyModifiers:I32:In:0,KeySymbol:StringUtf16:In:1,Handled:Bool:InOut:0", + "IAvnControl.E.KeyUp:Fields:Key:I32:In:0,PhysicalKey:I32:In:0,KeyModifiers:I32:In:0,KeySymbol:StringUtf16:In:1,Handled:Bool:InOut:0", "IAvnControl.E.PointerEntered:None:", "IAvnControl.E.PointerExited:None:", "IAvnShape.P.Fill:Brush:1:1:1:", @@ -17632,7 +17805,7 @@ "IAvnSelectingItemsControl.P.SelectedValue:Variant:1:1:1:", "IAvnSelectingItemsControl.P.IsTextSearchEnabled:Bool:0:1:1:", "IAvnSelectingItemsControl.P.WrapSelection:Bool:0:1:1:", - "IAvnSelectingItemsControl.E.SelectionChanged:None:", + "IAvnSelectingItemsControl.E.SelectionChanged:Args:AddedItems:Variant:In:0,RemovedItems:Variant:In:0", "IAvnCarousel.M.Next:I32:", "IAvnCarousel.M.Previous:I32:", "IAvnCarousel.P.IsSwipeEnabled:Bool:0:1:1:", @@ -17934,7 +18107,7 @@ "IAvnRangeBase.P.Value:F64:0:1:1:", "IAvnRangeBase.P.SmallChange:F64:0:1:1:", "IAvnRangeBase.P.LargeChange:F64:0:1:1:", - "IAvnRangeBase.E.ValueChanged:None:", + "IAvnRangeBase.E.ValueChanged:Fields:OldValue:F64:In:0,NewValue:F64:In:0", "IAvnProgressBar.P.Percentage:F64:0:1:0:", "IAvnProgressBar.P.IsIndeterminate:Bool:0:1:1:", "IAvnProgressBar.P.ShowProgressText:Bool:0:1:1:", @@ -18096,7 +18269,7 @@ "IAvnTreeView.P.SelectionMode:I32:0:1:1:", "IAvnTreeView.P.SelectedItem:Variant:1:1:1:", "IAvnTreeView.P.SelectedItems:ComCollection:1:1:1:Variant", - "IAvnTreeView.E.SelectionChanged:None:", + "IAvnTreeView.E.SelectionChanged:Args:AddedItems:Variant:In:0,RemovedItems:Variant:In:0", "IAvnTreeViewItem.P.IsExpanded:Bool:0:1:1:", "IAvnTreeViewItem.P.IsSelected:Bool:0:1:1:", "IAvnTreeViewItem.P.Level:I32:0:1:0:", @@ -18152,17 +18325,13 @@ "interfaces": [ { "name": "IAvnArc", - "iid": "80597080-EEDD-5CAA-B4F1-88D78CA23B79", + "iid": "394ACB52-3BF3-52D6-97E8-4BF0C102F4BE", "iidConstant": "I_AVN_ARC_IID", - "abiVersion": 8, + "abiVersion": 9, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -18184,11 +18353,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -18246,7 +18415,17 @@ 146, 147, 148, - 149 + 149, + 150, + 151, + 152, + 153, + 154, + 155, + 156, + 157, + 158, + 159 ], "irBases": [ "IAvnAvaloniaObject", @@ -18301,7 +18480,10 @@ 42, 43, 44, - 45 + 45, + 46, + 47, + 48 ] }, { @@ -18313,7 +18495,7 @@ 0, 1, 2, - 41 + 45 ] }, { @@ -18325,22 +18507,18 @@ 0, 1, 2, - 40 + 44 ] }, { "name": "IAvnAutoCompleteBox", - "iid": "92CEFC39-4E40-5193-893F-F3E2C77ED24C", + "iid": "86643B56-B59D-5EE3-8A9B-D44F7DA909E7", "iidConstant": "I_AVN_AUTO_COMPLETE_BOX_IID", - "abiVersion": 16, + "abiVersion": 17, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -18362,11 +18540,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -18403,16 +18581,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -18492,7 +18670,17 @@ 236, 237, 238, - 239 + 239, + 240, + 241, + 242, + 243, + 244, + 245, + 246, + 247, + 248, + 249 ], "irBases": [ "IAvnAvaloniaObject", @@ -18537,9 +18725,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -18582,7 +18770,10 @@ 88, 89, 90, - 91 + 91, + 92, + 93, + 94 ] }, { @@ -18718,27 +18909,22 @@ 0, 1, 2, - 63, - 64 + 67, + 68 ], "irBases": [ "IAvnAvaloniaObject" - ], - "irMembers": [] + ] }, { "name": "IAvnBorder", - "iid": "80C1079E-AFDF-5483-A560-2DDB475CF894", + "iid": "DFE5487A-B7C3-5DD1-A6EF-0CC9B9E6FC9C", "iidConstant": "I_AVN_BORDER_IID", - "abiVersion": 12, + "abiVersion": 13, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -18760,11 +18946,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -18801,23 +18987,33 @@ 125, 126, 127, - 240, - 241, - 176, - 177, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, - 242, - 243, - 244 + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 250, + 251, + 186, + 187, + 160, + 161, + 162, + 163, + 164, + 165, + 166, + 167, + 168, + 169, + 252, + 253, + 254 ], "irBases": [ "IAvnAvaloniaObject", @@ -18862,15 +19058,18 @@ 32, 33, 34, - 92, - 93, - 94, + 35, + 36, + 37, 95, 96, 97, 98, 99, - 100 + 100, + 101, + 102, + 103 ] }, { @@ -18882,23 +19081,19 @@ 0, 1, 2, - 27, - 28 + 31, + 32 ] }, { "name": "IAvnButton", - "iid": "62D66949-2173-5007-9613-1F4B3E7C144E", + "iid": "39E10286-7BB7-511B-8885-733B3AB380F6", "iidConstant": "I_AVN_BUTTON_IID", - "abiVersion": 16, + "abiVersion": 17, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -18920,11 +19115,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -18961,16 +19156,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -18989,16 +19184,16 @@ 175, 176, 177, - 245, - 246, - 247, - 248, - 249, - 250, - 251, - 252, - 253, - 254, + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, 255, 256, 257, @@ -19013,7 +19208,17 @@ 266, 267, 268, - 269 + 269, + 270, + 271, + 272, + 273, + 274, + 275, + 276, + 277, + 278, + 279 ], "irBases": [ "IAvnAvaloniaObject", @@ -19059,9 +19264,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -19073,9 +19278,9 @@ 57, 58, 59, - 101, - 102, - 103, + 60, + 61, + 62, 104, 105, 106, @@ -19085,7 +19290,10 @@ 110, 111, 112, - 113 + 113, + 114, + 115, + 116 ] }, { @@ -19102,17 +19310,13 @@ }, { "name": "IAvnButtonSpinner", - "iid": "046C4736-CECE-5455-98A8-F2DD3C84C846", + "iid": "121045E2-0F99-5036-A5F8-373B15BC6449", "iidConstant": "I_AVN_BUTTON_SPINNER_IID", - "abiVersion": 9, + "abiVersion": 10, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -19134,11 +19338,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -19175,16 +19379,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -19203,24 +19407,34 @@ 175, 176, 177, - 245, - 246, - 247, - 248, - 249, - 250, - 251, - 252, - 270, - 271, - 272, - 273, - 274, - 275, - 276, - 277, - 278, - 279 + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, + 255, + 256, + 257, + 258, + 259, + 260, + 261, + 262, + 280, + 281, + 282, + 283, + 284, + 285, + 286, + 287, + 288, + 289 ], "irBases": [ "IAvnAvaloniaObject", @@ -19267,9 +19481,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -19281,30 +19495,29 @@ 57, 58, 59, - 101, - 102, - 103, + 60, + 61, + 62, 104, - 114, - 115, - 116, + 105, + 106, + 107, 117, - 118 + 118, + 119, + 120, + 121 ] }, { "name": "IAvnCalendar", - "iid": "F1D659B7-93E5-5093-9D16-C480F7520E14", + "iid": "D1959E20-E08E-5A66-A63B-4BD714E609D7", "iidConstant": "I_AVN_CALENDAR_IID", - "abiVersion": 12, + "abiVersion": 13, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -19326,11 +19539,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -19367,16 +19580,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -19395,16 +19608,16 @@ 175, 176, 177, - 280, - 281, - 282, - 283, - 284, - 285, - 286, - 287, - 288, - 289, + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, 290, 291, 292, @@ -19426,7 +19639,17 @@ 308, 309, 310, - 311 + 311, + 312, + 313, + 314, + 315, + 316, + 317, + 318, + 319, + 320, + 321 ], "irBases": [ "IAvnAvaloniaObject", @@ -19471,9 +19694,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -19485,9 +19708,9 @@ 57, 58, 59, - 119, - 120, - 121, + 60, + 61, + 62, 122, 123, 124, @@ -19501,22 +19724,21 @@ 132, 133, 134, - 135 + 135, + 136, + 137, + 138 ] }, { "name": "IAvnCalendarDatePicker", - "iid": "DC5958DB-F3AD-5B9F-9C86-7B66DD3D2429", + "iid": "52B3592A-D20D-5C93-8D31-E0552A7445FE", "iidConstant": "I_AVN_CALENDAR_DATE_PICKER_IID", - "abiVersion": 11, + "abiVersion": 12, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -19538,11 +19760,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -19579,16 +19801,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -19607,50 +19829,60 @@ 175, 176, 177, - 303, - 299, - 300, - 301, - 302, - 304, - 305, - 280, - 281, - 190, - 191, - 282, - 283, - 296, - 297, - 312, + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, 313, + 309, + 310, + 311, + 312, 314, 315, - 196, - 197, + 290, + 291, + 200, 201, - 202, - 316, - 317, - 203, - 204, - 249, - 250, - 251, - 252, - 286, - 287, - 288, - 289, - 53, - 318, - 319, - 320, - 321, + 292, + 293, + 306, + 307, 322, 323, 324, - 325 + 325, + 206, + 207, + 211, + 212, + 326, + 327, + 213, + 214, + 259, + 260, + 261, + 262, + 296, + 297, + 298, + 299, + 57, + 328, + 329, + 330, + 331, + 332, + 333, + 334, + 335 ], "irBases": [ "IAvnAvaloniaObject", @@ -19695,9 +19927,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -19709,9 +19941,9 @@ 57, 58, 59, - 136, - 137, - 138, + 60, + 61, + 62, 139, 140, 141, @@ -19731,7 +19963,10 @@ 155, 156, 157, - 158 + 158, + 159, + 160, + 161 ] }, { @@ -19850,17 +20085,13 @@ }, { "name": "IAvnCanvas", - "iid": "D9F89602-BD30-55F3-84C5-69EF65A6D0DA", + "iid": "CE4E710B-D3A5-5021-A343-758FA078E791", "iidConstant": "I_AVN_CANVAS_IID", - "abiVersion": 11, + "abiVersion": 12, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -19882,11 +20113,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -19923,9 +20154,19 @@ 125, 126, 127, - 326, - 150, - 151 + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 336, + 160, + 161 ], "irBases": [ "IAvnAvaloniaObject", @@ -19970,8 +20211,11 @@ 32, 33, 34, - 159, - 160 + 35, + 36, + 37, + 162, + 163 ] }, { @@ -19983,29 +20227,25 @@ 0, 1, 2, - 947, - 948, - 949, - 950, - 951, - 952, - 953, - 954 + 957, + 958, + 959, + 960, + 961, + 962, + 963, + 964 ] }, { "name": "IAvnCarousel", - "iid": "14D0DA2B-D8DF-5816-8B51-455DCF738DF0", + "iid": "B496C390-157D-54E1-8415-E487E93DAF7D", "iidConstant": "I_AVN_CAROUSEL_IID", - "abiVersion": 13, + "abiVersion": 14, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -20027,11 +20267,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -20068,16 +20308,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -20096,22 +20336,20 @@ 175, 176, 177, - 327, - 328, - 215, - 216, + 178, + 179, + 180, + 181, + 182, + 183, 184, 185, - 329, - 330, - 331, - 332, - 333, - 334, - 335, - 336, + 186, + 187, 337, 338, + 225, + 226, 194, 195, 339, @@ -20121,14 +20359,26 @@ 343, 344, 345, - 239, 346, 347, 348, + 204, + 205, 349, 350, 351, - 352 + 352, + 353, + 354, + 355, + 249, + 356, + 357, + 358, + 359, + 360, + 361, + 362 ], "irBases": [ "IAvnAvaloniaObject", @@ -20175,9 +20425,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -20189,9 +20439,9 @@ 57, 58, 59, - 161, - 162, - 163, + 60, + 61, + 62, 164, 165, 166, @@ -20210,22 +20460,21 @@ 179, 180, 181, - 182 + 182, + 183, + 184, + 185 ] }, { "name": "IAvnCheckBox", - "iid": "2D002AFC-AAFB-5C2D-B747-D08DF78AC852", + "iid": "AACDB973-AF3D-5BA5-A094-635178EF2C2E", "iidConstant": "I_AVN_CHECK_BOX_IID", - "abiVersion": 16, + "abiVersion": 17, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -20247,11 +20496,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -20288,16 +20537,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -20316,16 +20565,16 @@ 175, 176, 177, - 245, - 246, - 247, - 248, - 249, - 250, - 251, - 252, - 253, - 254, + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, 255, 256, 257, @@ -20341,12 +20590,22 @@ 267, 268, 269, - 353, - 354, - 355, - 356, - 357, - 358 + 270, + 271, + 272, + 273, + 274, + 275, + 276, + 277, + 278, + 279, + 363, + 364, + 365, + 366, + 367, + 368 ], "irBases": [ "IAvnAvaloniaObject", @@ -20394,9 +20653,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -20408,9 +20667,9 @@ 57, 58, 59, - 101, - 102, - 103, + 60, + 61, + 62, 104, 105, 106, @@ -20421,24 +20680,23 @@ 111, 112, 113, - 183, - 184, - 185 + 114, + 115, + 116, + 186, + 187, + 188 ] }, { "name": "IAvnComboBox", - "iid": "86CA773B-56AB-521C-BA29-D2579C59F7F3", + "iid": "C05FA67D-1BEE-51A8-9367-0300AA1CAE23", "iidConstant": "I_AVN_COMBO_BOX_IID", - "abiVersion": 17, + "abiVersion": 18, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -20460,11 +20718,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -20501,16 +20759,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -20529,22 +20787,20 @@ 175, 176, 177, - 327, - 328, - 215, - 216, + 178, + 179, + 180, + 181, + 182, + 183, 184, 185, - 329, - 330, - 331, - 332, - 333, - 334, - 335, - 336, + 186, + 187, 337, 338, + 225, + 226, 194, 195, 339, @@ -20554,27 +20810,39 @@ 343, 344, 345, - 239, - 190, - 191, - 359, - 360, - 188, - 189, - 361, - 201, - 202, - 203, + 346, + 347, + 348, 204, - 362, - 363, - 196, - 197, - 53, - 364, - 237, - 365, - 233 + 205, + 349, + 350, + 351, + 352, + 353, + 354, + 355, + 249, + 200, + 201, + 369, + 370, + 198, + 199, + 371, + 211, + 212, + 213, + 214, + 372, + 373, + 206, + 207, + 57, + 374, + 247, + 375, + 243 ], "irBases": [ "IAvnAvaloniaObject", @@ -20621,9 +20889,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -20635,9 +20903,9 @@ 57, 58, 59, - 161, - 162, - 163, + 60, + 61, + 62, 164, 165, 166, @@ -20652,9 +20920,9 @@ 175, 176, 177, - 186, - 187, - 188, + 178, + 179, + 180, 189, 190, 191, @@ -20662,7 +20930,10 @@ 193, 194, 195, - 196 + 196, + 197, + 198, + 199 ] }, { @@ -20691,17 +20962,13 @@ }, { "name": "IAvnComboBoxItem", - "iid": "2B9D2E17-500A-56F0-A0DB-14B92FF28CCB", + "iid": "4AF5334E-4FEC-5F97-84F0-CD61FD0C6B88", "iidConstant": "I_AVN_COMBO_BOX_ITEM_IID", - "abiVersion": 15, + "abiVersion": 16, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -20723,11 +20990,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -20764,16 +21031,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -20792,16 +21059,26 @@ 175, 176, 177, - 245, - 246, - 247, - 248, - 249, - 250, - 251, - 252, - 366, - 367 + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, + 255, + 256, + 257, + 258, + 259, + 260, + 261, + 262, + 376, + 377 ], "irBases": [ "IAvnAvaloniaObject", @@ -20848,9 +21125,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -20862,11 +21139,14 @@ 57, 58, 59, - 101, - 102, - 103, + 60, + 61, + 62, 104, - 197 + 105, + 106, + 107, + 200 ] }, { @@ -20878,25 +21158,21 @@ 0, 1, 2, - 29, - 30, - 31, - 32 + 33, + 34, + 35, + 36 ] }, { "name": "IAvnCommandBar", - "iid": "1A9B7C3D-4D24-5330-9F8F-D9D0BC712695", + "iid": "355E12ED-4932-5C4C-8AC1-AA74B666B584", "iidConstant": "I_AVN_COMMAND_BAR_IID", - "abiVersion": 12, + "abiVersion": 13, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -20918,11 +21194,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -20959,16 +21235,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -20987,24 +21263,24 @@ 175, 176, 177, - 368, - 369, - 370, - 371, - 372, - 373, - 245, - 246, - 374, - 375, - 376, - 377, + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, 378, 379, 380, 381, 382, 383, + 255, + 256, 384, 385, 386, @@ -21020,7 +21296,17 @@ 396, 397, 398, - 399 + 399, + 400, + 401, + 402, + 403, + 404, + 405, + 406, + 407, + 408, + 409 ], "irBases": [ "IAvnAvaloniaObject", @@ -21065,9 +21351,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -21079,9 +21365,9 @@ 57, 58, 59, - 198, - 199, - 200, + 60, + 61, + 62, 201, 202, 203, @@ -21097,22 +21383,21 @@ 213, 214, 215, - 216 + 216, + 217, + 218, + 219 ] }, { "name": "IAvnCommandBarButton", - "iid": "427EE3EA-2EA0-5FF8-B413-7D989D892604", + "iid": "3A7F177E-FB8E-5893-B574-99ACD4CBC8B5", "iidConstant": "I_AVN_COMMAND_BAR_BUTTON_IID", - "abiVersion": 11, + "abiVersion": 12, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -21134,11 +21419,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -21175,16 +21460,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -21203,16 +21488,16 @@ 175, 176, 177, - 245, - 246, - 247, - 248, - 249, - 250, - 251, - 252, - 253, - 254, + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, 255, 256, 257, @@ -21228,18 +21513,28 @@ 267, 268, 269, - 400, - 401, - 402, - 403, - 404, - 405, - 406, - 407, - 408, - 409, + 270, + 271, + 272, + 273, + 274, + 275, + 276, + 277, + 278, + 279, 410, - 411 + 411, + 412, + 413, + 414, + 415, + 416, + 417, + 418, + 419, + 420, + 421 ], "irBases": [ "IAvnAvaloniaObject", @@ -21286,9 +21581,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -21300,9 +21595,9 @@ 57, 58, 59, - 101, - 102, - 103, + 60, + 61, + 62, 104, 105, 106, @@ -21313,12 +21608,15 @@ 111, 112, 113, - 217, - 218, - 219, + 114, + 115, + 116, 220, 221, - 222 + 222, + 223, + 224, + 225 ] }, { @@ -21371,17 +21669,13 @@ }, { "name": "IAvnCommandBarSeparator", - "iid": "3D86A39E-0EC3-58FA-BE17-2F3CE4E95021", + "iid": "21D4AA3D-ADFF-5CC6-9E76-EA1FBBD11C33", "iidConstant": "I_AVN_COMMAND_BAR_SEPARATOR_IID", - "abiVersion": 9, + "abiVersion": 10, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -21403,11 +21697,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -21444,16 +21738,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -21472,10 +21766,20 @@ 175, 176, 177, - 404, - 405, - 410, - 411 + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, + 414, + 415, + 420, + 421 ], "irBases": [ "IAvnAvaloniaObject", @@ -21521,9 +21825,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -21535,23 +21839,22 @@ 57, 58, 59, - 223, - 224 + 60, + 61, + 62, + 226, + 227 ] }, { "name": "IAvnCommandBarToggleButton", - "iid": "7E7CC18B-4E66-5650-8FE4-1ACA445FA907", + "iid": "28AA86DE-6253-5D07-964D-23785552FB86", "iidConstant": "I_AVN_COMMAND_BAR_TOGGLE_BUTTON_IID", - "abiVersion": 11, + "abiVersion": 12, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -21573,11 +21876,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -21614,16 +21917,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -21642,16 +21945,16 @@ 175, 176, 177, - 245, - 246, - 247, - 248, - 249, - 250, - 251, - 252, - 253, - 254, + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, 255, 256, 257, @@ -21667,24 +21970,34 @@ 267, 268, 269, - 353, - 354, - 355, - 356, - 357, - 358, - 400, - 401, - 402, - 403, - 404, - 405, - 406, - 407, - 408, - 409, + 270, + 271, + 272, + 273, + 274, + 275, + 276, + 277, + 278, + 279, + 363, + 364, + 365, + 366, + 367, + 368, 410, - 411 + 411, + 412, + 413, + 414, + 415, + 416, + 417, + 418, + 419, + 420, + 421 ], "irBases": [ "IAvnAvaloniaObject", @@ -21732,9 +22045,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -21746,9 +22059,9 @@ 57, 58, 59, - 101, - 102, - 103, + 60, + 61, + 62, 104, 105, 106, @@ -21759,15 +22072,18 @@ 111, 112, 113, - 183, - 184, - 185, - 225, - 226, - 227, + 114, + 115, + 116, + 186, + 187, + 188, 228, 229, - 230 + 230, + 231, + 232, + 233 ] }, { @@ -21784,17 +22100,13 @@ }, { "name": "IAvnContentControl", - "iid": "F3CE3FB2-CD2D-5839-81C7-3DF70C3AD2F5", + "iid": "71FA5ADD-9F62-5918-84D4-4B300B8EA192", "iidConstant": "I_AVN_CONTENT_CONTROL_IID", - "abiVersion": 13, + "abiVersion": 14, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -21816,11 +22128,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -21857,16 +22169,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -21885,14 +22197,24 @@ 175, 176, 177, - 245, - 246, - 247, - 248, - 249, - 250, - 251, - 252 + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, + 255, + 256, + 257, + 258, + 259, + 260, + 261, + 262 ], "irBases": [ "IAvnAvaloniaObject", @@ -21937,9 +22259,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -21951,25 +22273,24 @@ 57, 58, 59, - 101, - 102, - 103, - 104 + 60, + 61, + 62, + 104, + 105, + 106, + 107 ] }, { "name": "IAvnContextMenu", - "iid": "A5BAC0B5-5163-5500-8C58-629BE7DE3037", + "iid": "770B19A7-FB74-5BCA-B1DD-9E0EF124EFEE", "iidConstant": "I_AVN_CONTEXT_MENU_IID", - "abiVersion": 15, + "abiVersion": 16, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -21991,14 +22312,14 @@ 85, 86, 87, - 28, 88, 89, - 412, + 90, 91, + 32, 92, 93, - 94, + 422, 95, 96, 97, @@ -22032,16 +22353,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -22060,22 +22381,20 @@ 175, 176, 177, - 327, - 328, - 215, - 216, + 178, + 179, + 180, + 181, + 182, + 183, 184, 185, - 329, - 330, - 331, - 332, - 333, - 334, - 335, - 336, + 186, + 187, 337, 338, + 225, + 226, 194, 195, 339, @@ -22085,24 +22404,26 @@ 343, 344, 345, - 239, - 380, - 413, - 414, - 415, - 395, - 416, - 399, - 417, - 418, - 419, - 420, - 421, - 422, + 346, + 347, + 348, + 204, + 205, + 349, + 350, + 351, + 352, + 353, + 354, + 355, + 249, + 390, 423, 424, 425, + 405, 426, + 409, 427, 428, 429, @@ -22115,9 +22436,19 @@ 436, 437, 438, - 393, 439, - 397 + 440, + 441, + 442, + 443, + 444, + 445, + 446, + 447, + 448, + 403, + 449, + 407 ], "irBases": [ "IAvnAvaloniaObject", @@ -22165,9 +22496,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -22179,9 +22510,9 @@ 57, 58, 59, - 161, - 162, - 163, + 60, + 61, + 62, 164, 165, 166, @@ -22196,9 +22527,9 @@ 175, 176, 177, - 231, - 232, - 233, + 178, + 179, + 180, 234, 235, 236, @@ -22213,7 +22544,10 @@ 245, 246, 247, - 248 + 248, + 249, + 250, + 251 ] }, { @@ -22242,17 +22576,13 @@ }, { "name": "IAvnControl", - "iid": "06D79016-63D8-5035-B293-19969F0BB3C6", + "iid": "ABDFF81D-DB26-5BB7-9ACA-18353E6DB4D4", "iidConstant": "I_AVN_CONTROL_IID", - "abiVersion": 8, + "abiVersion": 9, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -22274,11 +22604,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -22314,7 +22644,17 @@ 124, 125, 126, - 127 + 127, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137 ], "irBases": [ "IAvnAvaloniaObject", @@ -22356,7 +22696,10 @@ 31, 32, 33, - 34 + 34, + 35, + 36, + 37 ] }, { @@ -22368,16 +22711,6 @@ 0, 1, 2, - 997, - 998, - 999, - 1000, - 1001, - 1002, - 1003, - 1004, - 1005, - 1006, 1007, 1008, 1009, @@ -22470,7 +22803,29 @@ 1096, 1097, 1098, - 1099 + 1099, + 1100, + 1101, + 1102, + 1103, + 1104, + 1105, + 1106, + 1107, + 1108, + 1109 + ] + }, + { + "name": "IAvnControlGotFocusHandler", + "iid": "6621A073-4D3B-54C6-A32E-5701CDB745AD", + "iidConstant": "I_AVN_CONTROL_GOT_FOCUS_HANDLER_IID", + "abiVersion": 1, + "slots": [ + 0, + 1, + 2, + 19 ] }, { @@ -22482,7 +22837,19 @@ 0, 1, 2, - 19 + 20 + ] + }, + { + "name": "IAvnControlKeyUpHandler", + "iid": "B4FC3B9A-CF71-5EBB-9852-A46AEC80C6FE", + "iidConstant": "I_AVN_CONTROL_KEY_UP_HANDLER_IID", + "abiVersion": 1, + "slots": [ + 0, + 1, + 2, + 20 ] }, { @@ -22494,12 +22861,12 @@ 0, 1, 2, - 48, - 49, - 50, - 51, 52, - 53 + 53, + 54, + 55, + 56, + 57 ] }, { @@ -22514,6 +22881,18 @@ 3 ] }, + { + "name": "IAvnControlLostFocusHandler", + "iid": "BB0FBAD2-DB37-56AE-A3C2-73BC2030BD06", + "iidConstant": "I_AVN_CONTROL_LOST_FOCUS_HANDLER_IID", + "abiVersion": 1, + "slots": [ + 0, + 1, + 2, + 3 + ] + }, { "name": "IAvnControlPointerEnteredHandler", "iid": "CC8694AC-C51C-5791-A898-1B0DE4D84DC8", @@ -22547,7 +22926,7 @@ 0, 1, 2, - 20 + 21 ] }, { @@ -22571,23 +22950,19 @@ 0, 1, 2, - 33, - 34 + 37, + 38 ] }, { "name": "IAvnDatePicker", - "iid": "5C7D5B90-EC20-5621-BE13-EADAB8A0701B", + "iid": "1441AD02-88FD-5BCE-9A23-18607667FAA3", "iidConstant": "I_AVN_DATE_PICKER_IID", - "abiVersion": 11, + "abiVersion": 12, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -22609,11 +22984,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -22650,16 +23025,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -22678,29 +23053,39 @@ 175, 176, 177, - 251, - 252, - 440, - 441, - 442, - 443, - 444, - 445, - 446, - 447, - 448, - 449, + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, + 261, + 262, 450, 451, 452, 453, 454, 455, - 296, - 297, - 53, 456, - 325 + 457, + 458, + 459, + 460, + 461, + 462, + 463, + 464, + 465, + 306, + 307, + 57, + 466, + 335 ], "irBases": [ "IAvnAvaloniaObject", @@ -22745,9 +23130,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -22759,9 +23144,9 @@ 57, 58, 59, - 249, - 250, - 251, + 60, + 61, + 62, 252, 253, 254, @@ -22770,7 +23155,10 @@ 257, 258, 259, - 260 + 260, + 261, + 262, + 263 ] }, { @@ -22782,7 +23170,7 @@ 0, 1, 2, - 21 + 22 ] }, { @@ -22794,27 +23182,23 @@ 0, 1, 2, - 48, - 54, - 55, - 56, 52, - 53 + 58, + 59, + 60, + 56, + 57 ] }, { "name": "IAvnDecorator", - "iid": "57E09C6B-A22C-5F01-B65C-E54C3DD55E6C", + "iid": "73D7A8D4-2B75-5F19-958F-DE0D15AC3079", "iidConstant": "I_AVN_DECORATOR_IID", - "abiVersion": 10, + "abiVersion": 11, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -22836,11 +23220,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -22877,10 +23261,20 @@ 125, 126, 127, - 240, - 241, - 176, - 177 + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 250, + 251, + 186, + 187 ], "irBases": [ "IAvnAvaloniaObject", @@ -22924,23 +23318,22 @@ 32, 33, 34, - 92, - 93 + 35, + 36, + 37, + 95, + 96 ] }, { "name": "IAvnDockPanel", - "iid": "F0C3E239-81CB-544D-9CEF-73B1D04C1FB3", + "iid": "36376ACD-9F74-59B8-ADCA-CAE96F5E70B9", "iidConstant": "I_AVN_DOCK_PANEL_IID", - "abiVersion": 11, + "abiVersion": 12, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -22962,11 +23355,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -23003,15 +23396,25 @@ 125, 126, 127, - 326, - 150, - 151, - 457, - 458, - 459, - 460, - 461, - 462 + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 336, + 160, + 161, + 467, + 468, + 469, + 470, + 471, + 472 ], "irBases": [ "IAvnAvaloniaObject", @@ -23056,11 +23459,14 @@ 32, 33, 34, - 159, - 160, - 261, - 262, - 263 + 35, + 36, + 37, + 162, + 163, + 264, + 265, + 266 ] }, { @@ -23072,23 +23478,19 @@ 0, 1, 2, - 955, - 956 + 965, + 966 ] }, { "name": "IAvnDropDownButton", - "iid": "7CDEF76D-7FD4-5552-B591-2D98140A7A63", + "iid": "85F27971-CEB0-528D-8D3B-C0AB62E11FDA", "iidConstant": "I_AVN_DROP_DOWN_BUTTON_IID", - "abiVersion": 11, + "abiVersion": 12, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -23110,11 +23512,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -23151,16 +23553,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -23179,16 +23581,16 @@ 175, 176, 177, - 245, - 246, - 247, - 248, - 249, - 250, - 251, - 252, - 253, - 254, + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, 255, 256, 257, @@ -23203,7 +23605,17 @@ 266, 267, 268, - 269 + 269, + 270, + 271, + 272, + 273, + 274, + 275, + 276, + 277, + 278, + 279 ], "irBases": [ "IAvnAvaloniaObject", @@ -23250,9 +23662,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -23264,9 +23676,9 @@ 57, 58, 59, - 101, - 102, - 103, + 60, + 61, + 62, 104, 105, 106, @@ -23276,22 +23688,21 @@ 110, 111, 112, - 113 + 113, + 114, + 115, + 116 ] }, { "name": "IAvnEllipse", - "iid": "613206FF-5917-53D8-A928-1BDE309FB7F1", + "iid": "2AA5065D-5B4C-542B-B6CC-A230A576E4F1", "iidConstant": "I_AVN_ELLIPSE_IID", - "abiVersion": 8, + "abiVersion": 9, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -23313,11 +23724,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -23371,7 +23782,17 @@ 142, 143, 144, - 145 + 145, + 146, + 147, + 148, + 149, + 150, + 151, + 152, + 153, + 154, + 155 ], "irBases": [ "IAvnAvaloniaObject", @@ -23424,22 +23845,21 @@ 40, 41, 42, - 43 + 43, + 44, + 45, + 46 ] }, { "name": "IAvnExpander", - "iid": "24CFAB36-1C9D-5E25-AE07-E91DA6B3A21C", + "iid": "5655BDB3-EF10-56D0-BE24-59FC88350939", "iidConstant": "I_AVN_EXPANDER_IID", - "abiVersion": 13, + "abiVersion": 14, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -23461,11 +23881,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -23502,16 +23922,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -23530,30 +23950,40 @@ 175, 176, 177, - 245, - 246, - 247, - 248, - 249, - 250, - 251, - 252, - 463, - 464, - 465, - 466, - 467, - 468, - 469, - 470, - 471, - 472, + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, + 255, + 256, + 257, + 258, + 259, + 260, + 261, + 262, 473, 474, 475, 476, 477, - 478 + 478, + 479, + 480, + 481, + 482, + 483, + 484, + 485, + 486, + 487, + 488 ], "irBases": [ "IAvnAvaloniaObject", @@ -23600,9 +24030,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -23614,18 +24044,21 @@ 57, 58, 59, - 101, - 102, - 103, + 60, + 61, + 62, 104, - 264, - 265, - 266, + 105, + 106, + 107, 267, 268, 269, 270, - 271 + 271, + 272, + 273, + 274 ] }, { @@ -23678,17 +24111,13 @@ }, { "name": "IAvnFlexPanel", - "iid": "299F0D1D-2C19-5531-A4C9-327C784B297D", + "iid": "5E186F8A-D1FB-5989-A496-63982A999752", "iidConstant": "I_AVN_FLEX_PANEL_IID", - "abiVersion": 8, + "abiVersion": 9, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -23710,11 +24139,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -23751,23 +24180,33 @@ 125, 126, 127, - 326, - 150, - 151, - 479, - 480, - 481, - 482, - 483, - 484, - 485, - 486, - 487, - 488, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 336, + 160, + 161, 489, 490, 491, - 492 + 492, + 493, + 494, + 495, + 496, + 497, + 498, + 499, + 500, + 501, + 502 ], "irBases": [ "IAvnAvaloniaObject", @@ -23812,15 +24251,18 @@ 32, 33, 34, - 159, - 160, - 272, - 273, - 274, + 35, + 36, + 37, + 162, + 163, 275, 276, 277, - 278 + 278, + 279, + 280, + 281 ] }, { @@ -23832,47 +24274,47 @@ 0, 1, 2, - 63, - 64, - 380, - 381, - 493, - 494, - 495, - 496, - 395, - 497, - 399, - 498, - 427, - 428, - 425, - 426, - 421, - 422, - 417, - 418, - 419, - 420, - 435, - 436, - 499, - 500, - 501, - 502, + 67, + 68, + 390, + 391, 503, 504, - 423, - 424, 505, 506, - 397, + 405, 507, - 393, - 245, - 246, - 247, - 248 + 409, + 508, + 437, + 438, + 435, + 436, + 431, + 432, + 427, + 428, + 429, + 430, + 445, + 446, + 509, + 510, + 511, + 512, + 513, + 514, + 433, + 434, + 515, + 516, + 407, + 517, + 403, + 255, + 256, + 257, + 258 ], "irBases": [ "IAvnAvaloniaObject", @@ -23881,9 +24323,6 @@ "IAvnFlyout" ], "irMembers": [ - 279, - 280, - 281, 282, 283, 284, @@ -23902,7 +24341,10 @@ 297, 298, 299, - 300 + 300, + 301, + 302, + 303 ] }, { @@ -23914,29 +24356,29 @@ 0, 1, 2, - 63, - 64, - 380, - 381, - 493, - 494, - 495, - 496, - 395, - 497, - 399 + 67, + 68, + 390, + 391, + 503, + 504, + 505, + 506, + 405, + 507, + 409 ], "irBases": [ "IAvnAvaloniaObject", "IAvnFlyoutBase" ], "irMembers": [ - 279, - 280, - 281, 282, 283, - 284 + 284, + 285, + 286, + 287 ] }, { @@ -23965,17 +24407,13 @@ }, { "name": "IAvnGrid", - "iid": "55E75D4C-FC75-51A9-BA87-6D28704EAFC8", + "iid": "63034BE5-179A-5196-8338-F10785C6DDDD", "iidConstant": "I_AVN_GRID_IID", - "abiVersion": 12, + "abiVersion": 13, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -23997,11 +24435,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -24038,19 +24476,29 @@ 125, 126, 127, - 326, - 150, - 151, - 508, - 509, - 491, - 492, - 489, - 490, - 510, - 511, - 512, - 513 + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 336, + 160, + 161, + 518, + 519, + 501, + 502, + 499, + 500, + 520, + 521, + 522, + 523 ], "irBases": [ "IAvnAvaloniaObject", @@ -24095,28 +24543,27 @@ 32, 33, 34, - 159, - 160, - 301, - 302, - 303, + 35, + 36, + 37, + 162, + 163, 304, - 305 + 305, + 306, + 307, + 308 ] }, { "name": "IAvnGridSplitter", - "iid": "DBCA4F68-AFEE-5885-938A-194E7DE5C551", + "iid": "93629BF6-E409-5BF3-BB49-454A884550E3", "iidConstant": "I_AVN_GRID_SPLITTER_IID", - "abiVersion": 10, + "abiVersion": 11, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -24138,11 +24585,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -24179,16 +24626,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -24207,22 +24654,32 @@ 175, 176, 177, - 514, - 515, - 516, - 517, - 518, - 519, - 520, - 521, - 522, - 523, + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, 524, 525, 526, 527, 528, - 529 + 529, + 530, + 531, + 532, + 533, + 534, + 535, + 536, + 537, + 538, + 539 ], "irBases": [ "IAvnAvaloniaObject", @@ -24268,9 +24725,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -24282,14 +24739,17 @@ 57, 58, 59, - 306, - 307, - 308, + 60, + 61, + 62, 309, 310, 311, 312, - 313 + 313, + 314, + 315, + 316 ] }, { @@ -24301,31 +24761,27 @@ 0, 1, 2, - 957, - 958, - 959, - 960, - 961, - 962, - 963, - 964, - 965, - 966 + 967, + 968, + 969, + 970, + 971, + 972, + 973, + 974, + 975, + 976 ] }, { "name": "IAvnGroupBox", - "iid": "48EE658E-57F1-5550-AEB5-766477C616BD", + "iid": "B2A2A0DC-533F-50D6-B486-8AFB44B0E82D", "iidConstant": "I_AVN_GROUP_BOX_IID", - "abiVersion": 9, + "abiVersion": 10, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -24347,11 +24803,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -24388,16 +24844,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -24416,18 +24872,28 @@ 175, 176, 177, - 245, - 246, - 247, - 248, - 249, - 250, - 251, - 252, - 463, - 464, - 465, - 466 + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, + 255, + 256, + 257, + 258, + 259, + 260, + 261, + 262, + 473, + 474, + 475, + 476 ], "irBases": [ "IAvnAvaloniaObject", @@ -24474,9 +24940,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -24488,27 +24954,26 @@ 57, 58, 59, - 101, - 102, - 103, + 60, + 61, + 62, 104, - 264, - 265 + 105, + 106, + 107, + 267, + 268 ] }, { "name": "IAvnHeaderedContentControl", - "iid": "326C8A38-FA42-51F4-9041-E7FD0FFFB696", + "iid": "C1825F55-DE82-5447-93A8-4A55F63BA652", "iidConstant": "I_AVN_HEADERED_CONTENT_CONTROL_IID", - "abiVersion": 13, + "abiVersion": 14, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -24530,11 +24995,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -24571,16 +25036,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -24599,18 +25064,28 @@ 175, 176, 177, - 245, - 246, - 247, - 248, - 249, - 250, - 251, - 252, - 463, - 464, - 465, - 466 + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, + 255, + 256, + 257, + 258, + 259, + 260, + 261, + 262, + 473, + 474, + 475, + 476 ], "irBases": [ "IAvnAvaloniaObject", @@ -24656,9 +25131,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -24670,27 +25145,26 @@ 57, 58, 59, - 101, - 102, - 103, + 60, + 61, + 62, 104, - 264, - 265 + 105, + 106, + 107, + 267, + 268 ] }, { "name": "IAvnHeaderedItemsControl", - "iid": "E4AB3702-5F01-59CF-9F5E-3C3DD281533F", + "iid": "B6281359-24AB-5280-8B2C-762A53529C27", "iidConstant": "I_AVN_HEADERED_ITEMS_CONTROL_IID", - "abiVersion": 12, + "abiVersion": 13, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -24712,11 +25186,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -24753,16 +25227,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -24781,22 +25255,32 @@ 175, 176, 177, - 327, - 328, - 215, - 216, + 178, + 179, + 180, + 181, + 182, + 183, 184, 185, - 329, - 330, - 331, - 332, - 333, - 334, - 463, - 464, - 465, - 466 + 186, + 187, + 337, + 338, + 225, + 226, + 194, + 195, + 339, + 340, + 341, + 342, + 343, + 344, + 473, + 474, + 475, + 476 ], "irBases": [ "IAvnAvaloniaObject", @@ -24842,9 +25326,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -24856,9 +25340,9 @@ 57, 58, 59, - 161, - 162, - 163, + 60, + 61, + 62, 164, 165, 166, @@ -24866,23 +25350,22 @@ 168, 169, 170, - 314, - 315 + 171, + 172, + 173, + 317, + 318 ] }, { "name": "IAvnHeaderedSelectingItemsControl", - "iid": "E0CB1C51-192B-5B9B-8A19-72EE4C68C27D", + "iid": "8640C1BF-2502-5E21-B861-1ECBD1918FD1", "iidConstant": "I_AVN_HEADERED_SELECTING_ITEMS_CONTROL_IID", - "abiVersion": 12, + "abiVersion": 13, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -24904,11 +25387,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -24945,16 +25428,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -24973,22 +25456,20 @@ 175, 176, 177, - 327, - 328, - 215, - 216, + 178, + 179, + 180, + 181, + 182, + 183, 184, 185, - 329, - 330, - 331, - 332, - 333, - 334, - 335, - 336, + 186, + 187, 337, 338, + 225, + 226, 194, 195, 339, @@ -24998,11 +25479,23 @@ 343, 344, 345, - 239, - 463, - 464, - 465, - 466 + 346, + 347, + 348, + 204, + 205, + 349, + 350, + 351, + 352, + 353, + 354, + 355, + 249, + 473, + 474, + 475, + 476 ], "irBases": [ "IAvnAvaloniaObject", @@ -25049,9 +25542,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -25063,9 +25556,9 @@ 57, 58, 59, - 161, - 162, - 163, + 60, + 61, + 62, 164, 165, 166, @@ -25080,23 +25573,22 @@ 175, 176, 177, - 316, - 317 + 178, + 179, + 180, + 319, + 320 ] }, { "name": "IAvnHyperlinkButton", - "iid": "BA5D6CE2-B42B-5ED0-B288-9775606E1802", + "iid": "CCCE2078-E616-51A8-A55F-77D316F2C9AB", "iidConstant": "I_AVN_HYPERLINK_BUTTON_IID", - "abiVersion": 11, + "abiVersion": 12, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -25118,11 +25610,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -25159,16 +25651,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -25187,16 +25679,16 @@ 175, 176, 177, - 245, - 246, - 247, - 248, - 249, - 250, - 251, - 252, - 253, - 254, + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, 255, 256, 257, @@ -25212,10 +25704,20 @@ 267, 268, 269, - 530, - 531, - 532, - 533 + 270, + 271, + 272, + 273, + 274, + 275, + 276, + 277, + 278, + 279, + 540, + 541, + 542, + 543 ], "irBases": [ "IAvnAvaloniaObject", @@ -25262,9 +25764,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -25276,9 +25778,9 @@ 57, 58, 59, - 101, - 102, - 103, + 60, + 61, + 62, 104, 105, 106, @@ -25289,23 +25791,22 @@ 111, 112, 113, - 318, - 319 + 114, + 115, + 116, + 321, + 322 ] }, { "name": "IAvnIconElement", - "iid": "27129D51-9086-5E87-97F2-A7B30B2F7A32", + "iid": "0A1BCD24-9DC9-55DB-B2AA-930041185E3B", "iidConstant": "I_AVN_ICON_ELEMENT_IID", - "abiVersion": 9, + "abiVersion": 10, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -25327,11 +25828,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -25368,16 +25869,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -25395,7 +25896,17 @@ 174, 175, 176, - 177 + 177, + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187 ], "irBases": [ "IAvnAvaloniaObject", @@ -25440,9 +25951,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -25453,22 +25964,21 @@ 56, 57, 58, - 59 + 59, + 60, + 61, + 62 ] }, { "name": "IAvnImage", - "iid": "ACC338F6-8C35-57F4-BB82-4A3F397B130F", + "iid": "4A556F2B-827F-5748-B7CD-C48452727A29", "iidConstant": "I_AVN_IMAGE_IID", - "abiVersion": 8, + "abiVersion": 9, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -25490,11 +26000,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -25531,14 +26041,24 @@ 125, 126, 127, - 534, - 535, - 536, - 537, + 128, + 129, 130, 131, - 538, - 539 + 132, + 133, + 134, + 135, + 136, + 137, + 544, + 545, + 546, + 547, + 140, + 141, + 548, + 549 ], "irBases": [ "IAvnAvaloniaObject", @@ -25582,10 +26102,13 @@ 32, 33, 34, - 320, - 321, - 322, - 323 + 35, + 36, + 37, + 323, + 324, + 325, + 326 ] }, { @@ -25597,7 +26120,7 @@ 0, 1, 2, - 35 + 39 ] }, { @@ -25609,12 +26132,12 @@ 0, 1, 2, - 48, - 49, - 50, - 51, 52, - 53 + 53, + 54, + 55, + 56, + 57 ] }, { @@ -25626,22 +26149,18 @@ 0, 1, 2, - 37 + 41 ] }, { "name": "IAvnItemsControl", - "iid": "D985D274-6EFC-5423-B74F-7A73133992FC", + "iid": "B656735C-EECA-50CC-A87D-B4362F7E045A", "iidConstant": "I_AVN_ITEMS_CONTROL_IID", - "abiVersion": 15, + "abiVersion": 16, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -25663,11 +26182,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -25704,16 +26223,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -25732,18 +26251,28 @@ 175, 176, 177, - 327, - 328, - 215, - 216, + 178, + 179, + 180, + 181, + 182, + 183, 184, 185, - 329, - 330, - 331, - 332, - 333, - 334 + 186, + 187, + 337, + 338, + 225, + 226, + 194, + 195, + 339, + 340, + 341, + 342, + 343, + 344 ], "irBases": [ "IAvnAvaloniaObject", @@ -25788,9 +26317,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -25802,31 +26331,30 @@ 57, 58, 59, - 161, - 162, - 163, + 60, + 61, + 62, 164, 165, 166, 167, 168, 169, - 170 + 170, + 171, + 172, + 173 ] }, { "name": "IAvnLabel", - "iid": "621B0405-7E33-56EE-8FF0-E1CA604209BD", + "iid": "A1ACC10D-5788-5CFF-9D99-798770898E14", "iidConstant": "I_AVN_LABEL_IID", - "abiVersion": 10, + "abiVersion": 11, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -25848,11 +26376,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -25889,16 +26417,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -25917,16 +26445,26 @@ 175, 176, 177, - 245, - 246, - 247, - 248, - 249, - 250, - 251, - 252, - 493, - 540 + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, + 255, + 256, + 257, + 258, + 259, + 260, + 261, + 262, + 503, + 550 ], "irBases": [ "IAvnAvaloniaObject", @@ -25972,9 +26510,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -25986,26 +26524,25 @@ 57, 58, 59, - 101, - 102, - 103, + 60, + 61, + 62, 104, - 324 + 105, + 106, + 107, + 327 ] }, { "name": "IAvnLayoutTransformControl", - "iid": "39D82382-98B4-510A-AE62-19E9BBA13698", + "iid": "5295C33E-5E49-5425-B06D-D0A37D4AAE68", "iidConstant": "I_AVN_LAYOUT_TRANSFORM_CONTROL_IID", - "abiVersion": 8, + "abiVersion": 9, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -26027,11 +26564,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -26068,12 +26605,22 @@ 125, 126, 127, - 240, - 241, - 176, - 177, - 541, - 542 + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 250, + 251, + 186, + 187, + 551, + 552 ], "irBases": [ "IAvnAvaloniaObject", @@ -26118,24 +26665,23 @@ 32, 33, 34, - 92, - 93, - 325 + 35, + 36, + 37, + 95, + 96, + 328 ] }, { "name": "IAvnLine", - "iid": "F302A345-5295-5A86-B520-224278B68EAB", + "iid": "12A0F43A-9EAB-5F5B-96EF-D91E25F31B78", "iidConstant": "I_AVN_LINE_IID", - "abiVersion": 8, + "abiVersion": 9, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -26157,11 +26703,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -26216,10 +26762,20 @@ 143, 144, 145, - 543, - 544, - 545, - 546 + 146, + 147, + 148, + 149, + 150, + 151, + 152, + 153, + 154, + 155, + 553, + 554, + 555, + 556 ], "irBases": [ "IAvnAvaloniaObject", @@ -26273,23 +26829,22 @@ 41, 42, 43, - 326, - 327 + 44, + 45, + 46, + 329, + 330 ] }, { "name": "IAvnListBox", - "iid": "B5B6A7D1-B302-56BB-93A9-D53237708632", + "iid": "6D07BC84-D7C4-5226-A69E-AAF3EE1663A9", "iidConstant": "I_AVN_LIST_BOX_IID", - "abiVersion": 16, + "abiVersion": 17, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -26311,11 +26866,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -26352,16 +26907,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -26380,22 +26935,20 @@ 175, 176, 177, - 327, - 328, - 215, - 216, + 178, + 179, + 180, + 181, + 182, + 183, 184, 185, - 329, - 330, - 331, - 332, - 333, - 334, - 335, - 336, + 186, + 187, 337, 338, + 225, + 226, 194, 195, 339, @@ -26405,11 +26958,23 @@ 343, 344, 345, - 239, - 292, - 293, - 547, - 548 + 346, + 347, + 348, + 204, + 205, + 349, + 350, + 351, + 352, + 353, + 354, + 355, + 249, + 302, + 303, + 557, + 558 ], "irBases": [ "IAvnAvaloniaObject", @@ -26456,9 +27021,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -26470,9 +27035,9 @@ 57, 58, 59, - 161, - 162, - 163, + 60, + 61, + 62, 164, 165, 166, @@ -26487,24 +27052,23 @@ 175, 176, 177, - 328, - 329, - 330 + 178, + 179, + 180, + 331, + 332, + 333 ] }, { "name": "IAvnListBoxItem", - "iid": "19A8B0AF-1926-5DE4-B6EC-5E2F026831B6", + "iid": "4BB2FF76-E252-53F1-8AE0-E32A2C1BBE76", "iidConstant": "I_AVN_LIST_BOX_ITEM_IID", - "abiVersion": 15, + "abiVersion": 16, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -26526,11 +27090,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -26567,16 +27131,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -26595,16 +27159,26 @@ 175, 176, 177, - 245, - 246, - 247, - 248, - 249, - 250, - 251, - 252, - 366, - 367 + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, + 255, + 256, + 257, + 258, + 259, + 260, + 261, + 262, + 376, + 377 ], "irBases": [ "IAvnAvaloniaObject", @@ -26650,9 +27224,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -26664,26 +27238,25 @@ 57, 58, 59, - 101, - 102, - 103, + 60, + 61, + 62, 104, - 197 + 105, + 106, + 107, + 200 ] }, { "name": "IAvnMaskedTextBox", - "iid": "C7B40FDD-3EBA-55CF-84BF-5FAD22229908", + "iid": "E621C745-A587-5BDD-A1C5-8F498B8636C5", "iidConstant": "I_AVN_MASKED_TEXT_BOX_IID", - "abiVersion": 15, + "abiVersion": 16, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -26705,11 +27278,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -26746,16 +27319,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -26774,70 +27347,70 @@ 175, 176, 177, - 549, - 550, - 192, - 193, - 551, - 552, - 553, - 554, 178, 179, - 555, - 556, - 557, - 558, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, 559, 560, + 202, + 203, 561, 562, 563, 564, + 188, + 189, 565, 566, 567, 568, 569, 570, - 217, - 218, 571, 572, 573, 574, 575, 576, - 196, - 197, 577, 578, - 249, - 250, - 251, - 252, 579, 580, - 201, - 202, - 316, - 317, - 203, - 204, - 219, - 220, - 221, - 222, + 227, + 228, 581, 582, 583, 584, 585, 586, + 206, + 207, 587, 588, + 259, + 260, + 261, + 262, 589, 590, + 211, + 212, + 326, + 327, + 213, + 214, + 229, + 230, + 231, + 232, 591, 592, 593, @@ -26848,9 +27421,7 @@ 598, 599, 600, - 53, 601, - 547, 602, 603, 604, @@ -26860,8 +27431,9 @@ 608, 609, 610, - 225, + 57, 611, + 557, 612, 613, 614, @@ -26871,12 +27443,23 @@ 618, 619, 620, + 235, 621, 622, 623, 624, 625, - 626 + 626, + 627, + 628, + 629, + 630, + 631, + 632, + 633, + 634, + 635, + 636 ], "irBases": [ "IAvnAvaloniaObject", @@ -26922,9 +27505,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -26936,9 +27519,9 @@ 57, 58, 59, - 331, - 332, - 333, + 60, + 61, + 62, 334, 335, 336, @@ -26995,22 +27578,21 @@ 387, 388, 389, - 390 + 390, + 391, + 392, + 393 ] }, { "name": "IAvnMenu", - "iid": "E97435D8-8BC7-5A16-B1D1-4B976008F341", + "iid": "0220FC0F-FA60-5173-9E8B-AD96351B3C6D", "iidConstant": "I_AVN_MENU_IID", - "abiVersion": 12, + "abiVersion": 13, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -27032,11 +27614,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -27073,16 +27655,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -27101,22 +27683,20 @@ 175, 176, 177, - 327, - 328, - 215, - 216, + 178, + 179, + 180, + 181, + 182, + 183, 184, 185, - 329, - 330, - 331, - 332, - 333, - 334, - 335, - 336, + 186, + 187, 337, 338, + 225, + 226, 194, 195, 339, @@ -27126,14 +27706,26 @@ 343, 344, 345, - 239, - 380, - 413, - 414, - 415, - 395, - 416, - 399 + 346, + 347, + 348, + 204, + 205, + 349, + 350, + 351, + 352, + 353, + 354, + 355, + 249, + 390, + 423, + 424, + 425, + 405, + 426, + 409 ], "irBases": [ "IAvnAvaloniaObject", @@ -27181,9 +27773,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -27195,9 +27787,9 @@ 57, 58, 59, - 161, - 162, - 163, + 60, + 61, + 62, 164, 165, 166, @@ -27212,26 +27804,25 @@ 175, 176, 177, - 231, - 232, - 233, + 178, + 179, + 180, 234, - 235 + 235, + 236, + 237, + 238 ] }, { "name": "IAvnMenuBase", - "iid": "BAB46325-4D7E-54C4-B8E0-69A647E2BFC6", + "iid": "3B780634-1A42-576F-A587-EE11F0B5C8E8", "iidConstant": "I_AVN_MENU_BASE_IID", - "abiVersion": 12, + "abiVersion": 13, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -27253,11 +27844,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -27294,16 +27885,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -27322,22 +27913,20 @@ 175, 176, 177, - 327, - 328, - 215, - 216, + 178, + 179, + 180, + 181, + 182, + 183, 184, 185, - 329, - 330, - 331, - 332, - 333, - 334, - 335, - 336, + 186, + 187, 337, 338, + 225, + 226, 194, 195, 339, @@ -27347,14 +27936,26 @@ 343, 344, 345, - 239, - 380, - 413, - 414, - 415, - 395, - 416, - 399 + 346, + 347, + 348, + 204, + 205, + 349, + 350, + 351, + 352, + 353, + 354, + 355, + 249, + 390, + 423, + 424, + 425, + 405, + 426, + 409 ], "irBases": [ "IAvnAvaloniaObject", @@ -27401,9 +28002,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -27415,9 +28016,9 @@ 57, 58, 59, - 161, - 162, - 163, + 60, + 61, + 62, 164, 165, 166, @@ -27432,11 +28033,14 @@ 175, 176, 177, - 231, - 232, - 233, + 178, + 179, + 180, 234, - 235 + 235, + 236, + 237, + 238 ] }, { @@ -27472,48 +28076,48 @@ 0, 1, 2, - 63, - 64, - 380, - 381, - 493, - 494, - 495, - 496, - 395, - 497, - 399, - 498, - 427, - 428, - 425, - 426, - 421, - 422, - 417, - 418, - 419, - 420, - 435, - 436, - 499, - 500, - 501, - 502, + 67, + 68, + 390, + 391, 503, 504, - 423, - 424, 505, 506, - 397, + 405, 507, - 393, - 327, - 215, - 216, - 184, - 185 + 409, + 508, + 437, + 438, + 435, + 436, + 431, + 432, + 427, + 428, + 429, + 430, + 445, + 446, + 509, + 510, + 511, + 512, + 513, + 514, + 433, + 434, + 515, + 516, + 407, + 517, + 403, + 337, + 225, + 226, + 194, + 195 ], "irBases": [ "IAvnAvaloniaObject", @@ -27522,9 +28126,6 @@ "IAvnMenuFlyout" ], "irMembers": [ - 279, - 280, - 281, 282, 283, 284, @@ -27542,24 +28143,23 @@ 296, 297, 298, - 391, - 392, - 393 + 299, + 300, + 301, + 394, + 395, + 396 ] }, { "name": "IAvnMenuItem", - "iid": "1A9E2536-7437-553C-AFB6-681CF15021FF", + "iid": "B08CE5EB-F84F-5466-BB66-986E0971333B", "iidConstant": "I_AVN_MENU_ITEM_IID", - "abiVersion": 15, + "abiVersion": 16, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -27581,11 +28181,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -27622,16 +28222,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -27650,22 +28250,20 @@ 175, 176, 177, - 327, - 328, - 215, - 216, + 178, + 179, + 180, + 181, + 182, + 183, 184, 185, - 329, - 330, - 331, - 332, - 333, - 334, - 335, - 336, + 186, + 187, 337, 338, + 225, + 226, 194, 195, 339, @@ -27675,41 +28273,53 @@ 343, 344, 345, - 239, - 463, - 464, - 465, - 466, - 255, - 256, - 257, - 258, - 259, - 260, - 627, - 628, - 629, - 630, - 366, - 367, - 631, - 632, - 633, - 634, - 635, - 636, + 346, + 347, + 348, + 204, + 205, + 349, + 350, + 351, + 352, 353, 354, + 355, + 249, + 473, + 474, + 475, + 476, + 265, + 266, + 267, + 268, + 269, + 270, 637, 638, 639, 640, - 414, - 413, + 376, + 377, 641, - 269, 642, - 643 + 643, + 644, + 645, + 646, + 363, + 364, + 647, + 648, + 649, + 650, + 424, + 423, + 651, + 279, + 652, + 653 ], "irBases": [ "IAvnAvaloniaObject", @@ -27757,9 +28367,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -27771,9 +28381,9 @@ 57, 58, 59, - 161, - 162, - 163, + 60, + 61, + 62, 164, 165, 166, @@ -27788,11 +28398,11 @@ 175, 176, 177, - 316, - 317, - 394, - 395, - 396, + 178, + 179, + 180, + 319, + 320, 397, 398, 399, @@ -27806,7 +28416,10 @@ 407, 408, 409, - 410 + 410, + 411, + 412, + 413 ] }, { @@ -27842,12 +28455,12 @@ 0, 1, 2, - 42, - 43, - 44, - 45, 46, - 47 + 47, + 48, + 49, + 50, + 51 ] }, { @@ -27864,17 +28477,13 @@ }, { "name": "IAvnNotificationCard", - "iid": "DF540B6A-58F6-59F6-B3DB-F8FD04665402", + "iid": "9E575724-617A-54E5-BF78-B6C68E5F4343", "iidConstant": "I_AVN_NOTIFICATION_CARD_IID", - "abiVersion": 10, + "abiVersion": 11, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -27896,11 +28505,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -27937,16 +28546,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -27965,22 +28574,32 @@ 175, 176, 177, - 245, - 246, - 247, - 248, - 249, - 250, - 251, - 252, - 644, - 645, - 646, - 647, - 648, - 413, - 649, - 650 + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, + 255, + 256, + 257, + 258, + 259, + 260, + 261, + 262, + 654, + 655, + 656, + 657, + 658, + 423, + 659, + 660 ], "irBases": [ "IAvnAvaloniaObject", @@ -28026,9 +28645,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -28040,15 +28659,18 @@ 57, 58, 59, - 101, - 102, - 103, + 60, + 61, + 62, 104, - 411, - 412, - 413, + 105, + 106, + 107, 414, - 415 + 415, + 416, + 417, + 418 ] }, { @@ -28065,17 +28687,13 @@ }, { "name": "IAvnNumericUpDown", - "iid": "5F487A30-39D1-524A-9A6E-01E584452E03", + "iid": "63426B0F-1A76-51A9-9E98-343D2E69C156", "iidConstant": "I_AVN_NUMERIC_UP_DOWN_IID", - "abiVersion": 10, + "abiVersion": 11, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -28097,11 +28715,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -28138,16 +28756,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -28166,46 +28784,56 @@ 175, 176, 177, - 274, - 275, - 278, - 279, - 276, - 277, - 651, - 652, - 653, - 654, - 655, - 656, - 555, - 556, - 657, - 658, - 659, - 660, - 196, - 197, + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, + 284, + 285, + 288, + 289, + 286, + 287, 661, 662, - 201, - 202, - 203, - 204, - 249, - 250, - 251, - 252, - 579, - 580, - 219, - 220, - 221, - 222, 663, 664, 665, - 666 + 666, + 565, + 566, + 667, + 668, + 669, + 670, + 206, + 207, + 671, + 672, + 211, + 212, + 213, + 214, + 259, + 260, + 261, + 262, + 589, + 590, + 229, + 230, + 231, + 232, + 673, + 674, + 675, + 676 ], "irBases": [ "IAvnAvaloniaObject", @@ -28250,9 +28878,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -28264,9 +28892,9 @@ 57, 58, 59, - 416, - 417, - 418, + 60, + 61, + 62, 419, 420, 421, @@ -28283,7 +28911,10 @@ 432, 433, 434, - 435 + 435, + 436, + 437, + 438 ] }, { @@ -28295,7 +28926,7 @@ 0, 1, 2, - 22 + 23 ] }, { @@ -28312,17 +28943,13 @@ }, { "name": "IAvnPanel", - "iid": "79DAA937-B232-5B99-84FB-E3D64124EDA5", + "iid": "96AD03DD-F271-537E-A933-B7C75D63AC0C", "iidConstant": "I_AVN_PANEL_IID", - "abiVersion": 11, + "abiVersion": 12, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -28344,11 +28971,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -28385,9 +29012,19 @@ 125, 126, 127, - 326, - 150, - 151 + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 336, + 160, + 161 ], "irBases": [ "IAvnAvaloniaObject", @@ -28431,23 +29068,22 @@ 32, 33, 34, - 159, - 160 + 35, + 36, + 37, + 162, + 163 ] }, { "name": "IAvnPath", - "iid": "4EC11C5B-9EAE-57CB-ACC2-EB2E609490AC", + "iid": "E5A71060-50E1-5554-81B4-030898F293CF", "iidConstant": "I_AVN_PATH_IID", - "abiVersion": 8, + "abiVersion": 9, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -28469,11 +29105,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -28528,8 +29164,18 @@ 143, 144, 145, - 667, - 668 + 146, + 147, + 148, + 149, + 150, + 151, + 152, + 153, + 154, + 155, + 677, + 678 ], "irBases": [ "IAvnAvaloniaObject", @@ -28583,22 +29229,21 @@ 41, 42, 43, - 436 + 44, + 45, + 46, + 439 ] }, { "name": "IAvnPathIcon", - "iid": "F220C58A-4D65-5882-8D9D-EBE5F0A1D9A4", + "iid": "885577A3-AC29-51D9-ACB5-D30ABBB484FC", "iidConstant": "I_AVN_PATH_ICON_IID", - "abiVersion": 9, + "abiVersion": 10, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -28620,11 +29265,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -28661,16 +29306,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -28689,8 +29334,18 @@ 175, 176, 177, - 667, - 668 + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, + 677, + 678 ], "irBases": [ "IAvnAvaloniaObject", @@ -28736,9 +29391,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -28750,22 +29405,21 @@ 57, 58, 59, - 437 + 60, + 61, + 62, + 440 ] }, { "name": "IAvnPipsPager", - "iid": "03DEC932-3B73-5A8C-9CE7-9E82F4FADE70", + "iid": "6C3C0A8B-3237-50C1-8DF3-5171EDF2A1B8", "iidConstant": "I_AVN_PIPS_PAGER_IID", - "abiVersion": 10, + "abiVersion": 11, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -28787,11 +29441,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -28828,16 +29482,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -28856,20 +29510,30 @@ 175, 176, 177, - 669, - 670, - 671, - 672, - 673, - 674, - 675, - 676, - 677, - 678, + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, 679, 680, 681, - 682 + 682, + 683, + 684, + 685, + 686, + 687, + 688, + 689, + 690, + 691, + 692 ], "irBases": [ "IAvnAvaloniaObject", @@ -28914,9 +29578,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -28928,13 +29592,16 @@ 57, 58, 59, - 438, - 439, - 440, + 60, + 61, + 62, 441, 442, 443, - 444 + 444, + 445, + 446, + 447 ] }, { @@ -28951,17 +29618,13 @@ }, { "name": "IAvnPolygon", - "iid": "48E18C96-9363-5066-9A67-123E153A0919", + "iid": "E706EC48-3CA1-5BEA-907E-460CA53B06BE", "iidConstant": "I_AVN_POLYGON_IID", - "abiVersion": 8, + "abiVersion": 9, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -28983,11 +29646,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -29042,10 +29705,20 @@ 143, 144, 145, - 683, - 684, - 685, - 686 + 146, + 147, + 148, + 149, + 150, + 151, + 152, + 153, + 154, + 155, + 693, + 694, + 695, + 696 ], "irBases": [ "IAvnAvaloniaObject", @@ -29099,23 +29772,22 @@ 41, 42, 43, - 445, - 446 + 44, + 45, + 46, + 448, + 449 ] }, { "name": "IAvnPolyline", - "iid": "9BACEFB3-B663-55EB-AF28-46001BA3A32B", + "iid": "035DBEE9-DC4D-57B6-9140-DD59B208A9DC", "iidConstant": "I_AVN_POLYLINE_IID", - "abiVersion": 8, + "abiVersion": 9, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -29137,11 +29809,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -29196,10 +29868,20 @@ 143, 144, 145, - 683, - 684, - 685, - 686 + 146, + 147, + 148, + 149, + 150, + 151, + 152, + 153, + 154, + 155, + 693, + 694, + 695, + 696 ], "irBases": [ "IAvnAvaloniaObject", @@ -29253,23 +29935,22 @@ 41, 42, 43, - 447, - 448 + 44, + 45, + 46, + 450, + 451 ] }, { "name": "IAvnPopup", - "iid": "4F10A2E5-D393-52F5-97CB-0DDA9411F6E4", + "iid": "6CCB1B6A-EC3B-5625-A604-97B56FF5B86F", "iidConstant": "I_AVN_POPUP_IID", - "abiVersion": 8, + "abiVersion": 9, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -29291,11 +29972,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -29332,52 +30013,62 @@ 125, 126, 127, - 429, - 430, - 240, - 241, - 687, - 688, - 689, - 690, - 380, - 381, - 421, - 422, - 423, - 424, - 425, - 426, - 427, - 428, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 439, + 440, + 250, + 251, + 697, + 698, + 699, + 700, + 390, + 391, 431, 432, 433, 434, 435, 436, - 501, - 502, - 503, - 504, - 417, - 418, - 419, - 420, - 691, - 692, - 693, - 694, - 695, - 696, - 697, - 698, - 414, - 413, - 699, - 399, - 700, - 395 + 437, + 438, + 441, + 442, + 443, + 444, + 445, + 446, + 511, + 512, + 513, + 514, + 427, + 428, + 429, + 430, + 701, + 702, + 703, + 704, + 705, + 706, + 707, + 708, + 424, + 423, + 709, + 409, + 710, + 405 ], "irBases": [ "IAvnAvaloniaObject", @@ -29421,9 +30112,9 @@ 32, 33, 34, - 449, - 450, - 451, + 35, + 36, + 37, 452, 453, 454, @@ -29445,7 +30136,10 @@ 470, 471, 472, - 473 + 473, + 474, + 475, + 476 ] }, { @@ -29469,43 +30163,43 @@ 0, 1, 2, - 63, - 64, - 380, - 381, - 493, - 494, - 495, - 496, - 395, - 497, - 399, - 498, - 427, - 428, - 425, - 426, - 421, - 422, - 417, - 418, - 419, - 420, - 435, - 436, - 499, - 500, - 501, - 502, + 67, + 68, + 390, + 391, 503, 504, - 423, - 424, 505, 506, - 397, + 405, 507, - 393 + 409, + 508, + 437, + 438, + 435, + 436, + 431, + 432, + 427, + 428, + 429, + 430, + 445, + 446, + 509, + 510, + 511, + 512, + 513, + 514, + 433, + 434, + 515, + 516, + 407, + 517, + 403 ], "irBases": [ "IAvnAvaloniaObject", @@ -29513,9 +30207,6 @@ "IAvnPopupFlyoutBase" ], "irMembers": [ - 279, - 280, - 281, 282, 283, 284, @@ -29532,7 +30223,10 @@ 295, 296, 297, - 298 + 298, + 299, + 300, + 301 ] }, { @@ -29580,22 +30274,18 @@ 0, 1, 2, - 39 + 43 ] }, { "name": "IAvnProgressBar", - "iid": "54861122-E527-532B-A444-76CB502B041E", + "iid": "A87F44AD-6E9D-5059-A355-CBC907AD0F45", "iidConstant": "I_AVN_PROGRESS_BAR_IID", - "abiVersion": 13, + "abiVersion": 14, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -29617,11 +30307,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -29658,16 +30348,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -29686,18 +30376,17 @@ 175, 176, 177, - 701, - 702, - 703, - 704, - 705, - 706, - 707, - 708, - 709, - 710, + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, 711, - 666, 712, 713, 714, @@ -29705,8 +30394,19 @@ 716, 717, 718, - 675, - 676 + 719, + 720, + 721, + 676, + 722, + 723, + 724, + 725, + 726, + 727, + 728, + 685, + 686 ], "irBases": [ "IAvnAvaloniaObject", @@ -29752,9 +30452,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -29766,9 +30466,9 @@ 57, 58, 59, - 474, - 475, - 476, + 60, + 61, + 62, 477, 478, 479, @@ -29776,22 +30476,21 @@ 481, 482, 483, - 484 + 484, + 485, + 486, + 487 ] }, { "name": "IAvnRadioButton", - "iid": "45D712D8-A144-589A-9053-4333B61428BF", + "iid": "1D9D9433-E351-59FA-A65E-F78DF4223F1C", "iidConstant": "I_AVN_RADIO_BUTTON_IID", - "abiVersion": 16, + "abiVersion": 17, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -29813,11 +30512,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -29854,16 +30553,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -29882,16 +30581,16 @@ 175, 176, 177, - 245, - 246, - 247, - 248, - 249, - 250, - 251, - 252, - 253, - 254, + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, 255, 256, 257, @@ -29907,14 +30606,24 @@ 267, 268, 269, - 353, - 354, - 355, - 356, - 357, - 358, - 637, - 638 + 270, + 271, + 272, + 273, + 274, + 275, + 276, + 277, + 278, + 279, + 363, + 364, + 365, + 366, + 367, + 368, + 647, + 648 ], "irBases": [ "IAvnAvaloniaObject", @@ -29962,9 +30671,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -29976,9 +30685,9 @@ 57, 58, 59, - 101, - 102, - 103, + 60, + 61, + 62, 104, 105, 106, @@ -29989,25 +30698,24 @@ 111, 112, 113, - 183, - 184, - 185, - 485 + 114, + 115, + 116, + 186, + 187, + 188, + 488 ] }, { "name": "IAvnRangeBase", - "iid": "C2C5CCBC-F621-560A-B6F6-87A286DAB50B", + "iid": "F1231250-DB6B-52E4-A42E-3C57E73C7023", "iidConstant": "I_AVN_RANGE_BASE_IID", - "abiVersion": 12, + "abiVersion": 13, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -30029,11 +30737,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -30070,16 +30778,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -30098,18 +30806,28 @@ 175, 176, 177, - 701, - 702, - 703, - 704, - 705, - 706, - 707, - 708, - 709, - 710, + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, 711, - 666 + 712, + 713, + 714, + 715, + 716, + 717, + 718, + 719, + 720, + 721, + 676 ], "irBases": [ "IAvnAvaloniaObject", @@ -30154,9 +30872,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -30168,39 +30886,38 @@ 57, 58, 59, - 474, - 475, - 476, + 60, + 61, + 62, 477, 478, - 479 + 479, + 480, + 481, + 482 ] }, { "name": "IAvnRangeBaseValueChangedHandler", - "iid": "DAEDA8F7-D1F6-54B6-900D-4AAB0B0C72BA", + "iid": "D71E5403-7A7E-5C5A-8A48-4C89346F0179", "iidConstant": "I_AVN_RANGE_BASE_VALUE_CHANGED_HANDLER_IID", - "abiVersion": 1, + "abiVersion": 2, "slots": [ 0, 1, 2, - 3 + 24 ] }, { "name": "IAvnRectangle", - "iid": "4C789DD6-03C9-5FC7-A38E-050060C28908", + "iid": "E87D8C84-1090-5B7D-9DBA-9F122E19E333", "iidConstant": "I_AVN_RECTANGLE_IID", - "abiVersion": 8, + "abiVersion": 9, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -30222,11 +30939,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -30281,10 +30998,20 @@ 143, 144, 145, - 719, - 720, - 721, - 722 + 146, + 147, + 148, + 149, + 150, + 151, + 152, + 153, + 154, + 155, + 729, + 730, + 731, + 732 ], "irBases": [ "IAvnAvaloniaObject", @@ -30338,23 +31065,22 @@ 41, 42, 43, - 486, - 487 + 44, + 45, + 46, + 489, + 490 ] }, { "name": "IAvnRefreshContainer", - "iid": "C83268B7-A9D2-51FA-B7C7-E9891E412A9B", + "iid": "3693CF05-F784-5394-B7D2-6DF511F86F97", "iidConstant": "I_AVN_REFRESH_CONTAINER_IID", - "abiVersion": 10, + "abiVersion": 11, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -30376,11 +31102,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -30417,16 +31143,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -30445,21 +31171,31 @@ 175, 176, 177, - 245, - 246, - 247, - 248, - 249, - 250, - 251, - 252, - 723, - 724, - 725, - 726, - 727, - 728, - 729 + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, + 255, + 256, + 257, + 258, + 259, + 260, + 261, + 262, + 733, + 734, + 735, + 736, + 737, + 738, + 739 ], "irBases": [ "IAvnAvaloniaObject", @@ -30505,9 +31241,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -30519,14 +31255,17 @@ 57, 58, 59, - 101, - 102, - 103, + 60, + 61, + 62, 104, - 488, - 489, - 490, - 491 + 105, + 106, + 107, + 491, + 492, + 493, + 494 ] }, { @@ -30543,17 +31282,13 @@ }, { "name": "IAvnRelativePanel", - "iid": "4A52A408-9843-5FFA-B1CC-4575FA75B2D5", + "iid": "0E550183-4D72-5357-8C3F-9F15E41BC976", "iidConstant": "I_AVN_RELATIVE_PANEL_IID", - "abiVersion": 8, + "abiVersion": 9, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -30575,11 +31310,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -30616,9 +31351,19 @@ 125, 126, 127, - 326, - 150, - 151 + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 336, + 160, + 161 ], "irBases": [ "IAvnAvaloniaObject", @@ -30663,8 +31408,11 @@ 32, 33, 34, - 159, - 160 + 35, + 36, + 37, + 162, + 163 ] }, { @@ -30676,33 +31424,29 @@ 0, 1, 2, - 967, - 968, - 969, - 970, - 971, - 972, - 973, - 974, - 975, - 976, 977, - 978 + 978, + 979, + 980, + 981, + 982, + 983, + 984, + 985, + 986, + 987, + 988 ] }, { "name": "IAvnRepeatButton", - "iid": "A0647C03-65F2-5FE4-A38E-B4A610F740A0", + "iid": "E1023A87-3E17-5F1D-8671-36C4FD0D1CC3", "iidConstant": "I_AVN_REPEAT_BUTTON_IID", - "abiVersion": 11, + "abiVersion": 12, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -30724,11 +31468,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -30765,16 +31509,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -30793,16 +31537,16 @@ 175, 176, 177, - 245, - 246, - 247, - 248, - 249, - 250, - 251, - 252, - 253, - 254, + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, 255, 256, 257, @@ -30818,10 +31562,20 @@ 267, 268, 269, - 730, - 731, - 732, - 733 + 270, + 271, + 272, + 273, + 274, + 275, + 276, + 277, + 278, + 279, + 740, + 741, + 742, + 743 ], "irBases": [ "IAvnAvaloniaObject", @@ -30868,9 +31622,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -30882,9 +31636,9 @@ 57, 58, 59, - 101, - 102, - 103, + 60, + 61, + 62, 104, 105, 106, @@ -30895,23 +31649,22 @@ 111, 112, 113, - 492, - 493 + 114, + 115, + 116, + 495, + 496 ] }, { "name": "IAvnScrollViewer", - "iid": "597E4640-680B-5499-A4F0-D90B8F0539C7", + "iid": "74E7350C-320E-5E2A-A8B9-CDD929B6B826", "iidConstant": "I_AVN_SCROLL_VIEWER_IID", - "abiVersion": 15, + "abiVersion": 16, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -30933,11 +31686,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -30974,16 +31727,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -31002,29 +31755,28 @@ 175, 176, 177, - 245, - 246, - 247, - 248, - 249, - 250, - 251, - 252, - 734, - 735, - 736, - 737, - 738, - 739, - 740, - 741, - 742, - 743, + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, + 255, + 256, + 257, + 258, + 259, + 260, + 261, + 262, 744, 745, 746, 747, - 469, 748, 749, 750, @@ -31035,6 +31787,7 @@ 755, 756, 757, + 479, 758, 759, 760, @@ -31054,7 +31807,17 @@ 774, 775, 776, - 777 + 777, + 778, + 779, + 780, + 781, + 782, + 783, + 784, + 785, + 786, + 787 ], "irBases": [ "IAvnAvaloniaObject", @@ -31100,9 +31863,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -31114,13 +31877,13 @@ 57, 58, 59, - 101, - 102, - 103, + 60, + 61, + 62, 104, - 494, - 495, - 496, + 105, + 106, + 107, 497, 498, 499, @@ -31149,7 +31912,10 @@ 522, 523, 524, - 525 + 525, + 526, + 527, + 528 ] }, { @@ -31166,17 +31932,13 @@ }, { "name": "IAvnSector", - "iid": "BEB2012E-DE97-5F61-B066-1E1D924A192A", + "iid": "5716DA45-6417-5758-89E7-303427808353", "iidConstant": "I_AVN_SECTOR_IID", - "abiVersion": 8, + "abiVersion": 9, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -31198,11 +31960,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -31260,7 +32022,17 @@ 146, 147, 148, - 149 + 149, + 150, + 151, + 152, + 153, + 154, + 155, + 156, + 157, + 158, + 159 ], "irBases": [ "IAvnAvaloniaObject", @@ -31314,23 +32086,22 @@ 41, 42, 43, - 526, - 527 + 44, + 45, + 46, + 529, + 530 ] }, { "name": "IAvnSelectableTextBlock", - "iid": "4C1CFF48-0D3A-5934-A1DA-6939E75C5678", + "iid": "843AC2A4-7FEF-5858-8A9A-F199BBA52638", "iidConstant": "I_AVN_SELECTABLE_TEXT_BLOCK_IID", - "abiVersion": 11, + "abiVersion": 12, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -31352,11 +32123,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -31393,57 +32164,67 @@ 125, 126, 127, - 176, - 177, - 150, - 151, - 196, - 197, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 186, + 187, 160, 161, - 164, - 165, - 166, - 167, - 168, - 169, + 206, + 207, 170, 171, - 172, - 173, - 575, - 576, - 778, - 779, 174, 175, + 176, + 177, + 178, + 179, + 180, + 181, + 182, + 183, + 585, + 586, + 788, + 789, + 184, + 185, + 581, + 582, + 593, + 594, + 790, + 791, + 589, + 590, + 172, + 173, + 792, + 793, + 569, + 570, 571, 572, - 583, - 584, - 780, - 781, + 577, + 578, 579, 580, - 162, - 163, - 782, - 783, - 559, - 560, - 561, - 562, - 567, - 568, - 569, - 570, - 577, - 588, - 599, - 547, - 596, - 784, - 605 + 587, + 598, + 609, + 557, + 606, + 794, + 615 ], "irBases": [ "IAvnAvaloniaObject", @@ -31488,9 +32269,9 @@ 32, 33, 34, - 528, - 529, - 530, + 35, + 36, + 37, 531, 532, 533, @@ -31515,7 +32296,10 @@ 552, 553, 554, - 555 + 555, + 556, + 557, + 558 ] }, { @@ -31539,27 +32323,23 @@ 0, 1, 2, - 48, - 57, - 58, - 59, 52, - 53 + 61, + 62, + 63, + 56, + 57 ] }, { "name": "IAvnSelectingItemsControl", - "iid": "B2D5F624-DE4C-5278-977F-9EB764DD6B2F", + "iid": "56020FA9-D4A4-52B6-B5FC-EAEB6FD563C2", "iidConstant": "I_AVN_SELECTING_ITEMS_CONTROL_IID", - "abiVersion": 15, + "abiVersion": 16, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -31581,11 +32361,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -31622,16 +32402,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -31650,22 +32430,20 @@ 175, 176, 177, - 327, - 328, - 215, - 216, + 178, + 179, + 180, + 181, + 182, + 183, 184, 185, - 329, - 330, - 331, - 332, - 333, - 334, - 335, - 336, + 186, + 187, 337, 338, + 225, + 226, 194, 195, 339, @@ -31675,7 +32453,19 @@ 343, 344, 345, - 239 + 346, + 347, + 348, + 204, + 205, + 349, + 350, + 351, + 352, + 353, + 354, + 355, + 249 ], "irBases": [ "IAvnAvaloniaObject", @@ -31721,9 +32511,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -31735,9 +32525,9 @@ 57, 58, 59, - 161, - 162, - 163, + 60, + 61, + 62, 164, 165, 166, @@ -31751,34 +32541,48 @@ 174, 175, 176, - 177 + 177, + 178, + 179, + 180 + ] + }, + { + "name": "IAvnSelectingItemsControlSelectionChangedArgs", + "iid": "A5A998E3-805F-5BB9-BE35-4ACCDA82BD37", + "iidConstant": "I_AVN_SELECTING_ITEMS_CONTROL_SELECTION_CHANGED_ARGS_IID", + "abiVersion": 1, + "slots": [ + 0, + 1, + 2, + 9, + 10, + 11, + 12 ] }, { "name": "IAvnSelectingItemsControlSelectionChangedHandler", - "iid": "80E817ED-8F0E-5208-9EFD-ECBDEBC56A46", + "iid": "D9AAACF6-E516-52AC-ABBE-3E0210379161", "iidConstant": "I_AVN_SELECTING_ITEMS_CONTROL_SELECTION_CHANGED_HANDLER_IID", - "abiVersion": 1, + "abiVersion": 2, "slots": [ 0, 1, 2, - 3 + 25 ] }, { "name": "IAvnSeparator", - "iid": "FD4ADF2C-46AF-58ED-B8D1-2B813D56A4C0", + "iid": "87BD59B4-CB85-5216-B757-72F95FCB49E3", "iidConstant": "I_AVN_SEPARATOR_IID", - "abiVersion": 9, + "abiVersion": 10, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -31800,11 +32604,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -31841,16 +32645,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -31868,7 +32672,17 @@ 174, 175, 176, - 177 + 177, + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187 ], "irBases": [ "IAvnAvaloniaObject", @@ -31913,9 +32727,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -31926,22 +32740,21 @@ 56, 57, 58, - 59 + 59, + 60, + 61, + 62 ] }, { "name": "IAvnShape", - "iid": "68C7A91F-DBEE-56E2-9A87-24B2B66D30AC", + "iid": "5CB7105C-DAF9-5211-9659-62EAB03208FF", "iidConstant": "I_AVN_SHAPE_IID", - "abiVersion": 8, + "abiVersion": 9, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -31963,11 +32776,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -32021,7 +32834,17 @@ 142, 143, 144, - 145 + 145, + 146, + 147, + 148, + 149, + 150, + 151, + 152, + 153, + 154, + 155 ], "irBases": [ "IAvnAvaloniaObject", @@ -32073,22 +32896,21 @@ 40, 41, 42, - 43 + 43, + 44, + 45, + 46 ] }, { "name": "IAvnSlider", - "iid": "704B6BAF-7A44-5CFE-A14B-440A8471D0B9", + "iid": "BF042391-AF5A-5DD4-B321-055CA9F70D23", "iidConstant": "I_AVN_SLIDER_IID", - "abiVersion": 12, + "abiVersion": 13, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -32110,11 +32932,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -32151,16 +32973,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -32179,30 +33001,40 @@ 175, 176, 177, - 701, - 702, - 703, - 704, - 705, - 706, - 707, - 708, - 709, - 710, + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, 711, - 666, - 785, - 786, - 675, + 712, + 713, + 714, + 715, + 716, + 717, + 718, + 719, + 720, + 721, 676, - 787, - 788, - 789, - 790, - 791, - 792, - 793, - 794 + 795, + 796, + 685, + 686, + 797, + 798, + 799, + 800, + 801, + 802, + 803, + 804 ], "irBases": [ "IAvnAvaloniaObject", @@ -32248,9 +33080,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -32262,33 +33094,32 @@ 57, 58, 59, - 474, - 475, - 476, + 60, + 61, + 62, 477, 478, 479, - 556, - 557, - 558, + 480, + 481, + 482, 559, 560, - 561 + 561, + 562, + 563, + 564 ] }, { "name": "IAvnSpinner", - "iid": "6AAEEDDC-0307-57B2-9FA5-30A27DC1958E", + "iid": "4A63E264-F914-5256-93AB-1268895B9073", "iidConstant": "I_AVN_SPINNER_IID", - "abiVersion": 9, + "abiVersion": 10, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -32310,11 +33141,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -32351,16 +33182,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -32379,18 +33210,28 @@ 175, 176, 177, - 245, - 246, - 247, - 248, - 249, - 250, - 251, - 252, - 270, - 271, - 272, - 273 + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, + 255, + 256, + 257, + 258, + 259, + 260, + 261, + 262, + 280, + 281, + 282, + 283 ], "irBases": [ "IAvnAvaloniaObject", @@ -32436,9 +33277,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -32450,12 +33291,15 @@ 57, 58, 59, - 101, - 102, - 103, + 60, + 61, + 62, 104, - 114, - 115 + 105, + 106, + 107, + 117, + 118 ] }, { @@ -32467,22 +33311,18 @@ 0, 1, 2, - 22 + 23 ] }, { "name": "IAvnSplitButton", - "iid": "1937A395-DF68-5F9F-94C1-07246380573C", + "iid": "11D77809-48B6-5A29-B8D9-5D413BC96A85", "iidConstant": "I_AVN_SPLIT_BUTTON_IID", - "abiVersion": 12, + "abiVersion": 13, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -32504,11 +33344,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -32545,16 +33385,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -32573,24 +33413,34 @@ 175, 176, 177, - 245, - 246, - 247, - 248, - 249, - 250, - 251, - 252, + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, 255, 256, + 257, + 258, 259, 260, + 261, + 262, + 265, 266, + 269, + 270, + 276, + 277, 267, - 257, - 258, - 795, - 269 + 268, + 805, + 279 ], "irBases": [ "IAvnAvaloniaObject", @@ -32636,9 +33486,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -32650,15 +33500,18 @@ 57, 58, 59, - 101, - 102, - 103, + 60, + 61, + 62, 104, - 562, - 563, - 564, + 105, + 106, + 107, 565, - 566 + 566, + 567, + 568, + 569 ] }, { @@ -32675,17 +33528,13 @@ }, { "name": "IAvnSplitView", - "iid": "51ED3B0D-0AAB-5AA3-9C4E-501C6027E774", + "iid": "048A7E1E-0539-5D4A-95D8-5C2E6D429202", "iidConstant": "I_AVN_SPLIT_VIEW_IID", - "abiVersion": 9, + "abiVersion": 10, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -32707,11 +33556,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -32748,16 +33597,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -32776,28 +33625,28 @@ 175, 176, 177, - 245, - 246, - 247, - 248, - 249, - 250, - 251, - 252, - 796, - 797, - 290, - 291, - 798, - 799, - 800, - 801, - 802, - 803, - 804, - 805, + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, + 255, + 256, + 257, + 258, + 259, + 260, + 261, + 262, 806, 807, + 300, + 301, 808, 809, 810, @@ -32809,7 +33658,17 @@ 816, 817, 818, - 819 + 819, + 820, + 821, + 822, + 823, + 824, + 825, + 826, + 827, + 828, + 829 ], "irBases": [ "IAvnAvaloniaObject", @@ -32855,9 +33714,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -32869,13 +33728,13 @@ 57, 58, 59, - 101, - 102, - 103, + 60, + 61, + 62, 104, - 567, - 568, - 569, + 105, + 106, + 107, 570, 571, 572, @@ -32885,7 +33744,10 @@ 576, 577, 578, - 579 + 579, + 580, + 581, + 582 ] }, { @@ -32938,17 +33800,13 @@ }, { "name": "IAvnStackPanel", - "iid": "2104EA3B-6DCB-5691-AE36-AB75B819F283", + "iid": "17521479-DA81-5A88-9984-557EE08FF897", "iidConstant": "I_AVN_STACK_PANEL_IID", - "abiVersion": 12, + "abiVersion": 13, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -32970,11 +33828,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -33011,17 +33869,27 @@ 125, 126, 127, - 326, - 150, - 151, - 820, - 821, - 675, - 676, - 822, - 823, - 824, - 825 + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 336, + 160, + 161, + 830, + 831, + 685, + 686, + 832, + 833, + 834, + 835 ], "irBases": [ "IAvnAvaloniaObject", @@ -33066,12 +33934,15 @@ 32, 33, 34, - 159, - 160, - 580, - 581, - 582, - 583 + 35, + 36, + 37, + 162, + 163, + 583, + 584, + 585, + 586 ] }, { @@ -33083,12 +33954,12 @@ 0, 1, 2, - 48, - 60, - 61, - 62, 52, - 53 + 64, + 65, + 66, + 56, + 57 ] }, { @@ -33100,10 +33971,6 @@ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -33122,7 +33989,11 @@ 82, 83, 84, - 85 + 85, + 86, + 87, + 88, + 89 ], "irBases": [ "IAvnAvaloniaObject", @@ -33218,17 +34089,13 @@ }, { "name": "IAvnTabControl", - "iid": "C4664936-3D85-52A7-B48C-4CC32CA9B3A1", + "iid": "8F087347-637D-5F69-BABE-6D6ED30440C1", "iidConstant": "I_AVN_TAB_CONTROL_IID", - "abiVersion": 12, + "abiVersion": 13, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -33250,11 +34117,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -33291,16 +34158,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -33319,22 +34186,20 @@ 175, 176, 177, - 327, - 328, - 215, - 216, + 178, + 179, + 180, + 181, + 182, + 183, 184, 185, - 329, - 330, - 331, - 332, - 333, - 334, - 335, - 336, + 186, + 187, 337, 338, + 225, + 226, 194, 195, 339, @@ -33344,19 +34209,31 @@ 343, 344, 345, - 239, + 346, + 347, + 348, + 204, + 205, + 349, + 350, + 351, + 352, + 353, + 354, + 355, 249, - 250, - 251, - 252, - 826, - 827, - 247, - 248, - 828, - 829, - 830, - 831 + 259, + 260, + 261, + 262, + 836, + 837, + 257, + 258, + 838, + 839, + 840, + 841 ], "irBases": [ "IAvnAvaloniaObject", @@ -33403,9 +34280,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -33417,9 +34294,9 @@ 57, 58, 59, - 161, - 162, - 163, + 60, + 61, + 62, 164, 165, 166, @@ -33434,28 +34311,27 @@ 175, 176, 177, - 584, - 585, - 586, + 178, + 179, + 180, 587, 588, 589, - 590 + 590, + 591, + 592, + 593 ] }, { "name": "IAvnTabItem", - "iid": "F2FF8148-506B-5823-B99B-F10DD06AC7DE", + "iid": "406B7990-01A7-533E-9A2A-7B70DDFCE8EC", "iidConstant": "I_AVN_TAB_ITEM_IID", - "abiVersion": 11, + "abiVersion": 12, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -33477,11 +34353,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -33518,16 +34394,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -33546,27 +34422,37 @@ 175, 176, 177, - 245, - 246, - 247, - 248, - 249, - 250, - 251, - 252, - 463, - 464, - 465, - 466, - 832, - 366, - 367, - 402, - 403, - 833, - 834, - 830, - 831 + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, + 255, + 256, + 257, + 258, + 259, + 260, + 261, + 262, + 473, + 474, + 475, + 476, + 842, + 376, + 377, + 412, + 413, + 843, + 844, + 840, + 841 ], "irBases": [ "IAvnAvaloniaObject", @@ -33613,9 +34499,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -33627,32 +34513,31 @@ 57, 58, 59, - 101, - 102, - 103, + 60, + 61, + 62, 104, - 264, - 265, - 591, - 592, - 593, + 105, + 106, + 107, + 267, + 268, 594, - 595 + 595, + 596, + 597, + 598 ] }, { "name": "IAvnTableView", - "iid": "B0C8BD3E-D92C-542C-8E78-9020F9F5D0D8", + "iid": "D4BE6E5C-B5DD-5BB0-A30F-3CC833767F7C", "iidConstant": "I_AVN_TABLE_VIEW_IID", - "abiVersion": 13, + "abiVersion": 14, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -33674,11 +34559,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -33715,16 +34600,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -33743,22 +34628,20 @@ 175, 176, 177, - 327, - 328, - 215, - 216, + 178, + 179, + 180, + 181, + 182, + 183, 184, 185, - 329, - 330, - 331, - 332, - 333, - 334, - 335, - 336, + 186, + 187, 337, 338, + 225, + 226, 194, 195, 339, @@ -33768,15 +34651,27 @@ 343, 344, 345, - 239, - 292, - 293, - 547, - 548, - 835, - 836, - 837, - 838 + 346, + 347, + 348, + 204, + 205, + 349, + 350, + 351, + 352, + 353, + 354, + 355, + 249, + 302, + 303, + 557, + 558, + 845, + 846, + 847, + 848 ], "irBases": [ "IAvnAvaloniaObject", @@ -33824,9 +34719,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -33838,9 +34733,9 @@ 57, 58, 59, - 161, - 162, - 163, + 60, + 61, + 62, 164, 165, 166, @@ -33855,26 +34750,25 @@ 175, 176, 177, - 328, - 329, - 330, - 596, - 597 + 178, + 179, + 180, + 331, + 332, + 333, + 599, + 600 ] }, { "name": "IAvnTableViewCell", - "iid": "5FFBD394-21E2-5FA0-A738-F81CA24CA198", + "iid": "7B4DC408-8142-5915-B1A7-15CE22062512", "iidConstant": "I_AVN_TABLE_VIEW_CELL_IID", - "abiVersion": 11, + "abiVersion": 12, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -33896,11 +34790,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -33937,16 +34831,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -33965,14 +34859,24 @@ 175, 176, 177, - 245, - 246, - 247, - 248, - 249, - 250, - 251, - 252 + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, + 255, + 256, + 257, + 258, + 259, + 260, + 261, + 262 ], "irBases": [ "IAvnAvaloniaObject", @@ -34018,9 +34922,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -34032,10 +34936,13 @@ 57, 58, 59, - 101, - 102, - 103, - 104 + 60, + 61, + 62, + 104, + 105, + 106, + 107 ] }, { @@ -34047,10 +34954,6 @@ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -34070,24 +34973,28 @@ 83, 84, 85, - 465, - 466, - 463, - 464, - 839, - 840, - 100, - 101, - 102, - 103, 86, 87, - 841, - 842, - 249, - 250, - 843, - 844 + 88, + 89, + 475, + 476, + 473, + 474, + 849, + 850, + 104, + 105, + 106, + 107, + 90, + 91, + 851, + 852, + 259, + 260, + 853, + 854 ], "irBases": [ "IAvnAvaloniaObject", @@ -34108,31 +35015,27 @@ 10, 11, 12, - 598, - 599, - 600, 601, 602, 603, 604, 605, 606, - 607 + 607, + 608, + 609, + 610 ] }, { "name": "IAvnTableViewRow", - "iid": "785207CE-7A58-5074-9CCD-5DFA0771DF61", + "iid": "1A492B55-9FB8-5F66-986E-EF1DED34A38D", "iidConstant": "I_AVN_TABLE_VIEW_ROW_IID", - "abiVersion": 9, + "abiVersion": 10, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -34154,11 +35057,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -34195,16 +35098,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -34223,16 +35126,26 @@ 175, 176, 177, - 245, - 246, - 247, - 248, - 249, - 250, - 251, - 252, - 366, - 367 + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, + 255, + 256, + 257, + 258, + 259, + 260, + 261, + 262, + 376, + 377 ], "irBases": [ "IAvnAvaloniaObject", @@ -34279,9 +35192,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -34293,26 +35206,25 @@ 57, 58, 59, - 101, - 102, - 103, + 60, + 61, + 62, 104, - 197 + 105, + 106, + 107, + 200 ] }, { "name": "IAvnTemplatedControl", - "iid": "D71DF481-E9FE-5463-BDA3-7C0546C5716A", + "iid": "E2867468-09D4-5D05-A956-F687A78DF51A", "iidConstant": "I_AVN_TEMPLATED_CONTROL_IID", - "abiVersion": 12, + "abiVersion": 13, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -34334,11 +35246,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -34375,16 +35287,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -34402,7 +35314,17 @@ 174, 175, 176, - 177 + 177, + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187 ], "irBases": [ "IAvnAvaloniaObject", @@ -34446,9 +35368,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -34459,22 +35381,21 @@ 56, 57, 58, - 59 + 59, + 60, + 61, + 62 ] }, { "name": "IAvnTextBlock", - "iid": "70059000-39BE-58FA-9621-50CB7BBF46B1", + "iid": "06129468-B036-5F97-ACA3-6C51B845746D", "iidConstant": "I_AVN_TEXT_BLOCK_IID", - "abiVersion": 14, + "abiVersion": 15, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -34496,11 +35417,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -34537,42 +35458,52 @@ 125, 126, 127, - 176, - 177, - 150, - 151, - 196, - 197, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 186, + 187, 160, 161, - 164, - 165, - 166, - 167, - 168, - 169, + 206, + 207, 170, 171, - 172, - 173, - 575, - 576, - 778, - 779, 174, 175, - 571, - 572, - 583, - 584, - 780, - 781, - 579, - 580, - 162, - 163, - 782, - 783 + 176, + 177, + 178, + 179, + 180, + 181, + 182, + 183, + 585, + 586, + 788, + 789, + 184, + 185, + 581, + 582, + 593, + 594, + 790, + 791, + 589, + 590, + 172, + 173, + 792, + 793 ], "irBases": [ "IAvnAvaloniaObject", @@ -34616,9 +35547,9 @@ 32, 33, 34, - 528, - 529, - 530, + 35, + 36, + 37, 531, 532, 533, @@ -34633,22 +35564,21 @@ 542, 543, 544, - 545 + 545, + 546, + 547, + 548 ] }, { "name": "IAvnTextBox", - "iid": "B1615F3B-C31D-56CC-A999-064FAC4EFDF8", + "iid": "BCD740F5-7423-5B2D-AD5E-CB40072226F8", "iidConstant": "I_AVN_TEXT_BOX_IID", - "abiVersion": 18, + "abiVersion": 19, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -34670,11 +35600,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -34711,16 +35641,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -34739,70 +35669,70 @@ 175, 176, 177, - 549, - 550, - 192, - 193, - 551, - 552, - 553, - 554, 178, 179, - 555, - 556, - 557, - 558, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, 559, 560, + 202, + 203, 561, 562, 563, 564, + 188, + 189, 565, 566, 567, 568, 569, 570, - 217, - 218, 571, 572, 573, 574, 575, 576, - 196, - 197, 577, 578, - 249, - 250, - 251, - 252, 579, 580, - 201, - 202, - 316, - 317, - 203, - 204, - 219, - 220, - 221, - 222, + 227, + 228, 581, 582, 583, 584, 585, 586, + 206, + 207, 587, 588, + 259, + 260, + 261, + 262, 589, 590, + 211, + 212, + 326, + 327, + 213, + 214, + 229, + 230, + 231, + 232, 591, 592, 593, @@ -34813,9 +35743,7 @@ 598, 599, 600, - 53, 601, - 547, 602, 603, 604, @@ -34825,9 +35753,21 @@ 608, 609, 610, - 225, + 57, 611, - 612 + 557, + 612, + 613, + 614, + 615, + 616, + 617, + 618, + 619, + 620, + 235, + 621, + 622 ], "irBases": [ "IAvnAvaloniaObject", @@ -34872,9 +35812,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -34886,9 +35826,9 @@ 57, 58, 59, - 331, - 332, - 333, + 60, + 61, + 62, 334, 335, 336, @@ -34937,7 +35877,10 @@ 379, 380, 381, - 382 + 382, + 383, + 384, + 385 ] }, { @@ -35009,7 +35952,7 @@ 0, 1, 2, - 36 + 40 ] }, { @@ -35021,22 +35964,18 @@ 0, 1, 2, - 38 + 42 ] }, { "name": "IAvnThemeVariantScope", - "iid": "F8DF5A10-5406-5E10-A614-F50B8A8BE5A6", + "iid": "2E35671F-C418-50E8-86C1-ED858C036A8D", "iidConstant": "I_AVN_THEME_VARIANT_SCOPE_IID", - "abiVersion": 8, + "abiVersion": 9, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -35058,11 +35997,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -35099,12 +36038,22 @@ 125, 126, 127, - 240, - 241, - 176, - 177, - 845, - 846 + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 250, + 251, + 186, + 187, + 855, + 856 ], "irBases": [ "IAvnAvaloniaObject", @@ -35149,24 +36098,23 @@ 32, 33, 34, - 92, - 93, - 608 + 35, + 36, + 37, + 95, + 96, + 611 ] }, { "name": "IAvnThumb", - "iid": "D4BA0A24-A5D3-56FE-B486-868C8C5A52B6", + "iid": "B62C6C73-14C3-5E0D-A725-F5606107B454", "iidConstant": "I_AVN_THUMB_IID", - "abiVersion": 10, + "abiVersion": 11, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -35188,11 +36136,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -35229,16 +36177,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -35257,12 +36205,22 @@ 175, 176, 177, - 514, - 515, - 516, - 517, - 518, - 519 + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, + 524, + 525, + 526, + 527, + 528, + 529 ], "irBases": [ "IAvnAvaloniaObject", @@ -35307,9 +36265,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -35321,9 +36279,12 @@ 57, 58, 59, - 306, - 307, - 308 + 60, + 61, + 62, + 309, + 310, + 311 ] }, { @@ -35335,7 +36296,7 @@ 0, 1, 2, - 23 + 26 ] }, { @@ -35347,7 +36308,7 @@ 0, 1, 2, - 23 + 26 ] }, { @@ -35359,22 +36320,18 @@ 0, 1, 2, - 23 + 26 ] }, { "name": "IAvnTimePicker", - "iid": "512BDA86-7718-5F1E-B2DE-8BCC7534AA46", + "iid": "9F3B7D7A-E290-5ADC-997C-213A25F20D3B", "iidConstant": "I_AVN_TIME_PICKER_IID", - "abiVersion": 11, + "abiVersion": 12, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -35396,11 +36353,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -35437,16 +36394,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -35465,21 +36422,31 @@ 175, 176, 177, - 251, - 252, - 847, - 848, - 849, - 850, - 851, - 852, - 853, - 854, - 855, - 856, - 53, + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, + 261, + 262, 857, - 858 + 858, + 859, + 860, + 861, + 862, + 863, + 864, + 865, + 866, + 57, + 867, + 868 ], "irBases": [ "IAvnAvaloniaObject", @@ -35524,9 +36491,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -35538,14 +36505,17 @@ 57, 58, 59, - 609, - 610, - 611, + 60, + 61, + 62, 612, 613, 614, 615, - 616 + 616, + 617, + 618, + 619 ] }, { @@ -35557,22 +36527,18 @@ 0, 1, 2, - 24 + 27 ] }, { "name": "IAvnToggleButton", - "iid": "978AD791-8ABE-5494-B9AB-B29937062870", + "iid": "F9840045-23B2-5318-A7DA-EB7F3287FBD8", "iidConstant": "I_AVN_TOGGLE_BUTTON_IID", - "abiVersion": 16, + "abiVersion": 17, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -35594,11 +36560,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -35635,16 +36601,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -35663,16 +36629,16 @@ 175, 176, 177, - 245, - 246, - 247, - 248, - 249, - 250, - 251, - 252, - 253, - 254, + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, 255, 256, 257, @@ -35688,12 +36654,22 @@ 267, 268, 269, - 353, - 354, - 355, - 356, - 357, - 358 + 270, + 271, + 272, + 273, + 274, + 275, + 276, + 277, + 278, + 279, + 363, + 364, + 365, + 366, + 367, + 368 ], "irBases": [ "IAvnAvaloniaObject", @@ -35740,9 +36716,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -35754,9 +36730,9 @@ 57, 58, 59, - 101, - 102, - 103, + 60, + 61, + 62, 104, 105, 106, @@ -35767,9 +36743,12 @@ 111, 112, 113, - 183, - 184, - 185 + 114, + 115, + 116, + 186, + 187, + 188 ] }, { @@ -35786,17 +36765,13 @@ }, { "name": "IAvnToggleSplitButton", - "iid": "DD4F3760-D88D-5551-BD80-CA8721DEA1E9", + "iid": "4FD7A582-1766-5CC7-B173-72F47FDF6BFF", "iidConstant": "I_AVN_TOGGLE_SPLIT_BUTTON_IID", - "abiVersion": 12, + "abiVersion": 13, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -35818,11 +36793,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -35859,16 +36834,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -35887,28 +36862,38 @@ 175, 176, 177, - 245, - 246, - 247, - 248, - 249, - 250, - 251, - 252, + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, 255, 256, + 257, + 258, 259, 260, + 261, + 262, + 265, 266, - 267, - 257, - 258, - 795, 269, - 353, - 354, - 859, - 358 + 270, + 276, + 277, + 267, + 268, + 805, + 279, + 363, + 364, + 869, + 368 ], "irBases": [ "IAvnAvaloniaObject", @@ -35955,9 +36940,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -35969,17 +36954,20 @@ 57, 58, 59, - 101, - 102, - 103, + 60, + 61, + 62, 104, - 562, - 563, - 564, + 105, + 106, + 107, 565, 566, - 617, - 618 + 567, + 568, + 569, + 620, + 621 ] }, { @@ -35996,17 +36984,13 @@ }, { "name": "IAvnToggleSwitch", - "iid": "D36D16B3-4A9B-5BD6-9258-7125ED95B433", + "iid": "96F69492-4FBE-565F-8572-D7AEA40997E9", "iidConstant": "I_AVN_TOGGLE_SWITCH_IID", - "abiVersion": 16, + "abiVersion": 17, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -36028,11 +37012,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -36069,16 +37053,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -36097,16 +37081,16 @@ 175, 176, 177, - 245, - 246, - 247, - 248, - 249, - 250, - 251, - 252, - 253, - 254, + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, 255, 256, 257, @@ -36122,20 +37106,30 @@ 267, 268, 269, - 353, - 354, - 355, - 356, - 357, - 358, - 860, - 861, - 862, - 863, - 864, - 865, - 866, - 867 + 270, + 271, + 272, + 273, + 274, + 275, + 276, + 277, + 278, + 279, + 363, + 364, + 365, + 366, + 367, + 368, + 870, + 871, + 872, + 873, + 874, + 875, + 876, + 877 ], "irBases": [ "IAvnAvaloniaObject", @@ -36183,9 +37177,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -36197,9 +37191,9 @@ 57, 58, 59, - 101, - 102, - 103, + 60, + 61, + 62, 104, 105, 106, @@ -36210,28 +37204,27 @@ 111, 112, 113, - 183, - 184, - 185, - 619, - 620, - 621, - 622 + 114, + 115, + 116, + 186, + 187, + 188, + 622, + 623, + 624, + 625 ] }, { "name": "IAvnToolTip", - "iid": "25BC085F-0BDB-59F4-B689-A1F0A8489B19", + "iid": "8158AEAF-B85C-59C4-BFCE-98DF20F4C2C9", "iidConstant": "I_AVN_TOOL_TIP_IID", - "abiVersion": 9, + "abiVersion": 10, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -36253,11 +37246,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -36294,16 +37287,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -36322,14 +37315,24 @@ 175, 176, 177, - 245, - 246, - 247, - 248, - 249, - 250, - 251, - 252 + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, + 255, + 256, + 257, + 258, + 259, + 260, + 261, + 262 ], "irBases": [ "IAvnAvaloniaObject", @@ -36375,9 +37378,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -36389,10 +37392,13 @@ 57, 58, 59, - 101, - 102, - 103, - 104 + 60, + 61, + 62, + 104, + 105, + 106, + 107 ] }, { @@ -36404,16 +37410,6 @@ 0, 1, 2, - 979, - 980, - 981, - 982, - 983, - 984, - 985, - 986, - 987, - 988, 989, 990, 991, @@ -36421,22 +37417,28 @@ 993, 994, 995, - 996 + 996, + 997, + 998, + 999, + 1000, + 1001, + 1002, + 1003, + 1004, + 1005, + 1006 ] }, { "name": "IAvnTransitioningContentControl", - "iid": "6A3336CC-B09A-5484-BB6B-3E74C762E577", + "iid": "643AACDC-AB53-56DF-A197-28042BF4D69F", "iidConstant": "I_AVN_TRANSITIONING_CONTENT_CONTROL_IID", - "abiVersion": 10, + "abiVersion": 11, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -36458,11 +37460,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -36499,16 +37501,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -36527,18 +37529,28 @@ 175, 176, 177, - 245, - 246, - 247, - 248, - 249, - 250, - 251, - 252, - 868, - 869, - 870, - 871 + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, + 255, + 256, + 257, + 258, + 259, + 260, + 261, + 262, + 878, + 879, + 880, + 881 ], "irBases": [ "IAvnAvaloniaObject", @@ -36584,9 +37596,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -36598,12 +37610,15 @@ 57, 58, 59, - 101, - 102, - 103, + 60, + 61, + 62, 104, - 623, - 624 + 105, + 106, + 107, + 626, + 627 ] }, { @@ -36615,7 +37630,7 @@ 0, 1, 2, - 25 + 28 ] }, { @@ -36627,32 +37642,32 @@ 0, 1, 2, - 63, - 64, - 255, - 256, - 259, - 260, - 872, - 873, - 874, - 875, - 86, - 87, - 876, - 877 + 67, + 68, + 265, + 266, + 269, + 270, + 882, + 883, + 884, + 885, + 90, + 91, + 886, + 887 ], "irBases": [ "IAvnAvaloniaObject", "IAvnTrayIcon" ], "irMembers": [ - 625, - 626, - 627, 628, 629, - 630 + 630, + 631, + 632, + 633 ] }, { @@ -36669,17 +37684,13 @@ }, { "name": "IAvnTreeView", - "iid": "AD4500EF-D3C0-5798-BF90-5E7515E85BEE", + "iid": "E8A54D8B-7903-57AE-9BF8-F5A8055028FC", "iidConstant": "I_AVN_TREE_VIEW_IID", - "abiVersion": 12, + "abiVersion": 13, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -36701,11 +37712,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -36742,16 +37753,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -36770,34 +37781,44 @@ 175, 176, 177, - 327, - 328, - 215, - 216, + 178, + 179, + 180, + 181, + 182, + 183, 184, 185, - 329, - 330, - 331, - 332, - 333, - 334, - 335, - 336, - 292, - 293, + 186, + 187, + 337, + 338, + 225, + 226, 194, 195, - 878, - 879, - 880, - 881, - 547, - 548, - 882, - 883, - 884, - 239 + 339, + 340, + 341, + 342, + 343, + 344, + 345, + 346, + 302, + 303, + 204, + 205, + 888, + 889, + 890, + 891, + 557, + 558, + 892, + 893, + 894, + 249 ], "irBases": [ "IAvnAvaloniaObject", @@ -36843,9 +37864,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -36857,9 +37878,9 @@ 57, 58, 59, - 161, - 162, - 163, + 60, + 61, + 62, 164, 165, 166, @@ -36867,9 +37888,9 @@ 168, 169, 170, - 631, - 632, - 633, + 171, + 172, + 173, 634, 635, 636, @@ -36877,22 +37898,21 @@ 638, 639, 640, - 641 + 641, + 642, + 643, + 644 ] }, { "name": "IAvnTreeViewItem", - "iid": "B4B4B178-BF7A-52CD-8B27-EFEDBEA8C60E", + "iid": "CDD644B1-7E5B-5C32-9271-5A69CEE65005", "iidConstant": "I_AVN_TREE_VIEW_ITEM_IID", - "abiVersion": 12, + "abiVersion": 13, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -36914,11 +37934,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -36955,16 +37975,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -36983,31 +38003,41 @@ 175, 176, 177, - 327, - 328, - 215, - 216, + 178, + 179, + 180, + 181, + 182, + 183, 184, 185, - 329, - 330, - 331, - 332, - 333, - 334, - 463, - 464, - 465, - 466, - 469, - 470, - 366, - 367, - 885, - 886, + 186, + 187, + 337, + 338, + 225, + 226, + 194, + 195, + 339, + 340, + 341, + 342, + 343, + 344, + 473, + 474, + 475, 476, - 887, - 472 + 479, + 480, + 376, + 377, + 895, + 896, + 486, + 897, + 482 ], "irBases": [ "IAvnAvaloniaObject", @@ -37054,9 +38084,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -37068,9 +38098,9 @@ 57, 58, 59, - 161, - 162, - 163, + 60, + 61, + 62, 164, 165, 166, @@ -37078,13 +38108,16 @@ 168, 169, 170, - 314, - 315, - 642, - 643, - 644, + 171, + 172, + 173, + 317, + 318, 645, - 646 + 646, + 647, + 648, + 649 ] }, { @@ -37111,31 +38144,42 @@ 3 ] }, + { + "name": "IAvnTreeViewSelectionChangedArgs", + "iid": "A29EDF0E-EBE4-5118-99EB-615AE00A6BD5", + "iidConstant": "I_AVN_TREE_VIEW_SELECTION_CHANGED_ARGS_IID", + "abiVersion": 1, + "slots": [ + 0, + 1, + 2, + 9, + 10, + 11, + 12 + ] + }, { "name": "IAvnTreeViewSelectionChangedHandler", - "iid": "ED72A060-42CB-5648-804F-C5DCAB3CD87A", + "iid": "9F8E36AD-6E33-5211-B570-EB8B0C949511", "iidConstant": "I_AVN_TREE_VIEW_SELECTION_CHANGED_HANDLER_IID", - "abiVersion": 1, + "abiVersion": 2, "slots": [ 0, 1, 2, - 3 + 29 ] }, { "name": "IAvnUniformGrid", - "iid": "B6DABE9A-7AED-5BCF-B889-A715EC08D5E4", + "iid": "600B20CC-7AA7-5EC9-B773-A893B4376F95", "iidConstant": "I_AVN_UNIFORM_GRID_IID", - "abiVersion": 8, + "abiVersion": 9, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -37157,11 +38201,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -37198,19 +38242,29 @@ 125, 126, 127, - 326, - 150, - 151, - 888, - 889, - 890, - 891, - 892, - 893, - 491, - 492, - 489, - 490 + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 336, + 160, + 161, + 898, + 899, + 900, + 901, + 902, + 903, + 501, + 502, + 499, + 500 ], "irBases": [ "IAvnAvaloniaObject", @@ -37255,28 +38309,27 @@ 32, 33, 34, - 159, - 160, - 647, - 648, - 649, + 35, + 36, + 37, + 162, + 163, 650, - 651 + 651, + 652, + 653, + 654 ] }, { "name": "IAvnUserControl", - "iid": "61A53A49-AD6E-58C8-88DF-DC3B769CF013", + "iid": "E3ABA05B-DFF9-53C3-8885-CE2D78FEFFFC", "iidConstant": "I_AVN_USER_CONTROL_IID", - "abiVersion": 9, + "abiVersion": 10, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -37298,11 +38351,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -37339,16 +38392,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -37367,14 +38420,24 @@ 175, 176, 177, - 245, - 246, - 247, - 248, - 249, - 250, - 251, - 252 + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, + 255, + 256, + 257, + 258, + 259, + 260, + 261, + 262 ], "irBases": [ "IAvnAvaloniaObject", @@ -37420,9 +38483,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -37434,10 +38497,13 @@ 57, 58, 59, - 101, - 102, - 103, - 104 + 60, + 61, + 62, + 104, + 105, + 106, + 107 ] }, { @@ -37449,27 +38515,23 @@ 0, 1, 2, - 48, - 57, - 58, - 59, 52, - 53 + 61, + 62, + 63, + 56, + 57 ] }, { "name": "IAvnViewbox", - "iid": "4F61E1E8-F773-5195-B8BF-89EF6E8F6C44", + "iid": "3140444B-2172-5105-B7AD-D810D5794C13", "iidConstant": "I_AVN_VIEWBOX_IID", - "abiVersion": 8, + "abiVersion": 9, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -37491,11 +38553,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -37532,12 +38594,22 @@ 125, 126, 127, + 128, + 129, 130, 131, - 538, - 539, - 240, - 241 + 132, + 133, + 134, + 135, + 136, + 137, + 140, + 141, + 548, + 549, + 250, + 251 ], "irBases": [ "IAvnAvaloniaObject", @@ -37581,24 +38653,23 @@ 32, 33, 34, - 652, - 653, - 654 + 35, + 36, + 37, + 655, + 656, + 657 ] }, { "name": "IAvnWindow", - "iid": "BEAAC3C0-855F-5FC1-9750-80C538F7EE87", + "iid": "29E3362E-B16E-5163-AED3-CF14D6B12784", "iidConstant": "I_AVN_WINDOW_IID", - "abiVersion": 18, + "abiVersion": 19, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -37620,11 +38691,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -37661,16 +38732,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -37689,24 +38760,24 @@ 175, 176, 177, - 245, - 246, - 247, - 248, - 249, - 250, - 251, - 252, - 894, - 895, - 896, - 897, - 898, - 899, - 900, - 901, - 902, - 903, + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, + 255, + 256, + 257, + 258, + 259, + 260, + 261, + 262, 904, 905, 906, @@ -37724,20 +38795,30 @@ 918, 919, 920, - 872, - 873, 921, 922, 923, 924, 925, - 413, 926, - 495, 927, 928, 929, - 397 + 930, + 882, + 883, + 931, + 932, + 933, + 934, + 935, + 423, + 936, + 505, + 937, + 938, + 939, + 407 ], "irBases": [ "IAvnAvaloniaObject", @@ -37783,9 +38864,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -37797,13 +38878,13 @@ 57, 58, 59, - 101, - 102, - 103, + 60, + 61, + 62, 104, - 655, - 656, - 657, + 105, + 106, + 107, 658, 659, 660, @@ -37825,7 +38906,10 @@ 676, 677, 678, - 679 + 679, + 680, + 681, + 682 ] }, { @@ -37837,22 +38921,18 @@ 0, 1, 2, - 26 + 30 ] }, { "name": "IAvnWindowNotificationManager", - "iid": "D4C37646-AAD1-5B56-A260-D0AB8CFE0936", + "iid": "7C085288-6201-58A3-BD39-14F23696504B", "iidConstant": "I_AVN_WINDOW_NOTIFICATION_MANAGER_IID", - "abiVersion": 10, + "abiVersion": 11, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -37874,11 +38954,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -37915,16 +38995,16 @@ 125, 126, 127, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, 160, 161, 162, @@ -37943,15 +39023,25 @@ 175, 176, 177, - 930, - 931, - 932, - 933, - 934, - 935, - 936, - 937, - 938 + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, + 940, + 941, + 942, + 943, + 944, + 945, + 946, + 947, + 948 ], "irBases": [ "IAvnAvaloniaObject", @@ -37996,9 +39086,9 @@ 32, 33, 34, - 46, - 47, - 48, + 35, + 36, + 37, 49, 50, 51, @@ -38010,28 +39100,27 @@ 57, 58, 59, - 680, - 681, - 682, + 60, + 61, + 62, 683, 684, 685, - 686 + 686, + 687, + 688, + 689 ] }, { "name": "IAvnWrapPanel", - "iid": "92500527-364F-542C-8DF0-37F08036D83F", + "iid": "802A39C5-57F6-5E1A-9DA8-02634571CF6D", "iidConstant": "I_AVN_WRAP_PANEL_IID", - "abiVersion": 8, + "abiVersion": 9, "slots": [ 0, 1, 2, - 63, - 64, - 65, - 66, 67, 68, 69, @@ -38053,11 +39142,11 @@ 85, 86, 87, - 28, 88, 89, 90, 91, + 32, 92, 93, 94, @@ -38094,21 +39183,31 @@ 125, 126, 127, - 326, - 150, - 151, - 939, - 940, - 778, - 779, - 675, - 676, - 941, - 942, - 943, - 944, - 945, - 946 + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 336, + 160, + 161, + 949, + 950, + 788, + 789, + 685, + 686, + 951, + 952, + 953, + 954, + 955, + 956 ], "irBases": [ "IAvnAvaloniaObject", @@ -38153,14 +39252,17 @@ 32, 33, 34, - 159, - 160, - 687, - 688, - 689, + 35, + 36, + 37, + 162, + 163, 690, 691, - 692 + 692, + 693, + 694, + 695 ] } ] diff --git a/rust/avalonia-bindgen/src/abi_contract.rs b/rust/avalonia-bindgen/src/abi_contract.rs index 0054ce9..e3d761b 100644 --- a/rust/avalonia-bindgen/src/abi_contract.rs +++ b/rust/avalonia-bindgen/src/abi_contract.rs @@ -1,8 +1,8 @@ use crate::ir::ProjectionIr; -use serde::Deserialize; +use serde::{Deserialize, Serialize}; use std::collections::{BTreeMap, HashMap, HashSet}; -#[derive(Clone, Debug, Deserialize, PartialEq, Eq)] +#[derive(Clone, Debug, Deserialize, Serialize, PartialEq, Eq)] #[serde(rename_all = "camelCase")] pub struct AbiBaseline { pub schema_version: i32, @@ -21,7 +21,7 @@ pub struct AbiBaseline { pub interfaces: Vec, } -#[derive(Clone, Debug, Deserialize, PartialEq, Eq)] +#[derive(Clone, Debug, Deserialize, Serialize, PartialEq, Eq)] #[serde(rename_all = "camelCase")] pub struct AbiDefinitions { pub hresult: String, @@ -31,7 +31,7 @@ pub struct AbiDefinitions { pub pointer_model: String, } -#[derive(Clone, Debug, Deserialize, PartialEq, Eq)] +#[derive(Clone, Debug, Deserialize, Serialize, PartialEq, Eq)] #[serde(rename_all = "camelCase")] pub struct RetiredIdentity { pub iid: String, @@ -40,14 +40,14 @@ pub struct RetiredIdentity { pub reason: String, } -#[derive(Clone, Debug, Deserialize, PartialEq, Eq)] +#[derive(Clone, Debug, Deserialize, Serialize, PartialEq, Eq)] #[serde(rename_all = "camelCase")] pub struct AbiValueType { pub name: String, pub fields: Vec, } -#[derive(Clone, Debug, Deserialize, PartialEq, Eq)] +#[derive(Clone, Debug, Deserialize, Serialize, PartialEq, Eq)] #[serde(rename_all = "camelCase")] pub struct AbiField { #[serde(rename = "type")] @@ -55,7 +55,7 @@ pub struct AbiField { pub name: String, } -#[derive(Clone, Debug, Deserialize, PartialEq, Eq)] +#[derive(Clone, Debug, Deserialize, Serialize, PartialEq, Eq)] #[serde(rename_all = "camelCase")] pub struct AbiInterface { pub name: String, @@ -63,13 +63,13 @@ pub struct AbiInterface { pub iid_constant: String, pub abi_version: i32, pub slots: Vec, - #[serde(default)] + #[serde(default, skip_serializing_if = "Vec::is_empty")] pub ir_bases: Vec, - #[serde(default)] + #[serde(default, skip_serializing_if = "Vec::is_empty")] pub ir_members: Vec, } -#[derive(Clone, Debug, Deserialize, PartialEq, Eq)] +#[derive(Clone, Debug, Deserialize, Serialize, PartialEq, Eq)] #[serde(rename_all = "camelCase")] pub struct AbiSlot { pub name: String, @@ -78,7 +78,7 @@ pub struct AbiSlot { pub parameters: Vec, } -#[derive(Clone, Debug, Deserialize, PartialEq, Eq)] +#[derive(Clone, Debug, Deserialize, Serialize, PartialEq, Eq)] #[serde(rename_all = "camelCase")] pub struct AbiParameter { #[serde(rename = "type")] @@ -211,6 +211,42 @@ pub fn attach_ir(inventory: &mut AbiInventory, ir: &ProjectionIr) -> Result<(), Ok(()) } +/// Rebuilds the frozen released-ABI snapshot from the current native header and +/// projection IR. The previous snapshot supplies the producer pin and the retired +/// identity list; both carry forward unchanged. This is the intentional, reviewed +/// way to advance the ABI: change the projection, regenerate, then rewrite the +/// baseline so `identity_breaks` compares future builds against the new release. +pub fn regenerate_baseline(ir_json: &str, header: &str, existing: &str) -> Result { + let ir: ProjectionIr = serde_json::from_str(ir_json) + .map_err(|error| format!("Failed to parse projection IR: {error}"))?; + let previous: AbiBaseline = serde_json::from_str(existing) + .map_err(|error| format!("Failed to parse existing ABI baseline: {error}"))?; + if previous.kind != "released" { + return Err(format!( + "Existing ABI snapshot kind must be 'released', found '{}'.", + previous.kind + )); + } + let mut inventory = parse_header(header)?; + attach_ir(&mut inventory, &ir)?; + let baseline = AbiBaseline { + schema_version: previous.schema_version, + kind: previous.kind, + projection_ir_version: ir.version, + producer_pin: previous.producer_pin, + abi_definitions: inventory.definitions, + retired_identities: previous.retired_identities, + value_types: inventory.value_types, + slot_catalog: inventory.slot_catalog, + ir_member_catalog: inventory.ir_member_catalog, + interfaces: inventory.interfaces, + }; + let mut json = serde_json::to_string_pretty(&baseline) + .map_err(|error| format!("Failed to serialize ABI baseline: {error}"))?; + json.push('\n'); + Ok(json) +} + pub fn identity_breaks( released: &AbiBaseline, current: &AbiInventory, @@ -768,11 +804,17 @@ mod tests { let mut current = parse_header(&mutated).unwrap(); let ir: ProjectionIr = serde_json::from_str(IR_JSON).unwrap(); attach_ir(&mut current, &ir).unwrap(); + let control_iid = &released + .interfaces + .iter() + .find(|interface| interface.name == "IAvnControl") + .expect("the released baseline lists IAvnControl") + .iid[..8]; let breaks = identity_breaks(&released, ¤t).unwrap(); assert!( breaks .iter() - .any(|message| message.contains("06D79016") + .any(|message| message.contains(control_iid) && message.contains("callable signature")), "{breaks:?}" ); diff --git a/rust/avalonia-bindgen/src/lib.rs b/rust/avalonia-bindgen/src/lib.rs index e99835f..117679d 100644 --- a/rust/avalonia-bindgen/src/lib.rs +++ b/rust/avalonia-bindgen/src/lib.rs @@ -1,4 +1,3 @@ -#[cfg(test)] mod abi_contract; mod emit; mod emit_safe; @@ -8,7 +7,7 @@ mod ir; mod owned; mod validate; mod variant; - +pub use abi_contract::regenerate_baseline; pub use error::GenerationError; pub use ir::ProjectionIr; pub use owned::{check_outputs, write_outputs, BINDGEN_GENERATOR_ID}; diff --git a/rust/avalonia-bindgen/src/main.rs b/rust/avalonia-bindgen/src/main.rs index 2e8ee7b..96cc7ae 100644 --- a/rust/avalonia-bindgen/src/main.rs +++ b/rust/avalonia-bindgen/src/main.rs @@ -5,6 +5,12 @@ use std::process::ExitCode; fn main() -> ExitCode { let args: Vec<_> = env::args_os().collect(); + if args + .get(1) + .is_some_and(|argument| argument == "--write-baseline") + { + return write_baseline(&args[2..]); + } let check = args.get(1).is_some_and(|argument| argument == "--check"); let positional: Vec<_> = if check { args[2..].to_vec() @@ -76,3 +82,51 @@ fn main() -> ExitCode { ExitCode::SUCCESS } + +/// Rewrites the frozen released-ABI snapshot from the current header and IR. +/// Run only as part of an intentional ABI release wave; the regenerated +/// baseline makes the change auditable in review and keeps the identity +/// contract test green afterwards. +fn write_baseline(args: &[std::ffi::OsString]) -> ExitCode { + if args.len() != 3 { + eprintln!( + "Usage: avalonia-bindgen --write-baseline " + ); + return ExitCode::from(2); + } + let ir = match fs::read_to_string(&args[0]) { + Ok(value) => value, + Err(error) => { + eprintln!("Failed to read projection IR: {error}"); + return ExitCode::FAILURE; + } + }; + let header = match fs::read_to_string(&args[1]) { + Ok(value) => value, + Err(error) => { + eprintln!("Failed to read native ABI header: {error}"); + return ExitCode::FAILURE; + } + }; + let existing = match fs::read_to_string(&args[2]) { + Ok(value) => value, + Err(error) => { + eprintln!("Failed to read existing ABI baseline: {error}"); + return ExitCode::FAILURE; + } + }; + match avalonia_bindgen::regenerate_baseline(&ir, &header, &existing) { + Ok(json) => { + if let Err(error) = fs::write(&args[2], json) { + eprintln!("Failed to write ABI baseline: {error}"); + return ExitCode::FAILURE; + } + println!("Regenerated the released ABI baseline."); + ExitCode::SUCCESS + } + Err(error) => { + eprintln!("Failed to regenerate ABI baseline: {error}"); + ExitCode::FAILURE + } + } +} diff --git a/rust/avalonia-sys/include/.avalonia-projection.owned.json b/rust/avalonia-sys/include/.avalonia-projection.owned.json index a81daf7..1d2116e 100644 --- a/rust/avalonia-sys/include/.avalonia-projection.owned.json +++ b/rust/avalonia-sys/include/.avalonia-projection.owned.json @@ -3,7 +3,7 @@ "files": [ { "path": "avalonia-rust-abi.h", - "sha256": "3e9eb1227141f3607e36095a08d4420a3606ca8938654cf647ce390ccdcc92e7" + "sha256": "6e2103f6ca4fe368bc48df572d82c6e5c6298713201d8231c39c4cd4409dcb7c" } ] } diff --git a/rust/avalonia-sys/include/avalonia-rust-abi.h b/rust/avalonia-sys/include/avalonia-rust-abi.h index 8579de3..3b8258e 100644 --- a/rust/avalonia-sys/include/avalonia-rust-abi.h +++ b/rust/avalonia-sys/include/avalonia-rust-abi.h @@ -240,12 +240,18 @@ typedef struct IAvnControl IAvnControl; typedef struct IAvnControlVtbl IAvnControlVtbl; typedef struct IAvnControlFactory IAvnControlFactory; typedef struct IAvnControlFactoryVtbl IAvnControlFactoryVtbl; +typedef struct IAvnControlGotFocusHandler IAvnControlGotFocusHandler; +typedef struct IAvnControlGotFocusHandlerVtbl IAvnControlGotFocusHandlerVtbl; typedef struct IAvnControlKeyDownHandler IAvnControlKeyDownHandler; typedef struct IAvnControlKeyDownHandlerVtbl IAvnControlKeyDownHandlerVtbl; +typedef struct IAvnControlKeyUpHandler IAvnControlKeyUpHandler; +typedef struct IAvnControlKeyUpHandlerVtbl IAvnControlKeyUpHandlerVtbl; typedef struct IAvnControlList IAvnControlList; typedef struct IAvnControlListVtbl IAvnControlListVtbl; typedef struct IAvnControlLoadedHandler IAvnControlLoadedHandler; typedef struct IAvnControlLoadedHandlerVtbl IAvnControlLoadedHandlerVtbl; +typedef struct IAvnControlLostFocusHandler IAvnControlLostFocusHandler; +typedef struct IAvnControlLostFocusHandlerVtbl IAvnControlLostFocusHandlerVtbl; typedef struct IAvnControlPointerEnteredHandler IAvnControlPointerEnteredHandler; typedef struct IAvnControlPointerEnteredHandlerVtbl IAvnControlPointerEnteredHandlerVtbl; typedef struct IAvnControlPointerExitedHandler IAvnControlPointerExitedHandler; @@ -412,6 +418,8 @@ typedef struct IAvnSelectedVariantList IAvnSelectedVariantList; typedef struct IAvnSelectedVariantListVtbl IAvnSelectedVariantListVtbl; typedef struct IAvnSelectingItemsControl IAvnSelectingItemsControl; typedef struct IAvnSelectingItemsControlVtbl IAvnSelectingItemsControlVtbl; +typedef struct IAvnSelectingItemsControlSelectionChangedArgs IAvnSelectingItemsControlSelectionChangedArgs; +typedef struct IAvnSelectingItemsControlSelectionChangedArgsVtbl IAvnSelectingItemsControlSelectionChangedArgsVtbl; typedef struct IAvnSelectingItemsControlSelectionChangedHandler IAvnSelectingItemsControlSelectionChangedHandler; typedef struct IAvnSelectingItemsControlSelectionChangedHandlerVtbl IAvnSelectingItemsControlSelectionChangedHandlerVtbl; typedef struct IAvnSeparator IAvnSeparator; @@ -528,6 +536,8 @@ typedef struct IAvnTreeViewItemCollapsedHandler IAvnTreeViewItemCollapsedHandler typedef struct IAvnTreeViewItemCollapsedHandlerVtbl IAvnTreeViewItemCollapsedHandlerVtbl; typedef struct IAvnTreeViewItemExpandedHandler IAvnTreeViewItemExpandedHandler; typedef struct IAvnTreeViewItemExpandedHandlerVtbl IAvnTreeViewItemExpandedHandlerVtbl; +typedef struct IAvnTreeViewSelectionChangedArgs IAvnTreeViewSelectionChangedArgs; +typedef struct IAvnTreeViewSelectionChangedArgsVtbl IAvnTreeViewSelectionChangedArgsVtbl; typedef struct IAvnTreeViewSelectionChangedHandler IAvnTreeViewSelectionChangedHandler; typedef struct IAvnTreeViewSelectionChangedHandlerVtbl IAvnTreeViewSelectionChangedHandlerVtbl; typedef struct IAvnUniformGrid IAvnUniformGrid; @@ -1005,6 +1015,22 @@ struct IAvnContextMenuOpeningHandlerVtbl { struct IAvnContextMenuOpeningHandler { const IAvnContextMenuOpeningHandlerVtbl* vtbl; }; #define I_AVN_CONTEXT_MENU_OPENING_HANDLER_VTABLE_SLOTS 4 +static const AvnGuid I_AVN_CONTROL_GOT_FOCUS_HANDLER_IID = { + 0x6621A073, + 0x4D3B, + 0x54C6, + { 0xA3, 0x2E, 0x57, 0x01, 0xCD, 0xB7, 0x45, 0xAD } +}; +#define I_AVN_CONTROL_GOT_FOCUS_HANDLER_ABI_VERSION 1 +struct IAvnControlGotFocusHandlerVtbl { + AvnHResult (AVN_CALL *query_interface)(IAvnControlGotFocusHandler* self, const AvnGuid* iid, void** result); /* slot 0 */ + uint32_t (AVN_CALL *add_ref)(IAvnControlGotFocusHandler* self); /* slot 1 */ + uint32_t (AVN_CALL *release)(IAvnControlGotFocusHandler* self); /* slot 2 */ + AvnHResult (AVN_CALL *invoke)(IAvnControlGotFocusHandler* self, int32_t navigation_method, int32_t key_modifiers); /* slot 3 */ +}; +struct IAvnControlGotFocusHandler { const IAvnControlGotFocusHandlerVtbl* vtbl; }; +#define I_AVN_CONTROL_GOT_FOCUS_HANDLER_VTABLE_SLOTS 4 + static const AvnGuid I_AVN_CONTROL_KEY_DOWN_HANDLER_IID = { 0x9232F26F, 0x2F3B, @@ -1021,6 +1047,22 @@ struct IAvnControlKeyDownHandlerVtbl { struct IAvnControlKeyDownHandler { const IAvnControlKeyDownHandlerVtbl* vtbl; }; #define I_AVN_CONTROL_KEY_DOWN_HANDLER_VTABLE_SLOTS 4 +static const AvnGuid I_AVN_CONTROL_KEY_UP_HANDLER_IID = { + 0xB4FC3B9A, + 0xCF71, + 0x5EBB, + { 0x98, 0x52, 0xA4, 0x6A, 0xEC, 0x80, 0xC6, 0xFE } +}; +#define I_AVN_CONTROL_KEY_UP_HANDLER_ABI_VERSION 1 +struct IAvnControlKeyUpHandlerVtbl { + AvnHResult (AVN_CALL *query_interface)(IAvnControlKeyUpHandler* self, const AvnGuid* iid, void** result); /* slot 0 */ + uint32_t (AVN_CALL *add_ref)(IAvnControlKeyUpHandler* self); /* slot 1 */ + uint32_t (AVN_CALL *release)(IAvnControlKeyUpHandler* self); /* slot 2 */ + AvnHResult (AVN_CALL *invoke)(IAvnControlKeyUpHandler* self, int32_t key, int32_t physical_key, int32_t key_modifiers, const uint16_t* key_symbol, int32_t* handled); /* slot 3 */ +}; +struct IAvnControlKeyUpHandler { const IAvnControlKeyUpHandlerVtbl* vtbl; }; +#define I_AVN_CONTROL_KEY_UP_HANDLER_VTABLE_SLOTS 4 + static const AvnGuid I_AVN_CONTROL_LOADED_HANDLER_IID = { 0x02529698, 0xA53B, @@ -1037,6 +1079,22 @@ struct IAvnControlLoadedHandlerVtbl { struct IAvnControlLoadedHandler { const IAvnControlLoadedHandlerVtbl* vtbl; }; #define I_AVN_CONTROL_LOADED_HANDLER_VTABLE_SLOTS 4 +static const AvnGuid I_AVN_CONTROL_LOST_FOCUS_HANDLER_IID = { + 0xBB0FBAD2, + 0xDB37, + 0x56AE, + { 0xA3, 0xC2, 0x73, 0xBC, 0x20, 0x30, 0xBD, 0x06 } +}; +#define I_AVN_CONTROL_LOST_FOCUS_HANDLER_ABI_VERSION 1 +struct IAvnControlLostFocusHandlerVtbl { + AvnHResult (AVN_CALL *query_interface)(IAvnControlLostFocusHandler* self, const AvnGuid* iid, void** result); /* slot 0 */ + uint32_t (AVN_CALL *add_ref)(IAvnControlLostFocusHandler* self); /* slot 1 */ + uint32_t (AVN_CALL *release)(IAvnControlLostFocusHandler* self); /* slot 2 */ + AvnHResult (AVN_CALL *invoke)(IAvnControlLostFocusHandler* self); /* slot 3 */ +}; +struct IAvnControlLostFocusHandler { const IAvnControlLostFocusHandlerVtbl* vtbl; }; +#define I_AVN_CONTROL_LOST_FOCUS_HANDLER_VTABLE_SLOTS 4 + static const AvnGuid I_AVN_CONTROL_POINTER_ENTERED_HANDLER_IID = { 0xCC8694AC, 0xC51C, @@ -1406,17 +1464,17 @@ struct IAvnPopupOpenedHandler { const IAvnPopupOpenedHandlerVtbl* vtbl; }; #define I_AVN_POPUP_OPENED_HANDLER_VTABLE_SLOTS 4 static const AvnGuid I_AVN_RANGE_BASE_VALUE_CHANGED_HANDLER_IID = { - 0xDAEDA8F7, - 0xD1F6, - 0x54B6, - { 0x90, 0x0D, 0x4A, 0xAB, 0x0B, 0x0C, 0x72, 0xBA } + 0xD71E5403, + 0x7A7E, + 0x5C5A, + { 0x8A, 0x48, 0x4C, 0x89, 0x34, 0x6F, 0x01, 0x79 } }; -#define I_AVN_RANGE_BASE_VALUE_CHANGED_HANDLER_ABI_VERSION 1 +#define I_AVN_RANGE_BASE_VALUE_CHANGED_HANDLER_ABI_VERSION 2 struct IAvnRangeBaseValueChangedHandlerVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnRangeBaseValueChangedHandler* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnRangeBaseValueChangedHandler* self); /* slot 1 */ uint32_t (AVN_CALL *release)(IAvnRangeBaseValueChangedHandler* self); /* slot 2 */ - AvnHResult (AVN_CALL *invoke)(IAvnRangeBaseValueChangedHandler* self); /* slot 3 */ + AvnHResult (AVN_CALL *invoke)(IAvnRangeBaseValueChangedHandler* self, double old_value, double new_value); /* slot 3 */ }; struct IAvnRangeBaseValueChangedHandler { const IAvnRangeBaseValueChangedHandlerVtbl* vtbl; }; #define I_AVN_RANGE_BASE_VALUE_CHANGED_HANDLER_VTABLE_SLOTS 4 @@ -1469,18 +1527,37 @@ struct IAvnSelectableTextBlockCopyingToClipboardHandlerVtbl { struct IAvnSelectableTextBlockCopyingToClipboardHandler { const IAvnSelectableTextBlockCopyingToClipboardHandlerVtbl* vtbl; }; #define I_AVN_SELECTABLE_TEXT_BLOCK_COPYING_TO_CLIPBOARD_HANDLER_VTABLE_SLOTS 4 +static const AvnGuid I_AVN_SELECTING_ITEMS_CONTROL_SELECTION_CHANGED_ARGS_IID = { + 0xA5A998E3, + 0x805F, + 0x5BB9, + { 0xBE, 0x35, 0x4A, 0xCC, 0xDA, 0x82, 0xBD, 0x37 } +}; +#define I_AVN_SELECTING_ITEMS_CONTROL_SELECTION_CHANGED_ARGS_ABI_VERSION 1 +struct IAvnSelectingItemsControlSelectionChangedArgsVtbl { + AvnHResult (AVN_CALL *query_interface)(IAvnSelectingItemsControlSelectionChangedArgs* self, const AvnGuid* iid, void** result); /* slot 0 */ + uint32_t (AVN_CALL *add_ref)(IAvnSelectingItemsControlSelectionChangedArgs* self); /* slot 1 */ + uint32_t (AVN_CALL *release)(IAvnSelectingItemsControlSelectionChangedArgs* self); /* slot 2 */ + AvnHResult (AVN_CALL *get_added_items_count)(IAvnSelectingItemsControlSelectionChangedArgs* self, int32_t* value); /* slot 3 */ + AvnHResult (AVN_CALL *get_added_items_at)(IAvnSelectingItemsControlSelectionChangedArgs* self, int32_t index, AvnVariant* value); /* slot 4 */ + AvnHResult (AVN_CALL *get_removed_items_count)(IAvnSelectingItemsControlSelectionChangedArgs* self, int32_t* value); /* slot 5 */ + AvnHResult (AVN_CALL *get_removed_items_at)(IAvnSelectingItemsControlSelectionChangedArgs* self, int32_t index, AvnVariant* value); /* slot 6 */ +}; +struct IAvnSelectingItemsControlSelectionChangedArgs { const IAvnSelectingItemsControlSelectionChangedArgsVtbl* vtbl; }; +#define I_AVN_SELECTING_ITEMS_CONTROL_SELECTION_CHANGED_ARGS_VTABLE_SLOTS 7 + static const AvnGuid I_AVN_SELECTING_ITEMS_CONTROL_SELECTION_CHANGED_HANDLER_IID = { - 0x80E817ED, - 0x8F0E, - 0x5208, - { 0x9E, 0xFD, 0xEC, 0xBD, 0xEB, 0xC5, 0x6A, 0x46 } + 0xD9AAACF6, + 0xE516, + 0x52AC, + { 0xAB, 0xBE, 0x3E, 0x02, 0x10, 0x37, 0x91, 0x61 } }; -#define I_AVN_SELECTING_ITEMS_CONTROL_SELECTION_CHANGED_HANDLER_ABI_VERSION 1 +#define I_AVN_SELECTING_ITEMS_CONTROL_SELECTION_CHANGED_HANDLER_ABI_VERSION 2 struct IAvnSelectingItemsControlSelectionChangedHandlerVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnSelectingItemsControlSelectionChangedHandler* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnSelectingItemsControlSelectionChangedHandler* self); /* slot 1 */ uint32_t (AVN_CALL *release)(IAvnSelectingItemsControlSelectionChangedHandler* self); /* slot 2 */ - AvnHResult (AVN_CALL *invoke)(IAvnSelectingItemsControlSelectionChangedHandler* self); /* slot 3 */ + AvnHResult (AVN_CALL *invoke)(IAvnSelectingItemsControlSelectionChangedHandler* self, IAvnSelectingItemsControlSelectionChangedArgs* args); /* slot 3 */ }; struct IAvnSelectingItemsControlSelectionChangedHandler { const IAvnSelectingItemsControlSelectionChangedHandlerVtbl* vtbl; }; #define I_AVN_SELECTING_ITEMS_CONTROL_SELECTION_CHANGED_HANDLER_VTABLE_SLOTS 4 @@ -1917,18 +1994,37 @@ struct IAvnTreeViewItemExpandedHandlerVtbl { struct IAvnTreeViewItemExpandedHandler { const IAvnTreeViewItemExpandedHandlerVtbl* vtbl; }; #define I_AVN_TREE_VIEW_ITEM_EXPANDED_HANDLER_VTABLE_SLOTS 4 +static const AvnGuid I_AVN_TREE_VIEW_SELECTION_CHANGED_ARGS_IID = { + 0xA29EDF0E, + 0xEBE4, + 0x5118, + { 0x99, 0xEB, 0x61, 0x5A, 0xE0, 0x0A, 0x6B, 0xD5 } +}; +#define I_AVN_TREE_VIEW_SELECTION_CHANGED_ARGS_ABI_VERSION 1 +struct IAvnTreeViewSelectionChangedArgsVtbl { + AvnHResult (AVN_CALL *query_interface)(IAvnTreeViewSelectionChangedArgs* self, const AvnGuid* iid, void** result); /* slot 0 */ + uint32_t (AVN_CALL *add_ref)(IAvnTreeViewSelectionChangedArgs* self); /* slot 1 */ + uint32_t (AVN_CALL *release)(IAvnTreeViewSelectionChangedArgs* self); /* slot 2 */ + AvnHResult (AVN_CALL *get_added_items_count)(IAvnTreeViewSelectionChangedArgs* self, int32_t* value); /* slot 3 */ + AvnHResult (AVN_CALL *get_added_items_at)(IAvnTreeViewSelectionChangedArgs* self, int32_t index, AvnVariant* value); /* slot 4 */ + AvnHResult (AVN_CALL *get_removed_items_count)(IAvnTreeViewSelectionChangedArgs* self, int32_t* value); /* slot 5 */ + AvnHResult (AVN_CALL *get_removed_items_at)(IAvnTreeViewSelectionChangedArgs* self, int32_t index, AvnVariant* value); /* slot 6 */ +}; +struct IAvnTreeViewSelectionChangedArgs { const IAvnTreeViewSelectionChangedArgsVtbl* vtbl; }; +#define I_AVN_TREE_VIEW_SELECTION_CHANGED_ARGS_VTABLE_SLOTS 7 + static const AvnGuid I_AVN_TREE_VIEW_SELECTION_CHANGED_HANDLER_IID = { - 0xED72A060, - 0x42CB, - 0x5648, - { 0x80, 0x4F, 0xC5, 0xDC, 0xAB, 0x3C, 0xD8, 0x7A } + 0x9F8E36AD, + 0x6E33, + 0x5211, + { 0xB5, 0x70, 0xEB, 0x8B, 0x0C, 0x94, 0x95, 0x11 } }; -#define I_AVN_TREE_VIEW_SELECTION_CHANGED_HANDLER_ABI_VERSION 1 +#define I_AVN_TREE_VIEW_SELECTION_CHANGED_HANDLER_ABI_VERSION 2 struct IAvnTreeViewSelectionChangedHandlerVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnTreeViewSelectionChangedHandler* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnTreeViewSelectionChangedHandler* self); /* slot 1 */ uint32_t (AVN_CALL *release)(IAvnTreeViewSelectionChangedHandler* self); /* slot 2 */ - AvnHResult (AVN_CALL *invoke)(IAvnTreeViewSelectionChangedHandler* self); /* slot 3 */ + AvnHResult (AVN_CALL *invoke)(IAvnTreeViewSelectionChangedHandler* self, IAvnTreeViewSelectionChangedArgs* args); /* slot 3 */ }; struct IAvnTreeViewSelectionChangedHandler { const IAvnTreeViewSelectionChangedHandlerVtbl* vtbl; }; #define I_AVN_TREE_VIEW_SELECTION_CHANGED_HANDLER_VTABLE_SLOTS 4 @@ -2294,12 +2390,12 @@ struct IAvnVariantList { const IAvnVariantListVtbl* vtbl; }; #define I_AVN_VARIANT_LIST_VTABLE_SLOTS 9 static const AvnGuid I_AVN_ARC_IID = { - 0x80597080, - 0xEEDD, - 0x5CAA, - { 0xB4, 0xF1, 0x88, 0xD7, 0x8C, 0xA2, 0x3B, 0x79 } + 0x394ACB52, + 0x3BF3, + 0x52D6, + { 0x97, 0xE8, 0x4B, 0xF0, 0xC1, 0x02, 0xF4, 0xBE } }; -#define I_AVN_ARC_ABI_VERSION 8 +#define I_AVN_ARC_ABI_VERSION 9 struct IAvnArcVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnArc* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnArc* self); /* slot 1 */ @@ -2364,45 +2460,51 @@ struct IAvnArcVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnArc* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnArc* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnArc* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnArc* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnArc* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnArc* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnArc* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnArc* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnArc* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_fill)(IAvnArc* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_fill)(IAvnArc* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_stretch)(IAvnArc* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_stretch)(IAvnArc* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_stroke)(IAvnArc* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_stroke)(IAvnArc* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_stroke_dash_array)(IAvnArc* self, uint16_t** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_stroke_dash_array)(IAvnArc* self, const uint16_t* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_stroke_dash_offset)(IAvnArc* self, double* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_stroke_dash_offset)(IAvnArc* self, double value); /* slot 78 */ - AvnHResult (AVN_CALL *get_stroke_thickness)(IAvnArc* self, double* value); /* slot 79 */ - AvnHResult (AVN_CALL *set_stroke_thickness)(IAvnArc* self, double value); /* slot 80 */ - AvnHResult (AVN_CALL *get_stroke_line_cap)(IAvnArc* self, int32_t* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_stroke_line_cap)(IAvnArc* self, int32_t value); /* slot 82 */ - AvnHResult (AVN_CALL *get_stroke_join)(IAvnArc* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_stroke_join)(IAvnArc* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_stroke_miter_limit)(IAvnArc* self, double* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_stroke_miter_limit)(IAvnArc* self, double value); /* slot 86 */ - AvnHResult (AVN_CALL *get_start_angle)(IAvnArc* self, double* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_start_angle)(IAvnArc* self, double value); /* slot 88 */ - AvnHResult (AVN_CALL *get_sweep_angle)(IAvnArc* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_sweep_angle)(IAvnArc* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnArc* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnArc* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnArc* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnArc* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnArc* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnArc* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnArc* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnArc* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnArc* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnArc* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnArc* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnArc* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_fill)(IAvnArc* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_fill)(IAvnArc* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_stretch)(IAvnArc* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_stretch)(IAvnArc* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_stroke)(IAvnArc* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_stroke)(IAvnArc* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_stroke_dash_array)(IAvnArc* self, uint16_t** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_stroke_dash_array)(IAvnArc* self, const uint16_t* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_stroke_dash_offset)(IAvnArc* self, double* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_stroke_dash_offset)(IAvnArc* self, double value); /* slot 84 */ + AvnHResult (AVN_CALL *get_stroke_thickness)(IAvnArc* self, double* value); /* slot 85 */ + AvnHResult (AVN_CALL *set_stroke_thickness)(IAvnArc* self, double value); /* slot 86 */ + AvnHResult (AVN_CALL *get_stroke_line_cap)(IAvnArc* self, int32_t* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_stroke_line_cap)(IAvnArc* self, int32_t value); /* slot 88 */ + AvnHResult (AVN_CALL *get_stroke_join)(IAvnArc* self, int32_t* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_stroke_join)(IAvnArc* self, int32_t value); /* slot 90 */ + AvnHResult (AVN_CALL *get_stroke_miter_limit)(IAvnArc* self, double* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_stroke_miter_limit)(IAvnArc* self, double value); /* slot 92 */ + AvnHResult (AVN_CALL *get_start_angle)(IAvnArc* self, double* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_start_angle)(IAvnArc* self, double value); /* slot 94 */ + AvnHResult (AVN_CALL *get_sweep_angle)(IAvnArc* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_sweep_angle)(IAvnArc* self, double value); /* slot 96 */ }; struct IAvnArc { const IAvnArcVtbl* vtbl; }; -#define I_AVN_ARC_VTABLE_SLOTS 91 +#define I_AVN_ARC_VTABLE_SLOTS 97 static const AvnGuid I_AVN_AUTO_COMPLETE_BOX_IID = { - 0x92CEFC39, - 0x4E40, - 0x5193, - { 0x89, 0x3F, 0xF3, 0xE2, 0xC7, 0x7E, 0xD2, 0x4C } + 0x86643B56, + 0xB59D, + 0x5EE3, + { 0x8A, 0x9B, 0xD4, 0x4F, 0x7D, 0xA9, 0x09, 0xE7 } }; -#define I_AVN_AUTO_COMPLETE_BOX_ABI_VERSION 16 +#define I_AVN_AUTO_COMPLETE_BOX_ABI_VERSION 17 struct IAvnAutoCompleteBoxVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnAutoCompleteBox* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnAutoCompleteBox* self); /* slot 1 */ @@ -2467,105 +2569,111 @@ struct IAvnAutoCompleteBoxVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnAutoCompleteBox* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnAutoCompleteBox* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnAutoCompleteBox* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnAutoCompleteBox* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnAutoCompleteBox* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnAutoCompleteBox* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnAutoCompleteBox* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnAutoCompleteBox* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnAutoCompleteBox* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnAutoCompleteBox* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnAutoCompleteBox* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnAutoCompleteBox* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnAutoCompleteBox* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnAutoCompleteBox* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnAutoCompleteBox* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnAutoCompleteBox* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnAutoCompleteBox* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnAutoCompleteBox* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnAutoCompleteBox* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnAutoCompleteBox* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnAutoCompleteBox* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnAutoCompleteBox* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnAutoCompleteBox* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnAutoCompleteBox* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnAutoCompleteBox* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnAutoCompleteBox* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnAutoCompleteBox* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnAutoCompleteBox* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_caret_index)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_caret_index)(IAvnAutoCompleteBox* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_minimum_prefix_length)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_minimum_prefix_length)(IAvnAutoCompleteBox* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_is_text_completion_enabled)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_is_text_completion_enabled)(IAvnAutoCompleteBox* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_item_template)(IAvnAutoCompleteBox* self, IAvnDataTemplate** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_item_template)(IAvnAutoCompleteBox* self, IAvnDataTemplate* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_minimum_populate_delay)(IAvnAutoCompleteBox* self, int64_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_minimum_populate_delay)(IAvnAutoCompleteBox* self, int64_t value); /* slot 106 */ - AvnHResult (AVN_CALL *get_max_drop_down_height)(IAvnAutoCompleteBox* self, double* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_max_drop_down_height)(IAvnAutoCompleteBox* self, double value); /* slot 108 */ - AvnHResult (AVN_CALL *get_is_drop_down_open)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_is_drop_down_open)(IAvnAutoCompleteBox* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_clear_selection_on_lost_focus)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_clear_selection_on_lost_focus)(IAvnAutoCompleteBox* self, int32_t value); /* slot 112 */ - AvnHResult (AVN_CALL *get_selected_item)(IAvnAutoCompleteBox* self, AvnVariant* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_selected_item)(IAvnAutoCompleteBox* self, AvnVariant value); /* slot 114 */ - AvnHResult (AVN_CALL *get_text)(IAvnAutoCompleteBox* self, uint16_t** value); /* slot 115 */ - AvnHResult (AVN_CALL *set_text)(IAvnAutoCompleteBox* self, const uint16_t* value); /* slot 116 */ - AvnHResult (AVN_CALL *get_search_text)(IAvnAutoCompleteBox* self, uint16_t** value); /* slot 117 */ - AvnHResult (AVN_CALL *get_filter_mode)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 118 */ - AvnHResult (AVN_CALL *set_filter_mode)(IAvnAutoCompleteBox* self, int32_t value); /* slot 119 */ - AvnHResult (AVN_CALL *get_placeholder_text)(IAvnAutoCompleteBox* self, uint16_t** value); /* slot 120 */ - AvnHResult (AVN_CALL *set_placeholder_text)(IAvnAutoCompleteBox* self, const uint16_t* value); /* slot 121 */ - AvnHResult (AVN_CALL *get_placeholder_foreground)(IAvnAutoCompleteBox* self, IAvnBrush** value); /* slot 122 */ - AvnHResult (AVN_CALL *set_placeholder_foreground)(IAvnAutoCompleteBox* self, IAvnBrush* value); /* slot 123 */ - AvnHResult (AVN_CALL *get_item_filter)(IAvnAutoCompleteBox* self, IAvnItemFilter** value); /* slot 124 */ - AvnHResult (AVN_CALL *set_item_filter)(IAvnAutoCompleteBox* self, IAvnItemFilter* value); /* slot 125 */ - AvnHResult (AVN_CALL *get_text_filter)(IAvnAutoCompleteBox* self, IAvnTextFilter** value); /* slot 126 */ - AvnHResult (AVN_CALL *set_text_filter)(IAvnAutoCompleteBox* self, IAvnTextFilter* value); /* slot 127 */ - AvnHResult (AVN_CALL *get_item_selector)(IAvnAutoCompleteBox* self, IAvnItemSelector** value); /* slot 128 */ - AvnHResult (AVN_CALL *set_item_selector)(IAvnAutoCompleteBox* self, IAvnItemSelector* value); /* slot 129 */ - AvnHResult (AVN_CALL *get_text_selector)(IAvnAutoCompleteBox* self, IAvnTextSelector** value); /* slot 130 */ - AvnHResult (AVN_CALL *set_text_selector)(IAvnAutoCompleteBox* self, IAvnTextSelector* value); /* slot 131 */ - AvnHResult (AVN_CALL *get_async_populator)(IAvnAutoCompleteBox* self, IAvnAsyncPopulator** value); /* slot 132 */ - AvnHResult (AVN_CALL *set_async_populator)(IAvnAutoCompleteBox* self, IAvnAsyncPopulator* value); /* slot 133 */ - AvnHResult (AVN_CALL *get_items_source)(IAvnAutoCompleteBox* self, IAvnVariantList** value); /* slot 134 */ - AvnHResult (AVN_CALL *set_items_source)(IAvnAutoCompleteBox* self, IAvnVariantList* value); /* slot 135 */ - AvnHResult (AVN_CALL *get_max_length)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 136 */ - AvnHResult (AVN_CALL *set_max_length)(IAvnAutoCompleteBox* self, int32_t value); /* slot 137 */ - AvnHResult (AVN_CALL *get_inner_left_content)(IAvnAutoCompleteBox* self, IAvnControl** value); /* slot 138 */ - AvnHResult (AVN_CALL *set_inner_left_content)(IAvnAutoCompleteBox* self, IAvnControl* value); /* slot 139 */ - AvnHResult (AVN_CALL *get_inner_right_content)(IAvnAutoCompleteBox* self, IAvnControl** value); /* slot 140 */ - AvnHResult (AVN_CALL *set_inner_right_content)(IAvnAutoCompleteBox* self, IAvnControl* value); /* slot 141 */ - AvnHResult (AVN_CALL *populate_complete)(IAvnAutoCompleteBox* self); /* slot 142 */ - AvnHResult (AVN_CALL *advise_text_changed)(IAvnAutoCompleteBox* self, IAvnAutoCompleteBoxTextChangedHandler* handler, int64_t* subscription_id); /* slot 143 */ - AvnHResult (AVN_CALL *unadvise_text_changed)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 144 */ - AvnHResult (AVN_CALL *advise_populating)(IAvnAutoCompleteBox* self, IAvnAutoCompleteBoxPopulatingHandler* handler, int64_t* subscription_id); /* slot 145 */ - AvnHResult (AVN_CALL *unadvise_populating)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 146 */ - AvnHResult (AVN_CALL *advise_populated)(IAvnAutoCompleteBox* self, IAvnAutoCompleteBoxPopulatedHandler* handler, int64_t* subscription_id); /* slot 147 */ - AvnHResult (AVN_CALL *unadvise_populated)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 148 */ - AvnHResult (AVN_CALL *advise_drop_down_opening)(IAvnAutoCompleteBox* self, IAvnAutoCompleteBoxDropDownOpeningHandler* handler, int64_t* subscription_id); /* slot 149 */ - AvnHResult (AVN_CALL *unadvise_drop_down_opening)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 150 */ - AvnHResult (AVN_CALL *advise_drop_down_opened)(IAvnAutoCompleteBox* self, IAvnAutoCompleteBoxDropDownOpenedHandler* handler, int64_t* subscription_id); /* slot 151 */ - AvnHResult (AVN_CALL *unadvise_drop_down_opened)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 152 */ - AvnHResult (AVN_CALL *advise_drop_down_closing)(IAvnAutoCompleteBox* self, IAvnAutoCompleteBoxDropDownClosingHandler* handler, int64_t* subscription_id); /* slot 153 */ - AvnHResult (AVN_CALL *unadvise_drop_down_closing)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 154 */ - AvnHResult (AVN_CALL *advise_drop_down_closed)(IAvnAutoCompleteBox* self, IAvnAutoCompleteBoxDropDownClosedHandler* handler, int64_t* subscription_id); /* slot 155 */ - AvnHResult (AVN_CALL *unadvise_drop_down_closed)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 156 */ - AvnHResult (AVN_CALL *advise_selection_changed)(IAvnAutoCompleteBox* self, IAvnAutoCompleteBoxSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 157 */ - AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 158 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnAutoCompleteBox* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnAutoCompleteBox* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnAutoCompleteBox* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnAutoCompleteBox* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnAutoCompleteBox* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnAutoCompleteBox* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnAutoCompleteBox* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnAutoCompleteBox* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnAutoCompleteBox* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnAutoCompleteBox* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnAutoCompleteBox* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnAutoCompleteBox* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnAutoCompleteBox* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnAutoCompleteBox* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnAutoCompleteBox* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnAutoCompleteBox* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnAutoCompleteBox* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnAutoCompleteBox* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnAutoCompleteBox* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnAutoCompleteBox* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnAutoCompleteBox* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnAutoCompleteBox* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnAutoCompleteBox* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnAutoCompleteBox* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnAutoCompleteBox* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnAutoCompleteBox* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnAutoCompleteBox* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnAutoCompleteBox* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnAutoCompleteBox* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnAutoCompleteBox* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_caret_index)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 103 */ + AvnHResult (AVN_CALL *set_caret_index)(IAvnAutoCompleteBox* self, int32_t value); /* slot 104 */ + AvnHResult (AVN_CALL *get_minimum_prefix_length)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_minimum_prefix_length)(IAvnAutoCompleteBox* self, int32_t value); /* slot 106 */ + AvnHResult (AVN_CALL *get_is_text_completion_enabled)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_is_text_completion_enabled)(IAvnAutoCompleteBox* self, int32_t value); /* slot 108 */ + AvnHResult (AVN_CALL *get_item_template)(IAvnAutoCompleteBox* self, IAvnDataTemplate** value); /* slot 109 */ + AvnHResult (AVN_CALL *set_item_template)(IAvnAutoCompleteBox* self, IAvnDataTemplate* value); /* slot 110 */ + AvnHResult (AVN_CALL *get_minimum_populate_delay)(IAvnAutoCompleteBox* self, int64_t* value); /* slot 111 */ + AvnHResult (AVN_CALL *set_minimum_populate_delay)(IAvnAutoCompleteBox* self, int64_t value); /* slot 112 */ + AvnHResult (AVN_CALL *get_max_drop_down_height)(IAvnAutoCompleteBox* self, double* value); /* slot 113 */ + AvnHResult (AVN_CALL *set_max_drop_down_height)(IAvnAutoCompleteBox* self, double value); /* slot 114 */ + AvnHResult (AVN_CALL *get_is_drop_down_open)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_is_drop_down_open)(IAvnAutoCompleteBox* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_clear_selection_on_lost_focus)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_clear_selection_on_lost_focus)(IAvnAutoCompleteBox* self, int32_t value); /* slot 118 */ + AvnHResult (AVN_CALL *get_selected_item)(IAvnAutoCompleteBox* self, AvnVariant* value); /* slot 119 */ + AvnHResult (AVN_CALL *set_selected_item)(IAvnAutoCompleteBox* self, AvnVariant value); /* slot 120 */ + AvnHResult (AVN_CALL *get_text)(IAvnAutoCompleteBox* self, uint16_t** value); /* slot 121 */ + AvnHResult (AVN_CALL *set_text)(IAvnAutoCompleteBox* self, const uint16_t* value); /* slot 122 */ + AvnHResult (AVN_CALL *get_search_text)(IAvnAutoCompleteBox* self, uint16_t** value); /* slot 123 */ + AvnHResult (AVN_CALL *get_filter_mode)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 124 */ + AvnHResult (AVN_CALL *set_filter_mode)(IAvnAutoCompleteBox* self, int32_t value); /* slot 125 */ + AvnHResult (AVN_CALL *get_placeholder_text)(IAvnAutoCompleteBox* self, uint16_t** value); /* slot 126 */ + AvnHResult (AVN_CALL *set_placeholder_text)(IAvnAutoCompleteBox* self, const uint16_t* value); /* slot 127 */ + AvnHResult (AVN_CALL *get_placeholder_foreground)(IAvnAutoCompleteBox* self, IAvnBrush** value); /* slot 128 */ + AvnHResult (AVN_CALL *set_placeholder_foreground)(IAvnAutoCompleteBox* self, IAvnBrush* value); /* slot 129 */ + AvnHResult (AVN_CALL *get_item_filter)(IAvnAutoCompleteBox* self, IAvnItemFilter** value); /* slot 130 */ + AvnHResult (AVN_CALL *set_item_filter)(IAvnAutoCompleteBox* self, IAvnItemFilter* value); /* slot 131 */ + AvnHResult (AVN_CALL *get_text_filter)(IAvnAutoCompleteBox* self, IAvnTextFilter** value); /* slot 132 */ + AvnHResult (AVN_CALL *set_text_filter)(IAvnAutoCompleteBox* self, IAvnTextFilter* value); /* slot 133 */ + AvnHResult (AVN_CALL *get_item_selector)(IAvnAutoCompleteBox* self, IAvnItemSelector** value); /* slot 134 */ + AvnHResult (AVN_CALL *set_item_selector)(IAvnAutoCompleteBox* self, IAvnItemSelector* value); /* slot 135 */ + AvnHResult (AVN_CALL *get_text_selector)(IAvnAutoCompleteBox* self, IAvnTextSelector** value); /* slot 136 */ + AvnHResult (AVN_CALL *set_text_selector)(IAvnAutoCompleteBox* self, IAvnTextSelector* value); /* slot 137 */ + AvnHResult (AVN_CALL *get_async_populator)(IAvnAutoCompleteBox* self, IAvnAsyncPopulator** value); /* slot 138 */ + AvnHResult (AVN_CALL *set_async_populator)(IAvnAutoCompleteBox* self, IAvnAsyncPopulator* value); /* slot 139 */ + AvnHResult (AVN_CALL *get_items_source)(IAvnAutoCompleteBox* self, IAvnVariantList** value); /* slot 140 */ + AvnHResult (AVN_CALL *set_items_source)(IAvnAutoCompleteBox* self, IAvnVariantList* value); /* slot 141 */ + AvnHResult (AVN_CALL *get_max_length)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 142 */ + AvnHResult (AVN_CALL *set_max_length)(IAvnAutoCompleteBox* self, int32_t value); /* slot 143 */ + AvnHResult (AVN_CALL *get_inner_left_content)(IAvnAutoCompleteBox* self, IAvnControl** value); /* slot 144 */ + AvnHResult (AVN_CALL *set_inner_left_content)(IAvnAutoCompleteBox* self, IAvnControl* value); /* slot 145 */ + AvnHResult (AVN_CALL *get_inner_right_content)(IAvnAutoCompleteBox* self, IAvnControl** value); /* slot 146 */ + AvnHResult (AVN_CALL *set_inner_right_content)(IAvnAutoCompleteBox* self, IAvnControl* value); /* slot 147 */ + AvnHResult (AVN_CALL *populate_complete)(IAvnAutoCompleteBox* self); /* slot 148 */ + AvnHResult (AVN_CALL *advise_text_changed)(IAvnAutoCompleteBox* self, IAvnAutoCompleteBoxTextChangedHandler* handler, int64_t* subscription_id); /* slot 149 */ + AvnHResult (AVN_CALL *unadvise_text_changed)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 150 */ + AvnHResult (AVN_CALL *advise_populating)(IAvnAutoCompleteBox* self, IAvnAutoCompleteBoxPopulatingHandler* handler, int64_t* subscription_id); /* slot 151 */ + AvnHResult (AVN_CALL *unadvise_populating)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 152 */ + AvnHResult (AVN_CALL *advise_populated)(IAvnAutoCompleteBox* self, IAvnAutoCompleteBoxPopulatedHandler* handler, int64_t* subscription_id); /* slot 153 */ + AvnHResult (AVN_CALL *unadvise_populated)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 154 */ + AvnHResult (AVN_CALL *advise_drop_down_opening)(IAvnAutoCompleteBox* self, IAvnAutoCompleteBoxDropDownOpeningHandler* handler, int64_t* subscription_id); /* slot 155 */ + AvnHResult (AVN_CALL *unadvise_drop_down_opening)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 156 */ + AvnHResult (AVN_CALL *advise_drop_down_opened)(IAvnAutoCompleteBox* self, IAvnAutoCompleteBoxDropDownOpenedHandler* handler, int64_t* subscription_id); /* slot 157 */ + AvnHResult (AVN_CALL *unadvise_drop_down_opened)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 158 */ + AvnHResult (AVN_CALL *advise_drop_down_closing)(IAvnAutoCompleteBox* self, IAvnAutoCompleteBoxDropDownClosingHandler* handler, int64_t* subscription_id); /* slot 159 */ + AvnHResult (AVN_CALL *unadvise_drop_down_closing)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 160 */ + AvnHResult (AVN_CALL *advise_drop_down_closed)(IAvnAutoCompleteBox* self, IAvnAutoCompleteBoxDropDownClosedHandler* handler, int64_t* subscription_id); /* slot 161 */ + AvnHResult (AVN_CALL *unadvise_drop_down_closed)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 162 */ + AvnHResult (AVN_CALL *advise_selection_changed)(IAvnAutoCompleteBox* self, IAvnAutoCompleteBoxSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 163 */ + AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 164 */ }; struct IAvnAutoCompleteBox { const IAvnAutoCompleteBoxVtbl* vtbl; }; -#define I_AVN_AUTO_COMPLETE_BOX_VTABLE_SLOTS 159 +#define I_AVN_AUTO_COMPLETE_BOX_VTABLE_SLOTS 165 static const AvnGuid I_AVN_AVALONIA_OBJECT_IID = { 0xFA7F2E03, @@ -2585,12 +2693,12 @@ struct IAvnAvaloniaObject { const IAvnAvaloniaObjectVtbl* vtbl; }; #define I_AVN_AVALONIA_OBJECT_VTABLE_SLOTS 5 static const AvnGuid I_AVN_BORDER_IID = { - 0x80C1079E, - 0xAFDF, - 0x5483, - { 0xA5, 0x60, 0x2D, 0xDB, 0x47, 0x5C, 0xF8, 0x94 } + 0xDFE5487A, + 0xB7C3, + 0x5DD1, + { 0xA6, 0xEF, 0x0C, 0xC9, 0xB9, 0xE6, 0xFC, 0x9C } }; -#define I_AVN_BORDER_ABI_VERSION 12 +#define I_AVN_BORDER_ABI_VERSION 13 struct IAvnBorderVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnBorder* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnBorder* self); /* slot 1 */ @@ -2655,40 +2763,46 @@ struct IAvnBorderVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnBorder* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnBorder* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnBorder* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnBorder* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnBorder* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnBorder* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnBorder* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnBorder* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnBorder* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_child)(IAvnBorder* self, IAvnControl** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_child)(IAvnBorder* self, IAvnControl* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_padding)(IAvnBorder* self, AvnThickness* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_padding)(IAvnBorder* self, AvnThickness value); /* slot 72 */ - AvnHResult (AVN_CALL *get_background)(IAvnBorder* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_background)(IAvnBorder* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnBorder* self, int32_t* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnBorder* self, int32_t value); /* slot 76 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnBorder* self, IAvnBrush** value); /* slot 77 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnBorder* self, IAvnBrush* value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnBorder* self, AvnThickness* value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnBorder* self, AvnThickness value); /* slot 80 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnBorder* self, AvnCornerRadius* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnBorder* self, AvnCornerRadius value); /* slot 82 */ - AvnHResult (AVN_CALL *get_box_shadow)(IAvnBorder* self, uint16_t** value); /* slot 83 */ - AvnHResult (AVN_CALL *set_box_shadow)(IAvnBorder* self, const uint16_t* value); /* slot 84 */ - AvnHResult (AVN_CALL *get_clip_to_bounds_radius)(IAvnBorder* self, AvnCornerRadius* value); /* slot 85 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnBorder* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnBorder* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnBorder* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnBorder* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnBorder* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnBorder* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnBorder* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnBorder* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnBorder* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnBorder* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnBorder* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnBorder* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_child)(IAvnBorder* self, IAvnControl** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_child)(IAvnBorder* self, IAvnControl* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_padding)(IAvnBorder* self, AvnThickness* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_padding)(IAvnBorder* self, AvnThickness value); /* slot 78 */ + AvnHResult (AVN_CALL *get_background)(IAvnBorder* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_background)(IAvnBorder* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnBorder* self, int32_t* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnBorder* self, int32_t value); /* slot 82 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnBorder* self, IAvnBrush** value); /* slot 83 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnBorder* self, IAvnBrush* value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnBorder* self, AvnThickness* value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnBorder* self, AvnThickness value); /* slot 86 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnBorder* self, AvnCornerRadius* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnBorder* self, AvnCornerRadius value); /* slot 88 */ + AvnHResult (AVN_CALL *get_box_shadow)(IAvnBorder* self, uint16_t** value); /* slot 89 */ + AvnHResult (AVN_CALL *set_box_shadow)(IAvnBorder* self, const uint16_t* value); /* slot 90 */ + AvnHResult (AVN_CALL *get_clip_to_bounds_radius)(IAvnBorder* self, AvnCornerRadius* value); /* slot 91 */ }; struct IAvnBorder { const IAvnBorderVtbl* vtbl; }; -#define I_AVN_BORDER_VTABLE_SLOTS 86 +#define I_AVN_BORDER_VTABLE_SLOTS 92 static const AvnGuid I_AVN_BUTTON_IID = { - 0x62D66949, - 0x2173, - 0x5007, - { 0x96, 0x13, 0x1F, 0x4B, 0x3E, 0x7C, 0x14, 0x4E } + 0x39E10286, + 0x7BB7, + 0x511B, + { 0x88, 0x85, 0x73, 0x3B, 0x3A, 0xB3, 0x80, 0xF6 } }; -#define I_AVN_BUTTON_ABI_VERSION 16 +#define I_AVN_BUTTON_ABI_VERSION 17 struct IAvnButtonVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnButton* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnButton* self); /* slot 1 */ @@ -2753,76 +2867,82 @@ struct IAvnButtonVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnButton* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnButton* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnButton* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnButton* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnButton* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnButton* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnButton* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnButton* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnButton* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnButton* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnButton* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnButton* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnButton* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnButton* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnButton* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnButton* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnButton* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnButton* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnButton* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnButton* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnButton* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnButton* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnButton* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnButton* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnButton* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnButton* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnButton* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnButton* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnButton* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnButton* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnButton* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnButton* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnButton* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnButton* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnButton* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnButton* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnButton* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_content)(IAvnButton* self, IAvnControl** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_content)(IAvnButton* self, IAvnControl* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnButton* self, IAvnDataTemplate** value); /* slot 99 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnButton* self, IAvnDataTemplate* value); /* slot 100 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnButton* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnButton* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnButton* self, int32_t* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnButton* self, int32_t value); /* slot 104 */ - AvnHResult (AVN_CALL *get_click_mode)(IAvnButton* self, int32_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_click_mode)(IAvnButton* self, int32_t value); /* slot 106 */ - AvnHResult (AVN_CALL *get_command)(IAvnButton* self, IAvnCommand** value); /* slot 107 */ - AvnHResult (AVN_CALL *set_command)(IAvnButton* self, IAvnCommand* value); /* slot 108 */ - AvnHResult (AVN_CALL *get_hot_key)(IAvnButton* self, uint16_t** value); /* slot 109 */ - AvnHResult (AVN_CALL *set_hot_key)(IAvnButton* self, const uint16_t* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_command_parameter)(IAvnButton* self, AvnVariant* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_command_parameter)(IAvnButton* self, AvnVariant value); /* slot 112 */ - AvnHResult (AVN_CALL *get_is_default)(IAvnButton* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_is_default)(IAvnButton* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_is_cancel)(IAvnButton* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_is_cancel)(IAvnButton* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_is_pressed)(IAvnButton* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *get_flyout)(IAvnButton* self, IAvnFlyoutBase** value); /* slot 118 */ - AvnHResult (AVN_CALL *set_flyout)(IAvnButton* self, IAvnFlyoutBase* value); /* slot 119 */ - AvnHResult (AVN_CALL *advise_click)(IAvnButton* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 120 */ - AvnHResult (AVN_CALL *unadvise_click)(IAvnButton* self, int64_t subscription_id); /* slot 121 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnButton* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnButton* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnButton* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnButton* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnButton* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnButton* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnButton* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnButton* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnButton* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnButton* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnButton* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnButton* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnButton* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnButton* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnButton* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnButton* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnButton* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnButton* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnButton* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnButton* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnButton* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnButton* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnButton* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnButton* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnButton* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnButton* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnButton* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnButton* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnButton* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnButton* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnButton* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnButton* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnButton* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnButton* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnButton* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnButton* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnButton* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnButton* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnButton* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnButton* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_content)(IAvnButton* self, IAvnControl** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_content)(IAvnButton* self, IAvnControl* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnButton* self, IAvnDataTemplate** value); /* slot 105 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnButton* self, IAvnDataTemplate* value); /* slot 106 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnButton* self, int32_t* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnButton* self, int32_t value); /* slot 108 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnButton* self, int32_t* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnButton* self, int32_t value); /* slot 110 */ + AvnHResult (AVN_CALL *get_click_mode)(IAvnButton* self, int32_t* value); /* slot 111 */ + AvnHResult (AVN_CALL *set_click_mode)(IAvnButton* self, int32_t value); /* slot 112 */ + AvnHResult (AVN_CALL *get_command)(IAvnButton* self, IAvnCommand** value); /* slot 113 */ + AvnHResult (AVN_CALL *set_command)(IAvnButton* self, IAvnCommand* value); /* slot 114 */ + AvnHResult (AVN_CALL *get_hot_key)(IAvnButton* self, uint16_t** value); /* slot 115 */ + AvnHResult (AVN_CALL *set_hot_key)(IAvnButton* self, const uint16_t* value); /* slot 116 */ + AvnHResult (AVN_CALL *get_command_parameter)(IAvnButton* self, AvnVariant* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_command_parameter)(IAvnButton* self, AvnVariant value); /* slot 118 */ + AvnHResult (AVN_CALL *get_is_default)(IAvnButton* self, int32_t* value); /* slot 119 */ + AvnHResult (AVN_CALL *set_is_default)(IAvnButton* self, int32_t value); /* slot 120 */ + AvnHResult (AVN_CALL *get_is_cancel)(IAvnButton* self, int32_t* value); /* slot 121 */ + AvnHResult (AVN_CALL *set_is_cancel)(IAvnButton* self, int32_t value); /* slot 122 */ + AvnHResult (AVN_CALL *get_is_pressed)(IAvnButton* self, int32_t* value); /* slot 123 */ + AvnHResult (AVN_CALL *get_flyout)(IAvnButton* self, IAvnFlyoutBase** value); /* slot 124 */ + AvnHResult (AVN_CALL *set_flyout)(IAvnButton* self, IAvnFlyoutBase* value); /* slot 125 */ + AvnHResult (AVN_CALL *advise_click)(IAvnButton* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 126 */ + AvnHResult (AVN_CALL *unadvise_click)(IAvnButton* self, int64_t subscription_id); /* slot 127 */ }; struct IAvnButton { const IAvnButtonVtbl* vtbl; }; -#define I_AVN_BUTTON_VTABLE_SLOTS 122 +#define I_AVN_BUTTON_VTABLE_SLOTS 128 static const AvnGuid I_AVN_BUTTON_SPINNER_IID = { - 0x046C4736, - 0xCECE, - 0x5455, - { 0x98, 0xA8, 0xF2, 0xDD, 0x3C, 0x84, 0xC8, 0x46 } + 0x121045E2, + 0x0F99, + 0x5036, + { 0xA5, 0xF8, 0x37, 0x3B, 0x15, 0xBC, 0x64, 0x49 } }; -#define I_AVN_BUTTON_SPINNER_ABI_VERSION 9 +#define I_AVN_BUTTON_SPINNER_ABI_VERSION 10 struct IAvnButtonSpinnerVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnButtonSpinner* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnButtonSpinner* self); /* slot 1 */ @@ -2887,69 +3007,75 @@ struct IAvnButtonSpinnerVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnButtonSpinner* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnButtonSpinner* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnButtonSpinner* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnButtonSpinner* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnButtonSpinner* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnButtonSpinner* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnButtonSpinner* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnButtonSpinner* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnButtonSpinner* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnButtonSpinner* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnButtonSpinner* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnButtonSpinner* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnButtonSpinner* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnButtonSpinner* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnButtonSpinner* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnButtonSpinner* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnButtonSpinner* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnButtonSpinner* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnButtonSpinner* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnButtonSpinner* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnButtonSpinner* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnButtonSpinner* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnButtonSpinner* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnButtonSpinner* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnButtonSpinner* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnButtonSpinner* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnButtonSpinner* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnButtonSpinner* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnButtonSpinner* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnButtonSpinner* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnButtonSpinner* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnButtonSpinner* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnButtonSpinner* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnButtonSpinner* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnButtonSpinner* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnButtonSpinner* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnButtonSpinner* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_content)(IAvnButtonSpinner* self, IAvnControl** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_content)(IAvnButtonSpinner* self, IAvnControl* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnButtonSpinner* self, IAvnDataTemplate** value); /* slot 99 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnButtonSpinner* self, IAvnDataTemplate* value); /* slot 100 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnButtonSpinner* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnButtonSpinner* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnButtonSpinner* self, int32_t* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnButtonSpinner* self, int32_t value); /* slot 104 */ - AvnHResult (AVN_CALL *get_valid_spin_direction)(IAvnButtonSpinner* self, int32_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_valid_spin_direction)(IAvnButtonSpinner* self, int32_t value); /* slot 106 */ - AvnHResult (AVN_CALL *advise_spin)(IAvnButtonSpinner* self, IAvnSpinnerSpinHandler* handler, int64_t* subscription_id); /* slot 107 */ - AvnHResult (AVN_CALL *unadvise_spin)(IAvnButtonSpinner* self, int64_t subscription_id); /* slot 108 */ - AvnHResult (AVN_CALL *get_allow_spin)(IAvnButtonSpinner* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_allow_spin)(IAvnButtonSpinner* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_show_button_spinner)(IAvnButtonSpinner* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_show_button_spinner)(IAvnButtonSpinner* self, int32_t value); /* slot 112 */ - AvnHResult (AVN_CALL *get_button_spinner_location)(IAvnButtonSpinner* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_button_spinner_location)(IAvnButtonSpinner* self, int32_t value); /* slot 114 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnButtonSpinner* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnButtonSpinner* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnButtonSpinner* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnButtonSpinner* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnButtonSpinner* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnButtonSpinner* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnButtonSpinner* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnButtonSpinner* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnButtonSpinner* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnButtonSpinner* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnButtonSpinner* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnButtonSpinner* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnButtonSpinner* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnButtonSpinner* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnButtonSpinner* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnButtonSpinner* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnButtonSpinner* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnButtonSpinner* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnButtonSpinner* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnButtonSpinner* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnButtonSpinner* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnButtonSpinner* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnButtonSpinner* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnButtonSpinner* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnButtonSpinner* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnButtonSpinner* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnButtonSpinner* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnButtonSpinner* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnButtonSpinner* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnButtonSpinner* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnButtonSpinner* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnButtonSpinner* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnButtonSpinner* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnButtonSpinner* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnButtonSpinner* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnButtonSpinner* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnButtonSpinner* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnButtonSpinner* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnButtonSpinner* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnButtonSpinner* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_content)(IAvnButtonSpinner* self, IAvnControl** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_content)(IAvnButtonSpinner* self, IAvnControl* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnButtonSpinner* self, IAvnDataTemplate** value); /* slot 105 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnButtonSpinner* self, IAvnDataTemplate* value); /* slot 106 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnButtonSpinner* self, int32_t* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnButtonSpinner* self, int32_t value); /* slot 108 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnButtonSpinner* self, int32_t* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnButtonSpinner* self, int32_t value); /* slot 110 */ + AvnHResult (AVN_CALL *get_valid_spin_direction)(IAvnButtonSpinner* self, int32_t* value); /* slot 111 */ + AvnHResult (AVN_CALL *set_valid_spin_direction)(IAvnButtonSpinner* self, int32_t value); /* slot 112 */ + AvnHResult (AVN_CALL *advise_spin)(IAvnButtonSpinner* self, IAvnSpinnerSpinHandler* handler, int64_t* subscription_id); /* slot 113 */ + AvnHResult (AVN_CALL *unadvise_spin)(IAvnButtonSpinner* self, int64_t subscription_id); /* slot 114 */ + AvnHResult (AVN_CALL *get_allow_spin)(IAvnButtonSpinner* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_allow_spin)(IAvnButtonSpinner* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_show_button_spinner)(IAvnButtonSpinner* self, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_show_button_spinner)(IAvnButtonSpinner* self, int32_t value); /* slot 118 */ + AvnHResult (AVN_CALL *get_button_spinner_location)(IAvnButtonSpinner* self, int32_t* value); /* slot 119 */ + AvnHResult (AVN_CALL *set_button_spinner_location)(IAvnButtonSpinner* self, int32_t value); /* slot 120 */ }; struct IAvnButtonSpinner { const IAvnButtonSpinnerVtbl* vtbl; }; -#define I_AVN_BUTTON_SPINNER_VTABLE_SLOTS 115 +#define I_AVN_BUTTON_SPINNER_VTABLE_SLOTS 121 static const AvnGuid I_AVN_CALENDAR_IID = { - 0xF1D659B7, - 0x93E5, - 0x5093, - { 0x9D, 0x16, 0xC4, 0x80, 0xF7, 0x52, 0x0E, 0x14 } + 0xD1959E20, + 0xE08E, + 0x5A66, + { 0xA6, 0x3B, 0x4B, 0xD7, 0x14, 0xE6, 0x09, 0xD7 } }; -#define I_AVN_CALENDAR_ABI_VERSION 12 +#define I_AVN_CALENDAR_ABI_VERSION 13 struct IAvnCalendarVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnCalendar* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnCalendar* self); /* slot 1 */ @@ -3014,83 +3140,89 @@ struct IAvnCalendarVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnCalendar* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnCalendar* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnCalendar* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnCalendar* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnCalendar* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnCalendar* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnCalendar* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnCalendar* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnCalendar* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnCalendar* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnCalendar* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnCalendar* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnCalendar* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnCalendar* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnCalendar* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnCalendar* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnCalendar* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnCalendar* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnCalendar* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnCalendar* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnCalendar* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnCalendar* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnCalendar* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnCalendar* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnCalendar* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnCalendar* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnCalendar* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnCalendar* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnCalendar* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnCalendar* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnCalendar* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnCalendar* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnCalendar* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnCalendar* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnCalendar* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnCalendar* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnCalendar* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_first_day_of_week)(IAvnCalendar* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_first_day_of_week)(IAvnCalendar* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_is_today_highlighted)(IAvnCalendar* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_is_today_highlighted)(IAvnCalendar* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_header_background)(IAvnCalendar* self, IAvnBrush** value); /* slot 101 */ - AvnHResult (AVN_CALL *set_header_background)(IAvnCalendar* self, IAvnBrush* value); /* slot 102 */ - AvnHResult (AVN_CALL *get_is_week_number_visible)(IAvnCalendar* self, int32_t* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_is_week_number_visible)(IAvnCalendar* self, int32_t value); /* slot 104 */ - AvnHResult (AVN_CALL *get_week_number_rule)(IAvnCalendar* self, int32_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_week_number_rule)(IAvnCalendar* self, int32_t value); /* slot 106 */ - AvnHResult (AVN_CALL *get_display_mode)(IAvnCalendar* self, int32_t* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_display_mode)(IAvnCalendar* self, int32_t value); /* slot 108 */ - AvnHResult (AVN_CALL *get_selection_mode)(IAvnCalendar* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_selection_mode)(IAvnCalendar* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_allow_tap_range_selection)(IAvnCalendar* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_allow_tap_range_selection)(IAvnCalendar* self, int32_t value); /* slot 112 */ - AvnHResult (AVN_CALL *get_selected_date)(IAvnCalendar* self, uint16_t** value); /* slot 113 */ - AvnHResult (AVN_CALL *set_selected_date)(IAvnCalendar* self, const uint16_t* value); /* slot 114 */ - AvnHResult (AVN_CALL *get_selected_dates)(IAvnCalendar* self, IAvnDateTimeList** value); /* slot 115 */ - AvnHResult (AVN_CALL *get_display_date)(IAvnCalendar* self, uint16_t** value); /* slot 116 */ - AvnHResult (AVN_CALL *set_display_date)(IAvnCalendar* self, const uint16_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *get_display_date_start)(IAvnCalendar* self, uint16_t** value); /* slot 118 */ - AvnHResult (AVN_CALL *set_display_date_start)(IAvnCalendar* self, const uint16_t* value); /* slot 119 */ - AvnHResult (AVN_CALL *get_blackout_dates)(IAvnCalendar* self, IAvnDateTimeList** value); /* slot 120 */ - AvnHResult (AVN_CALL *get_display_date_end)(IAvnCalendar* self, uint16_t** value); /* slot 121 */ - AvnHResult (AVN_CALL *set_display_date_end)(IAvnCalendar* self, const uint16_t* value); /* slot 122 */ - AvnHResult (AVN_CALL *advise_selected_dates_changed)(IAvnCalendar* self, IAvnCalendarSelectedDatesChangedHandler* handler, int64_t* subscription_id); /* slot 123 */ - AvnHResult (AVN_CALL *unadvise_selected_dates_changed)(IAvnCalendar* self, int64_t subscription_id); /* slot 124 */ - AvnHResult (AVN_CALL *advise_display_date_changed)(IAvnCalendar* self, IAvnCalendarDisplayDateChangedHandler* handler, int64_t* subscription_id); /* slot 125 */ - AvnHResult (AVN_CALL *unadvise_display_date_changed)(IAvnCalendar* self, int64_t subscription_id); /* slot 126 */ - AvnHResult (AVN_CALL *advise_display_mode_changed)(IAvnCalendar* self, IAvnCalendarDisplayModeChangedHandler* handler, int64_t* subscription_id); /* slot 127 */ - AvnHResult (AVN_CALL *unadvise_display_mode_changed)(IAvnCalendar* self, int64_t subscription_id); /* slot 128 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnCalendar* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnCalendar* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnCalendar* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnCalendar* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnCalendar* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnCalendar* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnCalendar* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnCalendar* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnCalendar* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnCalendar* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnCalendar* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnCalendar* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnCalendar* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnCalendar* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnCalendar* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnCalendar* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnCalendar* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnCalendar* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnCalendar* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnCalendar* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnCalendar* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnCalendar* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnCalendar* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnCalendar* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnCalendar* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnCalendar* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnCalendar* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnCalendar* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnCalendar* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnCalendar* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnCalendar* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnCalendar* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnCalendar* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnCalendar* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnCalendar* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnCalendar* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnCalendar* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnCalendar* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnCalendar* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnCalendar* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_first_day_of_week)(IAvnCalendar* self, int32_t* value); /* slot 103 */ + AvnHResult (AVN_CALL *set_first_day_of_week)(IAvnCalendar* self, int32_t value); /* slot 104 */ + AvnHResult (AVN_CALL *get_is_today_highlighted)(IAvnCalendar* self, int32_t* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_is_today_highlighted)(IAvnCalendar* self, int32_t value); /* slot 106 */ + AvnHResult (AVN_CALL *get_header_background)(IAvnCalendar* self, IAvnBrush** value); /* slot 107 */ + AvnHResult (AVN_CALL *set_header_background)(IAvnCalendar* self, IAvnBrush* value); /* slot 108 */ + AvnHResult (AVN_CALL *get_is_week_number_visible)(IAvnCalendar* self, int32_t* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_is_week_number_visible)(IAvnCalendar* self, int32_t value); /* slot 110 */ + AvnHResult (AVN_CALL *get_week_number_rule)(IAvnCalendar* self, int32_t* value); /* slot 111 */ + AvnHResult (AVN_CALL *set_week_number_rule)(IAvnCalendar* self, int32_t value); /* slot 112 */ + AvnHResult (AVN_CALL *get_display_mode)(IAvnCalendar* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *set_display_mode)(IAvnCalendar* self, int32_t value); /* slot 114 */ + AvnHResult (AVN_CALL *get_selection_mode)(IAvnCalendar* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_selection_mode)(IAvnCalendar* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_allow_tap_range_selection)(IAvnCalendar* self, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_allow_tap_range_selection)(IAvnCalendar* self, int32_t value); /* slot 118 */ + AvnHResult (AVN_CALL *get_selected_date)(IAvnCalendar* self, uint16_t** value); /* slot 119 */ + AvnHResult (AVN_CALL *set_selected_date)(IAvnCalendar* self, const uint16_t* value); /* slot 120 */ + AvnHResult (AVN_CALL *get_selected_dates)(IAvnCalendar* self, IAvnDateTimeList** value); /* slot 121 */ + AvnHResult (AVN_CALL *get_display_date)(IAvnCalendar* self, uint16_t** value); /* slot 122 */ + AvnHResult (AVN_CALL *set_display_date)(IAvnCalendar* self, const uint16_t* value); /* slot 123 */ + AvnHResult (AVN_CALL *get_display_date_start)(IAvnCalendar* self, uint16_t** value); /* slot 124 */ + AvnHResult (AVN_CALL *set_display_date_start)(IAvnCalendar* self, const uint16_t* value); /* slot 125 */ + AvnHResult (AVN_CALL *get_blackout_dates)(IAvnCalendar* self, IAvnDateTimeList** value); /* slot 126 */ + AvnHResult (AVN_CALL *get_display_date_end)(IAvnCalendar* self, uint16_t** value); /* slot 127 */ + AvnHResult (AVN_CALL *set_display_date_end)(IAvnCalendar* self, const uint16_t* value); /* slot 128 */ + AvnHResult (AVN_CALL *advise_selected_dates_changed)(IAvnCalendar* self, IAvnCalendarSelectedDatesChangedHandler* handler, int64_t* subscription_id); /* slot 129 */ + AvnHResult (AVN_CALL *unadvise_selected_dates_changed)(IAvnCalendar* self, int64_t subscription_id); /* slot 130 */ + AvnHResult (AVN_CALL *advise_display_date_changed)(IAvnCalendar* self, IAvnCalendarDisplayDateChangedHandler* handler, int64_t* subscription_id); /* slot 131 */ + AvnHResult (AVN_CALL *unadvise_display_date_changed)(IAvnCalendar* self, int64_t subscription_id); /* slot 132 */ + AvnHResult (AVN_CALL *advise_display_mode_changed)(IAvnCalendar* self, IAvnCalendarDisplayModeChangedHandler* handler, int64_t* subscription_id); /* slot 133 */ + AvnHResult (AVN_CALL *unadvise_display_mode_changed)(IAvnCalendar* self, int64_t subscription_id); /* slot 134 */ }; struct IAvnCalendar { const IAvnCalendarVtbl* vtbl; }; -#define I_AVN_CALENDAR_VTABLE_SLOTS 129 +#define I_AVN_CALENDAR_VTABLE_SLOTS 135 static const AvnGuid I_AVN_CALENDAR_DATE_PICKER_IID = { - 0xDC5958DB, - 0xF3AD, - 0x5B9F, - { 0x9C, 0x86, 0x7B, 0x66, 0xDD, 0x3D, 0x24, 0x29 } + 0x52B3592A, + 0xD20D, + 0x5C93, + { 0x8D, 0x31, 0xE0, 0x55, 0x2A, 0x74, 0x45, 0xFE } }; -#define I_AVN_CALENDAR_DATE_PICKER_ABI_VERSION 11 +#define I_AVN_CALENDAR_DATE_PICKER_ABI_VERSION 12 struct IAvnCalendarDatePickerVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnCalendarDatePicker* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnCalendarDatePicker* self); /* slot 1 */ @@ -3155,95 +3287,101 @@ struct IAvnCalendarDatePickerVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnCalendarDatePicker* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnCalendarDatePicker* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnCalendarDatePicker* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnCalendarDatePicker* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnCalendarDatePicker* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnCalendarDatePicker* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnCalendarDatePicker* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnCalendarDatePicker* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnCalendarDatePicker* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnCalendarDatePicker* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnCalendarDatePicker* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnCalendarDatePicker* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnCalendarDatePicker* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnCalendarDatePicker* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnCalendarDatePicker* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnCalendarDatePicker* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnCalendarDatePicker* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnCalendarDatePicker* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnCalendarDatePicker* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnCalendarDatePicker* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnCalendarDatePicker* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnCalendarDatePicker* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnCalendarDatePicker* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnCalendarDatePicker* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnCalendarDatePicker* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnCalendarDatePicker* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnCalendarDatePicker* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnCalendarDatePicker* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_blackout_dates)(IAvnCalendarDatePicker* self, IAvnDateTimeList** value); /* slot 97 */ - AvnHResult (AVN_CALL *get_display_date)(IAvnCalendarDatePicker* self, uint16_t** value); /* slot 98 */ - AvnHResult (AVN_CALL *set_display_date)(IAvnCalendarDatePicker* self, const uint16_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *get_display_date_start)(IAvnCalendarDatePicker* self, uint16_t** value); /* slot 100 */ - AvnHResult (AVN_CALL *set_display_date_start)(IAvnCalendarDatePicker* self, const uint16_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *get_display_date_end)(IAvnCalendarDatePicker* self, uint16_t** value); /* slot 102 */ - AvnHResult (AVN_CALL *set_display_date_end)(IAvnCalendarDatePicker* self, const uint16_t* value); /* slot 103 */ - AvnHResult (AVN_CALL *get_first_day_of_week)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 104 */ - AvnHResult (AVN_CALL *set_first_day_of_week)(IAvnCalendarDatePicker* self, int32_t value); /* slot 105 */ - AvnHResult (AVN_CALL *get_is_drop_down_open)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 106 */ - AvnHResult (AVN_CALL *set_is_drop_down_open)(IAvnCalendarDatePicker* self, int32_t value); /* slot 107 */ - AvnHResult (AVN_CALL *get_is_today_highlighted)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 108 */ - AvnHResult (AVN_CALL *set_is_today_highlighted)(IAvnCalendarDatePicker* self, int32_t value); /* slot 109 */ - AvnHResult (AVN_CALL *get_selected_date)(IAvnCalendarDatePicker* self, uint16_t** value); /* slot 110 */ - AvnHResult (AVN_CALL *set_selected_date)(IAvnCalendarDatePicker* self, const uint16_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *get_selected_date_format)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 112 */ - AvnHResult (AVN_CALL *set_selected_date_format)(IAvnCalendarDatePicker* self, int32_t value); /* slot 113 */ - AvnHResult (AVN_CALL *get_custom_date_format_string)(IAvnCalendarDatePicker* self, uint16_t** value); /* slot 114 */ - AvnHResult (AVN_CALL *set_custom_date_format_string)(IAvnCalendarDatePicker* self, const uint16_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *get_text)(IAvnCalendarDatePicker* self, uint16_t** value); /* slot 116 */ - AvnHResult (AVN_CALL *set_text)(IAvnCalendarDatePicker* self, const uint16_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *get_placeholder_text)(IAvnCalendarDatePicker* self, uint16_t** value); /* slot 118 */ - AvnHResult (AVN_CALL *set_placeholder_text)(IAvnCalendarDatePicker* self, const uint16_t* value); /* slot 119 */ - AvnHResult (AVN_CALL *get_use_floating_placeholder)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 120 */ - AvnHResult (AVN_CALL *set_use_floating_placeholder)(IAvnCalendarDatePicker* self, int32_t value); /* slot 121 */ - AvnHResult (AVN_CALL *get_placeholder_foreground)(IAvnCalendarDatePicker* self, IAvnBrush** value); /* slot 122 */ - AvnHResult (AVN_CALL *set_placeholder_foreground)(IAvnCalendarDatePicker* self, IAvnBrush* value); /* slot 123 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 124 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnCalendarDatePicker* self, int32_t value); /* slot 125 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 126 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnCalendarDatePicker* self, int32_t value); /* slot 127 */ - AvnHResult (AVN_CALL *get_is_week_number_visible)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 128 */ - AvnHResult (AVN_CALL *set_is_week_number_visible)(IAvnCalendarDatePicker* self, int32_t value); /* slot 129 */ - AvnHResult (AVN_CALL *get_week_number_rule)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 130 */ - AvnHResult (AVN_CALL *set_week_number_rule)(IAvnCalendarDatePicker* self, int32_t value); /* slot 131 */ - AvnHResult (AVN_CALL *clear)(IAvnCalendarDatePicker* self); /* slot 132 */ - AvnHResult (AVN_CALL *advise_calendar_closed)(IAvnCalendarDatePicker* self, IAvnCalendarDatePickerCalendarClosedHandler* handler, int64_t* subscription_id); /* slot 133 */ - AvnHResult (AVN_CALL *unadvise_calendar_closed)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 134 */ - AvnHResult (AVN_CALL *advise_calendar_opened)(IAvnCalendarDatePicker* self, IAvnCalendarDatePickerCalendarOpenedHandler* handler, int64_t* subscription_id); /* slot 135 */ - AvnHResult (AVN_CALL *unadvise_calendar_opened)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 136 */ - AvnHResult (AVN_CALL *advise_date_validation_error)(IAvnCalendarDatePicker* self, IAvnCalendarDatePickerDateValidationErrorHandler* handler, int64_t* subscription_id); /* slot 137 */ - AvnHResult (AVN_CALL *unadvise_date_validation_error)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 138 */ - AvnHResult (AVN_CALL *advise_selected_date_changed)(IAvnCalendarDatePicker* self, IAvnCalendarDatePickerSelectedDateChangedHandler* handler, int64_t* subscription_id); /* slot 139 */ - AvnHResult (AVN_CALL *unadvise_selected_date_changed)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 140 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnCalendarDatePicker* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnCalendarDatePicker* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnCalendarDatePicker* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnCalendarDatePicker* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnCalendarDatePicker* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnCalendarDatePicker* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnCalendarDatePicker* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnCalendarDatePicker* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnCalendarDatePicker* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnCalendarDatePicker* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnCalendarDatePicker* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnCalendarDatePicker* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnCalendarDatePicker* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnCalendarDatePicker* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnCalendarDatePicker* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnCalendarDatePicker* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnCalendarDatePicker* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnCalendarDatePicker* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnCalendarDatePicker* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnCalendarDatePicker* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnCalendarDatePicker* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnCalendarDatePicker* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnCalendarDatePicker* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnCalendarDatePicker* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnCalendarDatePicker* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnCalendarDatePicker* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnCalendarDatePicker* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnCalendarDatePicker* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnCalendarDatePicker* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnCalendarDatePicker* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_blackout_dates)(IAvnCalendarDatePicker* self, IAvnDateTimeList** value); /* slot 103 */ + AvnHResult (AVN_CALL *get_display_date)(IAvnCalendarDatePicker* self, uint16_t** value); /* slot 104 */ + AvnHResult (AVN_CALL *set_display_date)(IAvnCalendarDatePicker* self, const uint16_t* value); /* slot 105 */ + AvnHResult (AVN_CALL *get_display_date_start)(IAvnCalendarDatePicker* self, uint16_t** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_display_date_start)(IAvnCalendarDatePicker* self, const uint16_t* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_display_date_end)(IAvnCalendarDatePicker* self, uint16_t** value); /* slot 108 */ + AvnHResult (AVN_CALL *set_display_date_end)(IAvnCalendarDatePicker* self, const uint16_t* value); /* slot 109 */ + AvnHResult (AVN_CALL *get_first_day_of_week)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_first_day_of_week)(IAvnCalendarDatePicker* self, int32_t value); /* slot 111 */ + AvnHResult (AVN_CALL *get_is_drop_down_open)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 112 */ + AvnHResult (AVN_CALL *set_is_drop_down_open)(IAvnCalendarDatePicker* self, int32_t value); /* slot 113 */ + AvnHResult (AVN_CALL *get_is_today_highlighted)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 114 */ + AvnHResult (AVN_CALL *set_is_today_highlighted)(IAvnCalendarDatePicker* self, int32_t value); /* slot 115 */ + AvnHResult (AVN_CALL *get_selected_date)(IAvnCalendarDatePicker* self, uint16_t** value); /* slot 116 */ + AvnHResult (AVN_CALL *set_selected_date)(IAvnCalendarDatePicker* self, const uint16_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *get_selected_date_format)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 118 */ + AvnHResult (AVN_CALL *set_selected_date_format)(IAvnCalendarDatePicker* self, int32_t value); /* slot 119 */ + AvnHResult (AVN_CALL *get_custom_date_format_string)(IAvnCalendarDatePicker* self, uint16_t** value); /* slot 120 */ + AvnHResult (AVN_CALL *set_custom_date_format_string)(IAvnCalendarDatePicker* self, const uint16_t* value); /* slot 121 */ + AvnHResult (AVN_CALL *get_text)(IAvnCalendarDatePicker* self, uint16_t** value); /* slot 122 */ + AvnHResult (AVN_CALL *set_text)(IAvnCalendarDatePicker* self, const uint16_t* value); /* slot 123 */ + AvnHResult (AVN_CALL *get_placeholder_text)(IAvnCalendarDatePicker* self, uint16_t** value); /* slot 124 */ + AvnHResult (AVN_CALL *set_placeholder_text)(IAvnCalendarDatePicker* self, const uint16_t* value); /* slot 125 */ + AvnHResult (AVN_CALL *get_use_floating_placeholder)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 126 */ + AvnHResult (AVN_CALL *set_use_floating_placeholder)(IAvnCalendarDatePicker* self, int32_t value); /* slot 127 */ + AvnHResult (AVN_CALL *get_placeholder_foreground)(IAvnCalendarDatePicker* self, IAvnBrush** value); /* slot 128 */ + AvnHResult (AVN_CALL *set_placeholder_foreground)(IAvnCalendarDatePicker* self, IAvnBrush* value); /* slot 129 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 130 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnCalendarDatePicker* self, int32_t value); /* slot 131 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 132 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnCalendarDatePicker* self, int32_t value); /* slot 133 */ + AvnHResult (AVN_CALL *get_is_week_number_visible)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 134 */ + AvnHResult (AVN_CALL *set_is_week_number_visible)(IAvnCalendarDatePicker* self, int32_t value); /* slot 135 */ + AvnHResult (AVN_CALL *get_week_number_rule)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 136 */ + AvnHResult (AVN_CALL *set_week_number_rule)(IAvnCalendarDatePicker* self, int32_t value); /* slot 137 */ + AvnHResult (AVN_CALL *clear)(IAvnCalendarDatePicker* self); /* slot 138 */ + AvnHResult (AVN_CALL *advise_calendar_closed)(IAvnCalendarDatePicker* self, IAvnCalendarDatePickerCalendarClosedHandler* handler, int64_t* subscription_id); /* slot 139 */ + AvnHResult (AVN_CALL *unadvise_calendar_closed)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 140 */ + AvnHResult (AVN_CALL *advise_calendar_opened)(IAvnCalendarDatePicker* self, IAvnCalendarDatePickerCalendarOpenedHandler* handler, int64_t* subscription_id); /* slot 141 */ + AvnHResult (AVN_CALL *unadvise_calendar_opened)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 142 */ + AvnHResult (AVN_CALL *advise_date_validation_error)(IAvnCalendarDatePicker* self, IAvnCalendarDatePickerDateValidationErrorHandler* handler, int64_t* subscription_id); /* slot 143 */ + AvnHResult (AVN_CALL *unadvise_date_validation_error)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 144 */ + AvnHResult (AVN_CALL *advise_selected_date_changed)(IAvnCalendarDatePicker* self, IAvnCalendarDatePickerSelectedDateChangedHandler* handler, int64_t* subscription_id); /* slot 145 */ + AvnHResult (AVN_CALL *unadvise_selected_date_changed)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 146 */ }; struct IAvnCalendarDatePicker { const IAvnCalendarDatePickerVtbl* vtbl; }; -#define I_AVN_CALENDAR_DATE_PICKER_VTABLE_SLOTS 141 +#define I_AVN_CALENDAR_DATE_PICKER_VTABLE_SLOTS 147 static const AvnGuid I_AVN_CANVAS_IID = { - 0xD9F89602, - 0xBD30, - 0x55F3, - { 0x84, 0xC5, 0x69, 0xEF, 0x65, 0xA6, 0xD0, 0xDA } + 0xCE4E710B, + 0xD3A5, + 0x5021, + { 0xA3, 0x43, 0x75, 0x8F, 0xA0, 0x78, 0xE7, 0x91 } }; -#define I_AVN_CANVAS_ABI_VERSION 11 +#define I_AVN_CANVAS_ABI_VERSION 12 struct IAvnCanvasVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnCanvas* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnCanvas* self); /* slot 1 */ @@ -3308,26 +3446,32 @@ struct IAvnCanvasVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnCanvas* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnCanvas* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnCanvas* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnCanvas* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnCanvas* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnCanvas* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnCanvas* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnCanvas* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnCanvas* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_children)(IAvnCanvas* self, IAvnControlList** value); /* slot 69 */ - AvnHResult (AVN_CALL *get_background)(IAvnCanvas* self, IAvnBrush** value); /* slot 70 */ - AvnHResult (AVN_CALL *set_background)(IAvnCanvas* self, IAvnBrush* value); /* slot 71 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnCanvas* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnCanvas* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnCanvas* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnCanvas* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnCanvas* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnCanvas* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnCanvas* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnCanvas* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnCanvas* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnCanvas* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnCanvas* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnCanvas* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_children)(IAvnCanvas* self, IAvnControlList** value); /* slot 75 */ + AvnHResult (AVN_CALL *get_background)(IAvnCanvas* self, IAvnBrush** value); /* slot 76 */ + AvnHResult (AVN_CALL *set_background)(IAvnCanvas* self, IAvnBrush* value); /* slot 77 */ }; struct IAvnCanvas { const IAvnCanvasVtbl* vtbl; }; -#define I_AVN_CANVAS_VTABLE_SLOTS 72 +#define I_AVN_CANVAS_VTABLE_SLOTS 78 static const AvnGuid I_AVN_CAROUSEL_IID = { - 0x14D0DA2B, - 0xD8DF, - 0x5816, - { 0x8B, 0x51, 0x45, 0x5D, 0xCF, 0x73, 0x8D, 0xF0 } + 0xB496C390, + 0x157D, + 0x54E1, + { 0x84, 0x15, 0xE4, 0x87, 0xE9, 0x3D, 0xAF, 0x7D } }; -#define I_AVN_CAROUSEL_ABI_VERSION 13 +#define I_AVN_CAROUSEL_ABI_VERSION 14 struct IAvnCarouselVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnCarousel* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnCarousel* self); /* slot 1 */ @@ -3392,84 +3536,90 @@ struct IAvnCarouselVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnCarousel* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnCarousel* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnCarousel* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnCarousel* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnCarousel* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnCarousel* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnCarousel* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnCarousel* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnCarousel* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnCarousel* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnCarousel* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnCarousel* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnCarousel* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnCarousel* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnCarousel* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnCarousel* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnCarousel* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnCarousel* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnCarousel* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnCarousel* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnCarousel* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnCarousel* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnCarousel* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnCarousel* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnCarousel* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnCarousel* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnCarousel* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnCarousel* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnCarousel* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnCarousel* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnCarousel* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnCarousel* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnCarousel* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnCarousel* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnCarousel* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnCarousel* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnCarousel* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_items)(IAvnCarousel* self, IAvnItemList** value); /* slot 97 */ - AvnHResult (AVN_CALL *get_item_count)(IAvnCarousel* self, int32_t* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_items_source)(IAvnCarousel* self, IAvnVariantList** value); /* slot 99 */ - AvnHResult (AVN_CALL *set_items_source)(IAvnCarousel* self, IAvnVariantList* value); /* slot 100 */ - AvnHResult (AVN_CALL *get_item_template)(IAvnCarousel* self, IAvnDataTemplate** value); /* slot 101 */ - AvnHResult (AVN_CALL *set_item_template)(IAvnCarousel* self, IAvnDataTemplate* value); /* slot 102 */ - AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnCarousel* self, int32_t index, IAvnControl** value); /* slot 103 */ - AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnCarousel* self, AvnVariant item, IAvnControl** value); /* slot 104 */ - AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnCarousel* self, IAvnControl* container, int32_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnCarousel* self, IAvnControl* container, AvnVariant* value); /* slot 106 */ - AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnCarousel* self, int32_t index); /* slot 107 */ - AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnCarousel* self, AvnVariant item); /* slot 108 */ - AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnCarousel* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnCarousel* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_selected_index)(IAvnCarousel* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_selected_index)(IAvnCarousel* self, int32_t value); /* slot 112 */ - AvnHResult (AVN_CALL *get_selected_item)(IAvnCarousel* self, AvnVariant* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_selected_item)(IAvnCarousel* self, AvnVariant value); /* slot 114 */ - AvnHResult (AVN_CALL *get_selected_value)(IAvnCarousel* self, AvnVariant* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_selected_value)(IAvnCarousel* self, AvnVariant value); /* slot 116 */ - AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnCarousel* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnCarousel* self, int32_t value); /* slot 118 */ - AvnHResult (AVN_CALL *get_wrap_selection)(IAvnCarousel* self, int32_t* value); /* slot 119 */ - AvnHResult (AVN_CALL *set_wrap_selection)(IAvnCarousel* self, int32_t value); /* slot 120 */ - AvnHResult (AVN_CALL *advise_selection_changed)(IAvnCarousel* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 121 */ - AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnCarousel* self, int64_t subscription_id); /* slot 122 */ - AvnHResult (AVN_CALL *get_is_swipe_enabled)(IAvnCarousel* self, int32_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *set_is_swipe_enabled)(IAvnCarousel* self, int32_t value); /* slot 124 */ - AvnHResult (AVN_CALL *get_viewport_fraction)(IAvnCarousel* self, double* value); /* slot 125 */ - AvnHResult (AVN_CALL *set_viewport_fraction)(IAvnCarousel* self, double value); /* slot 126 */ - AvnHResult (AVN_CALL *get_is_swiping)(IAvnCarousel* self, int32_t* value); /* slot 127 */ - AvnHResult (AVN_CALL *next)(IAvnCarousel* self); /* slot 128 */ - AvnHResult (AVN_CALL *previous)(IAvnCarousel* self); /* slot 129 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnCarousel* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnCarousel* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnCarousel* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnCarousel* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnCarousel* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnCarousel* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnCarousel* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnCarousel* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnCarousel* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnCarousel* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnCarousel* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnCarousel* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnCarousel* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnCarousel* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnCarousel* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnCarousel* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnCarousel* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnCarousel* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnCarousel* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnCarousel* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnCarousel* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnCarousel* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnCarousel* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnCarousel* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnCarousel* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnCarousel* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnCarousel* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnCarousel* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnCarousel* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnCarousel* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnCarousel* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnCarousel* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnCarousel* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnCarousel* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnCarousel* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnCarousel* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnCarousel* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnCarousel* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnCarousel* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnCarousel* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_items)(IAvnCarousel* self, IAvnItemList** value); /* slot 103 */ + AvnHResult (AVN_CALL *get_item_count)(IAvnCarousel* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_items_source)(IAvnCarousel* self, IAvnVariantList** value); /* slot 105 */ + AvnHResult (AVN_CALL *set_items_source)(IAvnCarousel* self, IAvnVariantList* value); /* slot 106 */ + AvnHResult (AVN_CALL *get_item_template)(IAvnCarousel* self, IAvnDataTemplate** value); /* slot 107 */ + AvnHResult (AVN_CALL *set_item_template)(IAvnCarousel* self, IAvnDataTemplate* value); /* slot 108 */ + AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnCarousel* self, int32_t index, IAvnControl** value); /* slot 109 */ + AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnCarousel* self, AvnVariant item, IAvnControl** value); /* slot 110 */ + AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnCarousel* self, IAvnControl* container, int32_t* value); /* slot 111 */ + AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnCarousel* self, IAvnControl* container, AvnVariant* value); /* slot 112 */ + AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnCarousel* self, int32_t index); /* slot 113 */ + AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnCarousel* self, AvnVariant item); /* slot 114 */ + AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnCarousel* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnCarousel* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_selected_index)(IAvnCarousel* self, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_selected_index)(IAvnCarousel* self, int32_t value); /* slot 118 */ + AvnHResult (AVN_CALL *get_selected_item)(IAvnCarousel* self, AvnVariant* value); /* slot 119 */ + AvnHResult (AVN_CALL *set_selected_item)(IAvnCarousel* self, AvnVariant value); /* slot 120 */ + AvnHResult (AVN_CALL *get_selected_value)(IAvnCarousel* self, AvnVariant* value); /* slot 121 */ + AvnHResult (AVN_CALL *set_selected_value)(IAvnCarousel* self, AvnVariant value); /* slot 122 */ + AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnCarousel* self, int32_t* value); /* slot 123 */ + AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnCarousel* self, int32_t value); /* slot 124 */ + AvnHResult (AVN_CALL *get_wrap_selection)(IAvnCarousel* self, int32_t* value); /* slot 125 */ + AvnHResult (AVN_CALL *set_wrap_selection)(IAvnCarousel* self, int32_t value); /* slot 126 */ + AvnHResult (AVN_CALL *advise_selection_changed)(IAvnCarousel* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 127 */ + AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnCarousel* self, int64_t subscription_id); /* slot 128 */ + AvnHResult (AVN_CALL *get_is_swipe_enabled)(IAvnCarousel* self, int32_t* value); /* slot 129 */ + AvnHResult (AVN_CALL *set_is_swipe_enabled)(IAvnCarousel* self, int32_t value); /* slot 130 */ + AvnHResult (AVN_CALL *get_viewport_fraction)(IAvnCarousel* self, double* value); /* slot 131 */ + AvnHResult (AVN_CALL *set_viewport_fraction)(IAvnCarousel* self, double value); /* slot 132 */ + AvnHResult (AVN_CALL *get_is_swiping)(IAvnCarousel* self, int32_t* value); /* slot 133 */ + AvnHResult (AVN_CALL *next)(IAvnCarousel* self); /* slot 134 */ + AvnHResult (AVN_CALL *previous)(IAvnCarousel* self); /* slot 135 */ }; struct IAvnCarousel { const IAvnCarouselVtbl* vtbl; }; -#define I_AVN_CAROUSEL_VTABLE_SLOTS 130 +#define I_AVN_CAROUSEL_VTABLE_SLOTS 136 static const AvnGuid I_AVN_CHECK_BOX_IID = { - 0x2D002AFC, - 0xAAFB, - 0x5C2D, - { 0xB7, 0x47, 0xD0, 0x8D, 0xF7, 0x8A, 0xC8, 0x52 } + 0xAACDB973, + 0xAF3D, + 0x5BA5, + { 0xA0, 0x94, 0x63, 0x51, 0x78, 0xEF, 0x2C, 0x2E } }; -#define I_AVN_CHECK_BOX_ABI_VERSION 16 +#define I_AVN_CHECK_BOX_ABI_VERSION 17 struct IAvnCheckBoxVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnCheckBox* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnCheckBox* self); /* slot 1 */ @@ -3534,82 +3684,88 @@ struct IAvnCheckBoxVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnCheckBox* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnCheckBox* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnCheckBox* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnCheckBox* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnCheckBox* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnCheckBox* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnCheckBox* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnCheckBox* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnCheckBox* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnCheckBox* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnCheckBox* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnCheckBox* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnCheckBox* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnCheckBox* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnCheckBox* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnCheckBox* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnCheckBox* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnCheckBox* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnCheckBox* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnCheckBox* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnCheckBox* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnCheckBox* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnCheckBox* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnCheckBox* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnCheckBox* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnCheckBox* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnCheckBox* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnCheckBox* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnCheckBox* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnCheckBox* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnCheckBox* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnCheckBox* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnCheckBox* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnCheckBox* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnCheckBox* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnCheckBox* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnCheckBox* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_content)(IAvnCheckBox* self, IAvnControl** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_content)(IAvnCheckBox* self, IAvnControl* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnCheckBox* self, IAvnDataTemplate** value); /* slot 99 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnCheckBox* self, IAvnDataTemplate* value); /* slot 100 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnCheckBox* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnCheckBox* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnCheckBox* self, int32_t* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnCheckBox* self, int32_t value); /* slot 104 */ - AvnHResult (AVN_CALL *get_click_mode)(IAvnCheckBox* self, int32_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_click_mode)(IAvnCheckBox* self, int32_t value); /* slot 106 */ - AvnHResult (AVN_CALL *get_command)(IAvnCheckBox* self, IAvnCommand** value); /* slot 107 */ - AvnHResult (AVN_CALL *set_command)(IAvnCheckBox* self, IAvnCommand* value); /* slot 108 */ - AvnHResult (AVN_CALL *get_hot_key)(IAvnCheckBox* self, uint16_t** value); /* slot 109 */ - AvnHResult (AVN_CALL *set_hot_key)(IAvnCheckBox* self, const uint16_t* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_command_parameter)(IAvnCheckBox* self, AvnVariant* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_command_parameter)(IAvnCheckBox* self, AvnVariant value); /* slot 112 */ - AvnHResult (AVN_CALL *get_is_default)(IAvnCheckBox* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_is_default)(IAvnCheckBox* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_is_cancel)(IAvnCheckBox* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_is_cancel)(IAvnCheckBox* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_is_pressed)(IAvnCheckBox* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *get_flyout)(IAvnCheckBox* self, IAvnFlyoutBase** value); /* slot 118 */ - AvnHResult (AVN_CALL *set_flyout)(IAvnCheckBox* self, IAvnFlyoutBase* value); /* slot 119 */ - AvnHResult (AVN_CALL *advise_click)(IAvnCheckBox* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 120 */ - AvnHResult (AVN_CALL *unadvise_click)(IAvnCheckBox* self, int64_t subscription_id); /* slot 121 */ - AvnHResult (AVN_CALL *get_is_checked)(IAvnCheckBox* self, int32_t* value); /* slot 122 */ - AvnHResult (AVN_CALL *set_is_checked)(IAvnCheckBox* self, int32_t value); /* slot 123 */ - AvnHResult (AVN_CALL *get_is_three_state)(IAvnCheckBox* self, int32_t* value); /* slot 124 */ - AvnHResult (AVN_CALL *set_is_three_state)(IAvnCheckBox* self, int32_t value); /* slot 125 */ - AvnHResult (AVN_CALL *advise_is_checked_changed)(IAvnCheckBox* self, IAvnToggleButtonIsCheckedChangedHandler* handler, int64_t* subscription_id); /* slot 126 */ - AvnHResult (AVN_CALL *unadvise_is_checked_changed)(IAvnCheckBox* self, int64_t subscription_id); /* slot 127 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnCheckBox* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnCheckBox* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnCheckBox* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnCheckBox* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnCheckBox* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnCheckBox* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnCheckBox* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnCheckBox* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnCheckBox* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnCheckBox* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnCheckBox* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnCheckBox* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnCheckBox* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnCheckBox* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnCheckBox* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnCheckBox* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnCheckBox* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnCheckBox* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnCheckBox* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnCheckBox* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnCheckBox* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnCheckBox* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnCheckBox* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnCheckBox* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnCheckBox* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnCheckBox* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnCheckBox* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnCheckBox* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnCheckBox* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnCheckBox* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnCheckBox* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnCheckBox* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnCheckBox* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnCheckBox* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnCheckBox* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnCheckBox* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnCheckBox* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnCheckBox* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnCheckBox* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnCheckBox* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_content)(IAvnCheckBox* self, IAvnControl** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_content)(IAvnCheckBox* self, IAvnControl* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnCheckBox* self, IAvnDataTemplate** value); /* slot 105 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnCheckBox* self, IAvnDataTemplate* value); /* slot 106 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnCheckBox* self, int32_t* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnCheckBox* self, int32_t value); /* slot 108 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnCheckBox* self, int32_t* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnCheckBox* self, int32_t value); /* slot 110 */ + AvnHResult (AVN_CALL *get_click_mode)(IAvnCheckBox* self, int32_t* value); /* slot 111 */ + AvnHResult (AVN_CALL *set_click_mode)(IAvnCheckBox* self, int32_t value); /* slot 112 */ + AvnHResult (AVN_CALL *get_command)(IAvnCheckBox* self, IAvnCommand** value); /* slot 113 */ + AvnHResult (AVN_CALL *set_command)(IAvnCheckBox* self, IAvnCommand* value); /* slot 114 */ + AvnHResult (AVN_CALL *get_hot_key)(IAvnCheckBox* self, uint16_t** value); /* slot 115 */ + AvnHResult (AVN_CALL *set_hot_key)(IAvnCheckBox* self, const uint16_t* value); /* slot 116 */ + AvnHResult (AVN_CALL *get_command_parameter)(IAvnCheckBox* self, AvnVariant* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_command_parameter)(IAvnCheckBox* self, AvnVariant value); /* slot 118 */ + AvnHResult (AVN_CALL *get_is_default)(IAvnCheckBox* self, int32_t* value); /* slot 119 */ + AvnHResult (AVN_CALL *set_is_default)(IAvnCheckBox* self, int32_t value); /* slot 120 */ + AvnHResult (AVN_CALL *get_is_cancel)(IAvnCheckBox* self, int32_t* value); /* slot 121 */ + AvnHResult (AVN_CALL *set_is_cancel)(IAvnCheckBox* self, int32_t value); /* slot 122 */ + AvnHResult (AVN_CALL *get_is_pressed)(IAvnCheckBox* self, int32_t* value); /* slot 123 */ + AvnHResult (AVN_CALL *get_flyout)(IAvnCheckBox* self, IAvnFlyoutBase** value); /* slot 124 */ + AvnHResult (AVN_CALL *set_flyout)(IAvnCheckBox* self, IAvnFlyoutBase* value); /* slot 125 */ + AvnHResult (AVN_CALL *advise_click)(IAvnCheckBox* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 126 */ + AvnHResult (AVN_CALL *unadvise_click)(IAvnCheckBox* self, int64_t subscription_id); /* slot 127 */ + AvnHResult (AVN_CALL *get_is_checked)(IAvnCheckBox* self, int32_t* value); /* slot 128 */ + AvnHResult (AVN_CALL *set_is_checked)(IAvnCheckBox* self, int32_t value); /* slot 129 */ + AvnHResult (AVN_CALL *get_is_three_state)(IAvnCheckBox* self, int32_t* value); /* slot 130 */ + AvnHResult (AVN_CALL *set_is_three_state)(IAvnCheckBox* self, int32_t value); /* slot 131 */ + AvnHResult (AVN_CALL *advise_is_checked_changed)(IAvnCheckBox* self, IAvnToggleButtonIsCheckedChangedHandler* handler, int64_t* subscription_id); /* slot 132 */ + AvnHResult (AVN_CALL *unadvise_is_checked_changed)(IAvnCheckBox* self, int64_t subscription_id); /* slot 133 */ }; struct IAvnCheckBox { const IAvnCheckBoxVtbl* vtbl; }; -#define I_AVN_CHECK_BOX_VTABLE_SLOTS 128 +#define I_AVN_CHECK_BOX_VTABLE_SLOTS 134 static const AvnGuid I_AVN_COMBO_BOX_IID = { - 0x86CA773B, - 0x56AB, - 0x521C, - { 0xBA, 0x29, 0xD2, 0x57, 0x9C, 0x59, 0xF7, 0xF3 } + 0xC05FA67D, + 0x1BEE, + 0x51A8, + { 0x93, 0x67, 0x03, 0x00, 0xAA, 0x1C, 0xAE, 0x23 } }; -#define I_AVN_COMBO_BOX_ABI_VERSION 17 +#define I_AVN_COMBO_BOX_ABI_VERSION 18 struct IAvnComboBoxVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnComboBox* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnComboBox* self); /* slot 1 */ @@ -3674,97 +3830,103 @@ struct IAvnComboBoxVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnComboBox* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnComboBox* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnComboBox* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnComboBox* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnComboBox* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnComboBox* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnComboBox* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnComboBox* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnComboBox* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnComboBox* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnComboBox* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnComboBox* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnComboBox* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnComboBox* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnComboBox* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnComboBox* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnComboBox* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnComboBox* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnComboBox* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnComboBox* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnComboBox* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnComboBox* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnComboBox* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnComboBox* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnComboBox* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnComboBox* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnComboBox* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnComboBox* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnComboBox* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnComboBox* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnComboBox* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnComboBox* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnComboBox* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnComboBox* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnComboBox* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnComboBox* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnComboBox* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_items)(IAvnComboBox* self, IAvnItemList** value); /* slot 97 */ - AvnHResult (AVN_CALL *get_item_count)(IAvnComboBox* self, int32_t* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_items_source)(IAvnComboBox* self, IAvnVariantList** value); /* slot 99 */ - AvnHResult (AVN_CALL *set_items_source)(IAvnComboBox* self, IAvnVariantList* value); /* slot 100 */ - AvnHResult (AVN_CALL *get_item_template)(IAvnComboBox* self, IAvnDataTemplate** value); /* slot 101 */ - AvnHResult (AVN_CALL *set_item_template)(IAvnComboBox* self, IAvnDataTemplate* value); /* slot 102 */ - AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnComboBox* self, int32_t index, IAvnControl** value); /* slot 103 */ - AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnComboBox* self, AvnVariant item, IAvnControl** value); /* slot 104 */ - AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnComboBox* self, IAvnControl* container, int32_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnComboBox* self, IAvnControl* container, AvnVariant* value); /* slot 106 */ - AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnComboBox* self, int32_t index); /* slot 107 */ - AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnComboBox* self, AvnVariant item); /* slot 108 */ - AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnComboBox* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnComboBox* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_selected_index)(IAvnComboBox* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_selected_index)(IAvnComboBox* self, int32_t value); /* slot 112 */ - AvnHResult (AVN_CALL *get_selected_item)(IAvnComboBox* self, AvnVariant* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_selected_item)(IAvnComboBox* self, AvnVariant value); /* slot 114 */ - AvnHResult (AVN_CALL *get_selected_value)(IAvnComboBox* self, AvnVariant* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_selected_value)(IAvnComboBox* self, AvnVariant value); /* slot 116 */ - AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnComboBox* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnComboBox* self, int32_t value); /* slot 118 */ - AvnHResult (AVN_CALL *get_wrap_selection)(IAvnComboBox* self, int32_t* value); /* slot 119 */ - AvnHResult (AVN_CALL *set_wrap_selection)(IAvnComboBox* self, int32_t value); /* slot 120 */ - AvnHResult (AVN_CALL *advise_selection_changed)(IAvnComboBox* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 121 */ - AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnComboBox* self, int64_t subscription_id); /* slot 122 */ - AvnHResult (AVN_CALL *get_is_drop_down_open)(IAvnComboBox* self, int32_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *set_is_drop_down_open)(IAvnComboBox* self, int32_t value); /* slot 124 */ - AvnHResult (AVN_CALL *get_is_editable)(IAvnComboBox* self, int32_t* value); /* slot 125 */ - AvnHResult (AVN_CALL *set_is_editable)(IAvnComboBox* self, int32_t value); /* slot 126 */ - AvnHResult (AVN_CALL *get_max_drop_down_height)(IAvnComboBox* self, double* value); /* slot 127 */ - AvnHResult (AVN_CALL *set_max_drop_down_height)(IAvnComboBox* self, double value); /* slot 128 */ - AvnHResult (AVN_CALL *get_selection_box_item)(IAvnComboBox* self, AvnVariant* value); /* slot 129 */ - AvnHResult (AVN_CALL *get_placeholder_text)(IAvnComboBox* self, uint16_t** value); /* slot 130 */ - AvnHResult (AVN_CALL *set_placeholder_text)(IAvnComboBox* self, const uint16_t* value); /* slot 131 */ - AvnHResult (AVN_CALL *get_placeholder_foreground)(IAvnComboBox* self, IAvnBrush** value); /* slot 132 */ - AvnHResult (AVN_CALL *set_placeholder_foreground)(IAvnComboBox* self, IAvnBrush* value); /* slot 133 */ - AvnHResult (AVN_CALL *get_selection_box_item_template)(IAvnComboBox* self, IAvnDataTemplate** value); /* slot 134 */ - AvnHResult (AVN_CALL *set_selection_box_item_template)(IAvnComboBox* self, IAvnDataTemplate* value); /* slot 135 */ - AvnHResult (AVN_CALL *get_text)(IAvnComboBox* self, uint16_t** value); /* slot 136 */ - AvnHResult (AVN_CALL *set_text)(IAvnComboBox* self, const uint16_t* value); /* slot 137 */ - AvnHResult (AVN_CALL *clear)(IAvnComboBox* self); /* slot 138 */ - AvnHResult (AVN_CALL *advise_drop_down_closed)(IAvnComboBox* self, IAvnComboBoxDropDownClosedHandler* handler, int64_t* subscription_id); /* slot 139 */ - AvnHResult (AVN_CALL *unadvise_drop_down_closed)(IAvnComboBox* self, int64_t subscription_id); /* slot 140 */ - AvnHResult (AVN_CALL *advise_drop_down_opened)(IAvnComboBox* self, IAvnComboBoxDropDownOpenedHandler* handler, int64_t* subscription_id); /* slot 141 */ - AvnHResult (AVN_CALL *unadvise_drop_down_opened)(IAvnComboBox* self, int64_t subscription_id); /* slot 142 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnComboBox* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnComboBox* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnComboBox* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnComboBox* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnComboBox* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnComboBox* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnComboBox* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnComboBox* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnComboBox* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnComboBox* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnComboBox* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnComboBox* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnComboBox* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnComboBox* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnComboBox* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnComboBox* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnComboBox* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnComboBox* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnComboBox* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnComboBox* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnComboBox* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnComboBox* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnComboBox* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnComboBox* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnComboBox* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnComboBox* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnComboBox* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnComboBox* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnComboBox* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnComboBox* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnComboBox* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnComboBox* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnComboBox* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnComboBox* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnComboBox* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnComboBox* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnComboBox* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnComboBox* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnComboBox* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnComboBox* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_items)(IAvnComboBox* self, IAvnItemList** value); /* slot 103 */ + AvnHResult (AVN_CALL *get_item_count)(IAvnComboBox* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_items_source)(IAvnComboBox* self, IAvnVariantList** value); /* slot 105 */ + AvnHResult (AVN_CALL *set_items_source)(IAvnComboBox* self, IAvnVariantList* value); /* slot 106 */ + AvnHResult (AVN_CALL *get_item_template)(IAvnComboBox* self, IAvnDataTemplate** value); /* slot 107 */ + AvnHResult (AVN_CALL *set_item_template)(IAvnComboBox* self, IAvnDataTemplate* value); /* slot 108 */ + AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnComboBox* self, int32_t index, IAvnControl** value); /* slot 109 */ + AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnComboBox* self, AvnVariant item, IAvnControl** value); /* slot 110 */ + AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnComboBox* self, IAvnControl* container, int32_t* value); /* slot 111 */ + AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnComboBox* self, IAvnControl* container, AvnVariant* value); /* slot 112 */ + AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnComboBox* self, int32_t index); /* slot 113 */ + AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnComboBox* self, AvnVariant item); /* slot 114 */ + AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnComboBox* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnComboBox* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_selected_index)(IAvnComboBox* self, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_selected_index)(IAvnComboBox* self, int32_t value); /* slot 118 */ + AvnHResult (AVN_CALL *get_selected_item)(IAvnComboBox* self, AvnVariant* value); /* slot 119 */ + AvnHResult (AVN_CALL *set_selected_item)(IAvnComboBox* self, AvnVariant value); /* slot 120 */ + AvnHResult (AVN_CALL *get_selected_value)(IAvnComboBox* self, AvnVariant* value); /* slot 121 */ + AvnHResult (AVN_CALL *set_selected_value)(IAvnComboBox* self, AvnVariant value); /* slot 122 */ + AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnComboBox* self, int32_t* value); /* slot 123 */ + AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnComboBox* self, int32_t value); /* slot 124 */ + AvnHResult (AVN_CALL *get_wrap_selection)(IAvnComboBox* self, int32_t* value); /* slot 125 */ + AvnHResult (AVN_CALL *set_wrap_selection)(IAvnComboBox* self, int32_t value); /* slot 126 */ + AvnHResult (AVN_CALL *advise_selection_changed)(IAvnComboBox* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 127 */ + AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnComboBox* self, int64_t subscription_id); /* slot 128 */ + AvnHResult (AVN_CALL *get_is_drop_down_open)(IAvnComboBox* self, int32_t* value); /* slot 129 */ + AvnHResult (AVN_CALL *set_is_drop_down_open)(IAvnComboBox* self, int32_t value); /* slot 130 */ + AvnHResult (AVN_CALL *get_is_editable)(IAvnComboBox* self, int32_t* value); /* slot 131 */ + AvnHResult (AVN_CALL *set_is_editable)(IAvnComboBox* self, int32_t value); /* slot 132 */ + AvnHResult (AVN_CALL *get_max_drop_down_height)(IAvnComboBox* self, double* value); /* slot 133 */ + AvnHResult (AVN_CALL *set_max_drop_down_height)(IAvnComboBox* self, double value); /* slot 134 */ + AvnHResult (AVN_CALL *get_selection_box_item)(IAvnComboBox* self, AvnVariant* value); /* slot 135 */ + AvnHResult (AVN_CALL *get_placeholder_text)(IAvnComboBox* self, uint16_t** value); /* slot 136 */ + AvnHResult (AVN_CALL *set_placeholder_text)(IAvnComboBox* self, const uint16_t* value); /* slot 137 */ + AvnHResult (AVN_CALL *get_placeholder_foreground)(IAvnComboBox* self, IAvnBrush** value); /* slot 138 */ + AvnHResult (AVN_CALL *set_placeholder_foreground)(IAvnComboBox* self, IAvnBrush* value); /* slot 139 */ + AvnHResult (AVN_CALL *get_selection_box_item_template)(IAvnComboBox* self, IAvnDataTemplate** value); /* slot 140 */ + AvnHResult (AVN_CALL *set_selection_box_item_template)(IAvnComboBox* self, IAvnDataTemplate* value); /* slot 141 */ + AvnHResult (AVN_CALL *get_text)(IAvnComboBox* self, uint16_t** value); /* slot 142 */ + AvnHResult (AVN_CALL *set_text)(IAvnComboBox* self, const uint16_t* value); /* slot 143 */ + AvnHResult (AVN_CALL *clear)(IAvnComboBox* self); /* slot 144 */ + AvnHResult (AVN_CALL *advise_drop_down_closed)(IAvnComboBox* self, IAvnComboBoxDropDownClosedHandler* handler, int64_t* subscription_id); /* slot 145 */ + AvnHResult (AVN_CALL *unadvise_drop_down_closed)(IAvnComboBox* self, int64_t subscription_id); /* slot 146 */ + AvnHResult (AVN_CALL *advise_drop_down_opened)(IAvnComboBox* self, IAvnComboBoxDropDownOpenedHandler* handler, int64_t* subscription_id); /* slot 147 */ + AvnHResult (AVN_CALL *unadvise_drop_down_opened)(IAvnComboBox* self, int64_t subscription_id); /* slot 148 */ }; struct IAvnComboBox { const IAvnComboBoxVtbl* vtbl; }; -#define I_AVN_COMBO_BOX_VTABLE_SLOTS 143 +#define I_AVN_COMBO_BOX_VTABLE_SLOTS 149 static const AvnGuid I_AVN_COMBO_BOX_ITEM_IID = { - 0x2B9D2E17, - 0x500A, - 0x56F0, - { 0xA0, 0xDB, 0x14, 0xB9, 0x2F, 0xF2, 0x8C, 0xCB } + 0x4AF5334E, + 0x4FEC, + 0x5F97, + { 0x84, 0xF0, 0xCD, 0x61, 0xFD, 0x0C, 0x6B, 0x88 } }; -#define I_AVN_COMBO_BOX_ITEM_ABI_VERSION 15 +#define I_AVN_COMBO_BOX_ITEM_ABI_VERSION 16 struct IAvnComboBoxItemVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnComboBoxItem* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnComboBoxItem* self); /* slot 1 */ @@ -3829,61 +3991,67 @@ struct IAvnComboBoxItemVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnComboBoxItem* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnComboBoxItem* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnComboBoxItem* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnComboBoxItem* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnComboBoxItem* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnComboBoxItem* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnComboBoxItem* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnComboBoxItem* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnComboBoxItem* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnComboBoxItem* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnComboBoxItem* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnComboBoxItem* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnComboBoxItem* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnComboBoxItem* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnComboBoxItem* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnComboBoxItem* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnComboBoxItem* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnComboBoxItem* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnComboBoxItem* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnComboBoxItem* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnComboBoxItem* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnComboBoxItem* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnComboBoxItem* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnComboBoxItem* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnComboBoxItem* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnComboBoxItem* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnComboBoxItem* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnComboBoxItem* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnComboBoxItem* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnComboBoxItem* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnComboBoxItem* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnComboBoxItem* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnComboBoxItem* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnComboBoxItem* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnComboBoxItem* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnComboBoxItem* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnComboBoxItem* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_content)(IAvnComboBoxItem* self, IAvnControl** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_content)(IAvnComboBoxItem* self, IAvnControl* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnComboBoxItem* self, IAvnDataTemplate** value); /* slot 99 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnComboBoxItem* self, IAvnDataTemplate* value); /* slot 100 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnComboBoxItem* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnComboBoxItem* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnComboBoxItem* self, int32_t* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnComboBoxItem* self, int32_t value); /* slot 104 */ - AvnHResult (AVN_CALL *get_is_selected)(IAvnComboBoxItem* self, int32_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_is_selected)(IAvnComboBoxItem* self, int32_t value); /* slot 106 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnComboBoxItem* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnComboBoxItem* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnComboBoxItem* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnComboBoxItem* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnComboBoxItem* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnComboBoxItem* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnComboBoxItem* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnComboBoxItem* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnComboBoxItem* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnComboBoxItem* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnComboBoxItem* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnComboBoxItem* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnComboBoxItem* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnComboBoxItem* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnComboBoxItem* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnComboBoxItem* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnComboBoxItem* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnComboBoxItem* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnComboBoxItem* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnComboBoxItem* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnComboBoxItem* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnComboBoxItem* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnComboBoxItem* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnComboBoxItem* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnComboBoxItem* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnComboBoxItem* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnComboBoxItem* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnComboBoxItem* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnComboBoxItem* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnComboBoxItem* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnComboBoxItem* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnComboBoxItem* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnComboBoxItem* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnComboBoxItem* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnComboBoxItem* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnComboBoxItem* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnComboBoxItem* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnComboBoxItem* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnComboBoxItem* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnComboBoxItem* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_content)(IAvnComboBoxItem* self, IAvnControl** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_content)(IAvnComboBoxItem* self, IAvnControl* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnComboBoxItem* self, IAvnDataTemplate** value); /* slot 105 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnComboBoxItem* self, IAvnDataTemplate* value); /* slot 106 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnComboBoxItem* self, int32_t* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnComboBoxItem* self, int32_t value); /* slot 108 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnComboBoxItem* self, int32_t* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnComboBoxItem* self, int32_t value); /* slot 110 */ + AvnHResult (AVN_CALL *get_is_selected)(IAvnComboBoxItem* self, int32_t* value); /* slot 111 */ + AvnHResult (AVN_CALL *set_is_selected)(IAvnComboBoxItem* self, int32_t value); /* slot 112 */ }; struct IAvnComboBoxItem { const IAvnComboBoxItemVtbl* vtbl; }; -#define I_AVN_COMBO_BOX_ITEM_VTABLE_SLOTS 107 +#define I_AVN_COMBO_BOX_ITEM_VTABLE_SLOTS 113 static const AvnGuid I_AVN_COMMAND_BAR_IID = { - 0x1A9B7C3D, - 0x4D24, - 0x5330, - { 0x9F, 0x8F, 0xD9, 0xD0, 0xBC, 0x71, 0x26, 0x95 } + 0x355E12ED, + 0x4932, + 0x5C4C, + { 0x8A, 0xC1, 0xAA, 0x74, 0xB6, 0x66, 0xB5, 0x84 } }; -#define I_AVN_COMMAND_BAR_ABI_VERSION 12 +#define I_AVN_COMMAND_BAR_ABI_VERSION 13 struct IAvnCommandBarVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnCommandBar* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnCommandBar* self); /* slot 1 */ @@ -3948,85 +4116,91 @@ struct IAvnCommandBarVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnCommandBar* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnCommandBar* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnCommandBar* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnCommandBar* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnCommandBar* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnCommandBar* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnCommandBar* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnCommandBar* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnCommandBar* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnCommandBar* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnCommandBar* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnCommandBar* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnCommandBar* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnCommandBar* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnCommandBar* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnCommandBar* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnCommandBar* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnCommandBar* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnCommandBar* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnCommandBar* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnCommandBar* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnCommandBar* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnCommandBar* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnCommandBar* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnCommandBar* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnCommandBar* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnCommandBar* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnCommandBar* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnCommandBar* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnCommandBar* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnCommandBar* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnCommandBar* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnCommandBar* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnCommandBar* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnCommandBar* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnCommandBar* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnCommandBar* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_visible_primary_commands)(IAvnCommandBar* self, IAvnControlList** value); /* slot 97 */ - AvnHResult (AVN_CALL *get_overflow_items)(IAvnCommandBar* self, IAvnControlList** value); /* slot 98 */ - AvnHResult (AVN_CALL *get_primary_commands)(IAvnCommandBar* self, IAvnControlList** value); /* slot 99 */ - AvnHResult (AVN_CALL *set_primary_commands)(IAvnCommandBar* self, IAvnControlList* value); /* slot 100 */ - AvnHResult (AVN_CALL *get_secondary_commands)(IAvnCommandBar* self, IAvnControlList** value); /* slot 101 */ - AvnHResult (AVN_CALL *set_secondary_commands)(IAvnCommandBar* self, IAvnControlList* value); /* slot 102 */ - AvnHResult (AVN_CALL *get_content)(IAvnCommandBar* self, IAvnControl** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_content)(IAvnCommandBar* self, IAvnControl* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_default_label_position)(IAvnCommandBar* self, int32_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_default_label_position)(IAvnCommandBar* self, int32_t value); /* slot 106 */ - AvnHResult (AVN_CALL *get_is_dynamic_overflow_enabled)(IAvnCommandBar* self, int32_t* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_is_dynamic_overflow_enabled)(IAvnCommandBar* self, int32_t value); /* slot 108 */ - AvnHResult (AVN_CALL *get_overflow_button_visibility)(IAvnCommandBar* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_overflow_button_visibility)(IAvnCommandBar* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_is_open)(IAvnCommandBar* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_is_open)(IAvnCommandBar* self, int32_t value); /* slot 112 */ - AvnHResult (AVN_CALL *get_is_sticky)(IAvnCommandBar* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_is_sticky)(IAvnCommandBar* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_item_width_bottom)(IAvnCommandBar* self, double* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_item_width_bottom)(IAvnCommandBar* self, double value); /* slot 116 */ - AvnHResult (AVN_CALL *get_item_width_right)(IAvnCommandBar* self, double* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_item_width_right)(IAvnCommandBar* self, double value); /* slot 118 */ - AvnHResult (AVN_CALL *get_item_width_collapsed)(IAvnCommandBar* self, double* value); /* slot 119 */ - AvnHResult (AVN_CALL *set_item_width_collapsed)(IAvnCommandBar* self, double value); /* slot 120 */ - AvnHResult (AVN_CALL *get_has_secondary_commands)(IAvnCommandBar* self, int32_t* value); /* slot 121 */ - AvnHResult (AVN_CALL *get_is_overflow_button_visible)(IAvnCommandBar* self, int32_t* value); /* slot 122 */ - AvnHResult (AVN_CALL *advise_opening)(IAvnCommandBar* self, IAvnCommandBarOpeningHandler* handler, int64_t* subscription_id); /* slot 123 */ - AvnHResult (AVN_CALL *unadvise_opening)(IAvnCommandBar* self, int64_t subscription_id); /* slot 124 */ - AvnHResult (AVN_CALL *advise_opened)(IAvnCommandBar* self, IAvnCommandBarOpenedHandler* handler, int64_t* subscription_id); /* slot 125 */ - AvnHResult (AVN_CALL *unadvise_opened)(IAvnCommandBar* self, int64_t subscription_id); /* slot 126 */ - AvnHResult (AVN_CALL *advise_closing)(IAvnCommandBar* self, IAvnCommandBarClosingHandler* handler, int64_t* subscription_id); /* slot 127 */ - AvnHResult (AVN_CALL *unadvise_closing)(IAvnCommandBar* self, int64_t subscription_id); /* slot 128 */ - AvnHResult (AVN_CALL *advise_closed)(IAvnCommandBar* self, IAvnCommandBarClosedHandler* handler, int64_t* subscription_id); /* slot 129 */ - AvnHResult (AVN_CALL *unadvise_closed)(IAvnCommandBar* self, int64_t subscription_id); /* slot 130 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnCommandBar* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnCommandBar* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnCommandBar* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnCommandBar* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnCommandBar* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnCommandBar* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnCommandBar* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnCommandBar* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnCommandBar* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnCommandBar* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnCommandBar* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnCommandBar* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnCommandBar* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnCommandBar* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnCommandBar* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnCommandBar* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnCommandBar* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnCommandBar* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnCommandBar* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnCommandBar* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnCommandBar* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnCommandBar* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnCommandBar* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnCommandBar* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnCommandBar* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnCommandBar* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnCommandBar* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnCommandBar* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnCommandBar* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnCommandBar* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnCommandBar* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnCommandBar* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnCommandBar* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnCommandBar* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnCommandBar* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnCommandBar* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnCommandBar* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnCommandBar* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnCommandBar* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnCommandBar* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_visible_primary_commands)(IAvnCommandBar* self, IAvnControlList** value); /* slot 103 */ + AvnHResult (AVN_CALL *get_overflow_items)(IAvnCommandBar* self, IAvnControlList** value); /* slot 104 */ + AvnHResult (AVN_CALL *get_primary_commands)(IAvnCommandBar* self, IAvnControlList** value); /* slot 105 */ + AvnHResult (AVN_CALL *set_primary_commands)(IAvnCommandBar* self, IAvnControlList* value); /* slot 106 */ + AvnHResult (AVN_CALL *get_secondary_commands)(IAvnCommandBar* self, IAvnControlList** value); /* slot 107 */ + AvnHResult (AVN_CALL *set_secondary_commands)(IAvnCommandBar* self, IAvnControlList* value); /* slot 108 */ + AvnHResult (AVN_CALL *get_content)(IAvnCommandBar* self, IAvnControl** value); /* slot 109 */ + AvnHResult (AVN_CALL *set_content)(IAvnCommandBar* self, IAvnControl* value); /* slot 110 */ + AvnHResult (AVN_CALL *get_default_label_position)(IAvnCommandBar* self, int32_t* value); /* slot 111 */ + AvnHResult (AVN_CALL *set_default_label_position)(IAvnCommandBar* self, int32_t value); /* slot 112 */ + AvnHResult (AVN_CALL *get_is_dynamic_overflow_enabled)(IAvnCommandBar* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *set_is_dynamic_overflow_enabled)(IAvnCommandBar* self, int32_t value); /* slot 114 */ + AvnHResult (AVN_CALL *get_overflow_button_visibility)(IAvnCommandBar* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_overflow_button_visibility)(IAvnCommandBar* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_is_open)(IAvnCommandBar* self, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_is_open)(IAvnCommandBar* self, int32_t value); /* slot 118 */ + AvnHResult (AVN_CALL *get_is_sticky)(IAvnCommandBar* self, int32_t* value); /* slot 119 */ + AvnHResult (AVN_CALL *set_is_sticky)(IAvnCommandBar* self, int32_t value); /* slot 120 */ + AvnHResult (AVN_CALL *get_item_width_bottom)(IAvnCommandBar* self, double* value); /* slot 121 */ + AvnHResult (AVN_CALL *set_item_width_bottom)(IAvnCommandBar* self, double value); /* slot 122 */ + AvnHResult (AVN_CALL *get_item_width_right)(IAvnCommandBar* self, double* value); /* slot 123 */ + AvnHResult (AVN_CALL *set_item_width_right)(IAvnCommandBar* self, double value); /* slot 124 */ + AvnHResult (AVN_CALL *get_item_width_collapsed)(IAvnCommandBar* self, double* value); /* slot 125 */ + AvnHResult (AVN_CALL *set_item_width_collapsed)(IAvnCommandBar* self, double value); /* slot 126 */ + AvnHResult (AVN_CALL *get_has_secondary_commands)(IAvnCommandBar* self, int32_t* value); /* slot 127 */ + AvnHResult (AVN_CALL *get_is_overflow_button_visible)(IAvnCommandBar* self, int32_t* value); /* slot 128 */ + AvnHResult (AVN_CALL *advise_opening)(IAvnCommandBar* self, IAvnCommandBarOpeningHandler* handler, int64_t* subscription_id); /* slot 129 */ + AvnHResult (AVN_CALL *unadvise_opening)(IAvnCommandBar* self, int64_t subscription_id); /* slot 130 */ + AvnHResult (AVN_CALL *advise_opened)(IAvnCommandBar* self, IAvnCommandBarOpenedHandler* handler, int64_t* subscription_id); /* slot 131 */ + AvnHResult (AVN_CALL *unadvise_opened)(IAvnCommandBar* self, int64_t subscription_id); /* slot 132 */ + AvnHResult (AVN_CALL *advise_closing)(IAvnCommandBar* self, IAvnCommandBarClosingHandler* handler, int64_t* subscription_id); /* slot 133 */ + AvnHResult (AVN_CALL *unadvise_closing)(IAvnCommandBar* self, int64_t subscription_id); /* slot 134 */ + AvnHResult (AVN_CALL *advise_closed)(IAvnCommandBar* self, IAvnCommandBarClosedHandler* handler, int64_t* subscription_id); /* slot 135 */ + AvnHResult (AVN_CALL *unadvise_closed)(IAvnCommandBar* self, int64_t subscription_id); /* slot 136 */ }; struct IAvnCommandBar { const IAvnCommandBarVtbl* vtbl; }; -#define I_AVN_COMMAND_BAR_VTABLE_SLOTS 131 +#define I_AVN_COMMAND_BAR_VTABLE_SLOTS 137 static const AvnGuid I_AVN_COMMAND_BAR_BUTTON_IID = { - 0x427EE3EA, - 0x2EA0, - 0x5FF8, - { 0xB4, 0x13, 0x7D, 0x98, 0x9D, 0x89, 0x26, 0x04 } + 0x3A7F177E, + 0xFB8E, + 0x5893, + { 0xB5, 0x74, 0x99, 0xAC, 0xD4, 0xCB, 0xC8, 0xB5 } }; -#define I_AVN_COMMAND_BAR_BUTTON_ABI_VERSION 11 +#define I_AVN_COMMAND_BAR_BUTTON_ABI_VERSION 12 struct IAvnCommandBarButtonVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnCommandBarButton* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnCommandBarButton* self); /* slot 1 */ @@ -4091,88 +4265,94 @@ struct IAvnCommandBarButtonVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnCommandBarButton* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnCommandBarButton* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnCommandBarButton* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnCommandBarButton* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnCommandBarButton* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnCommandBarButton* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnCommandBarButton* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnCommandBarButton* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnCommandBarButton* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnCommandBarButton* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnCommandBarButton* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnCommandBarButton* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnCommandBarButton* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnCommandBarButton* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnCommandBarButton* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnCommandBarButton* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnCommandBarButton* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnCommandBarButton* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnCommandBarButton* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnCommandBarButton* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnCommandBarButton* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnCommandBarButton* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnCommandBarButton* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnCommandBarButton* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnCommandBarButton* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnCommandBarButton* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnCommandBarButton* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnCommandBarButton* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnCommandBarButton* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnCommandBarButton* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnCommandBarButton* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnCommandBarButton* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnCommandBarButton* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnCommandBarButton* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnCommandBarButton* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnCommandBarButton* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnCommandBarButton* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_content)(IAvnCommandBarButton* self, IAvnControl** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_content)(IAvnCommandBarButton* self, IAvnControl* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnCommandBarButton* self, IAvnDataTemplate** value); /* slot 99 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnCommandBarButton* self, IAvnDataTemplate* value); /* slot 100 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnCommandBarButton* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnCommandBarButton* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnCommandBarButton* self, int32_t* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnCommandBarButton* self, int32_t value); /* slot 104 */ - AvnHResult (AVN_CALL *get_click_mode)(IAvnCommandBarButton* self, int32_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_click_mode)(IAvnCommandBarButton* self, int32_t value); /* slot 106 */ - AvnHResult (AVN_CALL *get_command)(IAvnCommandBarButton* self, IAvnCommand** value); /* slot 107 */ - AvnHResult (AVN_CALL *set_command)(IAvnCommandBarButton* self, IAvnCommand* value); /* slot 108 */ - AvnHResult (AVN_CALL *get_hot_key)(IAvnCommandBarButton* self, uint16_t** value); /* slot 109 */ - AvnHResult (AVN_CALL *set_hot_key)(IAvnCommandBarButton* self, const uint16_t* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_command_parameter)(IAvnCommandBarButton* self, AvnVariant* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_command_parameter)(IAvnCommandBarButton* self, AvnVariant value); /* slot 112 */ - AvnHResult (AVN_CALL *get_is_default)(IAvnCommandBarButton* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_is_default)(IAvnCommandBarButton* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_is_cancel)(IAvnCommandBarButton* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_is_cancel)(IAvnCommandBarButton* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_is_pressed)(IAvnCommandBarButton* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *get_flyout)(IAvnCommandBarButton* self, IAvnFlyoutBase** value); /* slot 118 */ - AvnHResult (AVN_CALL *set_flyout)(IAvnCommandBarButton* self, IAvnFlyoutBase* value); /* slot 119 */ - AvnHResult (AVN_CALL *advise_click)(IAvnCommandBarButton* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 120 */ - AvnHResult (AVN_CALL *unadvise_click)(IAvnCommandBarButton* self, int64_t subscription_id); /* slot 121 */ - AvnHResult (AVN_CALL *get_label)(IAvnCommandBarButton* self, uint16_t** value); /* slot 122 */ - AvnHResult (AVN_CALL *set_label)(IAvnCommandBarButton* self, const uint16_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *get_icon)(IAvnCommandBarButton* self, AvnVariant* value); /* slot 124 */ - AvnHResult (AVN_CALL *set_icon)(IAvnCommandBarButton* self, AvnVariant value); /* slot 125 */ - AvnHResult (AVN_CALL *get_is_compact)(IAvnCommandBarButton* self, int32_t* value); /* slot 126 */ - AvnHResult (AVN_CALL *set_is_compact)(IAvnCommandBarButton* self, int32_t value); /* slot 127 */ - AvnHResult (AVN_CALL *get_dynamic_overflow_order)(IAvnCommandBarButton* self, int32_t* value); /* slot 128 */ - AvnHResult (AVN_CALL *set_dynamic_overflow_order)(IAvnCommandBarButton* self, int32_t value); /* slot 129 */ - AvnHResult (AVN_CALL *get_label_position)(IAvnCommandBarButton* self, int32_t* value); /* slot 130 */ - AvnHResult (AVN_CALL *set_label_position)(IAvnCommandBarButton* self, int32_t value); /* slot 131 */ - AvnHResult (AVN_CALL *get_is_in_overflow)(IAvnCommandBarButton* self, int32_t* value); /* slot 132 */ - AvnHResult (AVN_CALL *set_is_in_overflow)(IAvnCommandBarButton* self, int32_t value); /* slot 133 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnCommandBarButton* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnCommandBarButton* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnCommandBarButton* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnCommandBarButton* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnCommandBarButton* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnCommandBarButton* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnCommandBarButton* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnCommandBarButton* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnCommandBarButton* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnCommandBarButton* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnCommandBarButton* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnCommandBarButton* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnCommandBarButton* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnCommandBarButton* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnCommandBarButton* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnCommandBarButton* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnCommandBarButton* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnCommandBarButton* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnCommandBarButton* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnCommandBarButton* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnCommandBarButton* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnCommandBarButton* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnCommandBarButton* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnCommandBarButton* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnCommandBarButton* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnCommandBarButton* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnCommandBarButton* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnCommandBarButton* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnCommandBarButton* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnCommandBarButton* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnCommandBarButton* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnCommandBarButton* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnCommandBarButton* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnCommandBarButton* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnCommandBarButton* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnCommandBarButton* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnCommandBarButton* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnCommandBarButton* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnCommandBarButton* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnCommandBarButton* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_content)(IAvnCommandBarButton* self, IAvnControl** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_content)(IAvnCommandBarButton* self, IAvnControl* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnCommandBarButton* self, IAvnDataTemplate** value); /* slot 105 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnCommandBarButton* self, IAvnDataTemplate* value); /* slot 106 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnCommandBarButton* self, int32_t* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnCommandBarButton* self, int32_t value); /* slot 108 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnCommandBarButton* self, int32_t* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnCommandBarButton* self, int32_t value); /* slot 110 */ + AvnHResult (AVN_CALL *get_click_mode)(IAvnCommandBarButton* self, int32_t* value); /* slot 111 */ + AvnHResult (AVN_CALL *set_click_mode)(IAvnCommandBarButton* self, int32_t value); /* slot 112 */ + AvnHResult (AVN_CALL *get_command)(IAvnCommandBarButton* self, IAvnCommand** value); /* slot 113 */ + AvnHResult (AVN_CALL *set_command)(IAvnCommandBarButton* self, IAvnCommand* value); /* slot 114 */ + AvnHResult (AVN_CALL *get_hot_key)(IAvnCommandBarButton* self, uint16_t** value); /* slot 115 */ + AvnHResult (AVN_CALL *set_hot_key)(IAvnCommandBarButton* self, const uint16_t* value); /* slot 116 */ + AvnHResult (AVN_CALL *get_command_parameter)(IAvnCommandBarButton* self, AvnVariant* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_command_parameter)(IAvnCommandBarButton* self, AvnVariant value); /* slot 118 */ + AvnHResult (AVN_CALL *get_is_default)(IAvnCommandBarButton* self, int32_t* value); /* slot 119 */ + AvnHResult (AVN_CALL *set_is_default)(IAvnCommandBarButton* self, int32_t value); /* slot 120 */ + AvnHResult (AVN_CALL *get_is_cancel)(IAvnCommandBarButton* self, int32_t* value); /* slot 121 */ + AvnHResult (AVN_CALL *set_is_cancel)(IAvnCommandBarButton* self, int32_t value); /* slot 122 */ + AvnHResult (AVN_CALL *get_is_pressed)(IAvnCommandBarButton* self, int32_t* value); /* slot 123 */ + AvnHResult (AVN_CALL *get_flyout)(IAvnCommandBarButton* self, IAvnFlyoutBase** value); /* slot 124 */ + AvnHResult (AVN_CALL *set_flyout)(IAvnCommandBarButton* self, IAvnFlyoutBase* value); /* slot 125 */ + AvnHResult (AVN_CALL *advise_click)(IAvnCommandBarButton* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 126 */ + AvnHResult (AVN_CALL *unadvise_click)(IAvnCommandBarButton* self, int64_t subscription_id); /* slot 127 */ + AvnHResult (AVN_CALL *get_label)(IAvnCommandBarButton* self, uint16_t** value); /* slot 128 */ + AvnHResult (AVN_CALL *set_label)(IAvnCommandBarButton* self, const uint16_t* value); /* slot 129 */ + AvnHResult (AVN_CALL *get_icon)(IAvnCommandBarButton* self, AvnVariant* value); /* slot 130 */ + AvnHResult (AVN_CALL *set_icon)(IAvnCommandBarButton* self, AvnVariant value); /* slot 131 */ + AvnHResult (AVN_CALL *get_is_compact)(IAvnCommandBarButton* self, int32_t* value); /* slot 132 */ + AvnHResult (AVN_CALL *set_is_compact)(IAvnCommandBarButton* self, int32_t value); /* slot 133 */ + AvnHResult (AVN_CALL *get_dynamic_overflow_order)(IAvnCommandBarButton* self, int32_t* value); /* slot 134 */ + AvnHResult (AVN_CALL *set_dynamic_overflow_order)(IAvnCommandBarButton* self, int32_t value); /* slot 135 */ + AvnHResult (AVN_CALL *get_label_position)(IAvnCommandBarButton* self, int32_t* value); /* slot 136 */ + AvnHResult (AVN_CALL *set_label_position)(IAvnCommandBarButton* self, int32_t value); /* slot 137 */ + AvnHResult (AVN_CALL *get_is_in_overflow)(IAvnCommandBarButton* self, int32_t* value); /* slot 138 */ + AvnHResult (AVN_CALL *set_is_in_overflow)(IAvnCommandBarButton* self, int32_t value); /* slot 139 */ }; struct IAvnCommandBarButton { const IAvnCommandBarButtonVtbl* vtbl; }; -#define I_AVN_COMMAND_BAR_BUTTON_VTABLE_SLOTS 134 +#define I_AVN_COMMAND_BAR_BUTTON_VTABLE_SLOTS 140 static const AvnGuid I_AVN_COMMAND_BAR_SEPARATOR_IID = { - 0x3D86A39E, - 0x0EC3, - 0x58FA, - { 0xBE, 0x17, 0x2F, 0x3C, 0xE4, 0xE9, 0x50, 0x21 } + 0x21D4AA3D, + 0xADFF, + 0x5CC6, + { 0x9E, 0x76, 0xEA, 0x1F, 0xBB, 0xD1, 0x1C, 0x33 } }; -#define I_AVN_COMMAND_BAR_SEPARATOR_ABI_VERSION 9 +#define I_AVN_COMMAND_BAR_SEPARATOR_ABI_VERSION 10 struct IAvnCommandBarSeparatorVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnCommandBarSeparator* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnCommandBarSeparator* self); /* slot 1 */ @@ -4237,55 +4417,61 @@ struct IAvnCommandBarSeparatorVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnCommandBarSeparator* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnCommandBarSeparator* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnCommandBarSeparator* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnCommandBarSeparator* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnCommandBarSeparator* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnCommandBarSeparator* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnCommandBarSeparator* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnCommandBarSeparator* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnCommandBarSeparator* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnCommandBarSeparator* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnCommandBarSeparator* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnCommandBarSeparator* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnCommandBarSeparator* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnCommandBarSeparator* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnCommandBarSeparator* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnCommandBarSeparator* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnCommandBarSeparator* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnCommandBarSeparator* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnCommandBarSeparator* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnCommandBarSeparator* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnCommandBarSeparator* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnCommandBarSeparator* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnCommandBarSeparator* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnCommandBarSeparator* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnCommandBarSeparator* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnCommandBarSeparator* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnCommandBarSeparator* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnCommandBarSeparator* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnCommandBarSeparator* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnCommandBarSeparator* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnCommandBarSeparator* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnCommandBarSeparator* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnCommandBarSeparator* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnCommandBarSeparator* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnCommandBarSeparator* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnCommandBarSeparator* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnCommandBarSeparator* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_is_compact)(IAvnCommandBarSeparator* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_is_compact)(IAvnCommandBarSeparator* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_is_in_overflow)(IAvnCommandBarSeparator* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_is_in_overflow)(IAvnCommandBarSeparator* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnCommandBarSeparator* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnCommandBarSeparator* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnCommandBarSeparator* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnCommandBarSeparator* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnCommandBarSeparator* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnCommandBarSeparator* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnCommandBarSeparator* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnCommandBarSeparator* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnCommandBarSeparator* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnCommandBarSeparator* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnCommandBarSeparator* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnCommandBarSeparator* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnCommandBarSeparator* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnCommandBarSeparator* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnCommandBarSeparator* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnCommandBarSeparator* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnCommandBarSeparator* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnCommandBarSeparator* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnCommandBarSeparator* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnCommandBarSeparator* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnCommandBarSeparator* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnCommandBarSeparator* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnCommandBarSeparator* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnCommandBarSeparator* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnCommandBarSeparator* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnCommandBarSeparator* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnCommandBarSeparator* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnCommandBarSeparator* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnCommandBarSeparator* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnCommandBarSeparator* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnCommandBarSeparator* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnCommandBarSeparator* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnCommandBarSeparator* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnCommandBarSeparator* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnCommandBarSeparator* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnCommandBarSeparator* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnCommandBarSeparator* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnCommandBarSeparator* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnCommandBarSeparator* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnCommandBarSeparator* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_is_compact)(IAvnCommandBarSeparator* self, int32_t* value); /* slot 103 */ + AvnHResult (AVN_CALL *set_is_compact)(IAvnCommandBarSeparator* self, int32_t value); /* slot 104 */ + AvnHResult (AVN_CALL *get_is_in_overflow)(IAvnCommandBarSeparator* self, int32_t* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_is_in_overflow)(IAvnCommandBarSeparator* self, int32_t value); /* slot 106 */ }; struct IAvnCommandBarSeparator { const IAvnCommandBarSeparatorVtbl* vtbl; }; -#define I_AVN_COMMAND_BAR_SEPARATOR_VTABLE_SLOTS 101 +#define I_AVN_COMMAND_BAR_SEPARATOR_VTABLE_SLOTS 107 static const AvnGuid I_AVN_COMMAND_BAR_TOGGLE_BUTTON_IID = { - 0x7E7CC18B, - 0x4E66, - 0x5650, - { 0x8F, 0xE4, 0x1A, 0xCA, 0x44, 0x5F, 0xA9, 0x07 } + 0x28AA86DE, + 0x6253, + 0x5D07, + { 0x96, 0x4D, 0x23, 0x78, 0x55, 0x52, 0xFB, 0x86 } }; -#define I_AVN_COMMAND_BAR_TOGGLE_BUTTON_ABI_VERSION 11 +#define I_AVN_COMMAND_BAR_TOGGLE_BUTTON_ABI_VERSION 12 struct IAvnCommandBarToggleButtonVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnCommandBarToggleButton* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnCommandBarToggleButton* self); /* slot 1 */ @@ -4350,94 +4536,100 @@ struct IAvnCommandBarToggleButtonVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnCommandBarToggleButton* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnCommandBarToggleButton* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnCommandBarToggleButton* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnCommandBarToggleButton* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnCommandBarToggleButton* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnCommandBarToggleButton* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnCommandBarToggleButton* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnCommandBarToggleButton* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnCommandBarToggleButton* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnCommandBarToggleButton* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnCommandBarToggleButton* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnCommandBarToggleButton* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnCommandBarToggleButton* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnCommandBarToggleButton* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnCommandBarToggleButton* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnCommandBarToggleButton* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnCommandBarToggleButton* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnCommandBarToggleButton* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnCommandBarToggleButton* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnCommandBarToggleButton* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnCommandBarToggleButton* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnCommandBarToggleButton* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnCommandBarToggleButton* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnCommandBarToggleButton* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnCommandBarToggleButton* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnCommandBarToggleButton* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnCommandBarToggleButton* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnCommandBarToggleButton* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnCommandBarToggleButton* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_content)(IAvnCommandBarToggleButton* self, IAvnControl** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_content)(IAvnCommandBarToggleButton* self, IAvnControl* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnCommandBarToggleButton* self, IAvnDataTemplate** value); /* slot 99 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnCommandBarToggleButton* self, IAvnDataTemplate* value); /* slot 100 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 104 */ - AvnHResult (AVN_CALL *get_click_mode)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_click_mode)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 106 */ - AvnHResult (AVN_CALL *get_command)(IAvnCommandBarToggleButton* self, IAvnCommand** value); /* slot 107 */ - AvnHResult (AVN_CALL *set_command)(IAvnCommandBarToggleButton* self, IAvnCommand* value); /* slot 108 */ - AvnHResult (AVN_CALL *get_hot_key)(IAvnCommandBarToggleButton* self, uint16_t** value); /* slot 109 */ - AvnHResult (AVN_CALL *set_hot_key)(IAvnCommandBarToggleButton* self, const uint16_t* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_command_parameter)(IAvnCommandBarToggleButton* self, AvnVariant* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_command_parameter)(IAvnCommandBarToggleButton* self, AvnVariant value); /* slot 112 */ - AvnHResult (AVN_CALL *get_is_default)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_is_default)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_is_cancel)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_is_cancel)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_is_pressed)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *get_flyout)(IAvnCommandBarToggleButton* self, IAvnFlyoutBase** value); /* slot 118 */ - AvnHResult (AVN_CALL *set_flyout)(IAvnCommandBarToggleButton* self, IAvnFlyoutBase* value); /* slot 119 */ - AvnHResult (AVN_CALL *advise_click)(IAvnCommandBarToggleButton* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 120 */ - AvnHResult (AVN_CALL *unadvise_click)(IAvnCommandBarToggleButton* self, int64_t subscription_id); /* slot 121 */ - AvnHResult (AVN_CALL *get_is_checked)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 122 */ - AvnHResult (AVN_CALL *set_is_checked)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 123 */ - AvnHResult (AVN_CALL *get_is_three_state)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 124 */ - AvnHResult (AVN_CALL *set_is_three_state)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 125 */ - AvnHResult (AVN_CALL *advise_is_checked_changed)(IAvnCommandBarToggleButton* self, IAvnToggleButtonIsCheckedChangedHandler* handler, int64_t* subscription_id); /* slot 126 */ - AvnHResult (AVN_CALL *unadvise_is_checked_changed)(IAvnCommandBarToggleButton* self, int64_t subscription_id); /* slot 127 */ - AvnHResult (AVN_CALL *get_label)(IAvnCommandBarToggleButton* self, uint16_t** value); /* slot 128 */ - AvnHResult (AVN_CALL *set_label)(IAvnCommandBarToggleButton* self, const uint16_t* value); /* slot 129 */ - AvnHResult (AVN_CALL *get_icon)(IAvnCommandBarToggleButton* self, AvnVariant* value); /* slot 130 */ - AvnHResult (AVN_CALL *set_icon)(IAvnCommandBarToggleButton* self, AvnVariant value); /* slot 131 */ - AvnHResult (AVN_CALL *get_is_compact)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 132 */ - AvnHResult (AVN_CALL *set_is_compact)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 133 */ - AvnHResult (AVN_CALL *get_dynamic_overflow_order)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 134 */ - AvnHResult (AVN_CALL *set_dynamic_overflow_order)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 135 */ - AvnHResult (AVN_CALL *get_label_position)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 136 */ - AvnHResult (AVN_CALL *set_label_position)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 137 */ - AvnHResult (AVN_CALL *get_is_in_overflow)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 138 */ - AvnHResult (AVN_CALL *set_is_in_overflow)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 139 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnCommandBarToggleButton* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnCommandBarToggleButton* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnCommandBarToggleButton* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnCommandBarToggleButton* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnCommandBarToggleButton* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnCommandBarToggleButton* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnCommandBarToggleButton* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnCommandBarToggleButton* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnCommandBarToggleButton* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnCommandBarToggleButton* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnCommandBarToggleButton* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnCommandBarToggleButton* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnCommandBarToggleButton* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnCommandBarToggleButton* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnCommandBarToggleButton* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnCommandBarToggleButton* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnCommandBarToggleButton* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnCommandBarToggleButton* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnCommandBarToggleButton* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnCommandBarToggleButton* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnCommandBarToggleButton* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnCommandBarToggleButton* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnCommandBarToggleButton* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnCommandBarToggleButton* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnCommandBarToggleButton* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnCommandBarToggleButton* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnCommandBarToggleButton* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnCommandBarToggleButton* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnCommandBarToggleButton* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnCommandBarToggleButton* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnCommandBarToggleButton* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnCommandBarToggleButton* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_content)(IAvnCommandBarToggleButton* self, IAvnControl** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_content)(IAvnCommandBarToggleButton* self, IAvnControl* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnCommandBarToggleButton* self, IAvnDataTemplate** value); /* slot 105 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnCommandBarToggleButton* self, IAvnDataTemplate* value); /* slot 106 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 108 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 110 */ + AvnHResult (AVN_CALL *get_click_mode)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 111 */ + AvnHResult (AVN_CALL *set_click_mode)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 112 */ + AvnHResult (AVN_CALL *get_command)(IAvnCommandBarToggleButton* self, IAvnCommand** value); /* slot 113 */ + AvnHResult (AVN_CALL *set_command)(IAvnCommandBarToggleButton* self, IAvnCommand* value); /* slot 114 */ + AvnHResult (AVN_CALL *get_hot_key)(IAvnCommandBarToggleButton* self, uint16_t** value); /* slot 115 */ + AvnHResult (AVN_CALL *set_hot_key)(IAvnCommandBarToggleButton* self, const uint16_t* value); /* slot 116 */ + AvnHResult (AVN_CALL *get_command_parameter)(IAvnCommandBarToggleButton* self, AvnVariant* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_command_parameter)(IAvnCommandBarToggleButton* self, AvnVariant value); /* slot 118 */ + AvnHResult (AVN_CALL *get_is_default)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 119 */ + AvnHResult (AVN_CALL *set_is_default)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 120 */ + AvnHResult (AVN_CALL *get_is_cancel)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 121 */ + AvnHResult (AVN_CALL *set_is_cancel)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 122 */ + AvnHResult (AVN_CALL *get_is_pressed)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 123 */ + AvnHResult (AVN_CALL *get_flyout)(IAvnCommandBarToggleButton* self, IAvnFlyoutBase** value); /* slot 124 */ + AvnHResult (AVN_CALL *set_flyout)(IAvnCommandBarToggleButton* self, IAvnFlyoutBase* value); /* slot 125 */ + AvnHResult (AVN_CALL *advise_click)(IAvnCommandBarToggleButton* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 126 */ + AvnHResult (AVN_CALL *unadvise_click)(IAvnCommandBarToggleButton* self, int64_t subscription_id); /* slot 127 */ + AvnHResult (AVN_CALL *get_is_checked)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 128 */ + AvnHResult (AVN_CALL *set_is_checked)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 129 */ + AvnHResult (AVN_CALL *get_is_three_state)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 130 */ + AvnHResult (AVN_CALL *set_is_three_state)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 131 */ + AvnHResult (AVN_CALL *advise_is_checked_changed)(IAvnCommandBarToggleButton* self, IAvnToggleButtonIsCheckedChangedHandler* handler, int64_t* subscription_id); /* slot 132 */ + AvnHResult (AVN_CALL *unadvise_is_checked_changed)(IAvnCommandBarToggleButton* self, int64_t subscription_id); /* slot 133 */ + AvnHResult (AVN_CALL *get_label)(IAvnCommandBarToggleButton* self, uint16_t** value); /* slot 134 */ + AvnHResult (AVN_CALL *set_label)(IAvnCommandBarToggleButton* self, const uint16_t* value); /* slot 135 */ + AvnHResult (AVN_CALL *get_icon)(IAvnCommandBarToggleButton* self, AvnVariant* value); /* slot 136 */ + AvnHResult (AVN_CALL *set_icon)(IAvnCommandBarToggleButton* self, AvnVariant value); /* slot 137 */ + AvnHResult (AVN_CALL *get_is_compact)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 138 */ + AvnHResult (AVN_CALL *set_is_compact)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 139 */ + AvnHResult (AVN_CALL *get_dynamic_overflow_order)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 140 */ + AvnHResult (AVN_CALL *set_dynamic_overflow_order)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 141 */ + AvnHResult (AVN_CALL *get_label_position)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 142 */ + AvnHResult (AVN_CALL *set_label_position)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 143 */ + AvnHResult (AVN_CALL *get_is_in_overflow)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 144 */ + AvnHResult (AVN_CALL *set_is_in_overflow)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 145 */ }; struct IAvnCommandBarToggleButton { const IAvnCommandBarToggleButtonVtbl* vtbl; }; -#define I_AVN_COMMAND_BAR_TOGGLE_BUTTON_VTABLE_SLOTS 140 +#define I_AVN_COMMAND_BAR_TOGGLE_BUTTON_VTABLE_SLOTS 146 static const AvnGuid I_AVN_CONTENT_CONTROL_IID = { - 0xF3CE3FB2, - 0xCD2D, - 0x5839, - { 0x81, 0xC7, 0x3D, 0xF7, 0x0C, 0x3A, 0xD2, 0xF5 } + 0x71FA5ADD, + 0x9F62, + 0x5918, + { 0x84, 0xD4, 0x4B, 0x30, 0x0B, 0x8E, 0xA1, 0x92 } }; -#define I_AVN_CONTENT_CONTROL_ABI_VERSION 13 +#define I_AVN_CONTENT_CONTROL_ABI_VERSION 14 struct IAvnContentControlVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnContentControl* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnContentControl* self); /* slot 1 */ @@ -4502,59 +4694,65 @@ struct IAvnContentControlVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnContentControl* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnContentControl* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnContentControl* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnContentControl* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnContentControl* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnContentControl* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnContentControl* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnContentControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnContentControl* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnContentControl* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnContentControl* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnContentControl* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnContentControl* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnContentControl* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnContentControl* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnContentControl* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnContentControl* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnContentControl* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnContentControl* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnContentControl* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnContentControl* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnContentControl* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnContentControl* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnContentControl* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnContentControl* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnContentControl* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnContentControl* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnContentControl* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnContentControl* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnContentControl* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnContentControl* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnContentControl* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnContentControl* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnContentControl* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnContentControl* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnContentControl* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnContentControl* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_content)(IAvnContentControl* self, IAvnControl** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_content)(IAvnContentControl* self, IAvnControl* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnContentControl* self, IAvnDataTemplate** value); /* slot 99 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnContentControl* self, IAvnDataTemplate* value); /* slot 100 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnContentControl* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnContentControl* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnContentControl* self, int32_t* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnContentControl* self, int32_t value); /* slot 104 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnContentControl* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnContentControl* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnContentControl* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnContentControl* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnContentControl* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnContentControl* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnContentControl* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnContentControl* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnContentControl* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnContentControl* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnContentControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnContentControl* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnContentControl* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnContentControl* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnContentControl* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnContentControl* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnContentControl* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnContentControl* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnContentControl* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnContentControl* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnContentControl* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnContentControl* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnContentControl* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnContentControl* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnContentControl* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnContentControl* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnContentControl* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnContentControl* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnContentControl* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnContentControl* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnContentControl* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnContentControl* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnContentControl* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnContentControl* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnContentControl* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnContentControl* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnContentControl* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnContentControl* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnContentControl* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnContentControl* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_content)(IAvnContentControl* self, IAvnControl** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_content)(IAvnContentControl* self, IAvnControl* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnContentControl* self, IAvnDataTemplate** value); /* slot 105 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnContentControl* self, IAvnDataTemplate* value); /* slot 106 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnContentControl* self, int32_t* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnContentControl* self, int32_t value); /* slot 108 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnContentControl* self, int32_t* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnContentControl* self, int32_t value); /* slot 110 */ }; struct IAvnContentControl { const IAvnContentControlVtbl* vtbl; }; -#define I_AVN_CONTENT_CONTROL_VTABLE_SLOTS 105 +#define I_AVN_CONTENT_CONTROL_VTABLE_SLOTS 111 static const AvnGuid I_AVN_CONTEXT_MENU_IID = { - 0xA5BAC0B5, - 0x5163, - 0x5500, - { 0x8C, 0x58, 0x62, 0x9B, 0xE7, 0xDE, 0x30, 0x37 } + 0x770B19A7, + 0xFB74, + 0x5BCA, + { 0xB1, 0xDD, 0x9E, 0x0E, 0xF1, 0x24, 0xEF, 0xEE } }; -#define I_AVN_CONTEXT_MENU_ABI_VERSION 15 +#define I_AVN_CONTEXT_MENU_ABI_VERSION 16 struct IAvnContextMenuVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnContextMenu* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnContextMenu* self); /* slot 1 */ @@ -4619,109 +4817,115 @@ struct IAvnContextMenuVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnContextMenu* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnContextMenu* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnContextMenu* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnContextMenu* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnContextMenu* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnContextMenu* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnContextMenu* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnContextMenu* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnContextMenu* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnContextMenu* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnContextMenu* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnContextMenu* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnContextMenu* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnContextMenu* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnContextMenu* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnContextMenu* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnContextMenu* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnContextMenu* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnContextMenu* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnContextMenu* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnContextMenu* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnContextMenu* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnContextMenu* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnContextMenu* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnContextMenu* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnContextMenu* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnContextMenu* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnContextMenu* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnContextMenu* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnContextMenu* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnContextMenu* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnContextMenu* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnContextMenu* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnContextMenu* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnContextMenu* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnContextMenu* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnContextMenu* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_items)(IAvnContextMenu* self, IAvnItemList** value); /* slot 97 */ - AvnHResult (AVN_CALL *get_item_count)(IAvnContextMenu* self, int32_t* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_items_source)(IAvnContextMenu* self, IAvnVariantList** value); /* slot 99 */ - AvnHResult (AVN_CALL *set_items_source)(IAvnContextMenu* self, IAvnVariantList* value); /* slot 100 */ - AvnHResult (AVN_CALL *get_item_template)(IAvnContextMenu* self, IAvnDataTemplate** value); /* slot 101 */ - AvnHResult (AVN_CALL *set_item_template)(IAvnContextMenu* self, IAvnDataTemplate* value); /* slot 102 */ - AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnContextMenu* self, int32_t index, IAvnControl** value); /* slot 103 */ - AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnContextMenu* self, AvnVariant item, IAvnControl** value); /* slot 104 */ - AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnContextMenu* self, IAvnControl* container, int32_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnContextMenu* self, IAvnControl* container, AvnVariant* value); /* slot 106 */ - AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnContextMenu* self, int32_t index); /* slot 107 */ - AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnContextMenu* self, AvnVariant item); /* slot 108 */ - AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnContextMenu* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnContextMenu* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_selected_index)(IAvnContextMenu* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_selected_index)(IAvnContextMenu* self, int32_t value); /* slot 112 */ - AvnHResult (AVN_CALL *get_selected_item)(IAvnContextMenu* self, AvnVariant* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_selected_item)(IAvnContextMenu* self, AvnVariant value); /* slot 114 */ - AvnHResult (AVN_CALL *get_selected_value)(IAvnContextMenu* self, AvnVariant* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_selected_value)(IAvnContextMenu* self, AvnVariant value); /* slot 116 */ - AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnContextMenu* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnContextMenu* self, int32_t value); /* slot 118 */ - AvnHResult (AVN_CALL *get_wrap_selection)(IAvnContextMenu* self, int32_t* value); /* slot 119 */ - AvnHResult (AVN_CALL *set_wrap_selection)(IAvnContextMenu* self, int32_t value); /* slot 120 */ - AvnHResult (AVN_CALL *advise_selection_changed)(IAvnContextMenu* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 121 */ - AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnContextMenu* self, int64_t subscription_id); /* slot 122 */ - AvnHResult (AVN_CALL *get_is_open)(IAvnContextMenu* self, int32_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *close)(IAvnContextMenu* self); /* slot 124 */ - AvnHResult (AVN_CALL *open)(IAvnContextMenu* self); /* slot 125 */ - AvnHResult (AVN_CALL *advise_opened)(IAvnContextMenu* self, IAvnMenuBaseOpenedHandler* handler, int64_t* subscription_id); /* slot 126 */ - AvnHResult (AVN_CALL *unadvise_opened)(IAvnContextMenu* self, int64_t subscription_id); /* slot 127 */ - AvnHResult (AVN_CALL *advise_closed)(IAvnContextMenu* self, IAvnMenuBaseClosedHandler* handler, int64_t* subscription_id); /* slot 128 */ - AvnHResult (AVN_CALL *unadvise_closed)(IAvnContextMenu* self, int64_t subscription_id); /* slot 129 */ - AvnHResult (AVN_CALL *get_horizontal_offset)(IAvnContextMenu* self, double* value); /* slot 130 */ - AvnHResult (AVN_CALL *set_horizontal_offset)(IAvnContextMenu* self, double value); /* slot 131 */ - AvnHResult (AVN_CALL *get_vertical_offset)(IAvnContextMenu* self, double* value); /* slot 132 */ - AvnHResult (AVN_CALL *set_vertical_offset)(IAvnContextMenu* self, double value); /* slot 133 */ - AvnHResult (AVN_CALL *get_placement_anchor)(IAvnContextMenu* self, int32_t* value); /* slot 134 */ - AvnHResult (AVN_CALL *set_placement_anchor)(IAvnContextMenu* self, int32_t value); /* slot 135 */ - AvnHResult (AVN_CALL *get_placement_constraint_adjustment)(IAvnContextMenu* self, int32_t* value); /* slot 136 */ - AvnHResult (AVN_CALL *set_placement_constraint_adjustment)(IAvnContextMenu* self, int32_t value); /* slot 137 */ - AvnHResult (AVN_CALL *get_placement_gravity)(IAvnContextMenu* self, int32_t* value); /* slot 138 */ - AvnHResult (AVN_CALL *set_placement_gravity)(IAvnContextMenu* self, int32_t value); /* slot 139 */ - AvnHResult (AVN_CALL *get_placement)(IAvnContextMenu* self, int32_t* value); /* slot 140 */ - AvnHResult (AVN_CALL *set_placement)(IAvnContextMenu* self, int32_t value); /* slot 141 */ - AvnHResult (AVN_CALL *get_window_manager_add_shadow_hint)(IAvnContextMenu* self, int32_t* value); /* slot 142 */ - AvnHResult (AVN_CALL *set_window_manager_add_shadow_hint)(IAvnContextMenu* self, int32_t value); /* slot 143 */ - AvnHResult (AVN_CALL *get_placement_rect)(IAvnContextMenu* self, AvnOptionalRect* value); /* slot 144 */ - AvnHResult (AVN_CALL *set_placement_rect)(IAvnContextMenu* self, AvnOptionalRect value); /* slot 145 */ - AvnHResult (AVN_CALL *get_placement_target)(IAvnContextMenu* self, IAvnControl** value); /* slot 146 */ - AvnHResult (AVN_CALL *set_placement_target)(IAvnContextMenu* self, IAvnControl* value); /* slot 147 */ - AvnHResult (AVN_CALL *get_custom_popup_placement_callback)(IAvnContextMenu* self, IAvnPopupPlacementCallback** value); /* slot 148 */ - AvnHResult (AVN_CALL *set_custom_popup_placement_callback)(IAvnContextMenu* self, IAvnPopupPlacementCallback* value); /* slot 149 */ - AvnHResult (AVN_CALL *open_with_control)(IAvnContextMenu* self, IAvnControl* control); /* slot 150 */ - AvnHResult (AVN_CALL *advise_opening)(IAvnContextMenu* self, IAvnContextMenuOpeningHandler* handler, int64_t* subscription_id); /* slot 151 */ - AvnHResult (AVN_CALL *unadvise_opening)(IAvnContextMenu* self, int64_t subscription_id); /* slot 152 */ - AvnHResult (AVN_CALL *advise_closing)(IAvnContextMenu* self, IAvnContextMenuClosingHandler* handler, int64_t* subscription_id); /* slot 153 */ - AvnHResult (AVN_CALL *unadvise_closing)(IAvnContextMenu* self, int64_t subscription_id); /* slot 154 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnContextMenu* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnContextMenu* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnContextMenu* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnContextMenu* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnContextMenu* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnContextMenu* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnContextMenu* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnContextMenu* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnContextMenu* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnContextMenu* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnContextMenu* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnContextMenu* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnContextMenu* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnContextMenu* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnContextMenu* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnContextMenu* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnContextMenu* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnContextMenu* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnContextMenu* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnContextMenu* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnContextMenu* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnContextMenu* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnContextMenu* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnContextMenu* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnContextMenu* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnContextMenu* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnContextMenu* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnContextMenu* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnContextMenu* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnContextMenu* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnContextMenu* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnContextMenu* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnContextMenu* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnContextMenu* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnContextMenu* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnContextMenu* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnContextMenu* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnContextMenu* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnContextMenu* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnContextMenu* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_items)(IAvnContextMenu* self, IAvnItemList** value); /* slot 103 */ + AvnHResult (AVN_CALL *get_item_count)(IAvnContextMenu* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_items_source)(IAvnContextMenu* self, IAvnVariantList** value); /* slot 105 */ + AvnHResult (AVN_CALL *set_items_source)(IAvnContextMenu* self, IAvnVariantList* value); /* slot 106 */ + AvnHResult (AVN_CALL *get_item_template)(IAvnContextMenu* self, IAvnDataTemplate** value); /* slot 107 */ + AvnHResult (AVN_CALL *set_item_template)(IAvnContextMenu* self, IAvnDataTemplate* value); /* slot 108 */ + AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnContextMenu* self, int32_t index, IAvnControl** value); /* slot 109 */ + AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnContextMenu* self, AvnVariant item, IAvnControl** value); /* slot 110 */ + AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnContextMenu* self, IAvnControl* container, int32_t* value); /* slot 111 */ + AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnContextMenu* self, IAvnControl* container, AvnVariant* value); /* slot 112 */ + AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnContextMenu* self, int32_t index); /* slot 113 */ + AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnContextMenu* self, AvnVariant item); /* slot 114 */ + AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnContextMenu* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnContextMenu* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_selected_index)(IAvnContextMenu* self, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_selected_index)(IAvnContextMenu* self, int32_t value); /* slot 118 */ + AvnHResult (AVN_CALL *get_selected_item)(IAvnContextMenu* self, AvnVariant* value); /* slot 119 */ + AvnHResult (AVN_CALL *set_selected_item)(IAvnContextMenu* self, AvnVariant value); /* slot 120 */ + AvnHResult (AVN_CALL *get_selected_value)(IAvnContextMenu* self, AvnVariant* value); /* slot 121 */ + AvnHResult (AVN_CALL *set_selected_value)(IAvnContextMenu* self, AvnVariant value); /* slot 122 */ + AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnContextMenu* self, int32_t* value); /* slot 123 */ + AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnContextMenu* self, int32_t value); /* slot 124 */ + AvnHResult (AVN_CALL *get_wrap_selection)(IAvnContextMenu* self, int32_t* value); /* slot 125 */ + AvnHResult (AVN_CALL *set_wrap_selection)(IAvnContextMenu* self, int32_t value); /* slot 126 */ + AvnHResult (AVN_CALL *advise_selection_changed)(IAvnContextMenu* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 127 */ + AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnContextMenu* self, int64_t subscription_id); /* slot 128 */ + AvnHResult (AVN_CALL *get_is_open)(IAvnContextMenu* self, int32_t* value); /* slot 129 */ + AvnHResult (AVN_CALL *close)(IAvnContextMenu* self); /* slot 130 */ + AvnHResult (AVN_CALL *open)(IAvnContextMenu* self); /* slot 131 */ + AvnHResult (AVN_CALL *advise_opened)(IAvnContextMenu* self, IAvnMenuBaseOpenedHandler* handler, int64_t* subscription_id); /* slot 132 */ + AvnHResult (AVN_CALL *unadvise_opened)(IAvnContextMenu* self, int64_t subscription_id); /* slot 133 */ + AvnHResult (AVN_CALL *advise_closed)(IAvnContextMenu* self, IAvnMenuBaseClosedHandler* handler, int64_t* subscription_id); /* slot 134 */ + AvnHResult (AVN_CALL *unadvise_closed)(IAvnContextMenu* self, int64_t subscription_id); /* slot 135 */ + AvnHResult (AVN_CALL *get_horizontal_offset)(IAvnContextMenu* self, double* value); /* slot 136 */ + AvnHResult (AVN_CALL *set_horizontal_offset)(IAvnContextMenu* self, double value); /* slot 137 */ + AvnHResult (AVN_CALL *get_vertical_offset)(IAvnContextMenu* self, double* value); /* slot 138 */ + AvnHResult (AVN_CALL *set_vertical_offset)(IAvnContextMenu* self, double value); /* slot 139 */ + AvnHResult (AVN_CALL *get_placement_anchor)(IAvnContextMenu* self, int32_t* value); /* slot 140 */ + AvnHResult (AVN_CALL *set_placement_anchor)(IAvnContextMenu* self, int32_t value); /* slot 141 */ + AvnHResult (AVN_CALL *get_placement_constraint_adjustment)(IAvnContextMenu* self, int32_t* value); /* slot 142 */ + AvnHResult (AVN_CALL *set_placement_constraint_adjustment)(IAvnContextMenu* self, int32_t value); /* slot 143 */ + AvnHResult (AVN_CALL *get_placement_gravity)(IAvnContextMenu* self, int32_t* value); /* slot 144 */ + AvnHResult (AVN_CALL *set_placement_gravity)(IAvnContextMenu* self, int32_t value); /* slot 145 */ + AvnHResult (AVN_CALL *get_placement)(IAvnContextMenu* self, int32_t* value); /* slot 146 */ + AvnHResult (AVN_CALL *set_placement)(IAvnContextMenu* self, int32_t value); /* slot 147 */ + AvnHResult (AVN_CALL *get_window_manager_add_shadow_hint)(IAvnContextMenu* self, int32_t* value); /* slot 148 */ + AvnHResult (AVN_CALL *set_window_manager_add_shadow_hint)(IAvnContextMenu* self, int32_t value); /* slot 149 */ + AvnHResult (AVN_CALL *get_placement_rect)(IAvnContextMenu* self, AvnOptionalRect* value); /* slot 150 */ + AvnHResult (AVN_CALL *set_placement_rect)(IAvnContextMenu* self, AvnOptionalRect value); /* slot 151 */ + AvnHResult (AVN_CALL *get_placement_target)(IAvnContextMenu* self, IAvnControl** value); /* slot 152 */ + AvnHResult (AVN_CALL *set_placement_target)(IAvnContextMenu* self, IAvnControl* value); /* slot 153 */ + AvnHResult (AVN_CALL *get_custom_popup_placement_callback)(IAvnContextMenu* self, IAvnPopupPlacementCallback** value); /* slot 154 */ + AvnHResult (AVN_CALL *set_custom_popup_placement_callback)(IAvnContextMenu* self, IAvnPopupPlacementCallback* value); /* slot 155 */ + AvnHResult (AVN_CALL *open_with_control)(IAvnContextMenu* self, IAvnControl* control); /* slot 156 */ + AvnHResult (AVN_CALL *advise_opening)(IAvnContextMenu* self, IAvnContextMenuOpeningHandler* handler, int64_t* subscription_id); /* slot 157 */ + AvnHResult (AVN_CALL *unadvise_opening)(IAvnContextMenu* self, int64_t subscription_id); /* slot 158 */ + AvnHResult (AVN_CALL *advise_closing)(IAvnContextMenu* self, IAvnContextMenuClosingHandler* handler, int64_t* subscription_id); /* slot 159 */ + AvnHResult (AVN_CALL *unadvise_closing)(IAvnContextMenu* self, int64_t subscription_id); /* slot 160 */ }; struct IAvnContextMenu { const IAvnContextMenuVtbl* vtbl; }; -#define I_AVN_CONTEXT_MENU_VTABLE_SLOTS 155 +#define I_AVN_CONTEXT_MENU_VTABLE_SLOTS 161 static const AvnGuid I_AVN_CONTROL_IID = { - 0x06D79016, - 0x63D8, - 0x5035, - { 0xB2, 0x93, 0x19, 0x96, 0x9F, 0x0B, 0xB3, 0xC6 } + 0xABDFF81D, + 0xDB26, + 0x5BB7, + { 0x9A, 0xCA, 0x18, 0x35, 0x3E, 0x6D, 0xB4, 0xD4 } }; -#define I_AVN_CONTROL_ABI_VERSION 8 +#define I_AVN_CONTROL_ABI_VERSION 9 struct IAvnControlVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnControl* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnControl* self); /* slot 1 */ @@ -4786,23 +4990,29 @@ struct IAvnControlVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnControl* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnControl* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnControl* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnControl* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnControl* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnControl* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnControl* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnControl* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnControl* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnControl* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnControl* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnControl* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnControl* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnControl* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnControl* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnControl* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnControl* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnControl* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnControl* self, int64_t subscription_id); /* slot 74 */ }; struct IAvnControl { const IAvnControlVtbl* vtbl; }; -#define I_AVN_CONTROL_VTABLE_SLOTS 69 +#define I_AVN_CONTROL_VTABLE_SLOTS 75 static const AvnGuid I_AVN_DATE_PICKER_IID = { - 0x5C7D5B90, - 0xEC20, - 0x5621, - { 0xBE, 0x13, 0xEA, 0xDA, 0xB8, 0xA0, 0x70, 0x1B } + 0x1441AD02, + 0x88FD, + 0x5BCE, + { 0x9A, 0x23, 0x18, 0x60, 0x76, 0x67, 0xFA, 0xA3 } }; -#define I_AVN_DATE_PICKER_ABI_VERSION 11 +#define I_AVN_DATE_PICKER_ABI_VERSION 12 struct IAvnDatePickerVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnDatePicker* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnDatePicker* self); /* slot 1 */ @@ -4867,74 +5077,80 @@ struct IAvnDatePickerVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnDatePicker* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnDatePicker* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnDatePicker* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnDatePicker* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnDatePicker* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnDatePicker* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnDatePicker* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnDatePicker* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnDatePicker* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnDatePicker* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnDatePicker* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnDatePicker* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnDatePicker* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnDatePicker* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnDatePicker* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnDatePicker* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnDatePicker* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnDatePicker* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnDatePicker* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnDatePicker* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnDatePicker* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnDatePicker* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnDatePicker* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnDatePicker* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnDatePicker* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnDatePicker* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnDatePicker* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnDatePicker* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnDatePicker* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnDatePicker* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnDatePicker* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnDatePicker* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnDatePicker* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnDatePicker* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnDatePicker* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnDatePicker* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnDatePicker* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnDatePicker* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnDatePicker* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_day_format)(IAvnDatePicker* self, uint16_t** value); /* slot 99 */ - AvnHResult (AVN_CALL *set_day_format)(IAvnDatePicker* self, const uint16_t* value); /* slot 100 */ - AvnHResult (AVN_CALL *get_day_visible)(IAvnDatePicker* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_day_visible)(IAvnDatePicker* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_max_year)(IAvnDatePicker* self, uint16_t** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_max_year)(IAvnDatePicker* self, const uint16_t* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_min_year)(IAvnDatePicker* self, uint16_t** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_min_year)(IAvnDatePicker* self, const uint16_t* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_month_format)(IAvnDatePicker* self, uint16_t** value); /* slot 107 */ - AvnHResult (AVN_CALL *set_month_format)(IAvnDatePicker* self, const uint16_t* value); /* slot 108 */ - AvnHResult (AVN_CALL *get_month_visible)(IAvnDatePicker* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_month_visible)(IAvnDatePicker* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_year_format)(IAvnDatePicker* self, uint16_t** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_year_format)(IAvnDatePicker* self, const uint16_t* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_year_visible)(IAvnDatePicker* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_year_visible)(IAvnDatePicker* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_selected_date)(IAvnDatePicker* self, uint16_t** value); /* slot 115 */ - AvnHResult (AVN_CALL *set_selected_date)(IAvnDatePicker* self, const uint16_t* value); /* slot 116 */ - AvnHResult (AVN_CALL *clear)(IAvnDatePicker* self); /* slot 117 */ - AvnHResult (AVN_CALL *advise_selected_date_changed)(IAvnDatePicker* self, IAvnDatePickerSelectedDateChangedHandler* handler, int64_t* subscription_id); /* slot 118 */ - AvnHResult (AVN_CALL *unadvise_selected_date_changed)(IAvnDatePicker* self, int64_t subscription_id); /* slot 119 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnDatePicker* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnDatePicker* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnDatePicker* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnDatePicker* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnDatePicker* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnDatePicker* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnDatePicker* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnDatePicker* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnDatePicker* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnDatePicker* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnDatePicker* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnDatePicker* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnDatePicker* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnDatePicker* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnDatePicker* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnDatePicker* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnDatePicker* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnDatePicker* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnDatePicker* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnDatePicker* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnDatePicker* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnDatePicker* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnDatePicker* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnDatePicker* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnDatePicker* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnDatePicker* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnDatePicker* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnDatePicker* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnDatePicker* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnDatePicker* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnDatePicker* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnDatePicker* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnDatePicker* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnDatePicker* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnDatePicker* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnDatePicker* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnDatePicker* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnDatePicker* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnDatePicker* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnDatePicker* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnDatePicker* self, int32_t* value); /* slot 103 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnDatePicker* self, int32_t value); /* slot 104 */ + AvnHResult (AVN_CALL *get_day_format)(IAvnDatePicker* self, uint16_t** value); /* slot 105 */ + AvnHResult (AVN_CALL *set_day_format)(IAvnDatePicker* self, const uint16_t* value); /* slot 106 */ + AvnHResult (AVN_CALL *get_day_visible)(IAvnDatePicker* self, int32_t* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_day_visible)(IAvnDatePicker* self, int32_t value); /* slot 108 */ + AvnHResult (AVN_CALL *get_max_year)(IAvnDatePicker* self, uint16_t** value); /* slot 109 */ + AvnHResult (AVN_CALL *set_max_year)(IAvnDatePicker* self, const uint16_t* value); /* slot 110 */ + AvnHResult (AVN_CALL *get_min_year)(IAvnDatePicker* self, uint16_t** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_min_year)(IAvnDatePicker* self, const uint16_t* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_month_format)(IAvnDatePicker* self, uint16_t** value); /* slot 113 */ + AvnHResult (AVN_CALL *set_month_format)(IAvnDatePicker* self, const uint16_t* value); /* slot 114 */ + AvnHResult (AVN_CALL *get_month_visible)(IAvnDatePicker* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_month_visible)(IAvnDatePicker* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_year_format)(IAvnDatePicker* self, uint16_t** value); /* slot 117 */ + AvnHResult (AVN_CALL *set_year_format)(IAvnDatePicker* self, const uint16_t* value); /* slot 118 */ + AvnHResult (AVN_CALL *get_year_visible)(IAvnDatePicker* self, int32_t* value); /* slot 119 */ + AvnHResult (AVN_CALL *set_year_visible)(IAvnDatePicker* self, int32_t value); /* slot 120 */ + AvnHResult (AVN_CALL *get_selected_date)(IAvnDatePicker* self, uint16_t** value); /* slot 121 */ + AvnHResult (AVN_CALL *set_selected_date)(IAvnDatePicker* self, const uint16_t* value); /* slot 122 */ + AvnHResult (AVN_CALL *clear)(IAvnDatePicker* self); /* slot 123 */ + AvnHResult (AVN_CALL *advise_selected_date_changed)(IAvnDatePicker* self, IAvnDatePickerSelectedDateChangedHandler* handler, int64_t* subscription_id); /* slot 124 */ + AvnHResult (AVN_CALL *unadvise_selected_date_changed)(IAvnDatePicker* self, int64_t subscription_id); /* slot 125 */ }; struct IAvnDatePicker { const IAvnDatePickerVtbl* vtbl; }; -#define I_AVN_DATE_PICKER_VTABLE_SLOTS 120 +#define I_AVN_DATE_PICKER_VTABLE_SLOTS 126 static const AvnGuid I_AVN_DECORATOR_IID = { - 0x57E09C6B, - 0xA22C, - 0x5F01, - { 0xB6, 0x5C, 0xE5, 0x4C, 0x3D, 0xD5, 0x5E, 0x6C } + 0x73D7A8D4, + 0x2B75, + 0x5F19, + { 0x95, 0x8F, 0xDE, 0x0D, 0x15, 0xAC, 0x30, 0x79 } }; -#define I_AVN_DECORATOR_ABI_VERSION 10 +#define I_AVN_DECORATOR_ABI_VERSION 11 struct IAvnDecoratorVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnDecorator* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnDecorator* self); /* slot 1 */ @@ -4999,27 +5215,33 @@ struct IAvnDecoratorVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnDecorator* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnDecorator* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnDecorator* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnDecorator* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnDecorator* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnDecorator* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnDecorator* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnDecorator* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnDecorator* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_child)(IAvnDecorator* self, IAvnControl** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_child)(IAvnDecorator* self, IAvnControl* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_padding)(IAvnDecorator* self, AvnThickness* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_padding)(IAvnDecorator* self, AvnThickness value); /* slot 72 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnDecorator* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnDecorator* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnDecorator* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnDecorator* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnDecorator* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnDecorator* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnDecorator* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnDecorator* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnDecorator* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnDecorator* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnDecorator* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnDecorator* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_child)(IAvnDecorator* self, IAvnControl** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_child)(IAvnDecorator* self, IAvnControl* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_padding)(IAvnDecorator* self, AvnThickness* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_padding)(IAvnDecorator* self, AvnThickness value); /* slot 78 */ }; struct IAvnDecorator { const IAvnDecoratorVtbl* vtbl; }; -#define I_AVN_DECORATOR_VTABLE_SLOTS 73 +#define I_AVN_DECORATOR_VTABLE_SLOTS 79 static const AvnGuid I_AVN_DOCK_PANEL_IID = { - 0xF0C3E239, - 0x81CB, - 0x544D, - { 0x9C, 0xEF, 0x73, 0xB1, 0xD0, 0x4C, 0x1F, 0xB3 } + 0x36376ACD, + 0x9F74, + 0x59B8, + { 0xAD, 0xCA, 0xCA, 0xE9, 0x6F, 0x5E, 0x70, 0xB9 } }; -#define I_AVN_DOCK_PANEL_ABI_VERSION 11 +#define I_AVN_DOCK_PANEL_ABI_VERSION 12 struct IAvnDockPanelVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnDockPanel* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnDockPanel* self); /* slot 1 */ @@ -5084,32 +5306,38 @@ struct IAvnDockPanelVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnDockPanel* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnDockPanel* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnDockPanel* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnDockPanel* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnDockPanel* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnDockPanel* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnDockPanel* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnDockPanel* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnDockPanel* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_children)(IAvnDockPanel* self, IAvnControlList** value); /* slot 69 */ - AvnHResult (AVN_CALL *get_background)(IAvnDockPanel* self, IAvnBrush** value); /* slot 70 */ - AvnHResult (AVN_CALL *set_background)(IAvnDockPanel* self, IAvnBrush* value); /* slot 71 */ - AvnHResult (AVN_CALL *get_last_child_fill)(IAvnDockPanel* self, int32_t* value); /* slot 72 */ - AvnHResult (AVN_CALL *set_last_child_fill)(IAvnDockPanel* self, int32_t value); /* slot 73 */ - AvnHResult (AVN_CALL *get_horizontal_spacing)(IAvnDockPanel* self, double* value); /* slot 74 */ - AvnHResult (AVN_CALL *set_horizontal_spacing)(IAvnDockPanel* self, double value); /* slot 75 */ - AvnHResult (AVN_CALL *get_vertical_spacing)(IAvnDockPanel* self, double* value); /* slot 76 */ - AvnHResult (AVN_CALL *set_vertical_spacing)(IAvnDockPanel* self, double value); /* slot 77 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnDockPanel* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnDockPanel* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnDockPanel* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnDockPanel* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnDockPanel* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnDockPanel* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnDockPanel* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnDockPanel* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnDockPanel* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnDockPanel* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnDockPanel* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnDockPanel* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_children)(IAvnDockPanel* self, IAvnControlList** value); /* slot 75 */ + AvnHResult (AVN_CALL *get_background)(IAvnDockPanel* self, IAvnBrush** value); /* slot 76 */ + AvnHResult (AVN_CALL *set_background)(IAvnDockPanel* self, IAvnBrush* value); /* slot 77 */ + AvnHResult (AVN_CALL *get_last_child_fill)(IAvnDockPanel* self, int32_t* value); /* slot 78 */ + AvnHResult (AVN_CALL *set_last_child_fill)(IAvnDockPanel* self, int32_t value); /* slot 79 */ + AvnHResult (AVN_CALL *get_horizontal_spacing)(IAvnDockPanel* self, double* value); /* slot 80 */ + AvnHResult (AVN_CALL *set_horizontal_spacing)(IAvnDockPanel* self, double value); /* slot 81 */ + AvnHResult (AVN_CALL *get_vertical_spacing)(IAvnDockPanel* self, double* value); /* slot 82 */ + AvnHResult (AVN_CALL *set_vertical_spacing)(IAvnDockPanel* self, double value); /* slot 83 */ }; struct IAvnDockPanel { const IAvnDockPanelVtbl* vtbl; }; -#define I_AVN_DOCK_PANEL_VTABLE_SLOTS 78 +#define I_AVN_DOCK_PANEL_VTABLE_SLOTS 84 static const AvnGuid I_AVN_DROP_DOWN_BUTTON_IID = { - 0x7CDEF76D, - 0x7FD4, - 0x5552, - { 0xB5, 0x91, 0x2D, 0x98, 0x14, 0x0A, 0x7A, 0x63 } + 0x85F27971, + 0xCEB0, + 0x528D, + { 0x8D, 0x3B, 0xC0, 0xAB, 0x62, 0xE1, 0x1F, 0xDA } }; -#define I_AVN_DROP_DOWN_BUTTON_ABI_VERSION 11 +#define I_AVN_DROP_DOWN_BUTTON_ABI_VERSION 12 struct IAvnDropDownButtonVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnDropDownButton* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnDropDownButton* self); /* slot 1 */ @@ -5174,76 +5402,82 @@ struct IAvnDropDownButtonVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnDropDownButton* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnDropDownButton* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnDropDownButton* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnDropDownButton* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnDropDownButton* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnDropDownButton* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnDropDownButton* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnDropDownButton* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnDropDownButton* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnDropDownButton* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnDropDownButton* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnDropDownButton* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnDropDownButton* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnDropDownButton* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnDropDownButton* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnDropDownButton* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnDropDownButton* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnDropDownButton* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnDropDownButton* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnDropDownButton* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnDropDownButton* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnDropDownButton* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnDropDownButton* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnDropDownButton* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnDropDownButton* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnDropDownButton* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnDropDownButton* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnDropDownButton* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnDropDownButton* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnDropDownButton* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnDropDownButton* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnDropDownButton* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnDropDownButton* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnDropDownButton* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnDropDownButton* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnDropDownButton* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnDropDownButton* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_content)(IAvnDropDownButton* self, IAvnControl** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_content)(IAvnDropDownButton* self, IAvnControl* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnDropDownButton* self, IAvnDataTemplate** value); /* slot 99 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnDropDownButton* self, IAvnDataTemplate* value); /* slot 100 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnDropDownButton* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnDropDownButton* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnDropDownButton* self, int32_t* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnDropDownButton* self, int32_t value); /* slot 104 */ - AvnHResult (AVN_CALL *get_click_mode)(IAvnDropDownButton* self, int32_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_click_mode)(IAvnDropDownButton* self, int32_t value); /* slot 106 */ - AvnHResult (AVN_CALL *get_command)(IAvnDropDownButton* self, IAvnCommand** value); /* slot 107 */ - AvnHResult (AVN_CALL *set_command)(IAvnDropDownButton* self, IAvnCommand* value); /* slot 108 */ - AvnHResult (AVN_CALL *get_hot_key)(IAvnDropDownButton* self, uint16_t** value); /* slot 109 */ - AvnHResult (AVN_CALL *set_hot_key)(IAvnDropDownButton* self, const uint16_t* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_command_parameter)(IAvnDropDownButton* self, AvnVariant* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_command_parameter)(IAvnDropDownButton* self, AvnVariant value); /* slot 112 */ - AvnHResult (AVN_CALL *get_is_default)(IAvnDropDownButton* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_is_default)(IAvnDropDownButton* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_is_cancel)(IAvnDropDownButton* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_is_cancel)(IAvnDropDownButton* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_is_pressed)(IAvnDropDownButton* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *get_flyout)(IAvnDropDownButton* self, IAvnFlyoutBase** value); /* slot 118 */ - AvnHResult (AVN_CALL *set_flyout)(IAvnDropDownButton* self, IAvnFlyoutBase* value); /* slot 119 */ - AvnHResult (AVN_CALL *advise_click)(IAvnDropDownButton* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 120 */ - AvnHResult (AVN_CALL *unadvise_click)(IAvnDropDownButton* self, int64_t subscription_id); /* slot 121 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnDropDownButton* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnDropDownButton* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnDropDownButton* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnDropDownButton* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnDropDownButton* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnDropDownButton* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnDropDownButton* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnDropDownButton* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnDropDownButton* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnDropDownButton* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnDropDownButton* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnDropDownButton* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnDropDownButton* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnDropDownButton* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnDropDownButton* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnDropDownButton* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnDropDownButton* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnDropDownButton* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnDropDownButton* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnDropDownButton* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnDropDownButton* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnDropDownButton* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnDropDownButton* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnDropDownButton* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnDropDownButton* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnDropDownButton* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnDropDownButton* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnDropDownButton* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnDropDownButton* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnDropDownButton* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnDropDownButton* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnDropDownButton* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnDropDownButton* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnDropDownButton* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnDropDownButton* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnDropDownButton* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnDropDownButton* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnDropDownButton* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnDropDownButton* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnDropDownButton* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_content)(IAvnDropDownButton* self, IAvnControl** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_content)(IAvnDropDownButton* self, IAvnControl* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnDropDownButton* self, IAvnDataTemplate** value); /* slot 105 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnDropDownButton* self, IAvnDataTemplate* value); /* slot 106 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnDropDownButton* self, int32_t* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnDropDownButton* self, int32_t value); /* slot 108 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnDropDownButton* self, int32_t* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnDropDownButton* self, int32_t value); /* slot 110 */ + AvnHResult (AVN_CALL *get_click_mode)(IAvnDropDownButton* self, int32_t* value); /* slot 111 */ + AvnHResult (AVN_CALL *set_click_mode)(IAvnDropDownButton* self, int32_t value); /* slot 112 */ + AvnHResult (AVN_CALL *get_command)(IAvnDropDownButton* self, IAvnCommand** value); /* slot 113 */ + AvnHResult (AVN_CALL *set_command)(IAvnDropDownButton* self, IAvnCommand* value); /* slot 114 */ + AvnHResult (AVN_CALL *get_hot_key)(IAvnDropDownButton* self, uint16_t** value); /* slot 115 */ + AvnHResult (AVN_CALL *set_hot_key)(IAvnDropDownButton* self, const uint16_t* value); /* slot 116 */ + AvnHResult (AVN_CALL *get_command_parameter)(IAvnDropDownButton* self, AvnVariant* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_command_parameter)(IAvnDropDownButton* self, AvnVariant value); /* slot 118 */ + AvnHResult (AVN_CALL *get_is_default)(IAvnDropDownButton* self, int32_t* value); /* slot 119 */ + AvnHResult (AVN_CALL *set_is_default)(IAvnDropDownButton* self, int32_t value); /* slot 120 */ + AvnHResult (AVN_CALL *get_is_cancel)(IAvnDropDownButton* self, int32_t* value); /* slot 121 */ + AvnHResult (AVN_CALL *set_is_cancel)(IAvnDropDownButton* self, int32_t value); /* slot 122 */ + AvnHResult (AVN_CALL *get_is_pressed)(IAvnDropDownButton* self, int32_t* value); /* slot 123 */ + AvnHResult (AVN_CALL *get_flyout)(IAvnDropDownButton* self, IAvnFlyoutBase** value); /* slot 124 */ + AvnHResult (AVN_CALL *set_flyout)(IAvnDropDownButton* self, IAvnFlyoutBase* value); /* slot 125 */ + AvnHResult (AVN_CALL *advise_click)(IAvnDropDownButton* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 126 */ + AvnHResult (AVN_CALL *unadvise_click)(IAvnDropDownButton* self, int64_t subscription_id); /* slot 127 */ }; struct IAvnDropDownButton { const IAvnDropDownButtonVtbl* vtbl; }; -#define I_AVN_DROP_DOWN_BUTTON_VTABLE_SLOTS 122 +#define I_AVN_DROP_DOWN_BUTTON_VTABLE_SLOTS 128 static const AvnGuid I_AVN_ELLIPSE_IID = { - 0x613206FF, - 0x5917, - 0x53D8, - { 0xA9, 0x28, 0x1B, 0xDE, 0x30, 0x9F, 0xB7, 0xF1 } + 0x2AA5065D, + 0x5B4C, + 0x542B, + { 0xB6, 0xCC, 0xA2, 0x30, 0xA5, 0x76, 0xE4, 0xF1 } }; -#define I_AVN_ELLIPSE_ABI_VERSION 8 +#define I_AVN_ELLIPSE_ABI_VERSION 9 struct IAvnEllipseVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnEllipse* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnEllipse* self); /* slot 1 */ @@ -5308,41 +5542,47 @@ struct IAvnEllipseVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnEllipse* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnEllipse* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnEllipse* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnEllipse* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnEllipse* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnEllipse* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnEllipse* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnEllipse* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnEllipse* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_fill)(IAvnEllipse* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_fill)(IAvnEllipse* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_stretch)(IAvnEllipse* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_stretch)(IAvnEllipse* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_stroke)(IAvnEllipse* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_stroke)(IAvnEllipse* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_stroke_dash_array)(IAvnEllipse* self, uint16_t** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_stroke_dash_array)(IAvnEllipse* self, const uint16_t* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_stroke_dash_offset)(IAvnEllipse* self, double* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_stroke_dash_offset)(IAvnEllipse* self, double value); /* slot 78 */ - AvnHResult (AVN_CALL *get_stroke_thickness)(IAvnEllipse* self, double* value); /* slot 79 */ - AvnHResult (AVN_CALL *set_stroke_thickness)(IAvnEllipse* self, double value); /* slot 80 */ - AvnHResult (AVN_CALL *get_stroke_line_cap)(IAvnEllipse* self, int32_t* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_stroke_line_cap)(IAvnEllipse* self, int32_t value); /* slot 82 */ - AvnHResult (AVN_CALL *get_stroke_join)(IAvnEllipse* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_stroke_join)(IAvnEllipse* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_stroke_miter_limit)(IAvnEllipse* self, double* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_stroke_miter_limit)(IAvnEllipse* self, double value); /* slot 86 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnEllipse* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnEllipse* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnEllipse* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnEllipse* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnEllipse* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnEllipse* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnEllipse* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnEllipse* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnEllipse* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnEllipse* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnEllipse* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnEllipse* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_fill)(IAvnEllipse* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_fill)(IAvnEllipse* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_stretch)(IAvnEllipse* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_stretch)(IAvnEllipse* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_stroke)(IAvnEllipse* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_stroke)(IAvnEllipse* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_stroke_dash_array)(IAvnEllipse* self, uint16_t** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_stroke_dash_array)(IAvnEllipse* self, const uint16_t* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_stroke_dash_offset)(IAvnEllipse* self, double* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_stroke_dash_offset)(IAvnEllipse* self, double value); /* slot 84 */ + AvnHResult (AVN_CALL *get_stroke_thickness)(IAvnEllipse* self, double* value); /* slot 85 */ + AvnHResult (AVN_CALL *set_stroke_thickness)(IAvnEllipse* self, double value); /* slot 86 */ + AvnHResult (AVN_CALL *get_stroke_line_cap)(IAvnEllipse* self, int32_t* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_stroke_line_cap)(IAvnEllipse* self, int32_t value); /* slot 88 */ + AvnHResult (AVN_CALL *get_stroke_join)(IAvnEllipse* self, int32_t* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_stroke_join)(IAvnEllipse* self, int32_t value); /* slot 90 */ + AvnHResult (AVN_CALL *get_stroke_miter_limit)(IAvnEllipse* self, double* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_stroke_miter_limit)(IAvnEllipse* self, double value); /* slot 92 */ }; struct IAvnEllipse { const IAvnEllipseVtbl* vtbl; }; -#define I_AVN_ELLIPSE_VTABLE_SLOTS 87 +#define I_AVN_ELLIPSE_VTABLE_SLOTS 93 static const AvnGuid I_AVN_EXPANDER_IID = { - 0x24CFAB36, - 0x1C9D, - 0x5E25, - { 0xAE, 0x07, 0xE9, 0x1D, 0xA6, 0xB3, 0xA2, 0x1C } + 0x5655BDB3, + 0xEF10, + 0x56D0, + { 0xBE, 0x24, 0x59, 0xFC, 0x88, 0x35, 0x09, 0x39 } }; -#define I_AVN_EXPANDER_ABI_VERSION 13 +#define I_AVN_EXPANDER_ABI_VERSION 14 struct IAvnExpanderVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnExpander* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnExpander* self); /* slot 1 */ @@ -5407,75 +5647,81 @@ struct IAvnExpanderVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnExpander* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnExpander* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnExpander* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnExpander* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnExpander* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnExpander* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnExpander* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnExpander* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnExpander* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnExpander* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnExpander* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnExpander* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnExpander* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnExpander* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnExpander* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnExpander* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnExpander* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnExpander* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnExpander* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnExpander* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnExpander* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnExpander* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnExpander* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnExpander* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnExpander* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnExpander* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnExpander* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnExpander* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnExpander* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnExpander* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnExpander* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnExpander* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnExpander* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnExpander* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnExpander* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnExpander* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnExpander* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_content)(IAvnExpander* self, IAvnControl** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_content)(IAvnExpander* self, IAvnControl* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnExpander* self, IAvnDataTemplate** value); /* slot 99 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnExpander* self, IAvnDataTemplate* value); /* slot 100 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnExpander* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnExpander* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnExpander* self, int32_t* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnExpander* self, int32_t value); /* slot 104 */ - AvnHResult (AVN_CALL *get_header)(IAvnExpander* self, IAvnControl** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_header)(IAvnExpander* self, IAvnControl* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_header_template)(IAvnExpander* self, IAvnDataTemplate** value); /* slot 107 */ - AvnHResult (AVN_CALL *set_header_template)(IAvnExpander* self, IAvnDataTemplate* value); /* slot 108 */ - AvnHResult (AVN_CALL *get_expand_direction)(IAvnExpander* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_expand_direction)(IAvnExpander* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_is_expanded)(IAvnExpander* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_is_expanded)(IAvnExpander* self, int32_t value); /* slot 112 */ - AvnHResult (AVN_CALL *advise_collapsed)(IAvnExpander* self, IAvnExpanderCollapsedHandler* handler, int64_t* subscription_id); /* slot 113 */ - AvnHResult (AVN_CALL *unadvise_collapsed)(IAvnExpander* self, int64_t subscription_id); /* slot 114 */ - AvnHResult (AVN_CALL *advise_collapsing)(IAvnExpander* self, IAvnExpanderCollapsingHandler* handler, int64_t* subscription_id); /* slot 115 */ - AvnHResult (AVN_CALL *unadvise_collapsing)(IAvnExpander* self, int64_t subscription_id); /* slot 116 */ - AvnHResult (AVN_CALL *advise_expanded)(IAvnExpander* self, IAvnExpanderExpandedHandler* handler, int64_t* subscription_id); /* slot 117 */ - AvnHResult (AVN_CALL *unadvise_expanded)(IAvnExpander* self, int64_t subscription_id); /* slot 118 */ - AvnHResult (AVN_CALL *advise_expanding)(IAvnExpander* self, IAvnExpanderExpandingHandler* handler, int64_t* subscription_id); /* slot 119 */ - AvnHResult (AVN_CALL *unadvise_expanding)(IAvnExpander* self, int64_t subscription_id); /* slot 120 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnExpander* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnExpander* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnExpander* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnExpander* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnExpander* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnExpander* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnExpander* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnExpander* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnExpander* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnExpander* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnExpander* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnExpander* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnExpander* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnExpander* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnExpander* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnExpander* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnExpander* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnExpander* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnExpander* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnExpander* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnExpander* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnExpander* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnExpander* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnExpander* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnExpander* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnExpander* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnExpander* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnExpander* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnExpander* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnExpander* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnExpander* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnExpander* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnExpander* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnExpander* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnExpander* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnExpander* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnExpander* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnExpander* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnExpander* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnExpander* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_content)(IAvnExpander* self, IAvnControl** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_content)(IAvnExpander* self, IAvnControl* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnExpander* self, IAvnDataTemplate** value); /* slot 105 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnExpander* self, IAvnDataTemplate* value); /* slot 106 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnExpander* self, int32_t* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnExpander* self, int32_t value); /* slot 108 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnExpander* self, int32_t* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnExpander* self, int32_t value); /* slot 110 */ + AvnHResult (AVN_CALL *get_header)(IAvnExpander* self, IAvnControl** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_header)(IAvnExpander* self, IAvnControl* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_header_template)(IAvnExpander* self, IAvnDataTemplate** value); /* slot 113 */ + AvnHResult (AVN_CALL *set_header_template)(IAvnExpander* self, IAvnDataTemplate* value); /* slot 114 */ + AvnHResult (AVN_CALL *get_expand_direction)(IAvnExpander* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_expand_direction)(IAvnExpander* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_is_expanded)(IAvnExpander* self, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_is_expanded)(IAvnExpander* self, int32_t value); /* slot 118 */ + AvnHResult (AVN_CALL *advise_collapsed)(IAvnExpander* self, IAvnExpanderCollapsedHandler* handler, int64_t* subscription_id); /* slot 119 */ + AvnHResult (AVN_CALL *unadvise_collapsed)(IAvnExpander* self, int64_t subscription_id); /* slot 120 */ + AvnHResult (AVN_CALL *advise_collapsing)(IAvnExpander* self, IAvnExpanderCollapsingHandler* handler, int64_t* subscription_id); /* slot 121 */ + AvnHResult (AVN_CALL *unadvise_collapsing)(IAvnExpander* self, int64_t subscription_id); /* slot 122 */ + AvnHResult (AVN_CALL *advise_expanded)(IAvnExpander* self, IAvnExpanderExpandedHandler* handler, int64_t* subscription_id); /* slot 123 */ + AvnHResult (AVN_CALL *unadvise_expanded)(IAvnExpander* self, int64_t subscription_id); /* slot 124 */ + AvnHResult (AVN_CALL *advise_expanding)(IAvnExpander* self, IAvnExpanderExpandingHandler* handler, int64_t* subscription_id); /* slot 125 */ + AvnHResult (AVN_CALL *unadvise_expanding)(IAvnExpander* self, int64_t subscription_id); /* slot 126 */ }; struct IAvnExpander { const IAvnExpanderVtbl* vtbl; }; -#define I_AVN_EXPANDER_VTABLE_SLOTS 121 +#define I_AVN_EXPANDER_VTABLE_SLOTS 127 static const AvnGuid I_AVN_FLEX_PANEL_IID = { - 0x299F0D1D, - 0x2C19, - 0x5531, - { 0xA4, 0xC9, 0x32, 0x7C, 0x78, 0x4B, 0x29, 0x7D } + 0x5E186F8A, + 0xD1FB, + 0x5989, + { 0xA4, 0x96, 0x63, 0x98, 0x2A, 0x99, 0x97, 0x52 } }; -#define I_AVN_FLEX_PANEL_ABI_VERSION 8 +#define I_AVN_FLEX_PANEL_ABI_VERSION 9 struct IAvnFlexPanelVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnFlexPanel* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnFlexPanel* self); /* slot 1 */ @@ -5540,32 +5786,38 @@ struct IAvnFlexPanelVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnFlexPanel* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnFlexPanel* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnFlexPanel* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnFlexPanel* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnFlexPanel* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnFlexPanel* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnFlexPanel* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnFlexPanel* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnFlexPanel* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_children)(IAvnFlexPanel* self, IAvnControlList** value); /* slot 69 */ - AvnHResult (AVN_CALL *get_background)(IAvnFlexPanel* self, IAvnBrush** value); /* slot 70 */ - AvnHResult (AVN_CALL *set_background)(IAvnFlexPanel* self, IAvnBrush* value); /* slot 71 */ - AvnHResult (AVN_CALL *get_direction)(IAvnFlexPanel* self, int32_t* value); /* slot 72 */ - AvnHResult (AVN_CALL *set_direction)(IAvnFlexPanel* self, int32_t value); /* slot 73 */ - AvnHResult (AVN_CALL *get_justify_content)(IAvnFlexPanel* self, int32_t* value); /* slot 74 */ - AvnHResult (AVN_CALL *set_justify_content)(IAvnFlexPanel* self, int32_t value); /* slot 75 */ - AvnHResult (AVN_CALL *get_align_items)(IAvnFlexPanel* self, int32_t* value); /* slot 76 */ - AvnHResult (AVN_CALL *set_align_items)(IAvnFlexPanel* self, int32_t value); /* slot 77 */ - AvnHResult (AVN_CALL *get_align_content)(IAvnFlexPanel* self, int32_t* value); /* slot 78 */ - AvnHResult (AVN_CALL *set_align_content)(IAvnFlexPanel* self, int32_t value); /* slot 79 */ - AvnHResult (AVN_CALL *get_wrap)(IAvnFlexPanel* self, int32_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *set_wrap)(IAvnFlexPanel* self, int32_t value); /* slot 81 */ - AvnHResult (AVN_CALL *get_column_spacing)(IAvnFlexPanel* self, double* value); /* slot 82 */ - AvnHResult (AVN_CALL *set_column_spacing)(IAvnFlexPanel* self, double value); /* slot 83 */ - AvnHResult (AVN_CALL *get_row_spacing)(IAvnFlexPanel* self, double* value); /* slot 84 */ - AvnHResult (AVN_CALL *set_row_spacing)(IAvnFlexPanel* self, double value); /* slot 85 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnFlexPanel* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnFlexPanel* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnFlexPanel* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnFlexPanel* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnFlexPanel* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnFlexPanel* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnFlexPanel* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnFlexPanel* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnFlexPanel* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnFlexPanel* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnFlexPanel* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnFlexPanel* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_children)(IAvnFlexPanel* self, IAvnControlList** value); /* slot 75 */ + AvnHResult (AVN_CALL *get_background)(IAvnFlexPanel* self, IAvnBrush** value); /* slot 76 */ + AvnHResult (AVN_CALL *set_background)(IAvnFlexPanel* self, IAvnBrush* value); /* slot 77 */ + AvnHResult (AVN_CALL *get_direction)(IAvnFlexPanel* self, int32_t* value); /* slot 78 */ + AvnHResult (AVN_CALL *set_direction)(IAvnFlexPanel* self, int32_t value); /* slot 79 */ + AvnHResult (AVN_CALL *get_justify_content)(IAvnFlexPanel* self, int32_t* value); /* slot 80 */ + AvnHResult (AVN_CALL *set_justify_content)(IAvnFlexPanel* self, int32_t value); /* slot 81 */ + AvnHResult (AVN_CALL *get_align_items)(IAvnFlexPanel* self, int32_t* value); /* slot 82 */ + AvnHResult (AVN_CALL *set_align_items)(IAvnFlexPanel* self, int32_t value); /* slot 83 */ + AvnHResult (AVN_CALL *get_align_content)(IAvnFlexPanel* self, int32_t* value); /* slot 84 */ + AvnHResult (AVN_CALL *set_align_content)(IAvnFlexPanel* self, int32_t value); /* slot 85 */ + AvnHResult (AVN_CALL *get_wrap)(IAvnFlexPanel* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_wrap)(IAvnFlexPanel* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_column_spacing)(IAvnFlexPanel* self, double* value); /* slot 88 */ + AvnHResult (AVN_CALL *set_column_spacing)(IAvnFlexPanel* self, double value); /* slot 89 */ + AvnHResult (AVN_CALL *get_row_spacing)(IAvnFlexPanel* self, double* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_row_spacing)(IAvnFlexPanel* self, double value); /* slot 91 */ }; struct IAvnFlexPanel { const IAvnFlexPanelVtbl* vtbl; }; -#define I_AVN_FLEX_PANEL_VTABLE_SLOTS 86 +#define I_AVN_FLEX_PANEL_VTABLE_SLOTS 92 static const AvnGuid I_AVN_FLYOUT_IID = { 0xCD1035F1, @@ -5650,12 +5902,12 @@ struct IAvnFlyoutBase { const IAvnFlyoutBaseVtbl* vtbl; }; #define I_AVN_FLYOUT_BASE_VTABLE_SLOTS 14 static const AvnGuid I_AVN_GRID_IID = { - 0x55E75D4C, - 0xFC75, - 0x51A9, - { 0xBA, 0x87, 0x6D, 0x28, 0x70, 0x4E, 0xAF, 0xC8 } + 0x63034BE5, + 0x179A, + 0x5196, + { 0x83, 0x38, 0xF1, 0x07, 0x85, 0xC6, 0xDD, 0xDD } }; -#define I_AVN_GRID_ABI_VERSION 12 +#define I_AVN_GRID_ABI_VERSION 13 struct IAvnGridVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnGrid* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnGrid* self); /* slot 1 */ @@ -5720,36 +5972,42 @@ struct IAvnGridVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnGrid* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnGrid* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnGrid* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnGrid* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnGrid* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnGrid* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnGrid* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnGrid* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnGrid* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_children)(IAvnGrid* self, IAvnControlList** value); /* slot 69 */ - AvnHResult (AVN_CALL *get_background)(IAvnGrid* self, IAvnBrush** value); /* slot 70 */ - AvnHResult (AVN_CALL *set_background)(IAvnGrid* self, IAvnBrush* value); /* slot 71 */ - AvnHResult (AVN_CALL *get_show_grid_lines)(IAvnGrid* self, int32_t* value); /* slot 72 */ - AvnHResult (AVN_CALL *set_show_grid_lines)(IAvnGrid* self, int32_t value); /* slot 73 */ - AvnHResult (AVN_CALL *get_row_spacing)(IAvnGrid* self, double* value); /* slot 74 */ - AvnHResult (AVN_CALL *set_row_spacing)(IAvnGrid* self, double value); /* slot 75 */ - AvnHResult (AVN_CALL *get_column_spacing)(IAvnGrid* self, double* value); /* slot 76 */ - AvnHResult (AVN_CALL *set_column_spacing)(IAvnGrid* self, double value); /* slot 77 */ - AvnHResult (AVN_CALL *get_column_definitions)(IAvnGrid* self, uint16_t** value); /* slot 78 */ - AvnHResult (AVN_CALL *set_column_definitions)(IAvnGrid* self, const uint16_t* value); /* slot 79 */ - AvnHResult (AVN_CALL *get_row_definitions)(IAvnGrid* self, uint16_t** value); /* slot 80 */ - AvnHResult (AVN_CALL *set_row_definitions)(IAvnGrid* self, const uint16_t* value); /* slot 81 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnGrid* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnGrid* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnGrid* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnGrid* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnGrid* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnGrid* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnGrid* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnGrid* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnGrid* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnGrid* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnGrid* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnGrid* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_children)(IAvnGrid* self, IAvnControlList** value); /* slot 75 */ + AvnHResult (AVN_CALL *get_background)(IAvnGrid* self, IAvnBrush** value); /* slot 76 */ + AvnHResult (AVN_CALL *set_background)(IAvnGrid* self, IAvnBrush* value); /* slot 77 */ + AvnHResult (AVN_CALL *get_show_grid_lines)(IAvnGrid* self, int32_t* value); /* slot 78 */ + AvnHResult (AVN_CALL *set_show_grid_lines)(IAvnGrid* self, int32_t value); /* slot 79 */ + AvnHResult (AVN_CALL *get_row_spacing)(IAvnGrid* self, double* value); /* slot 80 */ + AvnHResult (AVN_CALL *set_row_spacing)(IAvnGrid* self, double value); /* slot 81 */ + AvnHResult (AVN_CALL *get_column_spacing)(IAvnGrid* self, double* value); /* slot 82 */ + AvnHResult (AVN_CALL *set_column_spacing)(IAvnGrid* self, double value); /* slot 83 */ + AvnHResult (AVN_CALL *get_column_definitions)(IAvnGrid* self, uint16_t** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_column_definitions)(IAvnGrid* self, const uint16_t* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_row_definitions)(IAvnGrid* self, uint16_t** value); /* slot 86 */ + AvnHResult (AVN_CALL *set_row_definitions)(IAvnGrid* self, const uint16_t* value); /* slot 87 */ }; struct IAvnGrid { const IAvnGridVtbl* vtbl; }; -#define I_AVN_GRID_VTABLE_SLOTS 82 +#define I_AVN_GRID_VTABLE_SLOTS 88 static const AvnGuid I_AVN_GRID_SPLITTER_IID = { - 0xDBCA4F68, - 0xAFEE, - 0x5885, - { 0x93, 0x8A, 0x19, 0x4E, 0x7D, 0xE5, 0xC5, 0x51 } + 0x93629BF6, + 0xE409, + 0x5BF3, + { 0xBB, 0x49, 0x45, 0x4A, 0x88, 0x45, 0x50, 0xE3 } }; -#define I_AVN_GRID_SPLITTER_ABI_VERSION 10 +#define I_AVN_GRID_SPLITTER_ABI_VERSION 11 struct IAvnGridSplitterVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnGridSplitter* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnGridSplitter* self); /* slot 1 */ @@ -5814,67 +6072,73 @@ struct IAvnGridSplitterVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnGridSplitter* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnGridSplitter* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnGridSplitter* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnGridSplitter* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnGridSplitter* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnGridSplitter* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnGridSplitter* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnGridSplitter* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnGridSplitter* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnGridSplitter* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnGridSplitter* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnGridSplitter* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnGridSplitter* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnGridSplitter* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnGridSplitter* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnGridSplitter* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnGridSplitter* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnGridSplitter* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnGridSplitter* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnGridSplitter* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnGridSplitter* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnGridSplitter* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnGridSplitter* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnGridSplitter* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnGridSplitter* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnGridSplitter* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnGridSplitter* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnGridSplitter* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnGridSplitter* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnGridSplitter* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnGridSplitter* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnGridSplitter* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *advise_drag_started)(IAvnGridSplitter* self, IAvnThumbDragStartedHandler* handler, int64_t* subscription_id); /* slot 97 */ - AvnHResult (AVN_CALL *unadvise_drag_started)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 98 */ - AvnHResult (AVN_CALL *advise_drag_delta)(IAvnGridSplitter* self, IAvnThumbDragDeltaHandler* handler, int64_t* subscription_id); /* slot 99 */ - AvnHResult (AVN_CALL *unadvise_drag_delta)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 100 */ - AvnHResult (AVN_CALL *advise_drag_completed)(IAvnGridSplitter* self, IAvnThumbDragCompletedHandler* handler, int64_t* subscription_id); /* slot 101 */ - AvnHResult (AVN_CALL *unadvise_drag_completed)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 102 */ - AvnHResult (AVN_CALL *get_resize_direction)(IAvnGridSplitter* self, int32_t* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_resize_direction)(IAvnGridSplitter* self, int32_t value); /* slot 104 */ - AvnHResult (AVN_CALL *get_resize_behavior)(IAvnGridSplitter* self, int32_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_resize_behavior)(IAvnGridSplitter* self, int32_t value); /* slot 106 */ - AvnHResult (AVN_CALL *get_shows_preview)(IAvnGridSplitter* self, int32_t* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_shows_preview)(IAvnGridSplitter* self, int32_t value); /* slot 108 */ - AvnHResult (AVN_CALL *get_keyboard_increment)(IAvnGridSplitter* self, double* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_keyboard_increment)(IAvnGridSplitter* self, double value); /* slot 110 */ - AvnHResult (AVN_CALL *get_drag_increment)(IAvnGridSplitter* self, double* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_drag_increment)(IAvnGridSplitter* self, double value); /* slot 112 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnGridSplitter* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnGridSplitter* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnGridSplitter* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnGridSplitter* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnGridSplitter* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnGridSplitter* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnGridSplitter* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnGridSplitter* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnGridSplitter* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnGridSplitter* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnGridSplitter* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnGridSplitter* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnGridSplitter* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnGridSplitter* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnGridSplitter* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnGridSplitter* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnGridSplitter* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnGridSplitter* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnGridSplitter* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnGridSplitter* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnGridSplitter* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnGridSplitter* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnGridSplitter* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnGridSplitter* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnGridSplitter* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnGridSplitter* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnGridSplitter* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnGridSplitter* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnGridSplitter* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnGridSplitter* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnGridSplitter* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnGridSplitter* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnGridSplitter* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnGridSplitter* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *advise_drag_started)(IAvnGridSplitter* self, IAvnThumbDragStartedHandler* handler, int64_t* subscription_id); /* slot 103 */ + AvnHResult (AVN_CALL *unadvise_drag_started)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 104 */ + AvnHResult (AVN_CALL *advise_drag_delta)(IAvnGridSplitter* self, IAvnThumbDragDeltaHandler* handler, int64_t* subscription_id); /* slot 105 */ + AvnHResult (AVN_CALL *unadvise_drag_delta)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 106 */ + AvnHResult (AVN_CALL *advise_drag_completed)(IAvnGridSplitter* self, IAvnThumbDragCompletedHandler* handler, int64_t* subscription_id); /* slot 107 */ + AvnHResult (AVN_CALL *unadvise_drag_completed)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 108 */ + AvnHResult (AVN_CALL *get_resize_direction)(IAvnGridSplitter* self, int32_t* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_resize_direction)(IAvnGridSplitter* self, int32_t value); /* slot 110 */ + AvnHResult (AVN_CALL *get_resize_behavior)(IAvnGridSplitter* self, int32_t* value); /* slot 111 */ + AvnHResult (AVN_CALL *set_resize_behavior)(IAvnGridSplitter* self, int32_t value); /* slot 112 */ + AvnHResult (AVN_CALL *get_shows_preview)(IAvnGridSplitter* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *set_shows_preview)(IAvnGridSplitter* self, int32_t value); /* slot 114 */ + AvnHResult (AVN_CALL *get_keyboard_increment)(IAvnGridSplitter* self, double* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_keyboard_increment)(IAvnGridSplitter* self, double value); /* slot 116 */ + AvnHResult (AVN_CALL *get_drag_increment)(IAvnGridSplitter* self, double* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_drag_increment)(IAvnGridSplitter* self, double value); /* slot 118 */ }; struct IAvnGridSplitter { const IAvnGridSplitterVtbl* vtbl; }; -#define I_AVN_GRID_SPLITTER_VTABLE_SLOTS 113 +#define I_AVN_GRID_SPLITTER_VTABLE_SLOTS 119 static const AvnGuid I_AVN_GROUP_BOX_IID = { - 0x48EE658E, - 0x57F1, - 0x5550, - { 0xAE, 0xB5, 0x76, 0x64, 0x77, 0xC6, 0x16, 0xBD } + 0xB2A2A0DC, + 0x533F, + 0x50D6, + { 0xB4, 0x86, 0x8A, 0xFB, 0x44, 0xB0, 0xE8, 0x2D } }; -#define I_AVN_GROUP_BOX_ABI_VERSION 9 +#define I_AVN_GROUP_BOX_ABI_VERSION 10 struct IAvnGroupBoxVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnGroupBox* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnGroupBox* self); /* slot 1 */ @@ -5939,63 +6203,69 @@ struct IAvnGroupBoxVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnGroupBox* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnGroupBox* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnGroupBox* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnGroupBox* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnGroupBox* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnGroupBox* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnGroupBox* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnGroupBox* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnGroupBox* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnGroupBox* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnGroupBox* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnGroupBox* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnGroupBox* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnGroupBox* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnGroupBox* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnGroupBox* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnGroupBox* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnGroupBox* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnGroupBox* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnGroupBox* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnGroupBox* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnGroupBox* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnGroupBox* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnGroupBox* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnGroupBox* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnGroupBox* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnGroupBox* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnGroupBox* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnGroupBox* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnGroupBox* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnGroupBox* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnGroupBox* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnGroupBox* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnGroupBox* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnGroupBox* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnGroupBox* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnGroupBox* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_content)(IAvnGroupBox* self, IAvnControl** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_content)(IAvnGroupBox* self, IAvnControl* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnGroupBox* self, IAvnDataTemplate** value); /* slot 99 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnGroupBox* self, IAvnDataTemplate* value); /* slot 100 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnGroupBox* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnGroupBox* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnGroupBox* self, int32_t* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnGroupBox* self, int32_t value); /* slot 104 */ - AvnHResult (AVN_CALL *get_header)(IAvnGroupBox* self, IAvnControl** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_header)(IAvnGroupBox* self, IAvnControl* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_header_template)(IAvnGroupBox* self, IAvnDataTemplate** value); /* slot 107 */ - AvnHResult (AVN_CALL *set_header_template)(IAvnGroupBox* self, IAvnDataTemplate* value); /* slot 108 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnGroupBox* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnGroupBox* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnGroupBox* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnGroupBox* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnGroupBox* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnGroupBox* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnGroupBox* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnGroupBox* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnGroupBox* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnGroupBox* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnGroupBox* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnGroupBox* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnGroupBox* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnGroupBox* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnGroupBox* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnGroupBox* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnGroupBox* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnGroupBox* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnGroupBox* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnGroupBox* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnGroupBox* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnGroupBox* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnGroupBox* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnGroupBox* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnGroupBox* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnGroupBox* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnGroupBox* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnGroupBox* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnGroupBox* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnGroupBox* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnGroupBox* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnGroupBox* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnGroupBox* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnGroupBox* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnGroupBox* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnGroupBox* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnGroupBox* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnGroupBox* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnGroupBox* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnGroupBox* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_content)(IAvnGroupBox* self, IAvnControl** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_content)(IAvnGroupBox* self, IAvnControl* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnGroupBox* self, IAvnDataTemplate** value); /* slot 105 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnGroupBox* self, IAvnDataTemplate* value); /* slot 106 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnGroupBox* self, int32_t* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnGroupBox* self, int32_t value); /* slot 108 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnGroupBox* self, int32_t* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnGroupBox* self, int32_t value); /* slot 110 */ + AvnHResult (AVN_CALL *get_header)(IAvnGroupBox* self, IAvnControl** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_header)(IAvnGroupBox* self, IAvnControl* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_header_template)(IAvnGroupBox* self, IAvnDataTemplate** value); /* slot 113 */ + AvnHResult (AVN_CALL *set_header_template)(IAvnGroupBox* self, IAvnDataTemplate* value); /* slot 114 */ }; struct IAvnGroupBox { const IAvnGroupBoxVtbl* vtbl; }; -#define I_AVN_GROUP_BOX_VTABLE_SLOTS 109 +#define I_AVN_GROUP_BOX_VTABLE_SLOTS 115 static const AvnGuid I_AVN_HEADERED_CONTENT_CONTROL_IID = { - 0x326C8A38, - 0xFA42, - 0x51F4, - { 0x90, 0x41, 0xE7, 0xFD, 0x0F, 0xFF, 0xB6, 0x96 } + 0xC1825F55, + 0xDE82, + 0x5447, + { 0x93, 0xA8, 0x4A, 0x55, 0xF6, 0x3B, 0xA6, 0x52 } }; -#define I_AVN_HEADERED_CONTENT_CONTROL_ABI_VERSION 13 +#define I_AVN_HEADERED_CONTENT_CONTROL_ABI_VERSION 14 struct IAvnHeaderedContentControlVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnHeaderedContentControl* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnHeaderedContentControl* self); /* slot 1 */ @@ -6060,63 +6330,69 @@ struct IAvnHeaderedContentControlVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnHeaderedContentControl* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnHeaderedContentControl* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnHeaderedContentControl* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnHeaderedContentControl* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnHeaderedContentControl* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnHeaderedContentControl* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnHeaderedContentControl* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnHeaderedContentControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnHeaderedContentControl* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnHeaderedContentControl* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnHeaderedContentControl* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnHeaderedContentControl* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnHeaderedContentControl* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnHeaderedContentControl* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnHeaderedContentControl* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnHeaderedContentControl* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnHeaderedContentControl* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnHeaderedContentControl* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnHeaderedContentControl* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnHeaderedContentControl* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnHeaderedContentControl* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnHeaderedContentControl* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnHeaderedContentControl* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnHeaderedContentControl* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnHeaderedContentControl* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnHeaderedContentControl* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnHeaderedContentControl* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnHeaderedContentControl* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnHeaderedContentControl* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnHeaderedContentControl* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnHeaderedContentControl* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnHeaderedContentControl* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnHeaderedContentControl* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnHeaderedContentControl* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnHeaderedContentControl* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnHeaderedContentControl* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnHeaderedContentControl* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_content)(IAvnHeaderedContentControl* self, IAvnControl** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_content)(IAvnHeaderedContentControl* self, IAvnControl* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnHeaderedContentControl* self, IAvnDataTemplate** value); /* slot 99 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnHeaderedContentControl* self, IAvnDataTemplate* value); /* slot 100 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnHeaderedContentControl* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnHeaderedContentControl* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnHeaderedContentControl* self, int32_t* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnHeaderedContentControl* self, int32_t value); /* slot 104 */ - AvnHResult (AVN_CALL *get_header)(IAvnHeaderedContentControl* self, IAvnControl** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_header)(IAvnHeaderedContentControl* self, IAvnControl* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_header_template)(IAvnHeaderedContentControl* self, IAvnDataTemplate** value); /* slot 107 */ - AvnHResult (AVN_CALL *set_header_template)(IAvnHeaderedContentControl* self, IAvnDataTemplate* value); /* slot 108 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnHeaderedContentControl* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnHeaderedContentControl* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnHeaderedContentControl* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnHeaderedContentControl* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnHeaderedContentControl* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnHeaderedContentControl* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnHeaderedContentControl* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnHeaderedContentControl* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnHeaderedContentControl* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnHeaderedContentControl* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnHeaderedContentControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnHeaderedContentControl* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnHeaderedContentControl* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnHeaderedContentControl* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnHeaderedContentControl* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnHeaderedContentControl* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnHeaderedContentControl* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnHeaderedContentControl* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnHeaderedContentControl* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnHeaderedContentControl* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnHeaderedContentControl* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnHeaderedContentControl* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnHeaderedContentControl* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnHeaderedContentControl* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnHeaderedContentControl* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnHeaderedContentControl* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnHeaderedContentControl* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnHeaderedContentControl* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnHeaderedContentControl* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnHeaderedContentControl* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnHeaderedContentControl* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnHeaderedContentControl* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnHeaderedContentControl* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnHeaderedContentControl* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnHeaderedContentControl* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnHeaderedContentControl* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnHeaderedContentControl* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnHeaderedContentControl* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnHeaderedContentControl* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnHeaderedContentControl* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_content)(IAvnHeaderedContentControl* self, IAvnControl** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_content)(IAvnHeaderedContentControl* self, IAvnControl* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnHeaderedContentControl* self, IAvnDataTemplate** value); /* slot 105 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnHeaderedContentControl* self, IAvnDataTemplate* value); /* slot 106 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnHeaderedContentControl* self, int32_t* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnHeaderedContentControl* self, int32_t value); /* slot 108 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnHeaderedContentControl* self, int32_t* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnHeaderedContentControl* self, int32_t value); /* slot 110 */ + AvnHResult (AVN_CALL *get_header)(IAvnHeaderedContentControl* self, IAvnControl** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_header)(IAvnHeaderedContentControl* self, IAvnControl* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_header_template)(IAvnHeaderedContentControl* self, IAvnDataTemplate** value); /* slot 113 */ + AvnHResult (AVN_CALL *set_header_template)(IAvnHeaderedContentControl* self, IAvnDataTemplate* value); /* slot 114 */ }; struct IAvnHeaderedContentControl { const IAvnHeaderedContentControlVtbl* vtbl; }; -#define I_AVN_HEADERED_CONTENT_CONTROL_VTABLE_SLOTS 109 +#define I_AVN_HEADERED_CONTENT_CONTROL_VTABLE_SLOTS 115 static const AvnGuid I_AVN_HEADERED_ITEMS_CONTROL_IID = { - 0xE4AB3702, - 0x5F01, - 0x59CF, - { 0x9F, 0x5E, 0x3C, 0x3D, 0xD2, 0x81, 0x53, 0x3F } + 0xB6281359, + 0x24AB, + 0x5280, + { 0x8B, 0x2C, 0x76, 0x2A, 0x53, 0x52, 0x9C, 0x27 } }; -#define I_AVN_HEADERED_ITEMS_CONTROL_ABI_VERSION 12 +#define I_AVN_HEADERED_ITEMS_CONTROL_ABI_VERSION 13 struct IAvnHeaderedItemsControlVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnHeaderedItemsControl* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnHeaderedItemsControl* self); /* slot 1 */ @@ -6181,67 +6457,73 @@ struct IAvnHeaderedItemsControlVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnHeaderedItemsControl* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnHeaderedItemsControl* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnHeaderedItemsControl* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnHeaderedItemsControl* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnHeaderedItemsControl* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnHeaderedItemsControl* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnHeaderedItemsControl* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnHeaderedItemsControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnHeaderedItemsControl* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnHeaderedItemsControl* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnHeaderedItemsControl* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnHeaderedItemsControl* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnHeaderedItemsControl* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnHeaderedItemsControl* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnHeaderedItemsControl* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnHeaderedItemsControl* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnHeaderedItemsControl* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnHeaderedItemsControl* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnHeaderedItemsControl* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnHeaderedItemsControl* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnHeaderedItemsControl* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnHeaderedItemsControl* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnHeaderedItemsControl* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnHeaderedItemsControl* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnHeaderedItemsControl* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnHeaderedItemsControl* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnHeaderedItemsControl* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnHeaderedItemsControl* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnHeaderedItemsControl* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnHeaderedItemsControl* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnHeaderedItemsControl* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnHeaderedItemsControl* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnHeaderedItemsControl* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnHeaderedItemsControl* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnHeaderedItemsControl* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnHeaderedItemsControl* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnHeaderedItemsControl* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_items)(IAvnHeaderedItemsControl* self, IAvnItemList** value); /* slot 97 */ - AvnHResult (AVN_CALL *get_item_count)(IAvnHeaderedItemsControl* self, int32_t* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_items_source)(IAvnHeaderedItemsControl* self, IAvnVariantList** value); /* slot 99 */ - AvnHResult (AVN_CALL *set_items_source)(IAvnHeaderedItemsControl* self, IAvnVariantList* value); /* slot 100 */ - AvnHResult (AVN_CALL *get_item_template)(IAvnHeaderedItemsControl* self, IAvnDataTemplate** value); /* slot 101 */ - AvnHResult (AVN_CALL *set_item_template)(IAvnHeaderedItemsControl* self, IAvnDataTemplate* value); /* slot 102 */ - AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnHeaderedItemsControl* self, int32_t index, IAvnControl** value); /* slot 103 */ - AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnHeaderedItemsControl* self, AvnVariant item, IAvnControl** value); /* slot 104 */ - AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnHeaderedItemsControl* self, IAvnControl* container, int32_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnHeaderedItemsControl* self, IAvnControl* container, AvnVariant* value); /* slot 106 */ - AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnHeaderedItemsControl* self, int32_t index); /* slot 107 */ - AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnHeaderedItemsControl* self, AvnVariant item); /* slot 108 */ - AvnHResult (AVN_CALL *get_header)(IAvnHeaderedItemsControl* self, IAvnControl** value); /* slot 109 */ - AvnHResult (AVN_CALL *set_header)(IAvnHeaderedItemsControl* self, IAvnControl* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_header_template)(IAvnHeaderedItemsControl* self, IAvnDataTemplate** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_header_template)(IAvnHeaderedItemsControl* self, IAvnDataTemplate* value); /* slot 112 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnHeaderedItemsControl* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnHeaderedItemsControl* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnHeaderedItemsControl* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnHeaderedItemsControl* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnHeaderedItemsControl* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnHeaderedItemsControl* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnHeaderedItemsControl* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnHeaderedItemsControl* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnHeaderedItemsControl* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnHeaderedItemsControl* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnHeaderedItemsControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnHeaderedItemsControl* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnHeaderedItemsControl* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnHeaderedItemsControl* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnHeaderedItemsControl* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnHeaderedItemsControl* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnHeaderedItemsControl* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnHeaderedItemsControl* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnHeaderedItemsControl* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnHeaderedItemsControl* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnHeaderedItemsControl* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnHeaderedItemsControl* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnHeaderedItemsControl* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnHeaderedItemsControl* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnHeaderedItemsControl* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnHeaderedItemsControl* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnHeaderedItemsControl* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnHeaderedItemsControl* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnHeaderedItemsControl* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnHeaderedItemsControl* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnHeaderedItemsControl* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnHeaderedItemsControl* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnHeaderedItemsControl* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnHeaderedItemsControl* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnHeaderedItemsControl* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnHeaderedItemsControl* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnHeaderedItemsControl* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnHeaderedItemsControl* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnHeaderedItemsControl* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnHeaderedItemsControl* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_items)(IAvnHeaderedItemsControl* self, IAvnItemList** value); /* slot 103 */ + AvnHResult (AVN_CALL *get_item_count)(IAvnHeaderedItemsControl* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_items_source)(IAvnHeaderedItemsControl* self, IAvnVariantList** value); /* slot 105 */ + AvnHResult (AVN_CALL *set_items_source)(IAvnHeaderedItemsControl* self, IAvnVariantList* value); /* slot 106 */ + AvnHResult (AVN_CALL *get_item_template)(IAvnHeaderedItemsControl* self, IAvnDataTemplate** value); /* slot 107 */ + AvnHResult (AVN_CALL *set_item_template)(IAvnHeaderedItemsControl* self, IAvnDataTemplate* value); /* slot 108 */ + AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnHeaderedItemsControl* self, int32_t index, IAvnControl** value); /* slot 109 */ + AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnHeaderedItemsControl* self, AvnVariant item, IAvnControl** value); /* slot 110 */ + AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnHeaderedItemsControl* self, IAvnControl* container, int32_t* value); /* slot 111 */ + AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnHeaderedItemsControl* self, IAvnControl* container, AvnVariant* value); /* slot 112 */ + AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnHeaderedItemsControl* self, int32_t index); /* slot 113 */ + AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnHeaderedItemsControl* self, AvnVariant item); /* slot 114 */ + AvnHResult (AVN_CALL *get_header)(IAvnHeaderedItemsControl* self, IAvnControl** value); /* slot 115 */ + AvnHResult (AVN_CALL *set_header)(IAvnHeaderedItemsControl* self, IAvnControl* value); /* slot 116 */ + AvnHResult (AVN_CALL *get_header_template)(IAvnHeaderedItemsControl* self, IAvnDataTemplate** value); /* slot 117 */ + AvnHResult (AVN_CALL *set_header_template)(IAvnHeaderedItemsControl* self, IAvnDataTemplate* value); /* slot 118 */ }; struct IAvnHeaderedItemsControl { const IAvnHeaderedItemsControlVtbl* vtbl; }; -#define I_AVN_HEADERED_ITEMS_CONTROL_VTABLE_SLOTS 113 +#define I_AVN_HEADERED_ITEMS_CONTROL_VTABLE_SLOTS 119 static const AvnGuid I_AVN_HEADERED_SELECTING_ITEMS_CONTROL_IID = { - 0xE0CB1C51, - 0x192B, - 0x5B9B, - { 0x8A, 0x19, 0x72, 0xEE, 0x4C, 0x68, 0xC2, 0x7D } + 0x8640C1BF, + 0x2502, + 0x5E21, + { 0xB8, 0x61, 0x1E, 0xCB, 0xD1, 0x91, 0x8F, 0xD1 } }; -#define I_AVN_HEADERED_SELECTING_ITEMS_CONTROL_ABI_VERSION 12 +#define I_AVN_HEADERED_SELECTING_ITEMS_CONTROL_ABI_VERSION 13 struct IAvnHeaderedSelectingItemsControlVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnHeaderedSelectingItemsControl* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnHeaderedSelectingItemsControl* self); /* slot 1 */ @@ -6306,81 +6588,87 @@ struct IAvnHeaderedSelectingItemsControlVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnHeaderedSelectingItemsControl* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnHeaderedSelectingItemsControl* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnHeaderedSelectingItemsControl* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnHeaderedSelectingItemsControl* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnHeaderedSelectingItemsControl* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnHeaderedSelectingItemsControl* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnHeaderedSelectingItemsControl* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnHeaderedSelectingItemsControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnHeaderedSelectingItemsControl* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnHeaderedSelectingItemsControl* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnHeaderedSelectingItemsControl* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnHeaderedSelectingItemsControl* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnHeaderedSelectingItemsControl* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnHeaderedSelectingItemsControl* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnHeaderedSelectingItemsControl* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnHeaderedSelectingItemsControl* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnHeaderedSelectingItemsControl* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnHeaderedSelectingItemsControl* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnHeaderedSelectingItemsControl* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnHeaderedSelectingItemsControl* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnHeaderedSelectingItemsControl* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnHeaderedSelectingItemsControl* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnHeaderedSelectingItemsControl* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnHeaderedSelectingItemsControl* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnHeaderedSelectingItemsControl* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnHeaderedSelectingItemsControl* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnHeaderedSelectingItemsControl* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnHeaderedSelectingItemsControl* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnHeaderedSelectingItemsControl* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnHeaderedSelectingItemsControl* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnHeaderedSelectingItemsControl* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnHeaderedSelectingItemsControl* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnHeaderedSelectingItemsControl* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_items)(IAvnHeaderedSelectingItemsControl* self, IAvnItemList** value); /* slot 97 */ - AvnHResult (AVN_CALL *get_item_count)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_items_source)(IAvnHeaderedSelectingItemsControl* self, IAvnVariantList** value); /* slot 99 */ - AvnHResult (AVN_CALL *set_items_source)(IAvnHeaderedSelectingItemsControl* self, IAvnVariantList* value); /* slot 100 */ - AvnHResult (AVN_CALL *get_item_template)(IAvnHeaderedSelectingItemsControl* self, IAvnDataTemplate** value); /* slot 101 */ - AvnHResult (AVN_CALL *set_item_template)(IAvnHeaderedSelectingItemsControl* self, IAvnDataTemplate* value); /* slot 102 */ - AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnHeaderedSelectingItemsControl* self, int32_t index, IAvnControl** value); /* slot 103 */ - AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnHeaderedSelectingItemsControl* self, AvnVariant item, IAvnControl** value); /* slot 104 */ - AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnHeaderedSelectingItemsControl* self, IAvnControl* container, int32_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnHeaderedSelectingItemsControl* self, IAvnControl* container, AvnVariant* value); /* slot 106 */ - AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnHeaderedSelectingItemsControl* self, int32_t index); /* slot 107 */ - AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnHeaderedSelectingItemsControl* self, AvnVariant item); /* slot 108 */ - AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnHeaderedSelectingItemsControl* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_selected_index)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_selected_index)(IAvnHeaderedSelectingItemsControl* self, int32_t value); /* slot 112 */ - AvnHResult (AVN_CALL *get_selected_item)(IAvnHeaderedSelectingItemsControl* self, AvnVariant* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_selected_item)(IAvnHeaderedSelectingItemsControl* self, AvnVariant value); /* slot 114 */ - AvnHResult (AVN_CALL *get_selected_value)(IAvnHeaderedSelectingItemsControl* self, AvnVariant* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_selected_value)(IAvnHeaderedSelectingItemsControl* self, AvnVariant value); /* slot 116 */ - AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnHeaderedSelectingItemsControl* self, int32_t value); /* slot 118 */ - AvnHResult (AVN_CALL *get_wrap_selection)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 119 */ - AvnHResult (AVN_CALL *set_wrap_selection)(IAvnHeaderedSelectingItemsControl* self, int32_t value); /* slot 120 */ - AvnHResult (AVN_CALL *advise_selection_changed)(IAvnHeaderedSelectingItemsControl* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 121 */ - AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnHeaderedSelectingItemsControl* self, int64_t subscription_id); /* slot 122 */ - AvnHResult (AVN_CALL *get_header)(IAvnHeaderedSelectingItemsControl* self, IAvnControl** value); /* slot 123 */ - AvnHResult (AVN_CALL *set_header)(IAvnHeaderedSelectingItemsControl* self, IAvnControl* value); /* slot 124 */ - AvnHResult (AVN_CALL *get_header_template)(IAvnHeaderedSelectingItemsControl* self, IAvnDataTemplate** value); /* slot 125 */ - AvnHResult (AVN_CALL *set_header_template)(IAvnHeaderedSelectingItemsControl* self, IAvnDataTemplate* value); /* slot 126 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnHeaderedSelectingItemsControl* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnHeaderedSelectingItemsControl* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnHeaderedSelectingItemsControl* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnHeaderedSelectingItemsControl* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnHeaderedSelectingItemsControl* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnHeaderedSelectingItemsControl* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnHeaderedSelectingItemsControl* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnHeaderedSelectingItemsControl* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnHeaderedSelectingItemsControl* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnHeaderedSelectingItemsControl* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnHeaderedSelectingItemsControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnHeaderedSelectingItemsControl* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnHeaderedSelectingItemsControl* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnHeaderedSelectingItemsControl* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnHeaderedSelectingItemsControl* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnHeaderedSelectingItemsControl* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnHeaderedSelectingItemsControl* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnHeaderedSelectingItemsControl* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnHeaderedSelectingItemsControl* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnHeaderedSelectingItemsControl* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnHeaderedSelectingItemsControl* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnHeaderedSelectingItemsControl* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnHeaderedSelectingItemsControl* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnHeaderedSelectingItemsControl* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnHeaderedSelectingItemsControl* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnHeaderedSelectingItemsControl* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnHeaderedSelectingItemsControl* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnHeaderedSelectingItemsControl* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnHeaderedSelectingItemsControl* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnHeaderedSelectingItemsControl* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnHeaderedSelectingItemsControl* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnHeaderedSelectingItemsControl* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnHeaderedSelectingItemsControl* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnHeaderedSelectingItemsControl* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnHeaderedSelectingItemsControl* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnHeaderedSelectingItemsControl* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_items)(IAvnHeaderedSelectingItemsControl* self, IAvnItemList** value); /* slot 103 */ + AvnHResult (AVN_CALL *get_item_count)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_items_source)(IAvnHeaderedSelectingItemsControl* self, IAvnVariantList** value); /* slot 105 */ + AvnHResult (AVN_CALL *set_items_source)(IAvnHeaderedSelectingItemsControl* self, IAvnVariantList* value); /* slot 106 */ + AvnHResult (AVN_CALL *get_item_template)(IAvnHeaderedSelectingItemsControl* self, IAvnDataTemplate** value); /* slot 107 */ + AvnHResult (AVN_CALL *set_item_template)(IAvnHeaderedSelectingItemsControl* self, IAvnDataTemplate* value); /* slot 108 */ + AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnHeaderedSelectingItemsControl* self, int32_t index, IAvnControl** value); /* slot 109 */ + AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnHeaderedSelectingItemsControl* self, AvnVariant item, IAvnControl** value); /* slot 110 */ + AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnHeaderedSelectingItemsControl* self, IAvnControl* container, int32_t* value); /* slot 111 */ + AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnHeaderedSelectingItemsControl* self, IAvnControl* container, AvnVariant* value); /* slot 112 */ + AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnHeaderedSelectingItemsControl* self, int32_t index); /* slot 113 */ + AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnHeaderedSelectingItemsControl* self, AvnVariant item); /* slot 114 */ + AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnHeaderedSelectingItemsControl* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_selected_index)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_selected_index)(IAvnHeaderedSelectingItemsControl* self, int32_t value); /* slot 118 */ + AvnHResult (AVN_CALL *get_selected_item)(IAvnHeaderedSelectingItemsControl* self, AvnVariant* value); /* slot 119 */ + AvnHResult (AVN_CALL *set_selected_item)(IAvnHeaderedSelectingItemsControl* self, AvnVariant value); /* slot 120 */ + AvnHResult (AVN_CALL *get_selected_value)(IAvnHeaderedSelectingItemsControl* self, AvnVariant* value); /* slot 121 */ + AvnHResult (AVN_CALL *set_selected_value)(IAvnHeaderedSelectingItemsControl* self, AvnVariant value); /* slot 122 */ + AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 123 */ + AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnHeaderedSelectingItemsControl* self, int32_t value); /* slot 124 */ + AvnHResult (AVN_CALL *get_wrap_selection)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 125 */ + AvnHResult (AVN_CALL *set_wrap_selection)(IAvnHeaderedSelectingItemsControl* self, int32_t value); /* slot 126 */ + AvnHResult (AVN_CALL *advise_selection_changed)(IAvnHeaderedSelectingItemsControl* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 127 */ + AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnHeaderedSelectingItemsControl* self, int64_t subscription_id); /* slot 128 */ + AvnHResult (AVN_CALL *get_header)(IAvnHeaderedSelectingItemsControl* self, IAvnControl** value); /* slot 129 */ + AvnHResult (AVN_CALL *set_header)(IAvnHeaderedSelectingItemsControl* self, IAvnControl* value); /* slot 130 */ + AvnHResult (AVN_CALL *get_header_template)(IAvnHeaderedSelectingItemsControl* self, IAvnDataTemplate** value); /* slot 131 */ + AvnHResult (AVN_CALL *set_header_template)(IAvnHeaderedSelectingItemsControl* self, IAvnDataTemplate* value); /* slot 132 */ }; struct IAvnHeaderedSelectingItemsControl { const IAvnHeaderedSelectingItemsControlVtbl* vtbl; }; -#define I_AVN_HEADERED_SELECTING_ITEMS_CONTROL_VTABLE_SLOTS 127 +#define I_AVN_HEADERED_SELECTING_ITEMS_CONTROL_VTABLE_SLOTS 133 static const AvnGuid I_AVN_HYPERLINK_BUTTON_IID = { - 0xBA5D6CE2, - 0xB42B, - 0x5ED0, - { 0xB2, 0x88, 0x97, 0x75, 0x60, 0x6E, 0x18, 0x02 } + 0xCCCE2078, + 0xE616, + 0x51A8, + { 0xA5, 0x5F, 0x77, 0xD3, 0x16, 0xF2, 0xC9, 0xAB } }; -#define I_AVN_HYPERLINK_BUTTON_ABI_VERSION 11 +#define I_AVN_HYPERLINK_BUTTON_ABI_VERSION 12 struct IAvnHyperlinkButtonVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnHyperlinkButton* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnHyperlinkButton* self); /* slot 1 */ @@ -6445,80 +6733,86 @@ struct IAvnHyperlinkButtonVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnHyperlinkButton* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnHyperlinkButton* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnHyperlinkButton* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnHyperlinkButton* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnHyperlinkButton* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnHyperlinkButton* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnHyperlinkButton* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnHyperlinkButton* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnHyperlinkButton* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnHyperlinkButton* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnHyperlinkButton* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnHyperlinkButton* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnHyperlinkButton* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnHyperlinkButton* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnHyperlinkButton* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnHyperlinkButton* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnHyperlinkButton* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnHyperlinkButton* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnHyperlinkButton* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnHyperlinkButton* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnHyperlinkButton* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnHyperlinkButton* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnHyperlinkButton* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnHyperlinkButton* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnHyperlinkButton* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnHyperlinkButton* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnHyperlinkButton* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnHyperlinkButton* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnHyperlinkButton* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnHyperlinkButton* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnHyperlinkButton* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnHyperlinkButton* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnHyperlinkButton* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnHyperlinkButton* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnHyperlinkButton* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnHyperlinkButton* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnHyperlinkButton* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_content)(IAvnHyperlinkButton* self, IAvnControl** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_content)(IAvnHyperlinkButton* self, IAvnControl* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnHyperlinkButton* self, IAvnDataTemplate** value); /* slot 99 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnHyperlinkButton* self, IAvnDataTemplate* value); /* slot 100 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnHyperlinkButton* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnHyperlinkButton* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnHyperlinkButton* self, int32_t* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnHyperlinkButton* self, int32_t value); /* slot 104 */ - AvnHResult (AVN_CALL *get_click_mode)(IAvnHyperlinkButton* self, int32_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_click_mode)(IAvnHyperlinkButton* self, int32_t value); /* slot 106 */ - AvnHResult (AVN_CALL *get_command)(IAvnHyperlinkButton* self, IAvnCommand** value); /* slot 107 */ - AvnHResult (AVN_CALL *set_command)(IAvnHyperlinkButton* self, IAvnCommand* value); /* slot 108 */ - AvnHResult (AVN_CALL *get_hot_key)(IAvnHyperlinkButton* self, uint16_t** value); /* slot 109 */ - AvnHResult (AVN_CALL *set_hot_key)(IAvnHyperlinkButton* self, const uint16_t* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_command_parameter)(IAvnHyperlinkButton* self, AvnVariant* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_command_parameter)(IAvnHyperlinkButton* self, AvnVariant value); /* slot 112 */ - AvnHResult (AVN_CALL *get_is_default)(IAvnHyperlinkButton* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_is_default)(IAvnHyperlinkButton* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_is_cancel)(IAvnHyperlinkButton* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_is_cancel)(IAvnHyperlinkButton* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_is_pressed)(IAvnHyperlinkButton* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *get_flyout)(IAvnHyperlinkButton* self, IAvnFlyoutBase** value); /* slot 118 */ - AvnHResult (AVN_CALL *set_flyout)(IAvnHyperlinkButton* self, IAvnFlyoutBase* value); /* slot 119 */ - AvnHResult (AVN_CALL *advise_click)(IAvnHyperlinkButton* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 120 */ - AvnHResult (AVN_CALL *unadvise_click)(IAvnHyperlinkButton* self, int64_t subscription_id); /* slot 121 */ - AvnHResult (AVN_CALL *get_is_visited)(IAvnHyperlinkButton* self, int32_t* value); /* slot 122 */ - AvnHResult (AVN_CALL *set_is_visited)(IAvnHyperlinkButton* self, int32_t value); /* slot 123 */ - AvnHResult (AVN_CALL *get_navigate_uri)(IAvnHyperlinkButton* self, uint16_t** value); /* slot 124 */ - AvnHResult (AVN_CALL *set_navigate_uri)(IAvnHyperlinkButton* self, const uint16_t* value); /* slot 125 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnHyperlinkButton* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnHyperlinkButton* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnHyperlinkButton* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnHyperlinkButton* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnHyperlinkButton* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnHyperlinkButton* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnHyperlinkButton* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnHyperlinkButton* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnHyperlinkButton* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnHyperlinkButton* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnHyperlinkButton* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnHyperlinkButton* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnHyperlinkButton* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnHyperlinkButton* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnHyperlinkButton* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnHyperlinkButton* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnHyperlinkButton* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnHyperlinkButton* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnHyperlinkButton* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnHyperlinkButton* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnHyperlinkButton* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnHyperlinkButton* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnHyperlinkButton* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnHyperlinkButton* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnHyperlinkButton* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnHyperlinkButton* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnHyperlinkButton* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnHyperlinkButton* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnHyperlinkButton* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnHyperlinkButton* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnHyperlinkButton* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnHyperlinkButton* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnHyperlinkButton* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnHyperlinkButton* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnHyperlinkButton* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnHyperlinkButton* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnHyperlinkButton* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnHyperlinkButton* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnHyperlinkButton* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnHyperlinkButton* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_content)(IAvnHyperlinkButton* self, IAvnControl** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_content)(IAvnHyperlinkButton* self, IAvnControl* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnHyperlinkButton* self, IAvnDataTemplate** value); /* slot 105 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnHyperlinkButton* self, IAvnDataTemplate* value); /* slot 106 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnHyperlinkButton* self, int32_t* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnHyperlinkButton* self, int32_t value); /* slot 108 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnHyperlinkButton* self, int32_t* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnHyperlinkButton* self, int32_t value); /* slot 110 */ + AvnHResult (AVN_CALL *get_click_mode)(IAvnHyperlinkButton* self, int32_t* value); /* slot 111 */ + AvnHResult (AVN_CALL *set_click_mode)(IAvnHyperlinkButton* self, int32_t value); /* slot 112 */ + AvnHResult (AVN_CALL *get_command)(IAvnHyperlinkButton* self, IAvnCommand** value); /* slot 113 */ + AvnHResult (AVN_CALL *set_command)(IAvnHyperlinkButton* self, IAvnCommand* value); /* slot 114 */ + AvnHResult (AVN_CALL *get_hot_key)(IAvnHyperlinkButton* self, uint16_t** value); /* slot 115 */ + AvnHResult (AVN_CALL *set_hot_key)(IAvnHyperlinkButton* self, const uint16_t* value); /* slot 116 */ + AvnHResult (AVN_CALL *get_command_parameter)(IAvnHyperlinkButton* self, AvnVariant* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_command_parameter)(IAvnHyperlinkButton* self, AvnVariant value); /* slot 118 */ + AvnHResult (AVN_CALL *get_is_default)(IAvnHyperlinkButton* self, int32_t* value); /* slot 119 */ + AvnHResult (AVN_CALL *set_is_default)(IAvnHyperlinkButton* self, int32_t value); /* slot 120 */ + AvnHResult (AVN_CALL *get_is_cancel)(IAvnHyperlinkButton* self, int32_t* value); /* slot 121 */ + AvnHResult (AVN_CALL *set_is_cancel)(IAvnHyperlinkButton* self, int32_t value); /* slot 122 */ + AvnHResult (AVN_CALL *get_is_pressed)(IAvnHyperlinkButton* self, int32_t* value); /* slot 123 */ + AvnHResult (AVN_CALL *get_flyout)(IAvnHyperlinkButton* self, IAvnFlyoutBase** value); /* slot 124 */ + AvnHResult (AVN_CALL *set_flyout)(IAvnHyperlinkButton* self, IAvnFlyoutBase* value); /* slot 125 */ + AvnHResult (AVN_CALL *advise_click)(IAvnHyperlinkButton* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 126 */ + AvnHResult (AVN_CALL *unadvise_click)(IAvnHyperlinkButton* self, int64_t subscription_id); /* slot 127 */ + AvnHResult (AVN_CALL *get_is_visited)(IAvnHyperlinkButton* self, int32_t* value); /* slot 128 */ + AvnHResult (AVN_CALL *set_is_visited)(IAvnHyperlinkButton* self, int32_t value); /* slot 129 */ + AvnHResult (AVN_CALL *get_navigate_uri)(IAvnHyperlinkButton* self, uint16_t** value); /* slot 130 */ + AvnHResult (AVN_CALL *set_navigate_uri)(IAvnHyperlinkButton* self, const uint16_t* value); /* slot 131 */ }; struct IAvnHyperlinkButton { const IAvnHyperlinkButtonVtbl* vtbl; }; -#define I_AVN_HYPERLINK_BUTTON_VTABLE_SLOTS 126 +#define I_AVN_HYPERLINK_BUTTON_VTABLE_SLOTS 132 static const AvnGuid I_AVN_ICON_ELEMENT_IID = { - 0x27129D51, - 0x9086, - 0x5E87, - { 0x97, 0xF2, 0xA7, 0xB3, 0x0B, 0x2F, 0x7A, 0x32 } + 0x0A1BCD24, + 0x9DC9, + 0x55DB, + { 0xB2, 0xAA, 0x93, 0x00, 0x41, 0x18, 0x5E, 0x3B } }; -#define I_AVN_ICON_ELEMENT_ABI_VERSION 9 +#define I_AVN_ICON_ELEMENT_ABI_VERSION 10 struct IAvnIconElementVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnIconElement* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnIconElement* self); /* slot 1 */ @@ -6583,51 +6877,57 @@ struct IAvnIconElementVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnIconElement* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnIconElement* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnIconElement* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnIconElement* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnIconElement* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnIconElement* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnIconElement* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnIconElement* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnIconElement* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnIconElement* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnIconElement* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnIconElement* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnIconElement* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnIconElement* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnIconElement* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnIconElement* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnIconElement* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnIconElement* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnIconElement* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnIconElement* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnIconElement* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnIconElement* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnIconElement* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnIconElement* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnIconElement* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnIconElement* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnIconElement* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnIconElement* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnIconElement* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnIconElement* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnIconElement* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnIconElement* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnIconElement* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnIconElement* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnIconElement* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnIconElement* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnIconElement* self, AvnThickness value); /* slot 96 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnIconElement* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnIconElement* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnIconElement* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnIconElement* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnIconElement* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnIconElement* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnIconElement* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnIconElement* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnIconElement* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnIconElement* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnIconElement* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnIconElement* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnIconElement* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnIconElement* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnIconElement* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnIconElement* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnIconElement* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnIconElement* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnIconElement* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnIconElement* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnIconElement* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnIconElement* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnIconElement* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnIconElement* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnIconElement* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnIconElement* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnIconElement* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnIconElement* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnIconElement* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnIconElement* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnIconElement* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnIconElement* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnIconElement* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnIconElement* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnIconElement* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnIconElement* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnIconElement* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnIconElement* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnIconElement* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnIconElement* self, AvnThickness value); /* slot 102 */ }; struct IAvnIconElement { const IAvnIconElementVtbl* vtbl; }; -#define I_AVN_ICON_ELEMENT_VTABLE_SLOTS 97 +#define I_AVN_ICON_ELEMENT_VTABLE_SLOTS 103 static const AvnGuid I_AVN_IMAGE_IID = { - 0xACC338F6, - 0x8C35, - 0x57F4, - { 0xBB, 0x82, 0x4A, 0x3F, 0x39, 0x7B, 0x13, 0x0F } + 0x4A556F2B, + 0x827F, + 0x5748, + { 0xB7, 0xCD, 0xC4, 0x84, 0x52, 0x72, 0x7A, 0x29 } }; -#define I_AVN_IMAGE_ABI_VERSION 8 +#define I_AVN_IMAGE_ABI_VERSION 9 struct IAvnImageVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnImage* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnImage* self); /* slot 1 */ @@ -6692,31 +6992,37 @@ struct IAvnImageVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnImage* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnImage* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnImage* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnImage* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnImage* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnImage* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnImage* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnImage* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnImage* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_source)(IAvnImage* self, uint16_t** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_source)(IAvnImage* self, const uint16_t* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_blend_mode)(IAvnImage* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_blend_mode)(IAvnImage* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_stretch)(IAvnImage* self, int32_t* value); /* slot 73 */ - AvnHResult (AVN_CALL *set_stretch)(IAvnImage* self, int32_t value); /* slot 74 */ - AvnHResult (AVN_CALL *get_stretch_direction)(IAvnImage* self, int32_t* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_stretch_direction)(IAvnImage* self, int32_t value); /* slot 76 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnImage* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnImage* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnImage* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnImage* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnImage* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnImage* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnImage* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnImage* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnImage* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnImage* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnImage* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnImage* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_source)(IAvnImage* self, uint16_t** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_source)(IAvnImage* self, const uint16_t* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_blend_mode)(IAvnImage* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_blend_mode)(IAvnImage* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_stretch)(IAvnImage* self, int32_t* value); /* slot 79 */ + AvnHResult (AVN_CALL *set_stretch)(IAvnImage* self, int32_t value); /* slot 80 */ + AvnHResult (AVN_CALL *get_stretch_direction)(IAvnImage* self, int32_t* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_stretch_direction)(IAvnImage* self, int32_t value); /* slot 82 */ }; struct IAvnImage { const IAvnImageVtbl* vtbl; }; -#define I_AVN_IMAGE_VTABLE_SLOTS 77 +#define I_AVN_IMAGE_VTABLE_SLOTS 83 static const AvnGuid I_AVN_ITEMS_CONTROL_IID = { - 0xD985D274, - 0x6EFC, - 0x5423, - { 0xB7, 0x4F, 0x7A, 0x73, 0x13, 0x39, 0x92, 0xFC } + 0xB656735C, + 0xEECA, + 0x50CC, + { 0xA8, 0x7D, 0xB4, 0x36, 0x2F, 0x7E, 0x04, 0x5A } }; -#define I_AVN_ITEMS_CONTROL_ABI_VERSION 15 +#define I_AVN_ITEMS_CONTROL_ABI_VERSION 16 struct IAvnItemsControlVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnItemsControl* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnItemsControl* self); /* slot 1 */ @@ -6781,63 +7087,69 @@ struct IAvnItemsControlVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnItemsControl* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnItemsControl* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnItemsControl* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnItemsControl* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnItemsControl* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnItemsControl* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnItemsControl* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnItemsControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnItemsControl* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnItemsControl* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnItemsControl* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnItemsControl* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnItemsControl* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnItemsControl* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnItemsControl* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnItemsControl* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnItemsControl* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnItemsControl* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnItemsControl* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnItemsControl* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnItemsControl* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnItemsControl* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnItemsControl* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnItemsControl* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnItemsControl* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnItemsControl* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnItemsControl* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnItemsControl* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnItemsControl* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnItemsControl* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnItemsControl* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnItemsControl* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnItemsControl* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnItemsControl* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnItemsControl* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnItemsControl* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnItemsControl* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_items)(IAvnItemsControl* self, IAvnItemList** value); /* slot 97 */ - AvnHResult (AVN_CALL *get_item_count)(IAvnItemsControl* self, int32_t* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_items_source)(IAvnItemsControl* self, IAvnVariantList** value); /* slot 99 */ - AvnHResult (AVN_CALL *set_items_source)(IAvnItemsControl* self, IAvnVariantList* value); /* slot 100 */ - AvnHResult (AVN_CALL *get_item_template)(IAvnItemsControl* self, IAvnDataTemplate** value); /* slot 101 */ - AvnHResult (AVN_CALL *set_item_template)(IAvnItemsControl* self, IAvnDataTemplate* value); /* slot 102 */ - AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnItemsControl* self, int32_t index, IAvnControl** value); /* slot 103 */ - AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnItemsControl* self, AvnVariant item, IAvnControl** value); /* slot 104 */ - AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnItemsControl* self, IAvnControl* container, int32_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnItemsControl* self, IAvnControl* container, AvnVariant* value); /* slot 106 */ - AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnItemsControl* self, int32_t index); /* slot 107 */ - AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnItemsControl* self, AvnVariant item); /* slot 108 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnItemsControl* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnItemsControl* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnItemsControl* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnItemsControl* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnItemsControl* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnItemsControl* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnItemsControl* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnItemsControl* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnItemsControl* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnItemsControl* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnItemsControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnItemsControl* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnItemsControl* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnItemsControl* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnItemsControl* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnItemsControl* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnItemsControl* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnItemsControl* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnItemsControl* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnItemsControl* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnItemsControl* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnItemsControl* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnItemsControl* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnItemsControl* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnItemsControl* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnItemsControl* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnItemsControl* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnItemsControl* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnItemsControl* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnItemsControl* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnItemsControl* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnItemsControl* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnItemsControl* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnItemsControl* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnItemsControl* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnItemsControl* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnItemsControl* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnItemsControl* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnItemsControl* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnItemsControl* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_items)(IAvnItemsControl* self, IAvnItemList** value); /* slot 103 */ + AvnHResult (AVN_CALL *get_item_count)(IAvnItemsControl* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_items_source)(IAvnItemsControl* self, IAvnVariantList** value); /* slot 105 */ + AvnHResult (AVN_CALL *set_items_source)(IAvnItemsControl* self, IAvnVariantList* value); /* slot 106 */ + AvnHResult (AVN_CALL *get_item_template)(IAvnItemsControl* self, IAvnDataTemplate** value); /* slot 107 */ + AvnHResult (AVN_CALL *set_item_template)(IAvnItemsControl* self, IAvnDataTemplate* value); /* slot 108 */ + AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnItemsControl* self, int32_t index, IAvnControl** value); /* slot 109 */ + AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnItemsControl* self, AvnVariant item, IAvnControl** value); /* slot 110 */ + AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnItemsControl* self, IAvnControl* container, int32_t* value); /* slot 111 */ + AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnItemsControl* self, IAvnControl* container, AvnVariant* value); /* slot 112 */ + AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnItemsControl* self, int32_t index); /* slot 113 */ + AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnItemsControl* self, AvnVariant item); /* slot 114 */ }; struct IAvnItemsControl { const IAvnItemsControlVtbl* vtbl; }; -#define I_AVN_ITEMS_CONTROL_VTABLE_SLOTS 109 +#define I_AVN_ITEMS_CONTROL_VTABLE_SLOTS 115 static const AvnGuid I_AVN_LABEL_IID = { - 0x621B0405, - 0x7E33, - 0x56EE, - { 0x8F, 0xF0, 0xE1, 0xCA, 0x60, 0x42, 0x09, 0xBD } + 0xA1ACC10D, + 0x5788, + 0x5CFF, + { 0x9D, 0x99, 0x79, 0x87, 0x70, 0x89, 0x8E, 0x14 } }; -#define I_AVN_LABEL_ABI_VERSION 10 +#define I_AVN_LABEL_ABI_VERSION 11 struct IAvnLabelVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnLabel* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnLabel* self); /* slot 1 */ @@ -6902,61 +7214,67 @@ struct IAvnLabelVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnLabel* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnLabel* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnLabel* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnLabel* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnLabel* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnLabel* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnLabel* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnLabel* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnLabel* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnLabel* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnLabel* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnLabel* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnLabel* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnLabel* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnLabel* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnLabel* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnLabel* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnLabel* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnLabel* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnLabel* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnLabel* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnLabel* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnLabel* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnLabel* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnLabel* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnLabel* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnLabel* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnLabel* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnLabel* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnLabel* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnLabel* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnLabel* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnLabel* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnLabel* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnLabel* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnLabel* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnLabel* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_content)(IAvnLabel* self, IAvnControl** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_content)(IAvnLabel* self, IAvnControl* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnLabel* self, IAvnDataTemplate** value); /* slot 99 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnLabel* self, IAvnDataTemplate* value); /* slot 100 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnLabel* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnLabel* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnLabel* self, int32_t* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnLabel* self, int32_t value); /* slot 104 */ - AvnHResult (AVN_CALL *get_target)(IAvnLabel* self, IAvnControl** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_target)(IAvnLabel* self, IAvnControl* value); /* slot 106 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnLabel* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnLabel* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnLabel* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnLabel* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnLabel* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnLabel* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnLabel* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnLabel* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnLabel* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnLabel* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnLabel* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnLabel* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnLabel* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnLabel* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnLabel* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnLabel* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnLabel* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnLabel* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnLabel* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnLabel* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnLabel* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnLabel* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnLabel* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnLabel* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnLabel* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnLabel* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnLabel* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnLabel* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnLabel* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnLabel* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnLabel* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnLabel* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnLabel* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnLabel* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnLabel* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnLabel* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnLabel* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnLabel* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnLabel* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnLabel* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_content)(IAvnLabel* self, IAvnControl** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_content)(IAvnLabel* self, IAvnControl* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnLabel* self, IAvnDataTemplate** value); /* slot 105 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnLabel* self, IAvnDataTemplate* value); /* slot 106 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnLabel* self, int32_t* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnLabel* self, int32_t value); /* slot 108 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnLabel* self, int32_t* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnLabel* self, int32_t value); /* slot 110 */ + AvnHResult (AVN_CALL *get_target)(IAvnLabel* self, IAvnControl** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_target)(IAvnLabel* self, IAvnControl* value); /* slot 112 */ }; struct IAvnLabel { const IAvnLabelVtbl* vtbl; }; -#define I_AVN_LABEL_VTABLE_SLOTS 107 +#define I_AVN_LABEL_VTABLE_SLOTS 113 static const AvnGuid I_AVN_LAYOUT_TRANSFORM_CONTROL_IID = { - 0x39D82382, - 0x98B4, - 0x510A, - { 0xAE, 0x62, 0x19, 0xE9, 0xBB, 0xA1, 0x36, 0x98 } + 0x5295C33E, + 0x5E49, + 0x5425, + { 0xB0, 0x6D, 0xD0, 0xA3, 0x7D, 0x4A, 0xAE, 0x68 } }; -#define I_AVN_LAYOUT_TRANSFORM_CONTROL_ABI_VERSION 8 +#define I_AVN_LAYOUT_TRANSFORM_CONTROL_ABI_VERSION 9 struct IAvnLayoutTransformControlVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnLayoutTransformControl* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnLayoutTransformControl* self); /* slot 1 */ @@ -7021,29 +7339,35 @@ struct IAvnLayoutTransformControlVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnLayoutTransformControl* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnLayoutTransformControl* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnLayoutTransformControl* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnLayoutTransformControl* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnLayoutTransformControl* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnLayoutTransformControl* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnLayoutTransformControl* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnLayoutTransformControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnLayoutTransformControl* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_child)(IAvnLayoutTransformControl* self, IAvnControl** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_child)(IAvnLayoutTransformControl* self, IAvnControl* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_padding)(IAvnLayoutTransformControl* self, AvnThickness* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_padding)(IAvnLayoutTransformControl* self, AvnThickness value); /* slot 72 */ - AvnHResult (AVN_CALL *get_use_render_transform)(IAvnLayoutTransformControl* self, int32_t* value); /* slot 73 */ - AvnHResult (AVN_CALL *set_use_render_transform)(IAvnLayoutTransformControl* self, int32_t value); /* slot 74 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnLayoutTransformControl* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnLayoutTransformControl* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnLayoutTransformControl* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnLayoutTransformControl* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnLayoutTransformControl* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnLayoutTransformControl* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnLayoutTransformControl* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnLayoutTransformControl* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnLayoutTransformControl* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnLayoutTransformControl* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnLayoutTransformControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnLayoutTransformControl* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_child)(IAvnLayoutTransformControl* self, IAvnControl** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_child)(IAvnLayoutTransformControl* self, IAvnControl* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_padding)(IAvnLayoutTransformControl* self, AvnThickness* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_padding)(IAvnLayoutTransformControl* self, AvnThickness value); /* slot 78 */ + AvnHResult (AVN_CALL *get_use_render_transform)(IAvnLayoutTransformControl* self, int32_t* value); /* slot 79 */ + AvnHResult (AVN_CALL *set_use_render_transform)(IAvnLayoutTransformControl* self, int32_t value); /* slot 80 */ }; struct IAvnLayoutTransformControl { const IAvnLayoutTransformControlVtbl* vtbl; }; -#define I_AVN_LAYOUT_TRANSFORM_CONTROL_VTABLE_SLOTS 75 +#define I_AVN_LAYOUT_TRANSFORM_CONTROL_VTABLE_SLOTS 81 static const AvnGuid I_AVN_LINE_IID = { - 0xF302A345, - 0x5295, - 0x5A86, - { 0xB5, 0x20, 0x22, 0x42, 0x78, 0xB6, 0x8E, 0xAB } + 0x12A0F43A, + 0x9EAB, + 0x5F5B, + { 0x96, 0xEF, 0xD9, 0x1E, 0x25, 0xF3, 0x1B, 0x78 } }; -#define I_AVN_LINE_ABI_VERSION 8 +#define I_AVN_LINE_ABI_VERSION 9 struct IAvnLineVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnLine* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnLine* self); /* slot 1 */ @@ -7108,45 +7432,51 @@ struct IAvnLineVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnLine* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnLine* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnLine* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnLine* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnLine* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnLine* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnLine* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnLine* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnLine* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_fill)(IAvnLine* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_fill)(IAvnLine* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_stretch)(IAvnLine* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_stretch)(IAvnLine* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_stroke)(IAvnLine* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_stroke)(IAvnLine* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_stroke_dash_array)(IAvnLine* self, uint16_t** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_stroke_dash_array)(IAvnLine* self, const uint16_t* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_stroke_dash_offset)(IAvnLine* self, double* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_stroke_dash_offset)(IAvnLine* self, double value); /* slot 78 */ - AvnHResult (AVN_CALL *get_stroke_thickness)(IAvnLine* self, double* value); /* slot 79 */ - AvnHResult (AVN_CALL *set_stroke_thickness)(IAvnLine* self, double value); /* slot 80 */ - AvnHResult (AVN_CALL *get_stroke_line_cap)(IAvnLine* self, int32_t* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_stroke_line_cap)(IAvnLine* self, int32_t value); /* slot 82 */ - AvnHResult (AVN_CALL *get_stroke_join)(IAvnLine* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_stroke_join)(IAvnLine* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_stroke_miter_limit)(IAvnLine* self, double* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_stroke_miter_limit)(IAvnLine* self, double value); /* slot 86 */ - AvnHResult (AVN_CALL *get_start_point)(IAvnLine* self, AvnPoint* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_start_point)(IAvnLine* self, AvnPoint value); /* slot 88 */ - AvnHResult (AVN_CALL *get_end_point)(IAvnLine* self, AvnPoint* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_end_point)(IAvnLine* self, AvnPoint value); /* slot 90 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnLine* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnLine* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnLine* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnLine* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnLine* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnLine* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnLine* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnLine* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnLine* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnLine* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnLine* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnLine* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_fill)(IAvnLine* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_fill)(IAvnLine* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_stretch)(IAvnLine* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_stretch)(IAvnLine* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_stroke)(IAvnLine* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_stroke)(IAvnLine* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_stroke_dash_array)(IAvnLine* self, uint16_t** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_stroke_dash_array)(IAvnLine* self, const uint16_t* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_stroke_dash_offset)(IAvnLine* self, double* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_stroke_dash_offset)(IAvnLine* self, double value); /* slot 84 */ + AvnHResult (AVN_CALL *get_stroke_thickness)(IAvnLine* self, double* value); /* slot 85 */ + AvnHResult (AVN_CALL *set_stroke_thickness)(IAvnLine* self, double value); /* slot 86 */ + AvnHResult (AVN_CALL *get_stroke_line_cap)(IAvnLine* self, int32_t* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_stroke_line_cap)(IAvnLine* self, int32_t value); /* slot 88 */ + AvnHResult (AVN_CALL *get_stroke_join)(IAvnLine* self, int32_t* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_stroke_join)(IAvnLine* self, int32_t value); /* slot 90 */ + AvnHResult (AVN_CALL *get_stroke_miter_limit)(IAvnLine* self, double* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_stroke_miter_limit)(IAvnLine* self, double value); /* slot 92 */ + AvnHResult (AVN_CALL *get_start_point)(IAvnLine* self, AvnPoint* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_start_point)(IAvnLine* self, AvnPoint value); /* slot 94 */ + AvnHResult (AVN_CALL *get_end_point)(IAvnLine* self, AvnPoint* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_end_point)(IAvnLine* self, AvnPoint value); /* slot 96 */ }; struct IAvnLine { const IAvnLineVtbl* vtbl; }; -#define I_AVN_LINE_VTABLE_SLOTS 91 +#define I_AVN_LINE_VTABLE_SLOTS 97 static const AvnGuid I_AVN_LIST_BOX_IID = { - 0xB5B6A7D1, - 0xB302, - 0x56BB, - { 0x93, 0xA9, 0xD5, 0x32, 0x37, 0x70, 0x86, 0x32 } + 0x6D07BC84, + 0xD7C4, + 0x5226, + { 0xA6, 0x9E, 0xAA, 0xF3, 0xEE, 0x16, 0x63, 0xA9 } }; -#define I_AVN_LIST_BOX_ABI_VERSION 16 +#define I_AVN_LIST_BOX_ABI_VERSION 17 struct IAvnListBoxVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnListBox* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnListBox* self); /* slot 1 */ @@ -7211,81 +7541,87 @@ struct IAvnListBoxVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnListBox* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnListBox* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnListBox* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnListBox* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnListBox* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnListBox* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnListBox* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnListBox* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnListBox* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnListBox* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnListBox* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnListBox* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnListBox* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnListBox* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnListBox* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnListBox* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnListBox* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnListBox* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnListBox* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnListBox* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnListBox* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnListBox* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnListBox* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnListBox* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnListBox* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnListBox* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnListBox* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnListBox* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnListBox* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnListBox* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnListBox* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnListBox* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnListBox* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnListBox* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnListBox* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnListBox* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnListBox* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_items)(IAvnListBox* self, IAvnItemList** value); /* slot 97 */ - AvnHResult (AVN_CALL *get_item_count)(IAvnListBox* self, int32_t* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_items_source)(IAvnListBox* self, IAvnVariantList** value); /* slot 99 */ - AvnHResult (AVN_CALL *set_items_source)(IAvnListBox* self, IAvnVariantList* value); /* slot 100 */ - AvnHResult (AVN_CALL *get_item_template)(IAvnListBox* self, IAvnDataTemplate** value); /* slot 101 */ - AvnHResult (AVN_CALL *set_item_template)(IAvnListBox* self, IAvnDataTemplate* value); /* slot 102 */ - AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnListBox* self, int32_t index, IAvnControl** value); /* slot 103 */ - AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnListBox* self, AvnVariant item, IAvnControl** value); /* slot 104 */ - AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnListBox* self, IAvnControl* container, int32_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnListBox* self, IAvnControl* container, AvnVariant* value); /* slot 106 */ - AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnListBox* self, int32_t index); /* slot 107 */ - AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnListBox* self, AvnVariant item); /* slot 108 */ - AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnListBox* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnListBox* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_selected_index)(IAvnListBox* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_selected_index)(IAvnListBox* self, int32_t value); /* slot 112 */ - AvnHResult (AVN_CALL *get_selected_item)(IAvnListBox* self, AvnVariant* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_selected_item)(IAvnListBox* self, AvnVariant value); /* slot 114 */ - AvnHResult (AVN_CALL *get_selected_value)(IAvnListBox* self, AvnVariant* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_selected_value)(IAvnListBox* self, AvnVariant value); /* slot 116 */ - AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnListBox* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnListBox* self, int32_t value); /* slot 118 */ - AvnHResult (AVN_CALL *get_wrap_selection)(IAvnListBox* self, int32_t* value); /* slot 119 */ - AvnHResult (AVN_CALL *set_wrap_selection)(IAvnListBox* self, int32_t value); /* slot 120 */ - AvnHResult (AVN_CALL *advise_selection_changed)(IAvnListBox* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 121 */ - AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnListBox* self, int64_t subscription_id); /* slot 122 */ - AvnHResult (AVN_CALL *get_selection_mode)(IAvnListBox* self, int32_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *set_selection_mode)(IAvnListBox* self, int32_t value); /* slot 124 */ - AvnHResult (AVN_CALL *select_all)(IAvnListBox* self); /* slot 125 */ - AvnHResult (AVN_CALL *unselect_all)(IAvnListBox* self); /* slot 126 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnListBox* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnListBox* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnListBox* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnListBox* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnListBox* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnListBox* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnListBox* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnListBox* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnListBox* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnListBox* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnListBox* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnListBox* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnListBox* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnListBox* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnListBox* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnListBox* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnListBox* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnListBox* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnListBox* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnListBox* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnListBox* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnListBox* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnListBox* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnListBox* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnListBox* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnListBox* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnListBox* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnListBox* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnListBox* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnListBox* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnListBox* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnListBox* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnListBox* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnListBox* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnListBox* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnListBox* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnListBox* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnListBox* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnListBox* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnListBox* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_items)(IAvnListBox* self, IAvnItemList** value); /* slot 103 */ + AvnHResult (AVN_CALL *get_item_count)(IAvnListBox* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_items_source)(IAvnListBox* self, IAvnVariantList** value); /* slot 105 */ + AvnHResult (AVN_CALL *set_items_source)(IAvnListBox* self, IAvnVariantList* value); /* slot 106 */ + AvnHResult (AVN_CALL *get_item_template)(IAvnListBox* self, IAvnDataTemplate** value); /* slot 107 */ + AvnHResult (AVN_CALL *set_item_template)(IAvnListBox* self, IAvnDataTemplate* value); /* slot 108 */ + AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnListBox* self, int32_t index, IAvnControl** value); /* slot 109 */ + AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnListBox* self, AvnVariant item, IAvnControl** value); /* slot 110 */ + AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnListBox* self, IAvnControl* container, int32_t* value); /* slot 111 */ + AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnListBox* self, IAvnControl* container, AvnVariant* value); /* slot 112 */ + AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnListBox* self, int32_t index); /* slot 113 */ + AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnListBox* self, AvnVariant item); /* slot 114 */ + AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnListBox* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnListBox* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_selected_index)(IAvnListBox* self, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_selected_index)(IAvnListBox* self, int32_t value); /* slot 118 */ + AvnHResult (AVN_CALL *get_selected_item)(IAvnListBox* self, AvnVariant* value); /* slot 119 */ + AvnHResult (AVN_CALL *set_selected_item)(IAvnListBox* self, AvnVariant value); /* slot 120 */ + AvnHResult (AVN_CALL *get_selected_value)(IAvnListBox* self, AvnVariant* value); /* slot 121 */ + AvnHResult (AVN_CALL *set_selected_value)(IAvnListBox* self, AvnVariant value); /* slot 122 */ + AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnListBox* self, int32_t* value); /* slot 123 */ + AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnListBox* self, int32_t value); /* slot 124 */ + AvnHResult (AVN_CALL *get_wrap_selection)(IAvnListBox* self, int32_t* value); /* slot 125 */ + AvnHResult (AVN_CALL *set_wrap_selection)(IAvnListBox* self, int32_t value); /* slot 126 */ + AvnHResult (AVN_CALL *advise_selection_changed)(IAvnListBox* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 127 */ + AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnListBox* self, int64_t subscription_id); /* slot 128 */ + AvnHResult (AVN_CALL *get_selection_mode)(IAvnListBox* self, int32_t* value); /* slot 129 */ + AvnHResult (AVN_CALL *set_selection_mode)(IAvnListBox* self, int32_t value); /* slot 130 */ + AvnHResult (AVN_CALL *select_all)(IAvnListBox* self); /* slot 131 */ + AvnHResult (AVN_CALL *unselect_all)(IAvnListBox* self); /* slot 132 */ }; struct IAvnListBox { const IAvnListBoxVtbl* vtbl; }; -#define I_AVN_LIST_BOX_VTABLE_SLOTS 127 +#define I_AVN_LIST_BOX_VTABLE_SLOTS 133 static const AvnGuid I_AVN_LIST_BOX_ITEM_IID = { - 0x19A8B0AF, - 0x1926, - 0x5DE4, - { 0xB6, 0xEC, 0x5E, 0x2F, 0x02, 0x68, 0x31, 0xB6 } + 0x4BB2FF76, + 0xE252, + 0x53F1, + { 0x8A, 0xE0, 0xE3, 0x2A, 0x2C, 0x1B, 0xBE, 0x76 } }; -#define I_AVN_LIST_BOX_ITEM_ABI_VERSION 15 +#define I_AVN_LIST_BOX_ITEM_ABI_VERSION 16 struct IAvnListBoxItemVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnListBoxItem* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnListBoxItem* self); /* slot 1 */ @@ -7350,61 +7686,67 @@ struct IAvnListBoxItemVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnListBoxItem* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnListBoxItem* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnListBoxItem* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnListBoxItem* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnListBoxItem* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnListBoxItem* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnListBoxItem* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnListBoxItem* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnListBoxItem* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnListBoxItem* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnListBoxItem* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnListBoxItem* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnListBoxItem* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnListBoxItem* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnListBoxItem* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnListBoxItem* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnListBoxItem* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnListBoxItem* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnListBoxItem* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnListBoxItem* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnListBoxItem* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnListBoxItem* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnListBoxItem* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnListBoxItem* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnListBoxItem* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnListBoxItem* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnListBoxItem* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnListBoxItem* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnListBoxItem* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnListBoxItem* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnListBoxItem* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnListBoxItem* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnListBoxItem* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnListBoxItem* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnListBoxItem* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnListBoxItem* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnListBoxItem* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_content)(IAvnListBoxItem* self, IAvnControl** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_content)(IAvnListBoxItem* self, IAvnControl* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnListBoxItem* self, IAvnDataTemplate** value); /* slot 99 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnListBoxItem* self, IAvnDataTemplate* value); /* slot 100 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnListBoxItem* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnListBoxItem* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnListBoxItem* self, int32_t* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnListBoxItem* self, int32_t value); /* slot 104 */ - AvnHResult (AVN_CALL *get_is_selected)(IAvnListBoxItem* self, int32_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_is_selected)(IAvnListBoxItem* self, int32_t value); /* slot 106 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnListBoxItem* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnListBoxItem* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnListBoxItem* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnListBoxItem* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnListBoxItem* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnListBoxItem* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnListBoxItem* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnListBoxItem* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnListBoxItem* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnListBoxItem* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnListBoxItem* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnListBoxItem* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnListBoxItem* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnListBoxItem* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnListBoxItem* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnListBoxItem* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnListBoxItem* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnListBoxItem* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnListBoxItem* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnListBoxItem* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnListBoxItem* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnListBoxItem* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnListBoxItem* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnListBoxItem* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnListBoxItem* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnListBoxItem* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnListBoxItem* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnListBoxItem* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnListBoxItem* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnListBoxItem* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnListBoxItem* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnListBoxItem* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnListBoxItem* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnListBoxItem* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnListBoxItem* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnListBoxItem* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnListBoxItem* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnListBoxItem* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnListBoxItem* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnListBoxItem* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_content)(IAvnListBoxItem* self, IAvnControl** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_content)(IAvnListBoxItem* self, IAvnControl* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnListBoxItem* self, IAvnDataTemplate** value); /* slot 105 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnListBoxItem* self, IAvnDataTemplate* value); /* slot 106 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnListBoxItem* self, int32_t* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnListBoxItem* self, int32_t value); /* slot 108 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnListBoxItem* self, int32_t* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnListBoxItem* self, int32_t value); /* slot 110 */ + AvnHResult (AVN_CALL *get_is_selected)(IAvnListBoxItem* self, int32_t* value); /* slot 111 */ + AvnHResult (AVN_CALL *set_is_selected)(IAvnListBoxItem* self, int32_t value); /* slot 112 */ }; struct IAvnListBoxItem { const IAvnListBoxItemVtbl* vtbl; }; -#define I_AVN_LIST_BOX_ITEM_VTABLE_SLOTS 107 +#define I_AVN_LIST_BOX_ITEM_VTABLE_SLOTS 113 static const AvnGuid I_AVN_MASKED_TEXT_BOX_IID = { - 0xC7B40FDD, - 0x3EBA, - 0x55CF, - { 0x84, 0xBF, 0x5F, 0xAD, 0x22, 0x22, 0x99, 0x08 } + 0xE621C745, + 0xA587, + 0x5BDD, + { 0xA1, 0xC5, 0x8F, 0x49, 0x8B, 0x86, 0x36, 0xC5 } }; -#define I_AVN_MASKED_TEXT_BOX_ABI_VERSION 15 +#define I_AVN_MASKED_TEXT_BOX_ABI_VERSION 16 struct IAvnMaskedTextBoxVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnMaskedTextBox* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnMaskedTextBox* self); /* slot 1 */ @@ -7469,154 +7811,160 @@ struct IAvnMaskedTextBoxVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnMaskedTextBox* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnMaskedTextBox* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnMaskedTextBox* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnMaskedTextBox* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnMaskedTextBox* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnMaskedTextBox* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnMaskedTextBox* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnMaskedTextBox* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnMaskedTextBox* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnMaskedTextBox* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnMaskedTextBox* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnMaskedTextBox* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnMaskedTextBox* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnMaskedTextBox* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnMaskedTextBox* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnMaskedTextBox* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnMaskedTextBox* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnMaskedTextBox* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnMaskedTextBox* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnMaskedTextBox* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnMaskedTextBox* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnMaskedTextBox* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnMaskedTextBox* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnMaskedTextBox* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnMaskedTextBox* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnMaskedTextBox* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnMaskedTextBox* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnMaskedTextBox* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnMaskedTextBox* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnMaskedTextBox* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnMaskedTextBox* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnMaskedTextBox* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_is_inactive_selection_highlight_enabled)(IAvnMaskedTextBox* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_is_inactive_selection_highlight_enabled)(IAvnMaskedTextBox* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_clear_selection_on_lost_focus)(IAvnMaskedTextBox* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_clear_selection_on_lost_focus)(IAvnMaskedTextBox* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_accepts_return)(IAvnMaskedTextBox* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_accepts_return)(IAvnMaskedTextBox* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_accepts_tab)(IAvnMaskedTextBox* self, int32_t* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_accepts_tab)(IAvnMaskedTextBox* self, int32_t value); /* slot 104 */ - AvnHResult (AVN_CALL *get_caret_index)(IAvnMaskedTextBox* self, int32_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_caret_index)(IAvnMaskedTextBox* self, int32_t value); /* slot 106 */ - AvnHResult (AVN_CALL *get_is_read_only)(IAvnMaskedTextBox* self, int32_t* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_is_read_only)(IAvnMaskedTextBox* self, int32_t value); /* slot 108 */ - AvnHResult (AVN_CALL *get_password_char)(IAvnMaskedTextBox* self, uint16_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_password_char)(IAvnMaskedTextBox* self, uint16_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_selection_brush)(IAvnMaskedTextBox* self, IAvnBrush** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_selection_brush)(IAvnMaskedTextBox* self, IAvnBrush* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_selection_foreground_brush)(IAvnMaskedTextBox* self, IAvnBrush** value); /* slot 113 */ - AvnHResult (AVN_CALL *set_selection_foreground_brush)(IAvnMaskedTextBox* self, IAvnBrush* value); /* slot 114 */ - AvnHResult (AVN_CALL *get_caret_brush)(IAvnMaskedTextBox* self, IAvnBrush** value); /* slot 115 */ - AvnHResult (AVN_CALL *set_caret_brush)(IAvnMaskedTextBox* self, IAvnBrush* value); /* slot 116 */ - AvnHResult (AVN_CALL *get_caret_blink_interval)(IAvnMaskedTextBox* self, int64_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_caret_blink_interval)(IAvnMaskedTextBox* self, int64_t value); /* slot 118 */ - AvnHResult (AVN_CALL *get_selection_start)(IAvnMaskedTextBox* self, int32_t* value); /* slot 119 */ - AvnHResult (AVN_CALL *set_selection_start)(IAvnMaskedTextBox* self, int32_t value); /* slot 120 */ - AvnHResult (AVN_CALL *get_selection_end)(IAvnMaskedTextBox* self, int32_t* value); /* slot 121 */ - AvnHResult (AVN_CALL *set_selection_end)(IAvnMaskedTextBox* self, int32_t value); /* slot 122 */ - AvnHResult (AVN_CALL *get_max_length)(IAvnMaskedTextBox* self, int32_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *set_max_length)(IAvnMaskedTextBox* self, int32_t value); /* slot 124 */ - AvnHResult (AVN_CALL *get_max_lines)(IAvnMaskedTextBox* self, int32_t* value); /* slot 125 */ - AvnHResult (AVN_CALL *set_max_lines)(IAvnMaskedTextBox* self, int32_t value); /* slot 126 */ - AvnHResult (AVN_CALL *get_min_lines)(IAvnMaskedTextBox* self, int32_t* value); /* slot 127 */ - AvnHResult (AVN_CALL *set_min_lines)(IAvnMaskedTextBox* self, int32_t value); /* slot 128 */ - AvnHResult (AVN_CALL *get_line_height)(IAvnMaskedTextBox* self, double* value); /* slot 129 */ - AvnHResult (AVN_CALL *set_line_height)(IAvnMaskedTextBox* self, double value); /* slot 130 */ - AvnHResult (AVN_CALL *get_text)(IAvnMaskedTextBox* self, uint16_t** value); /* slot 131 */ - AvnHResult (AVN_CALL *set_text)(IAvnMaskedTextBox* self, const uint16_t* value); /* slot 132 */ - AvnHResult (AVN_CALL *get_selected_text)(IAvnMaskedTextBox* self, uint16_t** value); /* slot 133 */ - AvnHResult (AVN_CALL *set_selected_text)(IAvnMaskedTextBox* self, const uint16_t* value); /* slot 134 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnMaskedTextBox* self, int32_t* value); /* slot 135 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnMaskedTextBox* self, int32_t value); /* slot 136 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnMaskedTextBox* self, int32_t* value); /* slot 137 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnMaskedTextBox* self, int32_t value); /* slot 138 */ - AvnHResult (AVN_CALL *get_text_alignment)(IAvnMaskedTextBox* self, int32_t* value); /* slot 139 */ - AvnHResult (AVN_CALL *set_text_alignment)(IAvnMaskedTextBox* self, int32_t value); /* slot 140 */ - AvnHResult (AVN_CALL *get_placeholder_text)(IAvnMaskedTextBox* self, uint16_t** value); /* slot 141 */ - AvnHResult (AVN_CALL *set_placeholder_text)(IAvnMaskedTextBox* self, const uint16_t* value); /* slot 142 */ - AvnHResult (AVN_CALL *get_use_floating_placeholder)(IAvnMaskedTextBox* self, int32_t* value); /* slot 143 */ - AvnHResult (AVN_CALL *set_use_floating_placeholder)(IAvnMaskedTextBox* self, int32_t value); /* slot 144 */ - AvnHResult (AVN_CALL *get_placeholder_foreground)(IAvnMaskedTextBox* self, IAvnBrush** value); /* slot 145 */ - AvnHResult (AVN_CALL *set_placeholder_foreground)(IAvnMaskedTextBox* self, IAvnBrush* value); /* slot 146 */ - AvnHResult (AVN_CALL *get_inner_left_content)(IAvnMaskedTextBox* self, IAvnControl** value); /* slot 147 */ - AvnHResult (AVN_CALL *set_inner_left_content)(IAvnMaskedTextBox* self, IAvnControl* value); /* slot 148 */ - AvnHResult (AVN_CALL *get_inner_right_content)(IAvnMaskedTextBox* self, IAvnControl** value); /* slot 149 */ - AvnHResult (AVN_CALL *set_inner_right_content)(IAvnMaskedTextBox* self, IAvnControl* value); /* slot 150 */ - AvnHResult (AVN_CALL *get_reveal_password)(IAvnMaskedTextBox* self, int32_t* value); /* slot 151 */ - AvnHResult (AVN_CALL *set_reveal_password)(IAvnMaskedTextBox* self, int32_t value); /* slot 152 */ - AvnHResult (AVN_CALL *get_text_wrapping)(IAvnMaskedTextBox* self, int32_t* value); /* slot 153 */ - AvnHResult (AVN_CALL *set_text_wrapping)(IAvnMaskedTextBox* self, int32_t value); /* slot 154 */ - AvnHResult (AVN_CALL *get_new_line)(IAvnMaskedTextBox* self, uint16_t** value); /* slot 155 */ - AvnHResult (AVN_CALL *set_new_line)(IAvnMaskedTextBox* self, const uint16_t* value); /* slot 156 */ - AvnHResult (AVN_CALL *get_can_cut)(IAvnMaskedTextBox* self, int32_t* value); /* slot 157 */ - AvnHResult (AVN_CALL *get_can_copy)(IAvnMaskedTextBox* self, int32_t* value); /* slot 158 */ - AvnHResult (AVN_CALL *get_can_paste)(IAvnMaskedTextBox* self, int32_t* value); /* slot 159 */ - AvnHResult (AVN_CALL *get_is_undo_enabled)(IAvnMaskedTextBox* self, int32_t* value); /* slot 160 */ - AvnHResult (AVN_CALL *set_is_undo_enabled)(IAvnMaskedTextBox* self, int32_t value); /* slot 161 */ - AvnHResult (AVN_CALL *get_undo_limit)(IAvnMaskedTextBox* self, int32_t* value); /* slot 162 */ - AvnHResult (AVN_CALL *set_undo_limit)(IAvnMaskedTextBox* self, int32_t value); /* slot 163 */ - AvnHResult (AVN_CALL *get_can_undo)(IAvnMaskedTextBox* self, int32_t* value); /* slot 164 */ - AvnHResult (AVN_CALL *get_can_redo)(IAvnMaskedTextBox* self, int32_t* value); /* slot 165 */ - AvnHResult (AVN_CALL *clear_selection)(IAvnMaskedTextBox* self); /* slot 166 */ - AvnHResult (AVN_CALL *get_line_count)(IAvnMaskedTextBox* self, int32_t* value); /* slot 167 */ - AvnHResult (AVN_CALL *cut)(IAvnMaskedTextBox* self); /* slot 168 */ - AvnHResult (AVN_CALL *copy)(IAvnMaskedTextBox* self); /* slot 169 */ - AvnHResult (AVN_CALL *paste)(IAvnMaskedTextBox* self); /* slot 170 */ - AvnHResult (AVN_CALL *clear)(IAvnMaskedTextBox* self); /* slot 171 */ - AvnHResult (AVN_CALL *scroll_to_line_with_int32)(IAvnMaskedTextBox* self, int32_t line_index); /* slot 172 */ - AvnHResult (AVN_CALL *select_all)(IAvnMaskedTextBox* self); /* slot 173 */ - AvnHResult (AVN_CALL *undo)(IAvnMaskedTextBox* self); /* slot 174 */ - AvnHResult (AVN_CALL *redo)(IAvnMaskedTextBox* self); /* slot 175 */ - AvnHResult (AVN_CALL *advise_copying_to_clipboard)(IAvnMaskedTextBox* self, IAvnTextBoxCopyingToClipboardHandler* handler, int64_t* subscription_id); /* slot 176 */ - AvnHResult (AVN_CALL *unadvise_copying_to_clipboard)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 177 */ - AvnHResult (AVN_CALL *advise_cutting_to_clipboard)(IAvnMaskedTextBox* self, IAvnTextBoxCuttingToClipboardHandler* handler, int64_t* subscription_id); /* slot 178 */ - AvnHResult (AVN_CALL *unadvise_cutting_to_clipboard)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 179 */ - AvnHResult (AVN_CALL *advise_pasting_from_clipboard)(IAvnMaskedTextBox* self, IAvnTextBoxPastingFromClipboardHandler* handler, int64_t* subscription_id); /* slot 180 */ - AvnHResult (AVN_CALL *unadvise_pasting_from_clipboard)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 181 */ - AvnHResult (AVN_CALL *advise_text_changed)(IAvnMaskedTextBox* self, IAvnTextBoxTextChangedHandler* handler, int64_t* subscription_id); /* slot 182 */ - AvnHResult (AVN_CALL *unadvise_text_changed)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 183 */ - AvnHResult (AVN_CALL *advise_text_changing)(IAvnMaskedTextBox* self, IAvnTextBoxTextChangingHandler* handler, int64_t* subscription_id); /* slot 184 */ - AvnHResult (AVN_CALL *unadvise_text_changing)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 185 */ - AvnHResult (AVN_CALL *get_ascii_only)(IAvnMaskedTextBox* self, int32_t* value); /* slot 186 */ - AvnHResult (AVN_CALL *set_ascii_only)(IAvnMaskedTextBox* self, int32_t value); /* slot 187 */ - AvnHResult (AVN_CALL *get_hide_prompt_on_leave)(IAvnMaskedTextBox* self, int32_t* value); /* slot 188 */ - AvnHResult (AVN_CALL *set_hide_prompt_on_leave)(IAvnMaskedTextBox* self, int32_t value); /* slot 189 */ - AvnHResult (AVN_CALL *get_mask)(IAvnMaskedTextBox* self, uint16_t** value); /* slot 190 */ - AvnHResult (AVN_CALL *set_mask)(IAvnMaskedTextBox* self, const uint16_t* value); /* slot 191 */ - AvnHResult (AVN_CALL *get_mask_completed)(IAvnMaskedTextBox* self, int32_t* value); /* slot 192 */ - AvnHResult (AVN_CALL *get_mask_full)(IAvnMaskedTextBox* self, int32_t* value); /* slot 193 */ - AvnHResult (AVN_CALL *get_prompt_char)(IAvnMaskedTextBox* self, uint16_t* value); /* slot 194 */ - AvnHResult (AVN_CALL *set_prompt_char)(IAvnMaskedTextBox* self, uint16_t value); /* slot 195 */ - AvnHResult (AVN_CALL *get_reset_on_prompt)(IAvnMaskedTextBox* self, int32_t* value); /* slot 196 */ - AvnHResult (AVN_CALL *set_reset_on_prompt)(IAvnMaskedTextBox* self, int32_t value); /* slot 197 */ - AvnHResult (AVN_CALL *get_reset_on_space)(IAvnMaskedTextBox* self, int32_t* value); /* slot 198 */ - AvnHResult (AVN_CALL *set_reset_on_space)(IAvnMaskedTextBox* self, int32_t value); /* slot 199 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnMaskedTextBox* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnMaskedTextBox* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnMaskedTextBox* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnMaskedTextBox* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnMaskedTextBox* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnMaskedTextBox* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnMaskedTextBox* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnMaskedTextBox* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnMaskedTextBox* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnMaskedTextBox* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnMaskedTextBox* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnMaskedTextBox* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnMaskedTextBox* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnMaskedTextBox* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnMaskedTextBox* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnMaskedTextBox* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnMaskedTextBox* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnMaskedTextBox* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnMaskedTextBox* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnMaskedTextBox* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnMaskedTextBox* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnMaskedTextBox* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnMaskedTextBox* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnMaskedTextBox* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnMaskedTextBox* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnMaskedTextBox* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnMaskedTextBox* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnMaskedTextBox* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnMaskedTextBox* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnMaskedTextBox* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnMaskedTextBox* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnMaskedTextBox* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnMaskedTextBox* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnMaskedTextBox* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_is_inactive_selection_highlight_enabled)(IAvnMaskedTextBox* self, int32_t* value); /* slot 103 */ + AvnHResult (AVN_CALL *set_is_inactive_selection_highlight_enabled)(IAvnMaskedTextBox* self, int32_t value); /* slot 104 */ + AvnHResult (AVN_CALL *get_clear_selection_on_lost_focus)(IAvnMaskedTextBox* self, int32_t* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_clear_selection_on_lost_focus)(IAvnMaskedTextBox* self, int32_t value); /* slot 106 */ + AvnHResult (AVN_CALL *get_accepts_return)(IAvnMaskedTextBox* self, int32_t* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_accepts_return)(IAvnMaskedTextBox* self, int32_t value); /* slot 108 */ + AvnHResult (AVN_CALL *get_accepts_tab)(IAvnMaskedTextBox* self, int32_t* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_accepts_tab)(IAvnMaskedTextBox* self, int32_t value); /* slot 110 */ + AvnHResult (AVN_CALL *get_caret_index)(IAvnMaskedTextBox* self, int32_t* value); /* slot 111 */ + AvnHResult (AVN_CALL *set_caret_index)(IAvnMaskedTextBox* self, int32_t value); /* slot 112 */ + AvnHResult (AVN_CALL *get_is_read_only)(IAvnMaskedTextBox* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *set_is_read_only)(IAvnMaskedTextBox* self, int32_t value); /* slot 114 */ + AvnHResult (AVN_CALL *get_password_char)(IAvnMaskedTextBox* self, uint16_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_password_char)(IAvnMaskedTextBox* self, uint16_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_selection_brush)(IAvnMaskedTextBox* self, IAvnBrush** value); /* slot 117 */ + AvnHResult (AVN_CALL *set_selection_brush)(IAvnMaskedTextBox* self, IAvnBrush* value); /* slot 118 */ + AvnHResult (AVN_CALL *get_selection_foreground_brush)(IAvnMaskedTextBox* self, IAvnBrush** value); /* slot 119 */ + AvnHResult (AVN_CALL *set_selection_foreground_brush)(IAvnMaskedTextBox* self, IAvnBrush* value); /* slot 120 */ + AvnHResult (AVN_CALL *get_caret_brush)(IAvnMaskedTextBox* self, IAvnBrush** value); /* slot 121 */ + AvnHResult (AVN_CALL *set_caret_brush)(IAvnMaskedTextBox* self, IAvnBrush* value); /* slot 122 */ + AvnHResult (AVN_CALL *get_caret_blink_interval)(IAvnMaskedTextBox* self, int64_t* value); /* slot 123 */ + AvnHResult (AVN_CALL *set_caret_blink_interval)(IAvnMaskedTextBox* self, int64_t value); /* slot 124 */ + AvnHResult (AVN_CALL *get_selection_start)(IAvnMaskedTextBox* self, int32_t* value); /* slot 125 */ + AvnHResult (AVN_CALL *set_selection_start)(IAvnMaskedTextBox* self, int32_t value); /* slot 126 */ + AvnHResult (AVN_CALL *get_selection_end)(IAvnMaskedTextBox* self, int32_t* value); /* slot 127 */ + AvnHResult (AVN_CALL *set_selection_end)(IAvnMaskedTextBox* self, int32_t value); /* slot 128 */ + AvnHResult (AVN_CALL *get_max_length)(IAvnMaskedTextBox* self, int32_t* value); /* slot 129 */ + AvnHResult (AVN_CALL *set_max_length)(IAvnMaskedTextBox* self, int32_t value); /* slot 130 */ + AvnHResult (AVN_CALL *get_max_lines)(IAvnMaskedTextBox* self, int32_t* value); /* slot 131 */ + AvnHResult (AVN_CALL *set_max_lines)(IAvnMaskedTextBox* self, int32_t value); /* slot 132 */ + AvnHResult (AVN_CALL *get_min_lines)(IAvnMaskedTextBox* self, int32_t* value); /* slot 133 */ + AvnHResult (AVN_CALL *set_min_lines)(IAvnMaskedTextBox* self, int32_t value); /* slot 134 */ + AvnHResult (AVN_CALL *get_line_height)(IAvnMaskedTextBox* self, double* value); /* slot 135 */ + AvnHResult (AVN_CALL *set_line_height)(IAvnMaskedTextBox* self, double value); /* slot 136 */ + AvnHResult (AVN_CALL *get_text)(IAvnMaskedTextBox* self, uint16_t** value); /* slot 137 */ + AvnHResult (AVN_CALL *set_text)(IAvnMaskedTextBox* self, const uint16_t* value); /* slot 138 */ + AvnHResult (AVN_CALL *get_selected_text)(IAvnMaskedTextBox* self, uint16_t** value); /* slot 139 */ + AvnHResult (AVN_CALL *set_selected_text)(IAvnMaskedTextBox* self, const uint16_t* value); /* slot 140 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnMaskedTextBox* self, int32_t* value); /* slot 141 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnMaskedTextBox* self, int32_t value); /* slot 142 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnMaskedTextBox* self, int32_t* value); /* slot 143 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnMaskedTextBox* self, int32_t value); /* slot 144 */ + AvnHResult (AVN_CALL *get_text_alignment)(IAvnMaskedTextBox* self, int32_t* value); /* slot 145 */ + AvnHResult (AVN_CALL *set_text_alignment)(IAvnMaskedTextBox* self, int32_t value); /* slot 146 */ + AvnHResult (AVN_CALL *get_placeholder_text)(IAvnMaskedTextBox* self, uint16_t** value); /* slot 147 */ + AvnHResult (AVN_CALL *set_placeholder_text)(IAvnMaskedTextBox* self, const uint16_t* value); /* slot 148 */ + AvnHResult (AVN_CALL *get_use_floating_placeholder)(IAvnMaskedTextBox* self, int32_t* value); /* slot 149 */ + AvnHResult (AVN_CALL *set_use_floating_placeholder)(IAvnMaskedTextBox* self, int32_t value); /* slot 150 */ + AvnHResult (AVN_CALL *get_placeholder_foreground)(IAvnMaskedTextBox* self, IAvnBrush** value); /* slot 151 */ + AvnHResult (AVN_CALL *set_placeholder_foreground)(IAvnMaskedTextBox* self, IAvnBrush* value); /* slot 152 */ + AvnHResult (AVN_CALL *get_inner_left_content)(IAvnMaskedTextBox* self, IAvnControl** value); /* slot 153 */ + AvnHResult (AVN_CALL *set_inner_left_content)(IAvnMaskedTextBox* self, IAvnControl* value); /* slot 154 */ + AvnHResult (AVN_CALL *get_inner_right_content)(IAvnMaskedTextBox* self, IAvnControl** value); /* slot 155 */ + AvnHResult (AVN_CALL *set_inner_right_content)(IAvnMaskedTextBox* self, IAvnControl* value); /* slot 156 */ + AvnHResult (AVN_CALL *get_reveal_password)(IAvnMaskedTextBox* self, int32_t* value); /* slot 157 */ + AvnHResult (AVN_CALL *set_reveal_password)(IAvnMaskedTextBox* self, int32_t value); /* slot 158 */ + AvnHResult (AVN_CALL *get_text_wrapping)(IAvnMaskedTextBox* self, int32_t* value); /* slot 159 */ + AvnHResult (AVN_CALL *set_text_wrapping)(IAvnMaskedTextBox* self, int32_t value); /* slot 160 */ + AvnHResult (AVN_CALL *get_new_line)(IAvnMaskedTextBox* self, uint16_t** value); /* slot 161 */ + AvnHResult (AVN_CALL *set_new_line)(IAvnMaskedTextBox* self, const uint16_t* value); /* slot 162 */ + AvnHResult (AVN_CALL *get_can_cut)(IAvnMaskedTextBox* self, int32_t* value); /* slot 163 */ + AvnHResult (AVN_CALL *get_can_copy)(IAvnMaskedTextBox* self, int32_t* value); /* slot 164 */ + AvnHResult (AVN_CALL *get_can_paste)(IAvnMaskedTextBox* self, int32_t* value); /* slot 165 */ + AvnHResult (AVN_CALL *get_is_undo_enabled)(IAvnMaskedTextBox* self, int32_t* value); /* slot 166 */ + AvnHResult (AVN_CALL *set_is_undo_enabled)(IAvnMaskedTextBox* self, int32_t value); /* slot 167 */ + AvnHResult (AVN_CALL *get_undo_limit)(IAvnMaskedTextBox* self, int32_t* value); /* slot 168 */ + AvnHResult (AVN_CALL *set_undo_limit)(IAvnMaskedTextBox* self, int32_t value); /* slot 169 */ + AvnHResult (AVN_CALL *get_can_undo)(IAvnMaskedTextBox* self, int32_t* value); /* slot 170 */ + AvnHResult (AVN_CALL *get_can_redo)(IAvnMaskedTextBox* self, int32_t* value); /* slot 171 */ + AvnHResult (AVN_CALL *clear_selection)(IAvnMaskedTextBox* self); /* slot 172 */ + AvnHResult (AVN_CALL *get_line_count)(IAvnMaskedTextBox* self, int32_t* value); /* slot 173 */ + AvnHResult (AVN_CALL *cut)(IAvnMaskedTextBox* self); /* slot 174 */ + AvnHResult (AVN_CALL *copy)(IAvnMaskedTextBox* self); /* slot 175 */ + AvnHResult (AVN_CALL *paste)(IAvnMaskedTextBox* self); /* slot 176 */ + AvnHResult (AVN_CALL *clear)(IAvnMaskedTextBox* self); /* slot 177 */ + AvnHResult (AVN_CALL *scroll_to_line_with_int32)(IAvnMaskedTextBox* self, int32_t line_index); /* slot 178 */ + AvnHResult (AVN_CALL *select_all)(IAvnMaskedTextBox* self); /* slot 179 */ + AvnHResult (AVN_CALL *undo)(IAvnMaskedTextBox* self); /* slot 180 */ + AvnHResult (AVN_CALL *redo)(IAvnMaskedTextBox* self); /* slot 181 */ + AvnHResult (AVN_CALL *advise_copying_to_clipboard)(IAvnMaskedTextBox* self, IAvnTextBoxCopyingToClipboardHandler* handler, int64_t* subscription_id); /* slot 182 */ + AvnHResult (AVN_CALL *unadvise_copying_to_clipboard)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 183 */ + AvnHResult (AVN_CALL *advise_cutting_to_clipboard)(IAvnMaskedTextBox* self, IAvnTextBoxCuttingToClipboardHandler* handler, int64_t* subscription_id); /* slot 184 */ + AvnHResult (AVN_CALL *unadvise_cutting_to_clipboard)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 185 */ + AvnHResult (AVN_CALL *advise_pasting_from_clipboard)(IAvnMaskedTextBox* self, IAvnTextBoxPastingFromClipboardHandler* handler, int64_t* subscription_id); /* slot 186 */ + AvnHResult (AVN_CALL *unadvise_pasting_from_clipboard)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 187 */ + AvnHResult (AVN_CALL *advise_text_changed)(IAvnMaskedTextBox* self, IAvnTextBoxTextChangedHandler* handler, int64_t* subscription_id); /* slot 188 */ + AvnHResult (AVN_CALL *unadvise_text_changed)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 189 */ + AvnHResult (AVN_CALL *advise_text_changing)(IAvnMaskedTextBox* self, IAvnTextBoxTextChangingHandler* handler, int64_t* subscription_id); /* slot 190 */ + AvnHResult (AVN_CALL *unadvise_text_changing)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 191 */ + AvnHResult (AVN_CALL *get_ascii_only)(IAvnMaskedTextBox* self, int32_t* value); /* slot 192 */ + AvnHResult (AVN_CALL *set_ascii_only)(IAvnMaskedTextBox* self, int32_t value); /* slot 193 */ + AvnHResult (AVN_CALL *get_hide_prompt_on_leave)(IAvnMaskedTextBox* self, int32_t* value); /* slot 194 */ + AvnHResult (AVN_CALL *set_hide_prompt_on_leave)(IAvnMaskedTextBox* self, int32_t value); /* slot 195 */ + AvnHResult (AVN_CALL *get_mask)(IAvnMaskedTextBox* self, uint16_t** value); /* slot 196 */ + AvnHResult (AVN_CALL *set_mask)(IAvnMaskedTextBox* self, const uint16_t* value); /* slot 197 */ + AvnHResult (AVN_CALL *get_mask_completed)(IAvnMaskedTextBox* self, int32_t* value); /* slot 198 */ + AvnHResult (AVN_CALL *get_mask_full)(IAvnMaskedTextBox* self, int32_t* value); /* slot 199 */ + AvnHResult (AVN_CALL *get_prompt_char)(IAvnMaskedTextBox* self, uint16_t* value); /* slot 200 */ + AvnHResult (AVN_CALL *set_prompt_char)(IAvnMaskedTextBox* self, uint16_t value); /* slot 201 */ + AvnHResult (AVN_CALL *get_reset_on_prompt)(IAvnMaskedTextBox* self, int32_t* value); /* slot 202 */ + AvnHResult (AVN_CALL *set_reset_on_prompt)(IAvnMaskedTextBox* self, int32_t value); /* slot 203 */ + AvnHResult (AVN_CALL *get_reset_on_space)(IAvnMaskedTextBox* self, int32_t* value); /* slot 204 */ + AvnHResult (AVN_CALL *set_reset_on_space)(IAvnMaskedTextBox* self, int32_t value); /* slot 205 */ }; struct IAvnMaskedTextBox { const IAvnMaskedTextBoxVtbl* vtbl; }; -#define I_AVN_MASKED_TEXT_BOX_VTABLE_SLOTS 200 +#define I_AVN_MASKED_TEXT_BOX_VTABLE_SLOTS 206 static const AvnGuid I_AVN_MENU_IID = { - 0xE97435D8, - 0x8BC7, - 0x5A16, - { 0xB1, 0xD1, 0x4B, 0x97, 0x60, 0x08, 0xF3, 0x41 } + 0x0220FC0F, + 0xFA60, + 0x5173, + { 0x9E, 0x8B, 0xAD, 0x96, 0x35, 0x1B, 0x3C, 0x6D } }; -#define I_AVN_MENU_ABI_VERSION 12 +#define I_AVN_MENU_ABI_VERSION 13 struct IAvnMenuVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnMenu* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnMenu* self); /* slot 1 */ @@ -7681,84 +8029,90 @@ struct IAvnMenuVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnMenu* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnMenu* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnMenu* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnMenu* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnMenu* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnMenu* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnMenu* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnMenu* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnMenu* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnMenu* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnMenu* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnMenu* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnMenu* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnMenu* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnMenu* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnMenu* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnMenu* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnMenu* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnMenu* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnMenu* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnMenu* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnMenu* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnMenu* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnMenu* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnMenu* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnMenu* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnMenu* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnMenu* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnMenu* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnMenu* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnMenu* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnMenu* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnMenu* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnMenu* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnMenu* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnMenu* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnMenu* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_items)(IAvnMenu* self, IAvnItemList** value); /* slot 97 */ - AvnHResult (AVN_CALL *get_item_count)(IAvnMenu* self, int32_t* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_items_source)(IAvnMenu* self, IAvnVariantList** value); /* slot 99 */ - AvnHResult (AVN_CALL *set_items_source)(IAvnMenu* self, IAvnVariantList* value); /* slot 100 */ - AvnHResult (AVN_CALL *get_item_template)(IAvnMenu* self, IAvnDataTemplate** value); /* slot 101 */ - AvnHResult (AVN_CALL *set_item_template)(IAvnMenu* self, IAvnDataTemplate* value); /* slot 102 */ - AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnMenu* self, int32_t index, IAvnControl** value); /* slot 103 */ - AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnMenu* self, AvnVariant item, IAvnControl** value); /* slot 104 */ - AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnMenu* self, IAvnControl* container, int32_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnMenu* self, IAvnControl* container, AvnVariant* value); /* slot 106 */ - AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnMenu* self, int32_t index); /* slot 107 */ - AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnMenu* self, AvnVariant item); /* slot 108 */ - AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnMenu* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnMenu* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_selected_index)(IAvnMenu* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_selected_index)(IAvnMenu* self, int32_t value); /* slot 112 */ - AvnHResult (AVN_CALL *get_selected_item)(IAvnMenu* self, AvnVariant* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_selected_item)(IAvnMenu* self, AvnVariant value); /* slot 114 */ - AvnHResult (AVN_CALL *get_selected_value)(IAvnMenu* self, AvnVariant* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_selected_value)(IAvnMenu* self, AvnVariant value); /* slot 116 */ - AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnMenu* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnMenu* self, int32_t value); /* slot 118 */ - AvnHResult (AVN_CALL *get_wrap_selection)(IAvnMenu* self, int32_t* value); /* slot 119 */ - AvnHResult (AVN_CALL *set_wrap_selection)(IAvnMenu* self, int32_t value); /* slot 120 */ - AvnHResult (AVN_CALL *advise_selection_changed)(IAvnMenu* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 121 */ - AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnMenu* self, int64_t subscription_id); /* slot 122 */ - AvnHResult (AVN_CALL *get_is_open)(IAvnMenu* self, int32_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *close)(IAvnMenu* self); /* slot 124 */ - AvnHResult (AVN_CALL *open)(IAvnMenu* self); /* slot 125 */ - AvnHResult (AVN_CALL *advise_opened)(IAvnMenu* self, IAvnMenuBaseOpenedHandler* handler, int64_t* subscription_id); /* slot 126 */ - AvnHResult (AVN_CALL *unadvise_opened)(IAvnMenu* self, int64_t subscription_id); /* slot 127 */ - AvnHResult (AVN_CALL *advise_closed)(IAvnMenu* self, IAvnMenuBaseClosedHandler* handler, int64_t* subscription_id); /* slot 128 */ - AvnHResult (AVN_CALL *unadvise_closed)(IAvnMenu* self, int64_t subscription_id); /* slot 129 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnMenu* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnMenu* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnMenu* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnMenu* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnMenu* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnMenu* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnMenu* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnMenu* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnMenu* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnMenu* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnMenu* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnMenu* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnMenu* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnMenu* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnMenu* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnMenu* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnMenu* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnMenu* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnMenu* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnMenu* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnMenu* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnMenu* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnMenu* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnMenu* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnMenu* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnMenu* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnMenu* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnMenu* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnMenu* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnMenu* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnMenu* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnMenu* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnMenu* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnMenu* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnMenu* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnMenu* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnMenu* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnMenu* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnMenu* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnMenu* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_items)(IAvnMenu* self, IAvnItemList** value); /* slot 103 */ + AvnHResult (AVN_CALL *get_item_count)(IAvnMenu* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_items_source)(IAvnMenu* self, IAvnVariantList** value); /* slot 105 */ + AvnHResult (AVN_CALL *set_items_source)(IAvnMenu* self, IAvnVariantList* value); /* slot 106 */ + AvnHResult (AVN_CALL *get_item_template)(IAvnMenu* self, IAvnDataTemplate** value); /* slot 107 */ + AvnHResult (AVN_CALL *set_item_template)(IAvnMenu* self, IAvnDataTemplate* value); /* slot 108 */ + AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnMenu* self, int32_t index, IAvnControl** value); /* slot 109 */ + AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnMenu* self, AvnVariant item, IAvnControl** value); /* slot 110 */ + AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnMenu* self, IAvnControl* container, int32_t* value); /* slot 111 */ + AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnMenu* self, IAvnControl* container, AvnVariant* value); /* slot 112 */ + AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnMenu* self, int32_t index); /* slot 113 */ + AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnMenu* self, AvnVariant item); /* slot 114 */ + AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnMenu* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnMenu* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_selected_index)(IAvnMenu* self, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_selected_index)(IAvnMenu* self, int32_t value); /* slot 118 */ + AvnHResult (AVN_CALL *get_selected_item)(IAvnMenu* self, AvnVariant* value); /* slot 119 */ + AvnHResult (AVN_CALL *set_selected_item)(IAvnMenu* self, AvnVariant value); /* slot 120 */ + AvnHResult (AVN_CALL *get_selected_value)(IAvnMenu* self, AvnVariant* value); /* slot 121 */ + AvnHResult (AVN_CALL *set_selected_value)(IAvnMenu* self, AvnVariant value); /* slot 122 */ + AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnMenu* self, int32_t* value); /* slot 123 */ + AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnMenu* self, int32_t value); /* slot 124 */ + AvnHResult (AVN_CALL *get_wrap_selection)(IAvnMenu* self, int32_t* value); /* slot 125 */ + AvnHResult (AVN_CALL *set_wrap_selection)(IAvnMenu* self, int32_t value); /* slot 126 */ + AvnHResult (AVN_CALL *advise_selection_changed)(IAvnMenu* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 127 */ + AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnMenu* self, int64_t subscription_id); /* slot 128 */ + AvnHResult (AVN_CALL *get_is_open)(IAvnMenu* self, int32_t* value); /* slot 129 */ + AvnHResult (AVN_CALL *close)(IAvnMenu* self); /* slot 130 */ + AvnHResult (AVN_CALL *open)(IAvnMenu* self); /* slot 131 */ + AvnHResult (AVN_CALL *advise_opened)(IAvnMenu* self, IAvnMenuBaseOpenedHandler* handler, int64_t* subscription_id); /* slot 132 */ + AvnHResult (AVN_CALL *unadvise_opened)(IAvnMenu* self, int64_t subscription_id); /* slot 133 */ + AvnHResult (AVN_CALL *advise_closed)(IAvnMenu* self, IAvnMenuBaseClosedHandler* handler, int64_t* subscription_id); /* slot 134 */ + AvnHResult (AVN_CALL *unadvise_closed)(IAvnMenu* self, int64_t subscription_id); /* slot 135 */ }; struct IAvnMenu { const IAvnMenuVtbl* vtbl; }; -#define I_AVN_MENU_VTABLE_SLOTS 130 +#define I_AVN_MENU_VTABLE_SLOTS 136 static const AvnGuid I_AVN_MENU_BASE_IID = { - 0xBAB46325, - 0x4D7E, - 0x54C4, - { 0xB8, 0xE0, 0x69, 0xA6, 0x47, 0xE2, 0xBF, 0xC6 } + 0x3B780634, + 0x1A42, + 0x576F, + { 0xA5, 0x87, 0xEE, 0x11, 0xF0, 0xB5, 0xC8, 0xE8 } }; -#define I_AVN_MENU_BASE_ABI_VERSION 12 +#define I_AVN_MENU_BASE_ABI_VERSION 13 struct IAvnMenuBaseVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnMenuBase* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnMenuBase* self); /* slot 1 */ @@ -7823,76 +8177,82 @@ struct IAvnMenuBaseVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnMenuBase* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnMenuBase* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnMenuBase* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnMenuBase* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnMenuBase* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnMenuBase* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnMenuBase* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnMenuBase* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnMenuBase* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnMenuBase* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnMenuBase* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnMenuBase* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnMenuBase* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnMenuBase* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnMenuBase* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnMenuBase* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnMenuBase* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnMenuBase* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnMenuBase* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnMenuBase* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnMenuBase* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnMenuBase* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnMenuBase* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnMenuBase* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnMenuBase* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnMenuBase* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnMenuBase* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnMenuBase* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnMenuBase* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnMenuBase* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnMenuBase* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnMenuBase* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnMenuBase* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnMenuBase* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnMenuBase* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnMenuBase* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnMenuBase* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_items)(IAvnMenuBase* self, IAvnItemList** value); /* slot 97 */ - AvnHResult (AVN_CALL *get_item_count)(IAvnMenuBase* self, int32_t* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_items_source)(IAvnMenuBase* self, IAvnVariantList** value); /* slot 99 */ - AvnHResult (AVN_CALL *set_items_source)(IAvnMenuBase* self, IAvnVariantList* value); /* slot 100 */ - AvnHResult (AVN_CALL *get_item_template)(IAvnMenuBase* self, IAvnDataTemplate** value); /* slot 101 */ - AvnHResult (AVN_CALL *set_item_template)(IAvnMenuBase* self, IAvnDataTemplate* value); /* slot 102 */ - AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnMenuBase* self, int32_t index, IAvnControl** value); /* slot 103 */ - AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnMenuBase* self, AvnVariant item, IAvnControl** value); /* slot 104 */ - AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnMenuBase* self, IAvnControl* container, int32_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnMenuBase* self, IAvnControl* container, AvnVariant* value); /* slot 106 */ - AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnMenuBase* self, int32_t index); /* slot 107 */ - AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnMenuBase* self, AvnVariant item); /* slot 108 */ - AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnMenuBase* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnMenuBase* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_selected_index)(IAvnMenuBase* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_selected_index)(IAvnMenuBase* self, int32_t value); /* slot 112 */ - AvnHResult (AVN_CALL *get_selected_item)(IAvnMenuBase* self, AvnVariant* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_selected_item)(IAvnMenuBase* self, AvnVariant value); /* slot 114 */ - AvnHResult (AVN_CALL *get_selected_value)(IAvnMenuBase* self, AvnVariant* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_selected_value)(IAvnMenuBase* self, AvnVariant value); /* slot 116 */ - AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnMenuBase* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnMenuBase* self, int32_t value); /* slot 118 */ - AvnHResult (AVN_CALL *get_wrap_selection)(IAvnMenuBase* self, int32_t* value); /* slot 119 */ - AvnHResult (AVN_CALL *set_wrap_selection)(IAvnMenuBase* self, int32_t value); /* slot 120 */ - AvnHResult (AVN_CALL *advise_selection_changed)(IAvnMenuBase* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 121 */ - AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnMenuBase* self, int64_t subscription_id); /* slot 122 */ - AvnHResult (AVN_CALL *get_is_open)(IAvnMenuBase* self, int32_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *close)(IAvnMenuBase* self); /* slot 124 */ - AvnHResult (AVN_CALL *open)(IAvnMenuBase* self); /* slot 125 */ - AvnHResult (AVN_CALL *advise_opened)(IAvnMenuBase* self, IAvnMenuBaseOpenedHandler* handler, int64_t* subscription_id); /* slot 126 */ - AvnHResult (AVN_CALL *unadvise_opened)(IAvnMenuBase* self, int64_t subscription_id); /* slot 127 */ - AvnHResult (AVN_CALL *advise_closed)(IAvnMenuBase* self, IAvnMenuBaseClosedHandler* handler, int64_t* subscription_id); /* slot 128 */ - AvnHResult (AVN_CALL *unadvise_closed)(IAvnMenuBase* self, int64_t subscription_id); /* slot 129 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnMenuBase* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnMenuBase* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnMenuBase* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnMenuBase* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnMenuBase* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnMenuBase* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnMenuBase* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnMenuBase* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnMenuBase* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnMenuBase* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnMenuBase* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnMenuBase* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnMenuBase* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnMenuBase* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnMenuBase* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnMenuBase* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnMenuBase* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnMenuBase* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnMenuBase* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnMenuBase* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnMenuBase* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnMenuBase* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnMenuBase* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnMenuBase* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnMenuBase* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnMenuBase* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnMenuBase* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnMenuBase* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnMenuBase* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnMenuBase* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnMenuBase* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnMenuBase* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnMenuBase* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnMenuBase* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnMenuBase* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnMenuBase* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnMenuBase* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnMenuBase* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnMenuBase* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnMenuBase* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_items)(IAvnMenuBase* self, IAvnItemList** value); /* slot 103 */ + AvnHResult (AVN_CALL *get_item_count)(IAvnMenuBase* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_items_source)(IAvnMenuBase* self, IAvnVariantList** value); /* slot 105 */ + AvnHResult (AVN_CALL *set_items_source)(IAvnMenuBase* self, IAvnVariantList* value); /* slot 106 */ + AvnHResult (AVN_CALL *get_item_template)(IAvnMenuBase* self, IAvnDataTemplate** value); /* slot 107 */ + AvnHResult (AVN_CALL *set_item_template)(IAvnMenuBase* self, IAvnDataTemplate* value); /* slot 108 */ + AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnMenuBase* self, int32_t index, IAvnControl** value); /* slot 109 */ + AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnMenuBase* self, AvnVariant item, IAvnControl** value); /* slot 110 */ + AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnMenuBase* self, IAvnControl* container, int32_t* value); /* slot 111 */ + AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnMenuBase* self, IAvnControl* container, AvnVariant* value); /* slot 112 */ + AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnMenuBase* self, int32_t index); /* slot 113 */ + AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnMenuBase* self, AvnVariant item); /* slot 114 */ + AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnMenuBase* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnMenuBase* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_selected_index)(IAvnMenuBase* self, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_selected_index)(IAvnMenuBase* self, int32_t value); /* slot 118 */ + AvnHResult (AVN_CALL *get_selected_item)(IAvnMenuBase* self, AvnVariant* value); /* slot 119 */ + AvnHResult (AVN_CALL *set_selected_item)(IAvnMenuBase* self, AvnVariant value); /* slot 120 */ + AvnHResult (AVN_CALL *get_selected_value)(IAvnMenuBase* self, AvnVariant* value); /* slot 121 */ + AvnHResult (AVN_CALL *set_selected_value)(IAvnMenuBase* self, AvnVariant value); /* slot 122 */ + AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnMenuBase* self, int32_t* value); /* slot 123 */ + AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnMenuBase* self, int32_t value); /* slot 124 */ + AvnHResult (AVN_CALL *get_wrap_selection)(IAvnMenuBase* self, int32_t* value); /* slot 125 */ + AvnHResult (AVN_CALL *set_wrap_selection)(IAvnMenuBase* self, int32_t value); /* slot 126 */ + AvnHResult (AVN_CALL *advise_selection_changed)(IAvnMenuBase* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 127 */ + AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnMenuBase* self, int64_t subscription_id); /* slot 128 */ + AvnHResult (AVN_CALL *get_is_open)(IAvnMenuBase* self, int32_t* value); /* slot 129 */ + AvnHResult (AVN_CALL *close)(IAvnMenuBase* self); /* slot 130 */ + AvnHResult (AVN_CALL *open)(IAvnMenuBase* self); /* slot 131 */ + AvnHResult (AVN_CALL *advise_opened)(IAvnMenuBase* self, IAvnMenuBaseOpenedHandler* handler, int64_t* subscription_id); /* slot 132 */ + AvnHResult (AVN_CALL *unadvise_opened)(IAvnMenuBase* self, int64_t subscription_id); /* slot 133 */ + AvnHResult (AVN_CALL *advise_closed)(IAvnMenuBase* self, IAvnMenuBaseClosedHandler* handler, int64_t* subscription_id); /* slot 134 */ + AvnHResult (AVN_CALL *unadvise_closed)(IAvnMenuBase* self, int64_t subscription_id); /* slot 135 */ }; struct IAvnMenuBase { const IAvnMenuBaseVtbl* vtbl; }; -#define I_AVN_MENU_BASE_VTABLE_SLOTS 130 +#define I_AVN_MENU_BASE_VTABLE_SLOTS 136 static const AvnGuid I_AVN_MENU_FLYOUT_IID = { 0xBE003C6C, @@ -7952,12 +8312,12 @@ struct IAvnMenuFlyout { const IAvnMenuFlyoutVtbl* vtbl; }; #define I_AVN_MENU_FLYOUT_VTABLE_SLOTS 45 static const AvnGuid I_AVN_MENU_ITEM_IID = { - 0x1A9E2536, - 0x7437, - 0x553C, - { 0xAF, 0xB6, 0x68, 0x1C, 0xF1, 0x50, 0x21, 0xFF } + 0xB08CE5EB, + 0xF84F, + 0x5466, + { 0xBB, 0x66, 0x98, 0x6E, 0x09, 0x71, 0x33, 0x3B } }; -#define I_AVN_MENU_ITEM_ABI_VERSION 15 +#define I_AVN_MENU_ITEM_ABI_VERSION 16 struct IAvnMenuItemVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnMenuItem* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnMenuItem* self); /* slot 1 */ @@ -8022,111 +8382,117 @@ struct IAvnMenuItemVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnMenuItem* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnMenuItem* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnMenuItem* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnMenuItem* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnMenuItem* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnMenuItem* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnMenuItem* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnMenuItem* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnMenuItem* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnMenuItem* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnMenuItem* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnMenuItem* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnMenuItem* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnMenuItem* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnMenuItem* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnMenuItem* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnMenuItem* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnMenuItem* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnMenuItem* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnMenuItem* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnMenuItem* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnMenuItem* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnMenuItem* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnMenuItem* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnMenuItem* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnMenuItem* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnMenuItem* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnMenuItem* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnMenuItem* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnMenuItem* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnMenuItem* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnMenuItem* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnMenuItem* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnMenuItem* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnMenuItem* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnMenuItem* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnMenuItem* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_items)(IAvnMenuItem* self, IAvnItemList** value); /* slot 97 */ - AvnHResult (AVN_CALL *get_item_count)(IAvnMenuItem* self, int32_t* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_items_source)(IAvnMenuItem* self, IAvnVariantList** value); /* slot 99 */ - AvnHResult (AVN_CALL *set_items_source)(IAvnMenuItem* self, IAvnVariantList* value); /* slot 100 */ - AvnHResult (AVN_CALL *get_item_template)(IAvnMenuItem* self, IAvnDataTemplate** value); /* slot 101 */ - AvnHResult (AVN_CALL *set_item_template)(IAvnMenuItem* self, IAvnDataTemplate* value); /* slot 102 */ - AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnMenuItem* self, int32_t index, IAvnControl** value); /* slot 103 */ - AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnMenuItem* self, AvnVariant item, IAvnControl** value); /* slot 104 */ - AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnMenuItem* self, IAvnControl* container, int32_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnMenuItem* self, IAvnControl* container, AvnVariant* value); /* slot 106 */ - AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnMenuItem* self, int32_t index); /* slot 107 */ - AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnMenuItem* self, AvnVariant item); /* slot 108 */ - AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnMenuItem* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnMenuItem* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_selected_index)(IAvnMenuItem* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_selected_index)(IAvnMenuItem* self, int32_t value); /* slot 112 */ - AvnHResult (AVN_CALL *get_selected_item)(IAvnMenuItem* self, AvnVariant* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_selected_item)(IAvnMenuItem* self, AvnVariant value); /* slot 114 */ - AvnHResult (AVN_CALL *get_selected_value)(IAvnMenuItem* self, AvnVariant* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_selected_value)(IAvnMenuItem* self, AvnVariant value); /* slot 116 */ - AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnMenuItem* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnMenuItem* self, int32_t value); /* slot 118 */ - AvnHResult (AVN_CALL *get_wrap_selection)(IAvnMenuItem* self, int32_t* value); /* slot 119 */ - AvnHResult (AVN_CALL *set_wrap_selection)(IAvnMenuItem* self, int32_t value); /* slot 120 */ - AvnHResult (AVN_CALL *advise_selection_changed)(IAvnMenuItem* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 121 */ - AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnMenuItem* self, int64_t subscription_id); /* slot 122 */ - AvnHResult (AVN_CALL *get_header)(IAvnMenuItem* self, IAvnControl** value); /* slot 123 */ - AvnHResult (AVN_CALL *set_header)(IAvnMenuItem* self, IAvnControl* value); /* slot 124 */ - AvnHResult (AVN_CALL *get_header_template)(IAvnMenuItem* self, IAvnDataTemplate** value); /* slot 125 */ - AvnHResult (AVN_CALL *set_header_template)(IAvnMenuItem* self, IAvnDataTemplate* value); /* slot 126 */ - AvnHResult (AVN_CALL *get_command)(IAvnMenuItem* self, IAvnCommand** value); /* slot 127 */ - AvnHResult (AVN_CALL *set_command)(IAvnMenuItem* self, IAvnCommand* value); /* slot 128 */ - AvnHResult (AVN_CALL *get_hot_key)(IAvnMenuItem* self, uint16_t** value); /* slot 129 */ - AvnHResult (AVN_CALL *set_hot_key)(IAvnMenuItem* self, const uint16_t* value); /* slot 130 */ - AvnHResult (AVN_CALL *get_command_parameter)(IAvnMenuItem* self, AvnVariant* value); /* slot 131 */ - AvnHResult (AVN_CALL *set_command_parameter)(IAvnMenuItem* self, AvnVariant value); /* slot 132 */ - AvnHResult (AVN_CALL *get_icon)(IAvnMenuItem* self, IAvnControl** value); /* slot 133 */ - AvnHResult (AVN_CALL *set_icon)(IAvnMenuItem* self, IAvnControl* value); /* slot 134 */ - AvnHResult (AVN_CALL *get_input_gesture)(IAvnMenuItem* self, uint16_t** value); /* slot 135 */ - AvnHResult (AVN_CALL *set_input_gesture)(IAvnMenuItem* self, const uint16_t* value); /* slot 136 */ - AvnHResult (AVN_CALL *get_is_selected)(IAvnMenuItem* self, int32_t* value); /* slot 137 */ - AvnHResult (AVN_CALL *set_is_selected)(IAvnMenuItem* self, int32_t value); /* slot 138 */ - AvnHResult (AVN_CALL *get_is_sub_menu_open)(IAvnMenuItem* self, int32_t* value); /* slot 139 */ - AvnHResult (AVN_CALL *set_is_sub_menu_open)(IAvnMenuItem* self, int32_t value); /* slot 140 */ - AvnHResult (AVN_CALL *get_stays_open_on_click)(IAvnMenuItem* self, int32_t* value); /* slot 141 */ - AvnHResult (AVN_CALL *set_stays_open_on_click)(IAvnMenuItem* self, int32_t value); /* slot 142 */ - AvnHResult (AVN_CALL *get_toggle_type)(IAvnMenuItem* self, int32_t* value); /* slot 143 */ - AvnHResult (AVN_CALL *set_toggle_type)(IAvnMenuItem* self, int32_t value); /* slot 144 */ - AvnHResult (AVN_CALL *get_is_checked)(IAvnMenuItem* self, int32_t* value); /* slot 145 */ - AvnHResult (AVN_CALL *set_is_checked)(IAvnMenuItem* self, int32_t value); /* slot 146 */ - AvnHResult (AVN_CALL *get_group_name)(IAvnMenuItem* self, uint16_t** value); /* slot 147 */ - AvnHResult (AVN_CALL *set_group_name)(IAvnMenuItem* self, const uint16_t* value); /* slot 148 */ - AvnHResult (AVN_CALL *get_has_sub_menu)(IAvnMenuItem* self, int32_t* value); /* slot 149 */ - AvnHResult (AVN_CALL *get_is_top_level)(IAvnMenuItem* self, int32_t* value); /* slot 150 */ - AvnHResult (AVN_CALL *open)(IAvnMenuItem* self); /* slot 151 */ - AvnHResult (AVN_CALL *close)(IAvnMenuItem* self); /* slot 152 */ - AvnHResult (AVN_CALL *advise_click)(IAvnMenuItem* self, IAvnMenuItemClickHandler* handler, int64_t* subscription_id); /* slot 153 */ - AvnHResult (AVN_CALL *unadvise_click)(IAvnMenuItem* self, int64_t subscription_id); /* slot 154 */ - AvnHResult (AVN_CALL *advise_submenu_opened)(IAvnMenuItem* self, IAvnMenuItemSubmenuOpenedHandler* handler, int64_t* subscription_id); /* slot 155 */ - AvnHResult (AVN_CALL *unadvise_submenu_opened)(IAvnMenuItem* self, int64_t subscription_id); /* slot 156 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnMenuItem* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnMenuItem* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnMenuItem* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnMenuItem* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnMenuItem* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnMenuItem* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnMenuItem* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnMenuItem* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnMenuItem* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnMenuItem* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnMenuItem* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnMenuItem* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnMenuItem* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnMenuItem* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnMenuItem* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnMenuItem* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnMenuItem* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnMenuItem* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnMenuItem* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnMenuItem* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnMenuItem* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnMenuItem* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnMenuItem* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnMenuItem* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnMenuItem* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnMenuItem* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnMenuItem* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnMenuItem* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnMenuItem* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnMenuItem* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnMenuItem* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnMenuItem* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnMenuItem* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnMenuItem* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnMenuItem* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnMenuItem* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnMenuItem* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnMenuItem* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnMenuItem* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnMenuItem* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_items)(IAvnMenuItem* self, IAvnItemList** value); /* slot 103 */ + AvnHResult (AVN_CALL *get_item_count)(IAvnMenuItem* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_items_source)(IAvnMenuItem* self, IAvnVariantList** value); /* slot 105 */ + AvnHResult (AVN_CALL *set_items_source)(IAvnMenuItem* self, IAvnVariantList* value); /* slot 106 */ + AvnHResult (AVN_CALL *get_item_template)(IAvnMenuItem* self, IAvnDataTemplate** value); /* slot 107 */ + AvnHResult (AVN_CALL *set_item_template)(IAvnMenuItem* self, IAvnDataTemplate* value); /* slot 108 */ + AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnMenuItem* self, int32_t index, IAvnControl** value); /* slot 109 */ + AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnMenuItem* self, AvnVariant item, IAvnControl** value); /* slot 110 */ + AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnMenuItem* self, IAvnControl* container, int32_t* value); /* slot 111 */ + AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnMenuItem* self, IAvnControl* container, AvnVariant* value); /* slot 112 */ + AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnMenuItem* self, int32_t index); /* slot 113 */ + AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnMenuItem* self, AvnVariant item); /* slot 114 */ + AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnMenuItem* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnMenuItem* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_selected_index)(IAvnMenuItem* self, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_selected_index)(IAvnMenuItem* self, int32_t value); /* slot 118 */ + AvnHResult (AVN_CALL *get_selected_item)(IAvnMenuItem* self, AvnVariant* value); /* slot 119 */ + AvnHResult (AVN_CALL *set_selected_item)(IAvnMenuItem* self, AvnVariant value); /* slot 120 */ + AvnHResult (AVN_CALL *get_selected_value)(IAvnMenuItem* self, AvnVariant* value); /* slot 121 */ + AvnHResult (AVN_CALL *set_selected_value)(IAvnMenuItem* self, AvnVariant value); /* slot 122 */ + AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnMenuItem* self, int32_t* value); /* slot 123 */ + AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnMenuItem* self, int32_t value); /* slot 124 */ + AvnHResult (AVN_CALL *get_wrap_selection)(IAvnMenuItem* self, int32_t* value); /* slot 125 */ + AvnHResult (AVN_CALL *set_wrap_selection)(IAvnMenuItem* self, int32_t value); /* slot 126 */ + AvnHResult (AVN_CALL *advise_selection_changed)(IAvnMenuItem* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 127 */ + AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnMenuItem* self, int64_t subscription_id); /* slot 128 */ + AvnHResult (AVN_CALL *get_header)(IAvnMenuItem* self, IAvnControl** value); /* slot 129 */ + AvnHResult (AVN_CALL *set_header)(IAvnMenuItem* self, IAvnControl* value); /* slot 130 */ + AvnHResult (AVN_CALL *get_header_template)(IAvnMenuItem* self, IAvnDataTemplate** value); /* slot 131 */ + AvnHResult (AVN_CALL *set_header_template)(IAvnMenuItem* self, IAvnDataTemplate* value); /* slot 132 */ + AvnHResult (AVN_CALL *get_command)(IAvnMenuItem* self, IAvnCommand** value); /* slot 133 */ + AvnHResult (AVN_CALL *set_command)(IAvnMenuItem* self, IAvnCommand* value); /* slot 134 */ + AvnHResult (AVN_CALL *get_hot_key)(IAvnMenuItem* self, uint16_t** value); /* slot 135 */ + AvnHResult (AVN_CALL *set_hot_key)(IAvnMenuItem* self, const uint16_t* value); /* slot 136 */ + AvnHResult (AVN_CALL *get_command_parameter)(IAvnMenuItem* self, AvnVariant* value); /* slot 137 */ + AvnHResult (AVN_CALL *set_command_parameter)(IAvnMenuItem* self, AvnVariant value); /* slot 138 */ + AvnHResult (AVN_CALL *get_icon)(IAvnMenuItem* self, IAvnControl** value); /* slot 139 */ + AvnHResult (AVN_CALL *set_icon)(IAvnMenuItem* self, IAvnControl* value); /* slot 140 */ + AvnHResult (AVN_CALL *get_input_gesture)(IAvnMenuItem* self, uint16_t** value); /* slot 141 */ + AvnHResult (AVN_CALL *set_input_gesture)(IAvnMenuItem* self, const uint16_t* value); /* slot 142 */ + AvnHResult (AVN_CALL *get_is_selected)(IAvnMenuItem* self, int32_t* value); /* slot 143 */ + AvnHResult (AVN_CALL *set_is_selected)(IAvnMenuItem* self, int32_t value); /* slot 144 */ + AvnHResult (AVN_CALL *get_is_sub_menu_open)(IAvnMenuItem* self, int32_t* value); /* slot 145 */ + AvnHResult (AVN_CALL *set_is_sub_menu_open)(IAvnMenuItem* self, int32_t value); /* slot 146 */ + AvnHResult (AVN_CALL *get_stays_open_on_click)(IAvnMenuItem* self, int32_t* value); /* slot 147 */ + AvnHResult (AVN_CALL *set_stays_open_on_click)(IAvnMenuItem* self, int32_t value); /* slot 148 */ + AvnHResult (AVN_CALL *get_toggle_type)(IAvnMenuItem* self, int32_t* value); /* slot 149 */ + AvnHResult (AVN_CALL *set_toggle_type)(IAvnMenuItem* self, int32_t value); /* slot 150 */ + AvnHResult (AVN_CALL *get_is_checked)(IAvnMenuItem* self, int32_t* value); /* slot 151 */ + AvnHResult (AVN_CALL *set_is_checked)(IAvnMenuItem* self, int32_t value); /* slot 152 */ + AvnHResult (AVN_CALL *get_group_name)(IAvnMenuItem* self, uint16_t** value); /* slot 153 */ + AvnHResult (AVN_CALL *set_group_name)(IAvnMenuItem* self, const uint16_t* value); /* slot 154 */ + AvnHResult (AVN_CALL *get_has_sub_menu)(IAvnMenuItem* self, int32_t* value); /* slot 155 */ + AvnHResult (AVN_CALL *get_is_top_level)(IAvnMenuItem* self, int32_t* value); /* slot 156 */ + AvnHResult (AVN_CALL *open)(IAvnMenuItem* self); /* slot 157 */ + AvnHResult (AVN_CALL *close)(IAvnMenuItem* self); /* slot 158 */ + AvnHResult (AVN_CALL *advise_click)(IAvnMenuItem* self, IAvnMenuItemClickHandler* handler, int64_t* subscription_id); /* slot 159 */ + AvnHResult (AVN_CALL *unadvise_click)(IAvnMenuItem* self, int64_t subscription_id); /* slot 160 */ + AvnHResult (AVN_CALL *advise_submenu_opened)(IAvnMenuItem* self, IAvnMenuItemSubmenuOpenedHandler* handler, int64_t* subscription_id); /* slot 161 */ + AvnHResult (AVN_CALL *unadvise_submenu_opened)(IAvnMenuItem* self, int64_t subscription_id); /* slot 162 */ }; struct IAvnMenuItem { const IAvnMenuItemVtbl* vtbl; }; -#define I_AVN_MENU_ITEM_VTABLE_SLOTS 157 +#define I_AVN_MENU_ITEM_VTABLE_SLOTS 163 static const AvnGuid I_AVN_NOTIFICATION_CARD_IID = { - 0xDF540B6A, - 0x58F6, - 0x59F6, - { 0xB3, 0xDB, 0xF8, 0xFD, 0x04, 0x66, 0x54, 0x02 } + 0x9E575724, + 0x617A, + 0x54E5, + { 0xBF, 0x78, 0xB6, 0xC6, 0x8E, 0x5F, 0x43, 0x43 } }; -#define I_AVN_NOTIFICATION_CARD_ABI_VERSION 10 +#define I_AVN_NOTIFICATION_CARD_ABI_VERSION 11 struct IAvnNotificationCardVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnNotificationCard* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnNotificationCard* self); /* slot 1 */ @@ -8191,67 +8557,73 @@ struct IAvnNotificationCardVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnNotificationCard* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnNotificationCard* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnNotificationCard* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnNotificationCard* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnNotificationCard* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnNotificationCard* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnNotificationCard* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnNotificationCard* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnNotificationCard* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnNotificationCard* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnNotificationCard* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnNotificationCard* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnNotificationCard* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnNotificationCard* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnNotificationCard* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnNotificationCard* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnNotificationCard* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnNotificationCard* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnNotificationCard* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnNotificationCard* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnNotificationCard* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnNotificationCard* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnNotificationCard* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnNotificationCard* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnNotificationCard* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnNotificationCard* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnNotificationCard* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnNotificationCard* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnNotificationCard* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnNotificationCard* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnNotificationCard* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnNotificationCard* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnNotificationCard* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnNotificationCard* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnNotificationCard* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnNotificationCard* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnNotificationCard* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_content)(IAvnNotificationCard* self, IAvnControl** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_content)(IAvnNotificationCard* self, IAvnControl* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnNotificationCard* self, IAvnDataTemplate** value); /* slot 99 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnNotificationCard* self, IAvnDataTemplate* value); /* slot 100 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnNotificationCard* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnNotificationCard* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnNotificationCard* self, int32_t* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnNotificationCard* self, int32_t value); /* slot 104 */ - AvnHResult (AVN_CALL *get_is_closing)(IAvnNotificationCard* self, int32_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *get_is_closed)(IAvnNotificationCard* self, int32_t* value); /* slot 106 */ - AvnHResult (AVN_CALL *set_is_closed)(IAvnNotificationCard* self, int32_t value); /* slot 107 */ - AvnHResult (AVN_CALL *get_notification_type)(IAvnNotificationCard* self, int32_t* value); /* slot 108 */ - AvnHResult (AVN_CALL *set_notification_type)(IAvnNotificationCard* self, int32_t value); /* slot 109 */ - AvnHResult (AVN_CALL *close)(IAvnNotificationCard* self); /* slot 110 */ - AvnHResult (AVN_CALL *advise_notification_closed)(IAvnNotificationCard* self, IAvnNotificationCardNotificationClosedHandler* handler, int64_t* subscription_id); /* slot 111 */ - AvnHResult (AVN_CALL *unadvise_notification_closed)(IAvnNotificationCard* self, int64_t subscription_id); /* slot 112 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnNotificationCard* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnNotificationCard* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnNotificationCard* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnNotificationCard* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnNotificationCard* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnNotificationCard* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnNotificationCard* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnNotificationCard* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnNotificationCard* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnNotificationCard* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnNotificationCard* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnNotificationCard* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnNotificationCard* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnNotificationCard* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnNotificationCard* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnNotificationCard* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnNotificationCard* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnNotificationCard* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnNotificationCard* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnNotificationCard* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnNotificationCard* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnNotificationCard* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnNotificationCard* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnNotificationCard* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnNotificationCard* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnNotificationCard* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnNotificationCard* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnNotificationCard* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnNotificationCard* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnNotificationCard* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnNotificationCard* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnNotificationCard* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnNotificationCard* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnNotificationCard* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnNotificationCard* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnNotificationCard* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnNotificationCard* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnNotificationCard* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnNotificationCard* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnNotificationCard* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_content)(IAvnNotificationCard* self, IAvnControl** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_content)(IAvnNotificationCard* self, IAvnControl* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnNotificationCard* self, IAvnDataTemplate** value); /* slot 105 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnNotificationCard* self, IAvnDataTemplate* value); /* slot 106 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnNotificationCard* self, int32_t* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnNotificationCard* self, int32_t value); /* slot 108 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnNotificationCard* self, int32_t* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnNotificationCard* self, int32_t value); /* slot 110 */ + AvnHResult (AVN_CALL *get_is_closing)(IAvnNotificationCard* self, int32_t* value); /* slot 111 */ + AvnHResult (AVN_CALL *get_is_closed)(IAvnNotificationCard* self, int32_t* value); /* slot 112 */ + AvnHResult (AVN_CALL *set_is_closed)(IAvnNotificationCard* self, int32_t value); /* slot 113 */ + AvnHResult (AVN_CALL *get_notification_type)(IAvnNotificationCard* self, int32_t* value); /* slot 114 */ + AvnHResult (AVN_CALL *set_notification_type)(IAvnNotificationCard* self, int32_t value); /* slot 115 */ + AvnHResult (AVN_CALL *close)(IAvnNotificationCard* self); /* slot 116 */ + AvnHResult (AVN_CALL *advise_notification_closed)(IAvnNotificationCard* self, IAvnNotificationCardNotificationClosedHandler* handler, int64_t* subscription_id); /* slot 117 */ + AvnHResult (AVN_CALL *unadvise_notification_closed)(IAvnNotificationCard* self, int64_t subscription_id); /* slot 118 */ }; struct IAvnNotificationCard { const IAvnNotificationCardVtbl* vtbl; }; -#define I_AVN_NOTIFICATION_CARD_VTABLE_SLOTS 113 +#define I_AVN_NOTIFICATION_CARD_VTABLE_SLOTS 119 static const AvnGuid I_AVN_NUMERIC_UP_DOWN_IID = { - 0x5F487A30, - 0x39D1, - 0x524A, - { 0x9A, 0x6E, 0x01, 0xE5, 0x84, 0x45, 0x2E, 0x03 } + 0x63426B0F, + 0x1A76, + 0x51A9, + { 0x9E, 0x98, 0x34, 0x3D, 0x2E, 0x69, 0xC1, 0x56 } }; -#define I_AVN_NUMERIC_UP_DOWN_ABI_VERSION 10 +#define I_AVN_NUMERIC_UP_DOWN_ABI_VERSION 11 struct IAvnNumericUpDownVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnNumericUpDown* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnNumericUpDown* self); /* slot 1 */ @@ -8316,91 +8688,97 @@ struct IAvnNumericUpDownVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnNumericUpDown* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnNumericUpDown* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnNumericUpDown* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnNumericUpDown* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnNumericUpDown* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnNumericUpDown* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnNumericUpDown* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnNumericUpDown* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnNumericUpDown* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnNumericUpDown* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnNumericUpDown* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnNumericUpDown* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnNumericUpDown* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnNumericUpDown* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnNumericUpDown* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnNumericUpDown* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnNumericUpDown* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnNumericUpDown* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnNumericUpDown* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnNumericUpDown* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnNumericUpDown* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnNumericUpDown* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnNumericUpDown* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnNumericUpDown* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnNumericUpDown* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnNumericUpDown* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnNumericUpDown* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnNumericUpDown* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnNumericUpDown* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnNumericUpDown* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnNumericUpDown* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnNumericUpDown* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnNumericUpDown* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnNumericUpDown* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnNumericUpDown* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnNumericUpDown* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnNumericUpDown* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_allow_spin)(IAvnNumericUpDown* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_allow_spin)(IAvnNumericUpDown* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_button_spinner_location)(IAvnNumericUpDown* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_button_spinner_location)(IAvnNumericUpDown* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_show_button_spinner)(IAvnNumericUpDown* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_show_button_spinner)(IAvnNumericUpDown* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_clip_value_to_min_max)(IAvnNumericUpDown* self, int32_t* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_clip_value_to_min_max)(IAvnNumericUpDown* self, int32_t value); /* slot 104 */ - AvnHResult (AVN_CALL *get_format_string)(IAvnNumericUpDown* self, uint16_t** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_format_string)(IAvnNumericUpDown* self, const uint16_t* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_increment)(IAvnNumericUpDown* self, uint16_t** value); /* slot 107 */ - AvnHResult (AVN_CALL *set_increment)(IAvnNumericUpDown* self, const uint16_t* value); /* slot 108 */ - AvnHResult (AVN_CALL *get_is_read_only)(IAvnNumericUpDown* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_is_read_only)(IAvnNumericUpDown* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_maximum)(IAvnNumericUpDown* self, uint16_t** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_maximum)(IAvnNumericUpDown* self, const uint16_t* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_minimum)(IAvnNumericUpDown* self, uint16_t** value); /* slot 113 */ - AvnHResult (AVN_CALL *set_minimum)(IAvnNumericUpDown* self, const uint16_t* value); /* slot 114 */ - AvnHResult (AVN_CALL *get_text)(IAvnNumericUpDown* self, uint16_t** value); /* slot 115 */ - AvnHResult (AVN_CALL *set_text)(IAvnNumericUpDown* self, const uint16_t* value); /* slot 116 */ - AvnHResult (AVN_CALL *get_value)(IAvnNumericUpDown* self, uint16_t** value); /* slot 117 */ - AvnHResult (AVN_CALL *set_value)(IAvnNumericUpDown* self, const uint16_t* value); /* slot 118 */ - AvnHResult (AVN_CALL *get_placeholder_text)(IAvnNumericUpDown* self, uint16_t** value); /* slot 119 */ - AvnHResult (AVN_CALL *set_placeholder_text)(IAvnNumericUpDown* self, const uint16_t* value); /* slot 120 */ - AvnHResult (AVN_CALL *get_placeholder_foreground)(IAvnNumericUpDown* self, IAvnBrush** value); /* slot 121 */ - AvnHResult (AVN_CALL *set_placeholder_foreground)(IAvnNumericUpDown* self, IAvnBrush* value); /* slot 122 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnNumericUpDown* self, int32_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnNumericUpDown* self, int32_t value); /* slot 124 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnNumericUpDown* self, int32_t* value); /* slot 125 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnNumericUpDown* self, int32_t value); /* slot 126 */ - AvnHResult (AVN_CALL *get_text_alignment)(IAvnNumericUpDown* self, int32_t* value); /* slot 127 */ - AvnHResult (AVN_CALL *set_text_alignment)(IAvnNumericUpDown* self, int32_t value); /* slot 128 */ - AvnHResult (AVN_CALL *get_inner_left_content)(IAvnNumericUpDown* self, IAvnControl** value); /* slot 129 */ - AvnHResult (AVN_CALL *set_inner_left_content)(IAvnNumericUpDown* self, IAvnControl* value); /* slot 130 */ - AvnHResult (AVN_CALL *get_inner_right_content)(IAvnNumericUpDown* self, IAvnControl** value); /* slot 131 */ - AvnHResult (AVN_CALL *set_inner_right_content)(IAvnNumericUpDown* self, IAvnControl* value); /* slot 132 */ - AvnHResult (AVN_CALL *advise_spinned)(IAvnNumericUpDown* self, IAvnNumericUpDownSpinnedHandler* handler, int64_t* subscription_id); /* slot 133 */ - AvnHResult (AVN_CALL *unadvise_spinned)(IAvnNumericUpDown* self, int64_t subscription_id); /* slot 134 */ - AvnHResult (AVN_CALL *advise_value_changed)(IAvnNumericUpDown* self, IAvnNumericUpDownValueChangedHandler* handler, int64_t* subscription_id); /* slot 135 */ - AvnHResult (AVN_CALL *unadvise_value_changed)(IAvnNumericUpDown* self, int64_t subscription_id); /* slot 136 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnNumericUpDown* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnNumericUpDown* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnNumericUpDown* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnNumericUpDown* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnNumericUpDown* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnNumericUpDown* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnNumericUpDown* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnNumericUpDown* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnNumericUpDown* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnNumericUpDown* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnNumericUpDown* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnNumericUpDown* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnNumericUpDown* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnNumericUpDown* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnNumericUpDown* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnNumericUpDown* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnNumericUpDown* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnNumericUpDown* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnNumericUpDown* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnNumericUpDown* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnNumericUpDown* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnNumericUpDown* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnNumericUpDown* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnNumericUpDown* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnNumericUpDown* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnNumericUpDown* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnNumericUpDown* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnNumericUpDown* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnNumericUpDown* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnNumericUpDown* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnNumericUpDown* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnNumericUpDown* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnNumericUpDown* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnNumericUpDown* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnNumericUpDown* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnNumericUpDown* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnNumericUpDown* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnNumericUpDown* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnNumericUpDown* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnNumericUpDown* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_allow_spin)(IAvnNumericUpDown* self, int32_t* value); /* slot 103 */ + AvnHResult (AVN_CALL *set_allow_spin)(IAvnNumericUpDown* self, int32_t value); /* slot 104 */ + AvnHResult (AVN_CALL *get_button_spinner_location)(IAvnNumericUpDown* self, int32_t* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_button_spinner_location)(IAvnNumericUpDown* self, int32_t value); /* slot 106 */ + AvnHResult (AVN_CALL *get_show_button_spinner)(IAvnNumericUpDown* self, int32_t* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_show_button_spinner)(IAvnNumericUpDown* self, int32_t value); /* slot 108 */ + AvnHResult (AVN_CALL *get_clip_value_to_min_max)(IAvnNumericUpDown* self, int32_t* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_clip_value_to_min_max)(IAvnNumericUpDown* self, int32_t value); /* slot 110 */ + AvnHResult (AVN_CALL *get_format_string)(IAvnNumericUpDown* self, uint16_t** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_format_string)(IAvnNumericUpDown* self, const uint16_t* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_increment)(IAvnNumericUpDown* self, uint16_t** value); /* slot 113 */ + AvnHResult (AVN_CALL *set_increment)(IAvnNumericUpDown* self, const uint16_t* value); /* slot 114 */ + AvnHResult (AVN_CALL *get_is_read_only)(IAvnNumericUpDown* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_is_read_only)(IAvnNumericUpDown* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_maximum)(IAvnNumericUpDown* self, uint16_t** value); /* slot 117 */ + AvnHResult (AVN_CALL *set_maximum)(IAvnNumericUpDown* self, const uint16_t* value); /* slot 118 */ + AvnHResult (AVN_CALL *get_minimum)(IAvnNumericUpDown* self, uint16_t** value); /* slot 119 */ + AvnHResult (AVN_CALL *set_minimum)(IAvnNumericUpDown* self, const uint16_t* value); /* slot 120 */ + AvnHResult (AVN_CALL *get_text)(IAvnNumericUpDown* self, uint16_t** value); /* slot 121 */ + AvnHResult (AVN_CALL *set_text)(IAvnNumericUpDown* self, const uint16_t* value); /* slot 122 */ + AvnHResult (AVN_CALL *get_value)(IAvnNumericUpDown* self, uint16_t** value); /* slot 123 */ + AvnHResult (AVN_CALL *set_value)(IAvnNumericUpDown* self, const uint16_t* value); /* slot 124 */ + AvnHResult (AVN_CALL *get_placeholder_text)(IAvnNumericUpDown* self, uint16_t** value); /* slot 125 */ + AvnHResult (AVN_CALL *set_placeholder_text)(IAvnNumericUpDown* self, const uint16_t* value); /* slot 126 */ + AvnHResult (AVN_CALL *get_placeholder_foreground)(IAvnNumericUpDown* self, IAvnBrush** value); /* slot 127 */ + AvnHResult (AVN_CALL *set_placeholder_foreground)(IAvnNumericUpDown* self, IAvnBrush* value); /* slot 128 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnNumericUpDown* self, int32_t* value); /* slot 129 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnNumericUpDown* self, int32_t value); /* slot 130 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnNumericUpDown* self, int32_t* value); /* slot 131 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnNumericUpDown* self, int32_t value); /* slot 132 */ + AvnHResult (AVN_CALL *get_text_alignment)(IAvnNumericUpDown* self, int32_t* value); /* slot 133 */ + AvnHResult (AVN_CALL *set_text_alignment)(IAvnNumericUpDown* self, int32_t value); /* slot 134 */ + AvnHResult (AVN_CALL *get_inner_left_content)(IAvnNumericUpDown* self, IAvnControl** value); /* slot 135 */ + AvnHResult (AVN_CALL *set_inner_left_content)(IAvnNumericUpDown* self, IAvnControl* value); /* slot 136 */ + AvnHResult (AVN_CALL *get_inner_right_content)(IAvnNumericUpDown* self, IAvnControl** value); /* slot 137 */ + AvnHResult (AVN_CALL *set_inner_right_content)(IAvnNumericUpDown* self, IAvnControl* value); /* slot 138 */ + AvnHResult (AVN_CALL *advise_spinned)(IAvnNumericUpDown* self, IAvnNumericUpDownSpinnedHandler* handler, int64_t* subscription_id); /* slot 139 */ + AvnHResult (AVN_CALL *unadvise_spinned)(IAvnNumericUpDown* self, int64_t subscription_id); /* slot 140 */ + AvnHResult (AVN_CALL *advise_value_changed)(IAvnNumericUpDown* self, IAvnNumericUpDownValueChangedHandler* handler, int64_t* subscription_id); /* slot 141 */ + AvnHResult (AVN_CALL *unadvise_value_changed)(IAvnNumericUpDown* self, int64_t subscription_id); /* slot 142 */ }; struct IAvnNumericUpDown { const IAvnNumericUpDownVtbl* vtbl; }; -#define I_AVN_NUMERIC_UP_DOWN_VTABLE_SLOTS 137 +#define I_AVN_NUMERIC_UP_DOWN_VTABLE_SLOTS 143 static const AvnGuid I_AVN_PANEL_IID = { - 0x79DAA937, - 0xB232, - 0x5B99, - { 0x84, 0xFB, 0xE3, 0xD6, 0x41, 0x24, 0xED, 0xA5 } + 0x96AD03DD, + 0xF271, + 0x537E, + { 0xA9, 0x33, 0xB7, 0xC7, 0x5D, 0x63, 0xAC, 0x0C } }; -#define I_AVN_PANEL_ABI_VERSION 11 +#define I_AVN_PANEL_ABI_VERSION 12 struct IAvnPanelVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnPanel* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnPanel* self); /* slot 1 */ @@ -8465,26 +8843,32 @@ struct IAvnPanelVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnPanel* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnPanel* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnPanel* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnPanel* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnPanel* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnPanel* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnPanel* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnPanel* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnPanel* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_children)(IAvnPanel* self, IAvnControlList** value); /* slot 69 */ - AvnHResult (AVN_CALL *get_background)(IAvnPanel* self, IAvnBrush** value); /* slot 70 */ - AvnHResult (AVN_CALL *set_background)(IAvnPanel* self, IAvnBrush* value); /* slot 71 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnPanel* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnPanel* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnPanel* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnPanel* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnPanel* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnPanel* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnPanel* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnPanel* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnPanel* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnPanel* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnPanel* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnPanel* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_children)(IAvnPanel* self, IAvnControlList** value); /* slot 75 */ + AvnHResult (AVN_CALL *get_background)(IAvnPanel* self, IAvnBrush** value); /* slot 76 */ + AvnHResult (AVN_CALL *set_background)(IAvnPanel* self, IAvnBrush* value); /* slot 77 */ }; struct IAvnPanel { const IAvnPanelVtbl* vtbl; }; -#define I_AVN_PANEL_VTABLE_SLOTS 72 +#define I_AVN_PANEL_VTABLE_SLOTS 78 static const AvnGuid I_AVN_PATH_IID = { - 0x4EC11C5B, - 0x9EAE, - 0x57CB, - { 0xAC, 0xC2, 0xEB, 0x2E, 0x60, 0x94, 0x90, 0xAC } + 0xE5A71060, + 0x50E1, + 0x5554, + { 0x81, 0xB4, 0x03, 0x08, 0x98, 0xF2, 0x93, 0xCF } }; -#define I_AVN_PATH_ABI_VERSION 8 +#define I_AVN_PATH_ABI_VERSION 9 struct IAvnPathVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnPath* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnPath* self); /* slot 1 */ @@ -8549,43 +8933,49 @@ struct IAvnPathVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnPath* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnPath* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnPath* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnPath* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnPath* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnPath* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnPath* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnPath* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnPath* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_fill)(IAvnPath* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_fill)(IAvnPath* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_stretch)(IAvnPath* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_stretch)(IAvnPath* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_stroke)(IAvnPath* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_stroke)(IAvnPath* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_stroke_dash_array)(IAvnPath* self, uint16_t** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_stroke_dash_array)(IAvnPath* self, const uint16_t* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_stroke_dash_offset)(IAvnPath* self, double* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_stroke_dash_offset)(IAvnPath* self, double value); /* slot 78 */ - AvnHResult (AVN_CALL *get_stroke_thickness)(IAvnPath* self, double* value); /* slot 79 */ - AvnHResult (AVN_CALL *set_stroke_thickness)(IAvnPath* self, double value); /* slot 80 */ - AvnHResult (AVN_CALL *get_stroke_line_cap)(IAvnPath* self, int32_t* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_stroke_line_cap)(IAvnPath* self, int32_t value); /* slot 82 */ - AvnHResult (AVN_CALL *get_stroke_join)(IAvnPath* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_stroke_join)(IAvnPath* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_stroke_miter_limit)(IAvnPath* self, double* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_stroke_miter_limit)(IAvnPath* self, double value); /* slot 86 */ - AvnHResult (AVN_CALL *get_data)(IAvnPath* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_data)(IAvnPath* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnPath* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnPath* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnPath* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnPath* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnPath* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnPath* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnPath* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnPath* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnPath* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnPath* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnPath* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnPath* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_fill)(IAvnPath* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_fill)(IAvnPath* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_stretch)(IAvnPath* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_stretch)(IAvnPath* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_stroke)(IAvnPath* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_stroke)(IAvnPath* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_stroke_dash_array)(IAvnPath* self, uint16_t** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_stroke_dash_array)(IAvnPath* self, const uint16_t* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_stroke_dash_offset)(IAvnPath* self, double* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_stroke_dash_offset)(IAvnPath* self, double value); /* slot 84 */ + AvnHResult (AVN_CALL *get_stroke_thickness)(IAvnPath* self, double* value); /* slot 85 */ + AvnHResult (AVN_CALL *set_stroke_thickness)(IAvnPath* self, double value); /* slot 86 */ + AvnHResult (AVN_CALL *get_stroke_line_cap)(IAvnPath* self, int32_t* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_stroke_line_cap)(IAvnPath* self, int32_t value); /* slot 88 */ + AvnHResult (AVN_CALL *get_stroke_join)(IAvnPath* self, int32_t* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_stroke_join)(IAvnPath* self, int32_t value); /* slot 90 */ + AvnHResult (AVN_CALL *get_stroke_miter_limit)(IAvnPath* self, double* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_stroke_miter_limit)(IAvnPath* self, double value); /* slot 92 */ + AvnHResult (AVN_CALL *get_data)(IAvnPath* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_data)(IAvnPath* self, const uint16_t* value); /* slot 94 */ }; struct IAvnPath { const IAvnPathVtbl* vtbl; }; -#define I_AVN_PATH_VTABLE_SLOTS 89 +#define I_AVN_PATH_VTABLE_SLOTS 95 static const AvnGuid I_AVN_PATH_ICON_IID = { - 0xF220C58A, - 0x4D65, - 0x5882, - { 0x8D, 0x9D, 0xEB, 0xE5, 0xF0, 0xA1, 0xD9, 0xA4 } + 0x885577A3, + 0xAC29, + 0x51D9, + { 0xAC, 0xB5, 0xD3, 0x0A, 0xBB, 0xB4, 0x84, 0xFC } }; -#define I_AVN_PATH_ICON_ABI_VERSION 9 +#define I_AVN_PATH_ICON_ABI_VERSION 10 struct IAvnPathIconVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnPathIcon* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnPathIcon* self); /* slot 1 */ @@ -8650,53 +9040,59 @@ struct IAvnPathIconVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnPathIcon* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnPathIcon* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnPathIcon* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnPathIcon* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnPathIcon* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnPathIcon* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnPathIcon* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnPathIcon* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnPathIcon* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnPathIcon* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnPathIcon* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnPathIcon* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnPathIcon* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnPathIcon* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnPathIcon* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnPathIcon* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnPathIcon* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnPathIcon* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnPathIcon* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnPathIcon* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnPathIcon* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnPathIcon* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnPathIcon* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnPathIcon* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnPathIcon* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnPathIcon* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnPathIcon* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnPathIcon* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnPathIcon* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnPathIcon* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnPathIcon* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnPathIcon* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnPathIcon* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnPathIcon* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnPathIcon* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnPathIcon* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnPathIcon* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_data)(IAvnPathIcon* self, uint16_t** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_data)(IAvnPathIcon* self, const uint16_t* value); /* slot 98 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnPathIcon* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnPathIcon* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnPathIcon* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnPathIcon* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnPathIcon* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnPathIcon* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnPathIcon* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnPathIcon* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnPathIcon* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnPathIcon* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnPathIcon* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnPathIcon* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnPathIcon* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnPathIcon* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnPathIcon* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnPathIcon* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnPathIcon* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnPathIcon* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnPathIcon* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnPathIcon* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnPathIcon* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnPathIcon* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnPathIcon* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnPathIcon* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnPathIcon* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnPathIcon* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnPathIcon* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnPathIcon* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnPathIcon* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnPathIcon* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnPathIcon* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnPathIcon* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnPathIcon* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnPathIcon* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnPathIcon* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnPathIcon* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnPathIcon* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnPathIcon* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnPathIcon* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnPathIcon* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_data)(IAvnPathIcon* self, uint16_t** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_data)(IAvnPathIcon* self, const uint16_t* value); /* slot 104 */ }; struct IAvnPathIcon { const IAvnPathIconVtbl* vtbl; }; -#define I_AVN_PATH_ICON_VTABLE_SLOTS 99 +#define I_AVN_PATH_ICON_VTABLE_SLOTS 105 static const AvnGuid I_AVN_PIPS_PAGER_IID = { - 0x03DEC932, - 0x3B73, - 0x5A8C, - { 0x9C, 0xE7, 0x9E, 0x82, 0xF4, 0xFA, 0xDE, 0x70 } + 0x6C3C0A8B, + 0x3237, + 0x50C1, + { 0x8D, 0xF3, 0x51, 0x71, 0xED, 0xF2, 0xA1, 0xB8 } }; -#define I_AVN_PIPS_PAGER_ABI_VERSION 10 +#define I_AVN_PIPS_PAGER_ABI_VERSION 11 struct IAvnPipsPagerVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnPipsPager* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnPipsPager* self); /* slot 1 */ @@ -8761,65 +9157,71 @@ struct IAvnPipsPagerVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnPipsPager* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnPipsPager* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnPipsPager* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnPipsPager* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnPipsPager* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnPipsPager* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnPipsPager* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnPipsPager* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnPipsPager* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnPipsPager* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnPipsPager* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnPipsPager* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnPipsPager* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnPipsPager* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnPipsPager* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnPipsPager* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnPipsPager* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnPipsPager* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnPipsPager* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnPipsPager* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnPipsPager* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnPipsPager* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnPipsPager* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnPipsPager* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnPipsPager* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnPipsPager* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnPipsPager* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnPipsPager* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnPipsPager* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnPipsPager* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnPipsPager* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnPipsPager* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnPipsPager* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnPipsPager* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnPipsPager* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnPipsPager* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnPipsPager* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_max_visible_pips)(IAvnPipsPager* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_max_visible_pips)(IAvnPipsPager* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_is_next_button_visible)(IAvnPipsPager* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_is_next_button_visible)(IAvnPipsPager* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_number_of_pages)(IAvnPipsPager* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_number_of_pages)(IAvnPipsPager* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_orientation)(IAvnPipsPager* self, int32_t* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_orientation)(IAvnPipsPager* self, int32_t value); /* slot 104 */ - AvnHResult (AVN_CALL *get_is_previous_button_visible)(IAvnPipsPager* self, int32_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_is_previous_button_visible)(IAvnPipsPager* self, int32_t value); /* slot 106 */ - AvnHResult (AVN_CALL *get_selected_page_index)(IAvnPipsPager* self, int32_t* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_selected_page_index)(IAvnPipsPager* self, int32_t value); /* slot 108 */ - AvnHResult (AVN_CALL *advise_selected_index_changed)(IAvnPipsPager* self, IAvnPipsPagerSelectedIndexChangedHandler* handler, int64_t* subscription_id); /* slot 109 */ - AvnHResult (AVN_CALL *unadvise_selected_index_changed)(IAvnPipsPager* self, int64_t subscription_id); /* slot 110 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnPipsPager* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnPipsPager* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnPipsPager* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnPipsPager* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnPipsPager* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnPipsPager* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnPipsPager* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnPipsPager* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnPipsPager* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnPipsPager* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnPipsPager* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnPipsPager* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnPipsPager* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnPipsPager* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnPipsPager* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnPipsPager* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnPipsPager* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnPipsPager* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnPipsPager* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnPipsPager* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnPipsPager* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnPipsPager* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnPipsPager* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnPipsPager* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnPipsPager* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnPipsPager* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnPipsPager* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnPipsPager* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnPipsPager* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnPipsPager* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnPipsPager* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnPipsPager* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnPipsPager* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnPipsPager* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnPipsPager* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnPipsPager* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnPipsPager* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnPipsPager* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnPipsPager* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnPipsPager* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_max_visible_pips)(IAvnPipsPager* self, int32_t* value); /* slot 103 */ + AvnHResult (AVN_CALL *set_max_visible_pips)(IAvnPipsPager* self, int32_t value); /* slot 104 */ + AvnHResult (AVN_CALL *get_is_next_button_visible)(IAvnPipsPager* self, int32_t* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_is_next_button_visible)(IAvnPipsPager* self, int32_t value); /* slot 106 */ + AvnHResult (AVN_CALL *get_number_of_pages)(IAvnPipsPager* self, int32_t* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_number_of_pages)(IAvnPipsPager* self, int32_t value); /* slot 108 */ + AvnHResult (AVN_CALL *get_orientation)(IAvnPipsPager* self, int32_t* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_orientation)(IAvnPipsPager* self, int32_t value); /* slot 110 */ + AvnHResult (AVN_CALL *get_is_previous_button_visible)(IAvnPipsPager* self, int32_t* value); /* slot 111 */ + AvnHResult (AVN_CALL *set_is_previous_button_visible)(IAvnPipsPager* self, int32_t value); /* slot 112 */ + AvnHResult (AVN_CALL *get_selected_page_index)(IAvnPipsPager* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *set_selected_page_index)(IAvnPipsPager* self, int32_t value); /* slot 114 */ + AvnHResult (AVN_CALL *advise_selected_index_changed)(IAvnPipsPager* self, IAvnPipsPagerSelectedIndexChangedHandler* handler, int64_t* subscription_id); /* slot 115 */ + AvnHResult (AVN_CALL *unadvise_selected_index_changed)(IAvnPipsPager* self, int64_t subscription_id); /* slot 116 */ }; struct IAvnPipsPager { const IAvnPipsPagerVtbl* vtbl; }; -#define I_AVN_PIPS_PAGER_VTABLE_SLOTS 111 +#define I_AVN_PIPS_PAGER_VTABLE_SLOTS 117 static const AvnGuid I_AVN_POLYGON_IID = { - 0x48E18C96, - 0x9363, - 0x5066, - { 0x9A, 0x67, 0x12, 0x3E, 0x15, 0x3A, 0x09, 0x19 } + 0xE706EC48, + 0x3CA1, + 0x5BEA, + { 0x90, 0x7E, 0x46, 0x0C, 0xA5, 0x3B, 0x06, 0xBE } }; -#define I_AVN_POLYGON_ABI_VERSION 8 +#define I_AVN_POLYGON_ABI_VERSION 9 struct IAvnPolygonVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnPolygon* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnPolygon* self); /* slot 1 */ @@ -8884,45 +9286,51 @@ struct IAvnPolygonVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnPolygon* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnPolygon* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnPolygon* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnPolygon* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnPolygon* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnPolygon* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnPolygon* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnPolygon* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnPolygon* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_fill)(IAvnPolygon* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_fill)(IAvnPolygon* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_stretch)(IAvnPolygon* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_stretch)(IAvnPolygon* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_stroke)(IAvnPolygon* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_stroke)(IAvnPolygon* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_stroke_dash_array)(IAvnPolygon* self, uint16_t** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_stroke_dash_array)(IAvnPolygon* self, const uint16_t* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_stroke_dash_offset)(IAvnPolygon* self, double* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_stroke_dash_offset)(IAvnPolygon* self, double value); /* slot 78 */ - AvnHResult (AVN_CALL *get_stroke_thickness)(IAvnPolygon* self, double* value); /* slot 79 */ - AvnHResult (AVN_CALL *set_stroke_thickness)(IAvnPolygon* self, double value); /* slot 80 */ - AvnHResult (AVN_CALL *get_stroke_line_cap)(IAvnPolygon* self, int32_t* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_stroke_line_cap)(IAvnPolygon* self, int32_t value); /* slot 82 */ - AvnHResult (AVN_CALL *get_stroke_join)(IAvnPolygon* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_stroke_join)(IAvnPolygon* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_stroke_miter_limit)(IAvnPolygon* self, double* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_stroke_miter_limit)(IAvnPolygon* self, double value); /* slot 86 */ - AvnHResult (AVN_CALL *get_points)(IAvnPolygon* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_points)(IAvnPolygon* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_fill_rule)(IAvnPolygon* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_fill_rule)(IAvnPolygon* self, int32_t value); /* slot 90 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnPolygon* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnPolygon* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnPolygon* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnPolygon* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnPolygon* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnPolygon* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnPolygon* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnPolygon* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnPolygon* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnPolygon* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnPolygon* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnPolygon* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_fill)(IAvnPolygon* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_fill)(IAvnPolygon* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_stretch)(IAvnPolygon* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_stretch)(IAvnPolygon* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_stroke)(IAvnPolygon* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_stroke)(IAvnPolygon* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_stroke_dash_array)(IAvnPolygon* self, uint16_t** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_stroke_dash_array)(IAvnPolygon* self, const uint16_t* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_stroke_dash_offset)(IAvnPolygon* self, double* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_stroke_dash_offset)(IAvnPolygon* self, double value); /* slot 84 */ + AvnHResult (AVN_CALL *get_stroke_thickness)(IAvnPolygon* self, double* value); /* slot 85 */ + AvnHResult (AVN_CALL *set_stroke_thickness)(IAvnPolygon* self, double value); /* slot 86 */ + AvnHResult (AVN_CALL *get_stroke_line_cap)(IAvnPolygon* self, int32_t* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_stroke_line_cap)(IAvnPolygon* self, int32_t value); /* slot 88 */ + AvnHResult (AVN_CALL *get_stroke_join)(IAvnPolygon* self, int32_t* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_stroke_join)(IAvnPolygon* self, int32_t value); /* slot 90 */ + AvnHResult (AVN_CALL *get_stroke_miter_limit)(IAvnPolygon* self, double* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_stroke_miter_limit)(IAvnPolygon* self, double value); /* slot 92 */ + AvnHResult (AVN_CALL *get_points)(IAvnPolygon* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_points)(IAvnPolygon* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_fill_rule)(IAvnPolygon* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_fill_rule)(IAvnPolygon* self, int32_t value); /* slot 96 */ }; struct IAvnPolygon { const IAvnPolygonVtbl* vtbl; }; -#define I_AVN_POLYGON_VTABLE_SLOTS 91 +#define I_AVN_POLYGON_VTABLE_SLOTS 97 static const AvnGuid I_AVN_POLYLINE_IID = { - 0x9BACEFB3, - 0xB663, - 0x55EB, - { 0xAF, 0x28, 0x46, 0x00, 0x1B, 0xA3, 0xA3, 0x2B } + 0x035DBEE9, + 0xDC4D, + 0x57B6, + { 0x91, 0x40, 0xDD, 0x59, 0xB2, 0x08, 0xA9, 0xDC } }; -#define I_AVN_POLYLINE_ABI_VERSION 8 +#define I_AVN_POLYLINE_ABI_VERSION 9 struct IAvnPolylineVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnPolyline* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnPolyline* self); /* slot 1 */ @@ -8987,45 +9395,51 @@ struct IAvnPolylineVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnPolyline* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnPolyline* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnPolyline* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnPolyline* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnPolyline* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnPolyline* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnPolyline* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnPolyline* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnPolyline* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_fill)(IAvnPolyline* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_fill)(IAvnPolyline* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_stretch)(IAvnPolyline* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_stretch)(IAvnPolyline* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_stroke)(IAvnPolyline* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_stroke)(IAvnPolyline* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_stroke_dash_array)(IAvnPolyline* self, uint16_t** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_stroke_dash_array)(IAvnPolyline* self, const uint16_t* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_stroke_dash_offset)(IAvnPolyline* self, double* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_stroke_dash_offset)(IAvnPolyline* self, double value); /* slot 78 */ - AvnHResult (AVN_CALL *get_stroke_thickness)(IAvnPolyline* self, double* value); /* slot 79 */ - AvnHResult (AVN_CALL *set_stroke_thickness)(IAvnPolyline* self, double value); /* slot 80 */ - AvnHResult (AVN_CALL *get_stroke_line_cap)(IAvnPolyline* self, int32_t* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_stroke_line_cap)(IAvnPolyline* self, int32_t value); /* slot 82 */ - AvnHResult (AVN_CALL *get_stroke_join)(IAvnPolyline* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_stroke_join)(IAvnPolyline* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_stroke_miter_limit)(IAvnPolyline* self, double* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_stroke_miter_limit)(IAvnPolyline* self, double value); /* slot 86 */ - AvnHResult (AVN_CALL *get_points)(IAvnPolyline* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_points)(IAvnPolyline* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_fill_rule)(IAvnPolyline* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_fill_rule)(IAvnPolyline* self, int32_t value); /* slot 90 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnPolyline* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnPolyline* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnPolyline* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnPolyline* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnPolyline* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnPolyline* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnPolyline* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnPolyline* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnPolyline* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnPolyline* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnPolyline* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnPolyline* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_fill)(IAvnPolyline* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_fill)(IAvnPolyline* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_stretch)(IAvnPolyline* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_stretch)(IAvnPolyline* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_stroke)(IAvnPolyline* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_stroke)(IAvnPolyline* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_stroke_dash_array)(IAvnPolyline* self, uint16_t** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_stroke_dash_array)(IAvnPolyline* self, const uint16_t* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_stroke_dash_offset)(IAvnPolyline* self, double* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_stroke_dash_offset)(IAvnPolyline* self, double value); /* slot 84 */ + AvnHResult (AVN_CALL *get_stroke_thickness)(IAvnPolyline* self, double* value); /* slot 85 */ + AvnHResult (AVN_CALL *set_stroke_thickness)(IAvnPolyline* self, double value); /* slot 86 */ + AvnHResult (AVN_CALL *get_stroke_line_cap)(IAvnPolyline* self, int32_t* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_stroke_line_cap)(IAvnPolyline* self, int32_t value); /* slot 88 */ + AvnHResult (AVN_CALL *get_stroke_join)(IAvnPolyline* self, int32_t* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_stroke_join)(IAvnPolyline* self, int32_t value); /* slot 90 */ + AvnHResult (AVN_CALL *get_stroke_miter_limit)(IAvnPolyline* self, double* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_stroke_miter_limit)(IAvnPolyline* self, double value); /* slot 92 */ + AvnHResult (AVN_CALL *get_points)(IAvnPolyline* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_points)(IAvnPolyline* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_fill_rule)(IAvnPolyline* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_fill_rule)(IAvnPolyline* self, int32_t value); /* slot 96 */ }; struct IAvnPolyline { const IAvnPolylineVtbl* vtbl; }; -#define I_AVN_POLYLINE_VTABLE_SLOTS 91 +#define I_AVN_POLYLINE_VTABLE_SLOTS 97 static const AvnGuid I_AVN_POPUP_IID = { - 0x4F10A2E5, - 0xD393, - 0x52F5, - { 0x97, 0xCB, 0x0D, 0xDA, 0x94, 0x11, 0xF6, 0xE4 } + 0x6CCB1B6A, + 0xEC3B, + 0x5625, + { 0xA6, 0x04, 0x97, 0xB5, 0x6F, 0xF5, 0xB8, 0x6F } }; -#define I_AVN_POPUP_ABI_VERSION 8 +#define I_AVN_POPUP_ABI_VERSION 9 struct IAvnPopupVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnPopup* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnPopup* self); /* slot 1 */ @@ -9090,61 +9504,67 @@ struct IAvnPopupVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnPopup* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnPopup* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnPopup* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnPopup* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnPopup* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnPopup* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnPopup* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnPopup* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnPopup* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_window_manager_add_shadow_hint)(IAvnPopup* self, int32_t* value); /* slot 69 */ - AvnHResult (AVN_CALL *set_window_manager_add_shadow_hint)(IAvnPopup* self, int32_t value); /* slot 70 */ - AvnHResult (AVN_CALL *get_child)(IAvnPopup* self, IAvnControl** value); /* slot 71 */ - AvnHResult (AVN_CALL *set_child)(IAvnPopup* self, IAvnControl* value); /* slot 72 */ - AvnHResult (AVN_CALL *get_inherits_transform)(IAvnPopup* self, int32_t* value); /* slot 73 */ - AvnHResult (AVN_CALL *set_inherits_transform)(IAvnPopup* self, int32_t value); /* slot 74 */ - AvnHResult (AVN_CALL *get_is_light_dismiss_enabled)(IAvnPopup* self, int32_t* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_is_light_dismiss_enabled)(IAvnPopup* self, int32_t value); /* slot 76 */ - AvnHResult (AVN_CALL *get_is_open)(IAvnPopup* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_is_open)(IAvnPopup* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_placement_anchor)(IAvnPopup* self, int32_t* value); /* slot 79 */ - AvnHResult (AVN_CALL *set_placement_anchor)(IAvnPopup* self, int32_t value); /* slot 80 */ - AvnHResult (AVN_CALL *get_placement_constraint_adjustment)(IAvnPopup* self, int32_t* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_placement_constraint_adjustment)(IAvnPopup* self, int32_t value); /* slot 82 */ - AvnHResult (AVN_CALL *get_placement_gravity)(IAvnPopup* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_placement_gravity)(IAvnPopup* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_placement)(IAvnPopup* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_placement)(IAvnPopup* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_placement_rect)(IAvnPopup* self, AvnOptionalRect* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_placement_rect)(IAvnPopup* self, AvnOptionalRect value); /* slot 88 */ - AvnHResult (AVN_CALL *get_placement_target)(IAvnPopup* self, IAvnControl** value); /* slot 89 */ - AvnHResult (AVN_CALL *set_placement_target)(IAvnPopup* self, IAvnControl* value); /* slot 90 */ - AvnHResult (AVN_CALL *get_custom_popup_placement_callback)(IAvnPopup* self, IAvnPopupPlacementCallback** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_custom_popup_placement_callback)(IAvnPopup* self, IAvnPopupPlacementCallback* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_overlay_dismiss_event_pass_through)(IAvnPopup* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_overlay_dismiss_event_pass_through)(IAvnPopup* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_overlay_input_pass_through_element)(IAvnPopup* self, IAvnControl** value); /* slot 95 */ - AvnHResult (AVN_CALL *set_overlay_input_pass_through_element)(IAvnPopup* self, IAvnControl* value); /* slot 96 */ - AvnHResult (AVN_CALL *get_horizontal_offset)(IAvnPopup* self, double* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_horizontal_offset)(IAvnPopup* self, double value); /* slot 98 */ - AvnHResult (AVN_CALL *get_vertical_offset)(IAvnPopup* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_vertical_offset)(IAvnPopup* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_topmost)(IAvnPopup* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_topmost)(IAvnPopup* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_takes_focus_from_native_control)(IAvnPopup* self, int32_t* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_takes_focus_from_native_control)(IAvnPopup* self, int32_t value); /* slot 104 */ - AvnHResult (AVN_CALL *get_should_use_overlay_layer)(IAvnPopup* self, int32_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_should_use_overlay_layer)(IAvnPopup* self, int32_t value); /* slot 106 */ - AvnHResult (AVN_CALL *get_is_using_overlay_layer)(IAvnPopup* self, int32_t* value); /* slot 107 */ - AvnHResult (AVN_CALL *get_is_pointer_over_popup)(IAvnPopup* self, int32_t* value); /* slot 108 */ - AvnHResult (AVN_CALL *open)(IAvnPopup* self); /* slot 109 */ - AvnHResult (AVN_CALL *close)(IAvnPopup* self); /* slot 110 */ - AvnHResult (AVN_CALL *advise_closed)(IAvnPopup* self, IAvnPopupClosedHandler* handler, int64_t* subscription_id); /* slot 111 */ - AvnHResult (AVN_CALL *unadvise_closed)(IAvnPopup* self, int64_t subscription_id); /* slot 112 */ - AvnHResult (AVN_CALL *advise_opened)(IAvnPopup* self, IAvnPopupOpenedHandler* handler, int64_t* subscription_id); /* slot 113 */ - AvnHResult (AVN_CALL *unadvise_opened)(IAvnPopup* self, int64_t subscription_id); /* slot 114 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnPopup* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnPopup* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnPopup* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnPopup* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnPopup* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnPopup* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnPopup* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnPopup* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnPopup* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnPopup* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnPopup* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnPopup* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_window_manager_add_shadow_hint)(IAvnPopup* self, int32_t* value); /* slot 75 */ + AvnHResult (AVN_CALL *set_window_manager_add_shadow_hint)(IAvnPopup* self, int32_t value); /* slot 76 */ + AvnHResult (AVN_CALL *get_child)(IAvnPopup* self, IAvnControl** value); /* slot 77 */ + AvnHResult (AVN_CALL *set_child)(IAvnPopup* self, IAvnControl* value); /* slot 78 */ + AvnHResult (AVN_CALL *get_inherits_transform)(IAvnPopup* self, int32_t* value); /* slot 79 */ + AvnHResult (AVN_CALL *set_inherits_transform)(IAvnPopup* self, int32_t value); /* slot 80 */ + AvnHResult (AVN_CALL *get_is_light_dismiss_enabled)(IAvnPopup* self, int32_t* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_is_light_dismiss_enabled)(IAvnPopup* self, int32_t value); /* slot 82 */ + AvnHResult (AVN_CALL *get_is_open)(IAvnPopup* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_is_open)(IAvnPopup* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_placement_anchor)(IAvnPopup* self, int32_t* value); /* slot 85 */ + AvnHResult (AVN_CALL *set_placement_anchor)(IAvnPopup* self, int32_t value); /* slot 86 */ + AvnHResult (AVN_CALL *get_placement_constraint_adjustment)(IAvnPopup* self, int32_t* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_placement_constraint_adjustment)(IAvnPopup* self, int32_t value); /* slot 88 */ + AvnHResult (AVN_CALL *get_placement_gravity)(IAvnPopup* self, int32_t* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_placement_gravity)(IAvnPopup* self, int32_t value); /* slot 90 */ + AvnHResult (AVN_CALL *get_placement)(IAvnPopup* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_placement)(IAvnPopup* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_placement_rect)(IAvnPopup* self, AvnOptionalRect* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_placement_rect)(IAvnPopup* self, AvnOptionalRect value); /* slot 94 */ + AvnHResult (AVN_CALL *get_placement_target)(IAvnPopup* self, IAvnControl** value); /* slot 95 */ + AvnHResult (AVN_CALL *set_placement_target)(IAvnPopup* self, IAvnControl* value); /* slot 96 */ + AvnHResult (AVN_CALL *get_custom_popup_placement_callback)(IAvnPopup* self, IAvnPopupPlacementCallback** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_custom_popup_placement_callback)(IAvnPopup* self, IAvnPopupPlacementCallback* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_overlay_dismiss_event_pass_through)(IAvnPopup* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_overlay_dismiss_event_pass_through)(IAvnPopup* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_overlay_input_pass_through_element)(IAvnPopup* self, IAvnControl** value); /* slot 101 */ + AvnHResult (AVN_CALL *set_overlay_input_pass_through_element)(IAvnPopup* self, IAvnControl* value); /* slot 102 */ + AvnHResult (AVN_CALL *get_horizontal_offset)(IAvnPopup* self, double* value); /* slot 103 */ + AvnHResult (AVN_CALL *set_horizontal_offset)(IAvnPopup* self, double value); /* slot 104 */ + AvnHResult (AVN_CALL *get_vertical_offset)(IAvnPopup* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_vertical_offset)(IAvnPopup* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_topmost)(IAvnPopup* self, int32_t* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_topmost)(IAvnPopup* self, int32_t value); /* slot 108 */ + AvnHResult (AVN_CALL *get_takes_focus_from_native_control)(IAvnPopup* self, int32_t* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_takes_focus_from_native_control)(IAvnPopup* self, int32_t value); /* slot 110 */ + AvnHResult (AVN_CALL *get_should_use_overlay_layer)(IAvnPopup* self, int32_t* value); /* slot 111 */ + AvnHResult (AVN_CALL *set_should_use_overlay_layer)(IAvnPopup* self, int32_t value); /* slot 112 */ + AvnHResult (AVN_CALL *get_is_using_overlay_layer)(IAvnPopup* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *get_is_pointer_over_popup)(IAvnPopup* self, int32_t* value); /* slot 114 */ + AvnHResult (AVN_CALL *open)(IAvnPopup* self); /* slot 115 */ + AvnHResult (AVN_CALL *close)(IAvnPopup* self); /* slot 116 */ + AvnHResult (AVN_CALL *advise_closed)(IAvnPopup* self, IAvnPopupClosedHandler* handler, int64_t* subscription_id); /* slot 117 */ + AvnHResult (AVN_CALL *unadvise_closed)(IAvnPopup* self, int64_t subscription_id); /* slot 118 */ + AvnHResult (AVN_CALL *advise_opened)(IAvnPopup* self, IAvnPopupOpenedHandler* handler, int64_t* subscription_id); /* slot 119 */ + AvnHResult (AVN_CALL *unadvise_opened)(IAvnPopup* self, int64_t subscription_id); /* slot 120 */ }; struct IAvnPopup { const IAvnPopupVtbl* vtbl; }; -#define I_AVN_POPUP_VTABLE_SLOTS 115 +#define I_AVN_POPUP_VTABLE_SLOTS 121 static const AvnGuid I_AVN_POPUP_FLYOUT_BASE_IID = { 0xE8905C74, @@ -9199,12 +9619,12 @@ struct IAvnPopupFlyoutBase { const IAvnPopupFlyoutBaseVtbl* vtbl; }; #define I_AVN_POPUP_FLYOUT_BASE_VTABLE_SLOTS 40 static const AvnGuid I_AVN_PROGRESS_BAR_IID = { - 0x54861122, - 0xE527, - 0x532B, - { 0xA4, 0x44, 0x76, 0xCB, 0x50, 0x2B, 0x04, 0x1E } + 0xA87F44AD, + 0x6E9D, + 0x5059, + { 0xA3, 0x55, 0xCB, 0xC9, 0x07, 0xAD, 0x0F, 0x45 } }; -#define I_AVN_PROGRESS_BAR_ABI_VERSION 13 +#define I_AVN_PROGRESS_BAR_ABI_VERSION 14 struct IAvnProgressBarVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnProgressBar* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnProgressBar* self); /* slot 1 */ @@ -9269,72 +9689,78 @@ struct IAvnProgressBarVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnProgressBar* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnProgressBar* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnProgressBar* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnProgressBar* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnProgressBar* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnProgressBar* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnProgressBar* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnProgressBar* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnProgressBar* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnProgressBar* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnProgressBar* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnProgressBar* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnProgressBar* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnProgressBar* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnProgressBar* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnProgressBar* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnProgressBar* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnProgressBar* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnProgressBar* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnProgressBar* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnProgressBar* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnProgressBar* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnProgressBar* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnProgressBar* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnProgressBar* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnProgressBar* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnProgressBar* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnProgressBar* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnProgressBar* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnProgressBar* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnProgressBar* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnProgressBar* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnProgressBar* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnProgressBar* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnProgressBar* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnProgressBar* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnProgressBar* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_minimum)(IAvnProgressBar* self, double* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_minimum)(IAvnProgressBar* self, double value); /* slot 98 */ - AvnHResult (AVN_CALL *get_maximum)(IAvnProgressBar* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_maximum)(IAvnProgressBar* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_value)(IAvnProgressBar* self, double* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_value)(IAvnProgressBar* self, double value); /* slot 102 */ - AvnHResult (AVN_CALL *get_small_change)(IAvnProgressBar* self, double* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_small_change)(IAvnProgressBar* self, double value); /* slot 104 */ - AvnHResult (AVN_CALL *get_large_change)(IAvnProgressBar* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_large_change)(IAvnProgressBar* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *advise_value_changed)(IAvnProgressBar* self, IAvnRangeBaseValueChangedHandler* handler, int64_t* subscription_id); /* slot 107 */ - AvnHResult (AVN_CALL *unadvise_value_changed)(IAvnProgressBar* self, int64_t subscription_id); /* slot 108 */ - AvnHResult (AVN_CALL *get_percentage)(IAvnProgressBar* self, double* value); /* slot 109 */ - AvnHResult (AVN_CALL *get_is_indeterminate)(IAvnProgressBar* self, int32_t* value); /* slot 110 */ - AvnHResult (AVN_CALL *set_is_indeterminate)(IAvnProgressBar* self, int32_t value); /* slot 111 */ - AvnHResult (AVN_CALL *get_show_progress_text)(IAvnProgressBar* self, int32_t* value); /* slot 112 */ - AvnHResult (AVN_CALL *set_show_progress_text)(IAvnProgressBar* self, int32_t value); /* slot 113 */ - AvnHResult (AVN_CALL *get_progress_text_format)(IAvnProgressBar* self, uint16_t** value); /* slot 114 */ - AvnHResult (AVN_CALL *set_progress_text_format)(IAvnProgressBar* self, const uint16_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *get_orientation)(IAvnProgressBar* self, int32_t* value); /* slot 116 */ - AvnHResult (AVN_CALL *set_orientation)(IAvnProgressBar* self, int32_t value); /* slot 117 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnProgressBar* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnProgressBar* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnProgressBar* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnProgressBar* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnProgressBar* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnProgressBar* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnProgressBar* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnProgressBar* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnProgressBar* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnProgressBar* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnProgressBar* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnProgressBar* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnProgressBar* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnProgressBar* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnProgressBar* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnProgressBar* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnProgressBar* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnProgressBar* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnProgressBar* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnProgressBar* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnProgressBar* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnProgressBar* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnProgressBar* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnProgressBar* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnProgressBar* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnProgressBar* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnProgressBar* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnProgressBar* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnProgressBar* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnProgressBar* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnProgressBar* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnProgressBar* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnProgressBar* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnProgressBar* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnProgressBar* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnProgressBar* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnProgressBar* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnProgressBar* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnProgressBar* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnProgressBar* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_minimum)(IAvnProgressBar* self, double* value); /* slot 103 */ + AvnHResult (AVN_CALL *set_minimum)(IAvnProgressBar* self, double value); /* slot 104 */ + AvnHResult (AVN_CALL *get_maximum)(IAvnProgressBar* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_maximum)(IAvnProgressBar* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_value)(IAvnProgressBar* self, double* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_value)(IAvnProgressBar* self, double value); /* slot 108 */ + AvnHResult (AVN_CALL *get_small_change)(IAvnProgressBar* self, double* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_small_change)(IAvnProgressBar* self, double value); /* slot 110 */ + AvnHResult (AVN_CALL *get_large_change)(IAvnProgressBar* self, double* value); /* slot 111 */ + AvnHResult (AVN_CALL *set_large_change)(IAvnProgressBar* self, double value); /* slot 112 */ + AvnHResult (AVN_CALL *advise_value_changed)(IAvnProgressBar* self, IAvnRangeBaseValueChangedHandler* handler, int64_t* subscription_id); /* slot 113 */ + AvnHResult (AVN_CALL *unadvise_value_changed)(IAvnProgressBar* self, int64_t subscription_id); /* slot 114 */ + AvnHResult (AVN_CALL *get_percentage)(IAvnProgressBar* self, double* value); /* slot 115 */ + AvnHResult (AVN_CALL *get_is_indeterminate)(IAvnProgressBar* self, int32_t* value); /* slot 116 */ + AvnHResult (AVN_CALL *set_is_indeterminate)(IAvnProgressBar* self, int32_t value); /* slot 117 */ + AvnHResult (AVN_CALL *get_show_progress_text)(IAvnProgressBar* self, int32_t* value); /* slot 118 */ + AvnHResult (AVN_CALL *set_show_progress_text)(IAvnProgressBar* self, int32_t value); /* slot 119 */ + AvnHResult (AVN_CALL *get_progress_text_format)(IAvnProgressBar* self, uint16_t** value); /* slot 120 */ + AvnHResult (AVN_CALL *set_progress_text_format)(IAvnProgressBar* self, const uint16_t* value); /* slot 121 */ + AvnHResult (AVN_CALL *get_orientation)(IAvnProgressBar* self, int32_t* value); /* slot 122 */ + AvnHResult (AVN_CALL *set_orientation)(IAvnProgressBar* self, int32_t value); /* slot 123 */ }; struct IAvnProgressBar { const IAvnProgressBarVtbl* vtbl; }; -#define I_AVN_PROGRESS_BAR_VTABLE_SLOTS 118 +#define I_AVN_PROGRESS_BAR_VTABLE_SLOTS 124 static const AvnGuid I_AVN_RADIO_BUTTON_IID = { - 0x45D712D8, - 0xA144, - 0x589A, - { 0x90, 0x53, 0x43, 0x33, 0xB6, 0x14, 0x28, 0xBF } + 0x1D9D9433, + 0xE351, + 0x59FA, + { 0xA6, 0x5E, 0xF7, 0x8D, 0xF4, 0x22, 0x3F, 0x1C } }; -#define I_AVN_RADIO_BUTTON_ABI_VERSION 16 +#define I_AVN_RADIO_BUTTON_ABI_VERSION 17 struct IAvnRadioButtonVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnRadioButton* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnRadioButton* self); /* slot 1 */ @@ -9399,84 +9825,90 @@ struct IAvnRadioButtonVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnRadioButton* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnRadioButton* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnRadioButton* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnRadioButton* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnRadioButton* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnRadioButton* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnRadioButton* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnRadioButton* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnRadioButton* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnRadioButton* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnRadioButton* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnRadioButton* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnRadioButton* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnRadioButton* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnRadioButton* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnRadioButton* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnRadioButton* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnRadioButton* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnRadioButton* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnRadioButton* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnRadioButton* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnRadioButton* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnRadioButton* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnRadioButton* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnRadioButton* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnRadioButton* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnRadioButton* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnRadioButton* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnRadioButton* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnRadioButton* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnRadioButton* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnRadioButton* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnRadioButton* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnRadioButton* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnRadioButton* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnRadioButton* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnRadioButton* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_content)(IAvnRadioButton* self, IAvnControl** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_content)(IAvnRadioButton* self, IAvnControl* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnRadioButton* self, IAvnDataTemplate** value); /* slot 99 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnRadioButton* self, IAvnDataTemplate* value); /* slot 100 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnRadioButton* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnRadioButton* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnRadioButton* self, int32_t* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnRadioButton* self, int32_t value); /* slot 104 */ - AvnHResult (AVN_CALL *get_click_mode)(IAvnRadioButton* self, int32_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_click_mode)(IAvnRadioButton* self, int32_t value); /* slot 106 */ - AvnHResult (AVN_CALL *get_command)(IAvnRadioButton* self, IAvnCommand** value); /* slot 107 */ - AvnHResult (AVN_CALL *set_command)(IAvnRadioButton* self, IAvnCommand* value); /* slot 108 */ - AvnHResult (AVN_CALL *get_hot_key)(IAvnRadioButton* self, uint16_t** value); /* slot 109 */ - AvnHResult (AVN_CALL *set_hot_key)(IAvnRadioButton* self, const uint16_t* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_command_parameter)(IAvnRadioButton* self, AvnVariant* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_command_parameter)(IAvnRadioButton* self, AvnVariant value); /* slot 112 */ - AvnHResult (AVN_CALL *get_is_default)(IAvnRadioButton* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_is_default)(IAvnRadioButton* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_is_cancel)(IAvnRadioButton* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_is_cancel)(IAvnRadioButton* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_is_pressed)(IAvnRadioButton* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *get_flyout)(IAvnRadioButton* self, IAvnFlyoutBase** value); /* slot 118 */ - AvnHResult (AVN_CALL *set_flyout)(IAvnRadioButton* self, IAvnFlyoutBase* value); /* slot 119 */ - AvnHResult (AVN_CALL *advise_click)(IAvnRadioButton* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 120 */ - AvnHResult (AVN_CALL *unadvise_click)(IAvnRadioButton* self, int64_t subscription_id); /* slot 121 */ - AvnHResult (AVN_CALL *get_is_checked)(IAvnRadioButton* self, int32_t* value); /* slot 122 */ - AvnHResult (AVN_CALL *set_is_checked)(IAvnRadioButton* self, int32_t value); /* slot 123 */ - AvnHResult (AVN_CALL *get_is_three_state)(IAvnRadioButton* self, int32_t* value); /* slot 124 */ - AvnHResult (AVN_CALL *set_is_three_state)(IAvnRadioButton* self, int32_t value); /* slot 125 */ - AvnHResult (AVN_CALL *advise_is_checked_changed)(IAvnRadioButton* self, IAvnToggleButtonIsCheckedChangedHandler* handler, int64_t* subscription_id); /* slot 126 */ - AvnHResult (AVN_CALL *unadvise_is_checked_changed)(IAvnRadioButton* self, int64_t subscription_id); /* slot 127 */ - AvnHResult (AVN_CALL *get_group_name)(IAvnRadioButton* self, uint16_t** value); /* slot 128 */ - AvnHResult (AVN_CALL *set_group_name)(IAvnRadioButton* self, const uint16_t* value); /* slot 129 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnRadioButton* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnRadioButton* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnRadioButton* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnRadioButton* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnRadioButton* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnRadioButton* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnRadioButton* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnRadioButton* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnRadioButton* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnRadioButton* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnRadioButton* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnRadioButton* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnRadioButton* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnRadioButton* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnRadioButton* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnRadioButton* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnRadioButton* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnRadioButton* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnRadioButton* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnRadioButton* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnRadioButton* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnRadioButton* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnRadioButton* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnRadioButton* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnRadioButton* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnRadioButton* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnRadioButton* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnRadioButton* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnRadioButton* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnRadioButton* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnRadioButton* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnRadioButton* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnRadioButton* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnRadioButton* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnRadioButton* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnRadioButton* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnRadioButton* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnRadioButton* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnRadioButton* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnRadioButton* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_content)(IAvnRadioButton* self, IAvnControl** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_content)(IAvnRadioButton* self, IAvnControl* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnRadioButton* self, IAvnDataTemplate** value); /* slot 105 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnRadioButton* self, IAvnDataTemplate* value); /* slot 106 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnRadioButton* self, int32_t* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnRadioButton* self, int32_t value); /* slot 108 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnRadioButton* self, int32_t* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnRadioButton* self, int32_t value); /* slot 110 */ + AvnHResult (AVN_CALL *get_click_mode)(IAvnRadioButton* self, int32_t* value); /* slot 111 */ + AvnHResult (AVN_CALL *set_click_mode)(IAvnRadioButton* self, int32_t value); /* slot 112 */ + AvnHResult (AVN_CALL *get_command)(IAvnRadioButton* self, IAvnCommand** value); /* slot 113 */ + AvnHResult (AVN_CALL *set_command)(IAvnRadioButton* self, IAvnCommand* value); /* slot 114 */ + AvnHResult (AVN_CALL *get_hot_key)(IAvnRadioButton* self, uint16_t** value); /* slot 115 */ + AvnHResult (AVN_CALL *set_hot_key)(IAvnRadioButton* self, const uint16_t* value); /* slot 116 */ + AvnHResult (AVN_CALL *get_command_parameter)(IAvnRadioButton* self, AvnVariant* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_command_parameter)(IAvnRadioButton* self, AvnVariant value); /* slot 118 */ + AvnHResult (AVN_CALL *get_is_default)(IAvnRadioButton* self, int32_t* value); /* slot 119 */ + AvnHResult (AVN_CALL *set_is_default)(IAvnRadioButton* self, int32_t value); /* slot 120 */ + AvnHResult (AVN_CALL *get_is_cancel)(IAvnRadioButton* self, int32_t* value); /* slot 121 */ + AvnHResult (AVN_CALL *set_is_cancel)(IAvnRadioButton* self, int32_t value); /* slot 122 */ + AvnHResult (AVN_CALL *get_is_pressed)(IAvnRadioButton* self, int32_t* value); /* slot 123 */ + AvnHResult (AVN_CALL *get_flyout)(IAvnRadioButton* self, IAvnFlyoutBase** value); /* slot 124 */ + AvnHResult (AVN_CALL *set_flyout)(IAvnRadioButton* self, IAvnFlyoutBase* value); /* slot 125 */ + AvnHResult (AVN_CALL *advise_click)(IAvnRadioButton* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 126 */ + AvnHResult (AVN_CALL *unadvise_click)(IAvnRadioButton* self, int64_t subscription_id); /* slot 127 */ + AvnHResult (AVN_CALL *get_is_checked)(IAvnRadioButton* self, int32_t* value); /* slot 128 */ + AvnHResult (AVN_CALL *set_is_checked)(IAvnRadioButton* self, int32_t value); /* slot 129 */ + AvnHResult (AVN_CALL *get_is_three_state)(IAvnRadioButton* self, int32_t* value); /* slot 130 */ + AvnHResult (AVN_CALL *set_is_three_state)(IAvnRadioButton* self, int32_t value); /* slot 131 */ + AvnHResult (AVN_CALL *advise_is_checked_changed)(IAvnRadioButton* self, IAvnToggleButtonIsCheckedChangedHandler* handler, int64_t* subscription_id); /* slot 132 */ + AvnHResult (AVN_CALL *unadvise_is_checked_changed)(IAvnRadioButton* self, int64_t subscription_id); /* slot 133 */ + AvnHResult (AVN_CALL *get_group_name)(IAvnRadioButton* self, uint16_t** value); /* slot 134 */ + AvnHResult (AVN_CALL *set_group_name)(IAvnRadioButton* self, const uint16_t* value); /* slot 135 */ }; struct IAvnRadioButton { const IAvnRadioButtonVtbl* vtbl; }; -#define I_AVN_RADIO_BUTTON_VTABLE_SLOTS 130 +#define I_AVN_RADIO_BUTTON_VTABLE_SLOTS 136 static const AvnGuid I_AVN_RANGE_BASE_IID = { - 0xC2C5CCBC, - 0xF621, - 0x560A, - { 0xB6, 0xF6, 0x87, 0xA2, 0x86, 0xDA, 0xB5, 0x0B } + 0xF1231250, + 0xDB6B, + 0x52E4, + { 0xA4, 0x2E, 0x3C, 0x57, 0xE7, 0x3C, 0x70, 0x23 } }; -#define I_AVN_RANGE_BASE_ABI_VERSION 12 +#define I_AVN_RANGE_BASE_ABI_VERSION 13 struct IAvnRangeBaseVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnRangeBase* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnRangeBase* self); /* slot 1 */ @@ -9541,63 +9973,69 @@ struct IAvnRangeBaseVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnRangeBase* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnRangeBase* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnRangeBase* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnRangeBase* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnRangeBase* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnRangeBase* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnRangeBase* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnRangeBase* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnRangeBase* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnRangeBase* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnRangeBase* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnRangeBase* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnRangeBase* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnRangeBase* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnRangeBase* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnRangeBase* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnRangeBase* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnRangeBase* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnRangeBase* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnRangeBase* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnRangeBase* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnRangeBase* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnRangeBase* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnRangeBase* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnRangeBase* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnRangeBase* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnRangeBase* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnRangeBase* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnRangeBase* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnRangeBase* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnRangeBase* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnRangeBase* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnRangeBase* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnRangeBase* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnRangeBase* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnRangeBase* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnRangeBase* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_minimum)(IAvnRangeBase* self, double* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_minimum)(IAvnRangeBase* self, double value); /* slot 98 */ - AvnHResult (AVN_CALL *get_maximum)(IAvnRangeBase* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_maximum)(IAvnRangeBase* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_value)(IAvnRangeBase* self, double* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_value)(IAvnRangeBase* self, double value); /* slot 102 */ - AvnHResult (AVN_CALL *get_small_change)(IAvnRangeBase* self, double* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_small_change)(IAvnRangeBase* self, double value); /* slot 104 */ - AvnHResult (AVN_CALL *get_large_change)(IAvnRangeBase* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_large_change)(IAvnRangeBase* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *advise_value_changed)(IAvnRangeBase* self, IAvnRangeBaseValueChangedHandler* handler, int64_t* subscription_id); /* slot 107 */ - AvnHResult (AVN_CALL *unadvise_value_changed)(IAvnRangeBase* self, int64_t subscription_id); /* slot 108 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnRangeBase* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnRangeBase* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnRangeBase* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnRangeBase* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnRangeBase* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnRangeBase* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnRangeBase* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnRangeBase* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnRangeBase* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnRangeBase* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnRangeBase* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnRangeBase* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnRangeBase* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnRangeBase* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnRangeBase* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnRangeBase* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnRangeBase* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnRangeBase* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnRangeBase* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnRangeBase* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnRangeBase* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnRangeBase* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnRangeBase* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnRangeBase* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnRangeBase* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnRangeBase* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnRangeBase* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnRangeBase* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnRangeBase* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnRangeBase* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnRangeBase* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnRangeBase* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnRangeBase* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnRangeBase* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnRangeBase* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnRangeBase* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnRangeBase* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnRangeBase* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnRangeBase* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnRangeBase* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_minimum)(IAvnRangeBase* self, double* value); /* slot 103 */ + AvnHResult (AVN_CALL *set_minimum)(IAvnRangeBase* self, double value); /* slot 104 */ + AvnHResult (AVN_CALL *get_maximum)(IAvnRangeBase* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_maximum)(IAvnRangeBase* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_value)(IAvnRangeBase* self, double* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_value)(IAvnRangeBase* self, double value); /* slot 108 */ + AvnHResult (AVN_CALL *get_small_change)(IAvnRangeBase* self, double* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_small_change)(IAvnRangeBase* self, double value); /* slot 110 */ + AvnHResult (AVN_CALL *get_large_change)(IAvnRangeBase* self, double* value); /* slot 111 */ + AvnHResult (AVN_CALL *set_large_change)(IAvnRangeBase* self, double value); /* slot 112 */ + AvnHResult (AVN_CALL *advise_value_changed)(IAvnRangeBase* self, IAvnRangeBaseValueChangedHandler* handler, int64_t* subscription_id); /* slot 113 */ + AvnHResult (AVN_CALL *unadvise_value_changed)(IAvnRangeBase* self, int64_t subscription_id); /* slot 114 */ }; struct IAvnRangeBase { const IAvnRangeBaseVtbl* vtbl; }; -#define I_AVN_RANGE_BASE_VTABLE_SLOTS 109 +#define I_AVN_RANGE_BASE_VTABLE_SLOTS 115 static const AvnGuid I_AVN_RECTANGLE_IID = { - 0x4C789DD6, - 0x03C9, - 0x5FC7, - { 0xA3, 0x8E, 0x05, 0x00, 0x60, 0xC2, 0x89, 0x08 } + 0xE87D8C84, + 0x1090, + 0x5B7D, + { 0x9D, 0xBA, 0x9F, 0x12, 0x2E, 0x19, 0xE3, 0x33 } }; -#define I_AVN_RECTANGLE_ABI_VERSION 8 +#define I_AVN_RECTANGLE_ABI_VERSION 9 struct IAvnRectangleVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnRectangle* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnRectangle* self); /* slot 1 */ @@ -9662,45 +10100,51 @@ struct IAvnRectangleVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnRectangle* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnRectangle* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnRectangle* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnRectangle* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnRectangle* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnRectangle* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnRectangle* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnRectangle* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnRectangle* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_fill)(IAvnRectangle* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_fill)(IAvnRectangle* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_stretch)(IAvnRectangle* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_stretch)(IAvnRectangle* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_stroke)(IAvnRectangle* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_stroke)(IAvnRectangle* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_stroke_dash_array)(IAvnRectangle* self, uint16_t** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_stroke_dash_array)(IAvnRectangle* self, const uint16_t* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_stroke_dash_offset)(IAvnRectangle* self, double* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_stroke_dash_offset)(IAvnRectangle* self, double value); /* slot 78 */ - AvnHResult (AVN_CALL *get_stroke_thickness)(IAvnRectangle* self, double* value); /* slot 79 */ - AvnHResult (AVN_CALL *set_stroke_thickness)(IAvnRectangle* self, double value); /* slot 80 */ - AvnHResult (AVN_CALL *get_stroke_line_cap)(IAvnRectangle* self, int32_t* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_stroke_line_cap)(IAvnRectangle* self, int32_t value); /* slot 82 */ - AvnHResult (AVN_CALL *get_stroke_join)(IAvnRectangle* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_stroke_join)(IAvnRectangle* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_stroke_miter_limit)(IAvnRectangle* self, double* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_stroke_miter_limit)(IAvnRectangle* self, double value); /* slot 86 */ - AvnHResult (AVN_CALL *get_radius_x)(IAvnRectangle* self, double* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_radius_x)(IAvnRectangle* self, double value); /* slot 88 */ - AvnHResult (AVN_CALL *get_radius_y)(IAvnRectangle* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_radius_y)(IAvnRectangle* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnRectangle* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnRectangle* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnRectangle* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnRectangle* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnRectangle* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnRectangle* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnRectangle* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnRectangle* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnRectangle* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnRectangle* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnRectangle* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnRectangle* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_fill)(IAvnRectangle* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_fill)(IAvnRectangle* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_stretch)(IAvnRectangle* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_stretch)(IAvnRectangle* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_stroke)(IAvnRectangle* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_stroke)(IAvnRectangle* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_stroke_dash_array)(IAvnRectangle* self, uint16_t** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_stroke_dash_array)(IAvnRectangle* self, const uint16_t* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_stroke_dash_offset)(IAvnRectangle* self, double* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_stroke_dash_offset)(IAvnRectangle* self, double value); /* slot 84 */ + AvnHResult (AVN_CALL *get_stroke_thickness)(IAvnRectangle* self, double* value); /* slot 85 */ + AvnHResult (AVN_CALL *set_stroke_thickness)(IAvnRectangle* self, double value); /* slot 86 */ + AvnHResult (AVN_CALL *get_stroke_line_cap)(IAvnRectangle* self, int32_t* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_stroke_line_cap)(IAvnRectangle* self, int32_t value); /* slot 88 */ + AvnHResult (AVN_CALL *get_stroke_join)(IAvnRectangle* self, int32_t* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_stroke_join)(IAvnRectangle* self, int32_t value); /* slot 90 */ + AvnHResult (AVN_CALL *get_stroke_miter_limit)(IAvnRectangle* self, double* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_stroke_miter_limit)(IAvnRectangle* self, double value); /* slot 92 */ + AvnHResult (AVN_CALL *get_radius_x)(IAvnRectangle* self, double* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_radius_x)(IAvnRectangle* self, double value); /* slot 94 */ + AvnHResult (AVN_CALL *get_radius_y)(IAvnRectangle* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_radius_y)(IAvnRectangle* self, double value); /* slot 96 */ }; struct IAvnRectangle { const IAvnRectangleVtbl* vtbl; }; -#define I_AVN_RECTANGLE_VTABLE_SLOTS 91 +#define I_AVN_RECTANGLE_VTABLE_SLOTS 97 static const AvnGuid I_AVN_REFRESH_CONTAINER_IID = { - 0xC83268B7, - 0xA9D2, - 0x51FA, - { 0xB7, 0xC7, 0xE9, 0x89, 0x1E, 0x41, 0x2A, 0x9B } + 0x3693CF05, + 0xF784, + 0x5394, + { 0xB7, 0xD2, 0x6D, 0xF5, 0x11, 0xF8, 0x6F, 0x97 } }; -#define I_AVN_REFRESH_CONTAINER_ABI_VERSION 10 +#define I_AVN_REFRESH_CONTAINER_ABI_VERSION 11 struct IAvnRefreshContainerVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnRefreshContainer* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnRefreshContainer* self); /* slot 1 */ @@ -9765,66 +10209,72 @@ struct IAvnRefreshContainerVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnRefreshContainer* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnRefreshContainer* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnRefreshContainer* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnRefreshContainer* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnRefreshContainer* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnRefreshContainer* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnRefreshContainer* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnRefreshContainer* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnRefreshContainer* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnRefreshContainer* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnRefreshContainer* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnRefreshContainer* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnRefreshContainer* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnRefreshContainer* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnRefreshContainer* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnRefreshContainer* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnRefreshContainer* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnRefreshContainer* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnRefreshContainer* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnRefreshContainer* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnRefreshContainer* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnRefreshContainer* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnRefreshContainer* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnRefreshContainer* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnRefreshContainer* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnRefreshContainer* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnRefreshContainer* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnRefreshContainer* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnRefreshContainer* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnRefreshContainer* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnRefreshContainer* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnRefreshContainer* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnRefreshContainer* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnRefreshContainer* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnRefreshContainer* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnRefreshContainer* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnRefreshContainer* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_content)(IAvnRefreshContainer* self, IAvnControl** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_content)(IAvnRefreshContainer* self, IAvnControl* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnRefreshContainer* self, IAvnDataTemplate** value); /* slot 99 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnRefreshContainer* self, IAvnDataTemplate* value); /* slot 100 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnRefreshContainer* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnRefreshContainer* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnRefreshContainer* self, int32_t* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnRefreshContainer* self, int32_t value); /* slot 104 */ - AvnHResult (AVN_CALL *get_is_mouse_enabled)(IAvnRefreshContainer* self, int32_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_is_mouse_enabled)(IAvnRefreshContainer* self, int32_t value); /* slot 106 */ - AvnHResult (AVN_CALL *get_pull_direction)(IAvnRefreshContainer* self, int32_t* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_pull_direction)(IAvnRefreshContainer* self, int32_t value); /* slot 108 */ - AvnHResult (AVN_CALL *request_refresh)(IAvnRefreshContainer* self); /* slot 109 */ - AvnHResult (AVN_CALL *advise_refresh_requested)(IAvnRefreshContainer* self, IAvnRefreshContainerRefreshRequestedHandler* handler, int64_t* subscription_id); /* slot 110 */ - AvnHResult (AVN_CALL *unadvise_refresh_requested)(IAvnRefreshContainer* self, int64_t subscription_id); /* slot 111 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnRefreshContainer* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnRefreshContainer* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnRefreshContainer* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnRefreshContainer* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnRefreshContainer* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnRefreshContainer* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnRefreshContainer* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnRefreshContainer* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnRefreshContainer* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnRefreshContainer* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnRefreshContainer* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnRefreshContainer* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnRefreshContainer* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnRefreshContainer* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnRefreshContainer* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnRefreshContainer* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnRefreshContainer* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnRefreshContainer* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnRefreshContainer* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnRefreshContainer* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnRefreshContainer* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnRefreshContainer* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnRefreshContainer* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnRefreshContainer* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnRefreshContainer* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnRefreshContainer* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnRefreshContainer* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnRefreshContainer* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnRefreshContainer* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnRefreshContainer* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnRefreshContainer* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnRefreshContainer* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnRefreshContainer* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnRefreshContainer* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnRefreshContainer* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnRefreshContainer* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnRefreshContainer* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnRefreshContainer* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnRefreshContainer* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnRefreshContainer* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_content)(IAvnRefreshContainer* self, IAvnControl** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_content)(IAvnRefreshContainer* self, IAvnControl* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnRefreshContainer* self, IAvnDataTemplate** value); /* slot 105 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnRefreshContainer* self, IAvnDataTemplate* value); /* slot 106 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnRefreshContainer* self, int32_t* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnRefreshContainer* self, int32_t value); /* slot 108 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnRefreshContainer* self, int32_t* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnRefreshContainer* self, int32_t value); /* slot 110 */ + AvnHResult (AVN_CALL *get_is_mouse_enabled)(IAvnRefreshContainer* self, int32_t* value); /* slot 111 */ + AvnHResult (AVN_CALL *set_is_mouse_enabled)(IAvnRefreshContainer* self, int32_t value); /* slot 112 */ + AvnHResult (AVN_CALL *get_pull_direction)(IAvnRefreshContainer* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *set_pull_direction)(IAvnRefreshContainer* self, int32_t value); /* slot 114 */ + AvnHResult (AVN_CALL *request_refresh)(IAvnRefreshContainer* self); /* slot 115 */ + AvnHResult (AVN_CALL *advise_refresh_requested)(IAvnRefreshContainer* self, IAvnRefreshContainerRefreshRequestedHandler* handler, int64_t* subscription_id); /* slot 116 */ + AvnHResult (AVN_CALL *unadvise_refresh_requested)(IAvnRefreshContainer* self, int64_t subscription_id); /* slot 117 */ }; struct IAvnRefreshContainer { const IAvnRefreshContainerVtbl* vtbl; }; -#define I_AVN_REFRESH_CONTAINER_VTABLE_SLOTS 112 +#define I_AVN_REFRESH_CONTAINER_VTABLE_SLOTS 118 static const AvnGuid I_AVN_RELATIVE_PANEL_IID = { - 0x4A52A408, - 0x9843, - 0x5FFA, - { 0xB1, 0xCC, 0x45, 0x75, 0xFA, 0x75, 0xB2, 0xD5 } + 0x0E550183, + 0x4D72, + 0x5357, + { 0x8C, 0x3F, 0x9F, 0x15, 0xE4, 0x1B, 0xC9, 0x76 } }; -#define I_AVN_RELATIVE_PANEL_ABI_VERSION 8 +#define I_AVN_RELATIVE_PANEL_ABI_VERSION 9 struct IAvnRelativePanelVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnRelativePanel* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnRelativePanel* self); /* slot 1 */ @@ -9889,26 +10339,32 @@ struct IAvnRelativePanelVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnRelativePanel* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnRelativePanel* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnRelativePanel* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnRelativePanel* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnRelativePanel* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnRelativePanel* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnRelativePanel* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnRelativePanel* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnRelativePanel* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_children)(IAvnRelativePanel* self, IAvnControlList** value); /* slot 69 */ - AvnHResult (AVN_CALL *get_background)(IAvnRelativePanel* self, IAvnBrush** value); /* slot 70 */ - AvnHResult (AVN_CALL *set_background)(IAvnRelativePanel* self, IAvnBrush* value); /* slot 71 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnRelativePanel* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnRelativePanel* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnRelativePanel* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnRelativePanel* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnRelativePanel* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnRelativePanel* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnRelativePanel* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnRelativePanel* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnRelativePanel* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnRelativePanel* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnRelativePanel* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnRelativePanel* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_children)(IAvnRelativePanel* self, IAvnControlList** value); /* slot 75 */ + AvnHResult (AVN_CALL *get_background)(IAvnRelativePanel* self, IAvnBrush** value); /* slot 76 */ + AvnHResult (AVN_CALL *set_background)(IAvnRelativePanel* self, IAvnBrush* value); /* slot 77 */ }; struct IAvnRelativePanel { const IAvnRelativePanelVtbl* vtbl; }; -#define I_AVN_RELATIVE_PANEL_VTABLE_SLOTS 72 +#define I_AVN_RELATIVE_PANEL_VTABLE_SLOTS 78 static const AvnGuid I_AVN_REPEAT_BUTTON_IID = { - 0xA0647C03, - 0x65F2, - 0x5FE4, - { 0xA3, 0x8E, 0xB4, 0xA6, 0x10, 0xF7, 0x40, 0xA0 } + 0xE1023A87, + 0x3E17, + 0x5F1D, + { 0x86, 0x71, 0x36, 0xC4, 0xFD, 0x0D, 0x1C, 0xC3 } }; -#define I_AVN_REPEAT_BUTTON_ABI_VERSION 11 +#define I_AVN_REPEAT_BUTTON_ABI_VERSION 12 struct IAvnRepeatButtonVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnRepeatButton* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnRepeatButton* self); /* slot 1 */ @@ -9973,80 +10429,86 @@ struct IAvnRepeatButtonVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnRepeatButton* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnRepeatButton* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnRepeatButton* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnRepeatButton* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnRepeatButton* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnRepeatButton* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnRepeatButton* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnRepeatButton* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnRepeatButton* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnRepeatButton* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnRepeatButton* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnRepeatButton* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnRepeatButton* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnRepeatButton* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnRepeatButton* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnRepeatButton* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnRepeatButton* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnRepeatButton* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnRepeatButton* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnRepeatButton* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnRepeatButton* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnRepeatButton* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnRepeatButton* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnRepeatButton* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnRepeatButton* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnRepeatButton* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnRepeatButton* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnRepeatButton* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnRepeatButton* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnRepeatButton* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnRepeatButton* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnRepeatButton* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnRepeatButton* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnRepeatButton* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnRepeatButton* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnRepeatButton* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnRepeatButton* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_content)(IAvnRepeatButton* self, IAvnControl** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_content)(IAvnRepeatButton* self, IAvnControl* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnRepeatButton* self, IAvnDataTemplate** value); /* slot 99 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnRepeatButton* self, IAvnDataTemplate* value); /* slot 100 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnRepeatButton* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnRepeatButton* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnRepeatButton* self, int32_t* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnRepeatButton* self, int32_t value); /* slot 104 */ - AvnHResult (AVN_CALL *get_click_mode)(IAvnRepeatButton* self, int32_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_click_mode)(IAvnRepeatButton* self, int32_t value); /* slot 106 */ - AvnHResult (AVN_CALL *get_command)(IAvnRepeatButton* self, IAvnCommand** value); /* slot 107 */ - AvnHResult (AVN_CALL *set_command)(IAvnRepeatButton* self, IAvnCommand* value); /* slot 108 */ - AvnHResult (AVN_CALL *get_hot_key)(IAvnRepeatButton* self, uint16_t** value); /* slot 109 */ - AvnHResult (AVN_CALL *set_hot_key)(IAvnRepeatButton* self, const uint16_t* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_command_parameter)(IAvnRepeatButton* self, AvnVariant* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_command_parameter)(IAvnRepeatButton* self, AvnVariant value); /* slot 112 */ - AvnHResult (AVN_CALL *get_is_default)(IAvnRepeatButton* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_is_default)(IAvnRepeatButton* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_is_cancel)(IAvnRepeatButton* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_is_cancel)(IAvnRepeatButton* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_is_pressed)(IAvnRepeatButton* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *get_flyout)(IAvnRepeatButton* self, IAvnFlyoutBase** value); /* slot 118 */ - AvnHResult (AVN_CALL *set_flyout)(IAvnRepeatButton* self, IAvnFlyoutBase* value); /* slot 119 */ - AvnHResult (AVN_CALL *advise_click)(IAvnRepeatButton* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 120 */ - AvnHResult (AVN_CALL *unadvise_click)(IAvnRepeatButton* self, int64_t subscription_id); /* slot 121 */ - AvnHResult (AVN_CALL *get_interval)(IAvnRepeatButton* self, int32_t* value); /* slot 122 */ - AvnHResult (AVN_CALL *set_interval)(IAvnRepeatButton* self, int32_t value); /* slot 123 */ - AvnHResult (AVN_CALL *get_delay)(IAvnRepeatButton* self, int32_t* value); /* slot 124 */ - AvnHResult (AVN_CALL *set_delay)(IAvnRepeatButton* self, int32_t value); /* slot 125 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnRepeatButton* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnRepeatButton* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnRepeatButton* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnRepeatButton* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnRepeatButton* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnRepeatButton* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnRepeatButton* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnRepeatButton* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnRepeatButton* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnRepeatButton* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnRepeatButton* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnRepeatButton* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnRepeatButton* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnRepeatButton* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnRepeatButton* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnRepeatButton* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnRepeatButton* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnRepeatButton* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnRepeatButton* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnRepeatButton* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnRepeatButton* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnRepeatButton* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnRepeatButton* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnRepeatButton* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnRepeatButton* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnRepeatButton* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnRepeatButton* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnRepeatButton* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnRepeatButton* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnRepeatButton* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnRepeatButton* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnRepeatButton* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnRepeatButton* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnRepeatButton* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnRepeatButton* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnRepeatButton* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnRepeatButton* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnRepeatButton* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnRepeatButton* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnRepeatButton* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_content)(IAvnRepeatButton* self, IAvnControl** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_content)(IAvnRepeatButton* self, IAvnControl* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnRepeatButton* self, IAvnDataTemplate** value); /* slot 105 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnRepeatButton* self, IAvnDataTemplate* value); /* slot 106 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnRepeatButton* self, int32_t* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnRepeatButton* self, int32_t value); /* slot 108 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnRepeatButton* self, int32_t* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnRepeatButton* self, int32_t value); /* slot 110 */ + AvnHResult (AVN_CALL *get_click_mode)(IAvnRepeatButton* self, int32_t* value); /* slot 111 */ + AvnHResult (AVN_CALL *set_click_mode)(IAvnRepeatButton* self, int32_t value); /* slot 112 */ + AvnHResult (AVN_CALL *get_command)(IAvnRepeatButton* self, IAvnCommand** value); /* slot 113 */ + AvnHResult (AVN_CALL *set_command)(IAvnRepeatButton* self, IAvnCommand* value); /* slot 114 */ + AvnHResult (AVN_CALL *get_hot_key)(IAvnRepeatButton* self, uint16_t** value); /* slot 115 */ + AvnHResult (AVN_CALL *set_hot_key)(IAvnRepeatButton* self, const uint16_t* value); /* slot 116 */ + AvnHResult (AVN_CALL *get_command_parameter)(IAvnRepeatButton* self, AvnVariant* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_command_parameter)(IAvnRepeatButton* self, AvnVariant value); /* slot 118 */ + AvnHResult (AVN_CALL *get_is_default)(IAvnRepeatButton* self, int32_t* value); /* slot 119 */ + AvnHResult (AVN_CALL *set_is_default)(IAvnRepeatButton* self, int32_t value); /* slot 120 */ + AvnHResult (AVN_CALL *get_is_cancel)(IAvnRepeatButton* self, int32_t* value); /* slot 121 */ + AvnHResult (AVN_CALL *set_is_cancel)(IAvnRepeatButton* self, int32_t value); /* slot 122 */ + AvnHResult (AVN_CALL *get_is_pressed)(IAvnRepeatButton* self, int32_t* value); /* slot 123 */ + AvnHResult (AVN_CALL *get_flyout)(IAvnRepeatButton* self, IAvnFlyoutBase** value); /* slot 124 */ + AvnHResult (AVN_CALL *set_flyout)(IAvnRepeatButton* self, IAvnFlyoutBase* value); /* slot 125 */ + AvnHResult (AVN_CALL *advise_click)(IAvnRepeatButton* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 126 */ + AvnHResult (AVN_CALL *unadvise_click)(IAvnRepeatButton* self, int64_t subscription_id); /* slot 127 */ + AvnHResult (AVN_CALL *get_interval)(IAvnRepeatButton* self, int32_t* value); /* slot 128 */ + AvnHResult (AVN_CALL *set_interval)(IAvnRepeatButton* self, int32_t value); /* slot 129 */ + AvnHResult (AVN_CALL *get_delay)(IAvnRepeatButton* self, int32_t* value); /* slot 130 */ + AvnHResult (AVN_CALL *set_delay)(IAvnRepeatButton* self, int32_t value); /* slot 131 */ }; struct IAvnRepeatButton { const IAvnRepeatButtonVtbl* vtbl; }; -#define I_AVN_REPEAT_BUTTON_VTABLE_SLOTS 126 +#define I_AVN_REPEAT_BUTTON_VTABLE_SLOTS 132 static const AvnGuid I_AVN_SCROLL_VIEWER_IID = { - 0x597E4640, - 0x680B, - 0x5499, - { 0xA4, 0xF0, 0xD9, 0x0B, 0x8F, 0x05, 0x39, 0xC7 } + 0x74E7350C, + 0x320E, + 0x5E2A, + { 0xA8, 0xB9, 0xCD, 0xD9, 0x29, 0xB6, 0xB8, 0x26 } }; -#define I_AVN_SCROLL_VIEWER_ABI_VERSION 15 +#define I_AVN_SCROLL_VIEWER_ABI_VERSION 16 struct IAvnScrollViewerVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnScrollViewer* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnScrollViewer* self); /* slot 1 */ @@ -10111,104 +10573,110 @@ struct IAvnScrollViewerVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnScrollViewer* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnScrollViewer* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnScrollViewer* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnScrollViewer* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnScrollViewer* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnScrollViewer* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnScrollViewer* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnScrollViewer* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnScrollViewer* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnScrollViewer* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnScrollViewer* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnScrollViewer* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnScrollViewer* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnScrollViewer* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnScrollViewer* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnScrollViewer* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnScrollViewer* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnScrollViewer* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnScrollViewer* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnScrollViewer* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnScrollViewer* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnScrollViewer* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnScrollViewer* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnScrollViewer* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnScrollViewer* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnScrollViewer* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnScrollViewer* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnScrollViewer* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnScrollViewer* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnScrollViewer* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnScrollViewer* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnScrollViewer* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnScrollViewer* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnScrollViewer* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnScrollViewer* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnScrollViewer* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnScrollViewer* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_content)(IAvnScrollViewer* self, IAvnControl** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_content)(IAvnScrollViewer* self, IAvnControl* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnScrollViewer* self, IAvnDataTemplate** value); /* slot 99 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnScrollViewer* self, IAvnDataTemplate* value); /* slot 100 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnScrollViewer* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnScrollViewer* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnScrollViewer* self, int32_t* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnScrollViewer* self, int32_t value); /* slot 104 */ - AvnHResult (AVN_CALL *get_bring_into_view_on_focus_change)(IAvnScrollViewer* self, int32_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_bring_into_view_on_focus_change)(IAvnScrollViewer* self, int32_t value); /* slot 106 */ - AvnHResult (AVN_CALL *get_extent)(IAvnScrollViewer* self, AvnSize* value); /* slot 107 */ - AvnHResult (AVN_CALL *get_offset)(IAvnScrollViewer* self, AvnVector* value); /* slot 108 */ - AvnHResult (AVN_CALL *set_offset)(IAvnScrollViewer* self, AvnVector value); /* slot 109 */ - AvnHResult (AVN_CALL *get_viewport)(IAvnScrollViewer* self, AvnSize* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_large_change)(IAvnScrollViewer* self, AvnSize* value); /* slot 111 */ - AvnHResult (AVN_CALL *get_small_change)(IAvnScrollViewer* self, AvnSize* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_horizontal_scroll_bar_visibility)(IAvnScrollViewer* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_horizontal_scroll_bar_visibility)(IAvnScrollViewer* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_vertical_scroll_bar_visibility)(IAvnScrollViewer* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_vertical_scroll_bar_visibility)(IAvnScrollViewer* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_current_anchor)(IAvnScrollViewer* self, IAvnControl** value); /* slot 117 */ - AvnHResult (AVN_CALL *get_scroll_bar_maximum)(IAvnScrollViewer* self, AvnVector* value); /* slot 118 */ - AvnHResult (AVN_CALL *get_is_expanded)(IAvnScrollViewer* self, int32_t* value); /* slot 119 */ - AvnHResult (AVN_CALL *get_horizontal_snap_points_type)(IAvnScrollViewer* self, int32_t* value); /* slot 120 */ - AvnHResult (AVN_CALL *set_horizontal_snap_points_type)(IAvnScrollViewer* self, int32_t value); /* slot 121 */ - AvnHResult (AVN_CALL *get_vertical_snap_points_type)(IAvnScrollViewer* self, int32_t* value); /* slot 122 */ - AvnHResult (AVN_CALL *set_vertical_snap_points_type)(IAvnScrollViewer* self, int32_t value); /* slot 123 */ - AvnHResult (AVN_CALL *get_horizontal_snap_points_alignment)(IAvnScrollViewer* self, int32_t* value); /* slot 124 */ - AvnHResult (AVN_CALL *set_horizontal_snap_points_alignment)(IAvnScrollViewer* self, int32_t value); /* slot 125 */ - AvnHResult (AVN_CALL *get_vertical_snap_points_alignment)(IAvnScrollViewer* self, int32_t* value); /* slot 126 */ - AvnHResult (AVN_CALL *set_vertical_snap_points_alignment)(IAvnScrollViewer* self, int32_t value); /* slot 127 */ - AvnHResult (AVN_CALL *get_allow_auto_hide)(IAvnScrollViewer* self, int32_t* value); /* slot 128 */ - AvnHResult (AVN_CALL *set_allow_auto_hide)(IAvnScrollViewer* self, int32_t value); /* slot 129 */ - AvnHResult (AVN_CALL *get_is_scroll_chaining_enabled)(IAvnScrollViewer* self, int32_t* value); /* slot 130 */ - AvnHResult (AVN_CALL *set_is_scroll_chaining_enabled)(IAvnScrollViewer* self, int32_t value); /* slot 131 */ - AvnHResult (AVN_CALL *get_is_scroll_inertia_enabled)(IAvnScrollViewer* self, int32_t* value); /* slot 132 */ - AvnHResult (AVN_CALL *set_is_scroll_inertia_enabled)(IAvnScrollViewer* self, int32_t value); /* slot 133 */ - AvnHResult (AVN_CALL *get_is_deferred_scrolling_enabled)(IAvnScrollViewer* self, int32_t* value); /* slot 134 */ - AvnHResult (AVN_CALL *set_is_deferred_scrolling_enabled)(IAvnScrollViewer* self, int32_t value); /* slot 135 */ - AvnHResult (AVN_CALL *line_up)(IAvnScrollViewer* self); /* slot 136 */ - AvnHResult (AVN_CALL *line_down)(IAvnScrollViewer* self); /* slot 137 */ - AvnHResult (AVN_CALL *line_left)(IAvnScrollViewer* self); /* slot 138 */ - AvnHResult (AVN_CALL *line_right)(IAvnScrollViewer* self); /* slot 139 */ - AvnHResult (AVN_CALL *page_up)(IAvnScrollViewer* self); /* slot 140 */ - AvnHResult (AVN_CALL *page_down)(IAvnScrollViewer* self); /* slot 141 */ - AvnHResult (AVN_CALL *page_left)(IAvnScrollViewer* self); /* slot 142 */ - AvnHResult (AVN_CALL *page_right)(IAvnScrollViewer* self); /* slot 143 */ - AvnHResult (AVN_CALL *scroll_to_home)(IAvnScrollViewer* self); /* slot 144 */ - AvnHResult (AVN_CALL *scroll_to_end)(IAvnScrollViewer* self); /* slot 145 */ - AvnHResult (AVN_CALL *register_anchor_candidate_with_control)(IAvnScrollViewer* self, IAvnControl* element); /* slot 146 */ - AvnHResult (AVN_CALL *unregister_anchor_candidate_with_control)(IAvnScrollViewer* self, IAvnControl* element); /* slot 147 */ - AvnHResult (AVN_CALL *advise_scroll_changed)(IAvnScrollViewer* self, IAvnScrollViewerScrollChangedHandler* handler, int64_t* subscription_id); /* slot 148 */ - AvnHResult (AVN_CALL *unadvise_scroll_changed)(IAvnScrollViewer* self, int64_t subscription_id); /* slot 149 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnScrollViewer* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnScrollViewer* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnScrollViewer* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnScrollViewer* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnScrollViewer* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnScrollViewer* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnScrollViewer* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnScrollViewer* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnScrollViewer* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnScrollViewer* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnScrollViewer* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnScrollViewer* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnScrollViewer* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnScrollViewer* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnScrollViewer* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnScrollViewer* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnScrollViewer* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnScrollViewer* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnScrollViewer* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnScrollViewer* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnScrollViewer* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnScrollViewer* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnScrollViewer* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnScrollViewer* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnScrollViewer* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnScrollViewer* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnScrollViewer* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnScrollViewer* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnScrollViewer* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnScrollViewer* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnScrollViewer* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnScrollViewer* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnScrollViewer* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnScrollViewer* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnScrollViewer* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnScrollViewer* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnScrollViewer* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnScrollViewer* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnScrollViewer* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnScrollViewer* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_content)(IAvnScrollViewer* self, IAvnControl** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_content)(IAvnScrollViewer* self, IAvnControl* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnScrollViewer* self, IAvnDataTemplate** value); /* slot 105 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnScrollViewer* self, IAvnDataTemplate* value); /* slot 106 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnScrollViewer* self, int32_t* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnScrollViewer* self, int32_t value); /* slot 108 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnScrollViewer* self, int32_t* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnScrollViewer* self, int32_t value); /* slot 110 */ + AvnHResult (AVN_CALL *get_bring_into_view_on_focus_change)(IAvnScrollViewer* self, int32_t* value); /* slot 111 */ + AvnHResult (AVN_CALL *set_bring_into_view_on_focus_change)(IAvnScrollViewer* self, int32_t value); /* slot 112 */ + AvnHResult (AVN_CALL *get_extent)(IAvnScrollViewer* self, AvnSize* value); /* slot 113 */ + AvnHResult (AVN_CALL *get_offset)(IAvnScrollViewer* self, AvnVector* value); /* slot 114 */ + AvnHResult (AVN_CALL *set_offset)(IAvnScrollViewer* self, AvnVector value); /* slot 115 */ + AvnHResult (AVN_CALL *get_viewport)(IAvnScrollViewer* self, AvnSize* value); /* slot 116 */ + AvnHResult (AVN_CALL *get_large_change)(IAvnScrollViewer* self, AvnSize* value); /* slot 117 */ + AvnHResult (AVN_CALL *get_small_change)(IAvnScrollViewer* self, AvnSize* value); /* slot 118 */ + AvnHResult (AVN_CALL *get_horizontal_scroll_bar_visibility)(IAvnScrollViewer* self, int32_t* value); /* slot 119 */ + AvnHResult (AVN_CALL *set_horizontal_scroll_bar_visibility)(IAvnScrollViewer* self, int32_t value); /* slot 120 */ + AvnHResult (AVN_CALL *get_vertical_scroll_bar_visibility)(IAvnScrollViewer* self, int32_t* value); /* slot 121 */ + AvnHResult (AVN_CALL *set_vertical_scroll_bar_visibility)(IAvnScrollViewer* self, int32_t value); /* slot 122 */ + AvnHResult (AVN_CALL *get_current_anchor)(IAvnScrollViewer* self, IAvnControl** value); /* slot 123 */ + AvnHResult (AVN_CALL *get_scroll_bar_maximum)(IAvnScrollViewer* self, AvnVector* value); /* slot 124 */ + AvnHResult (AVN_CALL *get_is_expanded)(IAvnScrollViewer* self, int32_t* value); /* slot 125 */ + AvnHResult (AVN_CALL *get_horizontal_snap_points_type)(IAvnScrollViewer* self, int32_t* value); /* slot 126 */ + AvnHResult (AVN_CALL *set_horizontal_snap_points_type)(IAvnScrollViewer* self, int32_t value); /* slot 127 */ + AvnHResult (AVN_CALL *get_vertical_snap_points_type)(IAvnScrollViewer* self, int32_t* value); /* slot 128 */ + AvnHResult (AVN_CALL *set_vertical_snap_points_type)(IAvnScrollViewer* self, int32_t value); /* slot 129 */ + AvnHResult (AVN_CALL *get_horizontal_snap_points_alignment)(IAvnScrollViewer* self, int32_t* value); /* slot 130 */ + AvnHResult (AVN_CALL *set_horizontal_snap_points_alignment)(IAvnScrollViewer* self, int32_t value); /* slot 131 */ + AvnHResult (AVN_CALL *get_vertical_snap_points_alignment)(IAvnScrollViewer* self, int32_t* value); /* slot 132 */ + AvnHResult (AVN_CALL *set_vertical_snap_points_alignment)(IAvnScrollViewer* self, int32_t value); /* slot 133 */ + AvnHResult (AVN_CALL *get_allow_auto_hide)(IAvnScrollViewer* self, int32_t* value); /* slot 134 */ + AvnHResult (AVN_CALL *set_allow_auto_hide)(IAvnScrollViewer* self, int32_t value); /* slot 135 */ + AvnHResult (AVN_CALL *get_is_scroll_chaining_enabled)(IAvnScrollViewer* self, int32_t* value); /* slot 136 */ + AvnHResult (AVN_CALL *set_is_scroll_chaining_enabled)(IAvnScrollViewer* self, int32_t value); /* slot 137 */ + AvnHResult (AVN_CALL *get_is_scroll_inertia_enabled)(IAvnScrollViewer* self, int32_t* value); /* slot 138 */ + AvnHResult (AVN_CALL *set_is_scroll_inertia_enabled)(IAvnScrollViewer* self, int32_t value); /* slot 139 */ + AvnHResult (AVN_CALL *get_is_deferred_scrolling_enabled)(IAvnScrollViewer* self, int32_t* value); /* slot 140 */ + AvnHResult (AVN_CALL *set_is_deferred_scrolling_enabled)(IAvnScrollViewer* self, int32_t value); /* slot 141 */ + AvnHResult (AVN_CALL *line_up)(IAvnScrollViewer* self); /* slot 142 */ + AvnHResult (AVN_CALL *line_down)(IAvnScrollViewer* self); /* slot 143 */ + AvnHResult (AVN_CALL *line_left)(IAvnScrollViewer* self); /* slot 144 */ + AvnHResult (AVN_CALL *line_right)(IAvnScrollViewer* self); /* slot 145 */ + AvnHResult (AVN_CALL *page_up)(IAvnScrollViewer* self); /* slot 146 */ + AvnHResult (AVN_CALL *page_down)(IAvnScrollViewer* self); /* slot 147 */ + AvnHResult (AVN_CALL *page_left)(IAvnScrollViewer* self); /* slot 148 */ + AvnHResult (AVN_CALL *page_right)(IAvnScrollViewer* self); /* slot 149 */ + AvnHResult (AVN_CALL *scroll_to_home)(IAvnScrollViewer* self); /* slot 150 */ + AvnHResult (AVN_CALL *scroll_to_end)(IAvnScrollViewer* self); /* slot 151 */ + AvnHResult (AVN_CALL *register_anchor_candidate_with_control)(IAvnScrollViewer* self, IAvnControl* element); /* slot 152 */ + AvnHResult (AVN_CALL *unregister_anchor_candidate_with_control)(IAvnScrollViewer* self, IAvnControl* element); /* slot 153 */ + AvnHResult (AVN_CALL *advise_scroll_changed)(IAvnScrollViewer* self, IAvnScrollViewerScrollChangedHandler* handler, int64_t* subscription_id); /* slot 154 */ + AvnHResult (AVN_CALL *unadvise_scroll_changed)(IAvnScrollViewer* self, int64_t subscription_id); /* slot 155 */ }; struct IAvnScrollViewer { const IAvnScrollViewerVtbl* vtbl; }; -#define I_AVN_SCROLL_VIEWER_VTABLE_SLOTS 150 +#define I_AVN_SCROLL_VIEWER_VTABLE_SLOTS 156 static const AvnGuid I_AVN_SECTOR_IID = { - 0xBEB2012E, - 0xDE97, - 0x5F61, - { 0xB0, 0x66, 0x1E, 0x1D, 0x92, 0x4A, 0x19, 0x2A } + 0x5716DA45, + 0x6417, + 0x5758, + { 0x89, 0xE7, 0x30, 0x34, 0x27, 0x80, 0x83, 0x53 } }; -#define I_AVN_SECTOR_ABI_VERSION 8 +#define I_AVN_SECTOR_ABI_VERSION 9 struct IAvnSectorVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnSector* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnSector* self); /* slot 1 */ @@ -10273,45 +10741,51 @@ struct IAvnSectorVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnSector* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnSector* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnSector* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnSector* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnSector* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnSector* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnSector* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnSector* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnSector* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_fill)(IAvnSector* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_fill)(IAvnSector* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_stretch)(IAvnSector* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_stretch)(IAvnSector* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_stroke)(IAvnSector* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_stroke)(IAvnSector* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_stroke_dash_array)(IAvnSector* self, uint16_t** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_stroke_dash_array)(IAvnSector* self, const uint16_t* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_stroke_dash_offset)(IAvnSector* self, double* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_stroke_dash_offset)(IAvnSector* self, double value); /* slot 78 */ - AvnHResult (AVN_CALL *get_stroke_thickness)(IAvnSector* self, double* value); /* slot 79 */ - AvnHResult (AVN_CALL *set_stroke_thickness)(IAvnSector* self, double value); /* slot 80 */ - AvnHResult (AVN_CALL *get_stroke_line_cap)(IAvnSector* self, int32_t* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_stroke_line_cap)(IAvnSector* self, int32_t value); /* slot 82 */ - AvnHResult (AVN_CALL *get_stroke_join)(IAvnSector* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_stroke_join)(IAvnSector* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_stroke_miter_limit)(IAvnSector* self, double* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_stroke_miter_limit)(IAvnSector* self, double value); /* slot 86 */ - AvnHResult (AVN_CALL *get_start_angle)(IAvnSector* self, double* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_start_angle)(IAvnSector* self, double value); /* slot 88 */ - AvnHResult (AVN_CALL *get_sweep_angle)(IAvnSector* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_sweep_angle)(IAvnSector* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnSector* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnSector* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnSector* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnSector* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnSector* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnSector* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnSector* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnSector* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnSector* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnSector* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnSector* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnSector* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_fill)(IAvnSector* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_fill)(IAvnSector* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_stretch)(IAvnSector* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_stretch)(IAvnSector* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_stroke)(IAvnSector* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_stroke)(IAvnSector* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_stroke_dash_array)(IAvnSector* self, uint16_t** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_stroke_dash_array)(IAvnSector* self, const uint16_t* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_stroke_dash_offset)(IAvnSector* self, double* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_stroke_dash_offset)(IAvnSector* self, double value); /* slot 84 */ + AvnHResult (AVN_CALL *get_stroke_thickness)(IAvnSector* self, double* value); /* slot 85 */ + AvnHResult (AVN_CALL *set_stroke_thickness)(IAvnSector* self, double value); /* slot 86 */ + AvnHResult (AVN_CALL *get_stroke_line_cap)(IAvnSector* self, int32_t* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_stroke_line_cap)(IAvnSector* self, int32_t value); /* slot 88 */ + AvnHResult (AVN_CALL *get_stroke_join)(IAvnSector* self, int32_t* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_stroke_join)(IAvnSector* self, int32_t value); /* slot 90 */ + AvnHResult (AVN_CALL *get_stroke_miter_limit)(IAvnSector* self, double* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_stroke_miter_limit)(IAvnSector* self, double value); /* slot 92 */ + AvnHResult (AVN_CALL *get_start_angle)(IAvnSector* self, double* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_start_angle)(IAvnSector* self, double value); /* slot 94 */ + AvnHResult (AVN_CALL *get_sweep_angle)(IAvnSector* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_sweep_angle)(IAvnSector* self, double value); /* slot 96 */ }; struct IAvnSector { const IAvnSectorVtbl* vtbl; }; -#define I_AVN_SECTOR_VTABLE_SLOTS 91 +#define I_AVN_SECTOR_VTABLE_SLOTS 97 static const AvnGuid I_AVN_SELECTABLE_TEXT_BLOCK_IID = { - 0x4C1CFF48, - 0x0D3A, - 0x5934, - { 0xA1, 0xDA, 0x69, 0x39, 0xE7, 0x5C, 0x56, 0x78 } + 0x843AC2A4, + 0x7FEF, + 0x5858, + { 0x8A, 0x9A, 0xF1, 0x99, 0xBB, 0xA5, 0x26, 0x38 } }; -#define I_AVN_SELECTABLE_TEXT_BLOCK_ABI_VERSION 11 +#define I_AVN_SELECTABLE_TEXT_BLOCK_ABI_VERSION 12 struct IAvnSelectableTextBlockVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnSelectableTextBlock* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnSelectableTextBlock* self); /* slot 1 */ @@ -10376,74 +10850,80 @@ struct IAvnSelectableTextBlockVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnSelectableTextBlock* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnSelectableTextBlock* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnSelectableTextBlock* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnSelectableTextBlock* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnSelectableTextBlock* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnSelectableTextBlock* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnSelectableTextBlock* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnSelectableTextBlock* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnSelectableTextBlock* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_padding)(IAvnSelectableTextBlock* self, AvnThickness* value); /* slot 69 */ - AvnHResult (AVN_CALL *set_padding)(IAvnSelectableTextBlock* self, AvnThickness value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background)(IAvnSelectableTextBlock* self, IAvnBrush** value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background)(IAvnSelectableTextBlock* self, IAvnBrush* value); /* slot 72 */ - AvnHResult (AVN_CALL *get_text)(IAvnSelectableTextBlock* self, uint16_t** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_text)(IAvnSelectableTextBlock* self, const uint16_t* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnSelectableTextBlock* self, uint16_t** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnSelectableTextBlock* self, const uint16_t* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnSelectableTextBlock* self, double* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnSelectableTextBlock* self, double value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnSelectableTextBlock* self, int32_t value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnSelectableTextBlock* self, int32_t value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnSelectableTextBlock* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnSelectableTextBlock* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnSelectableTextBlock* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_line_height)(IAvnSelectableTextBlock* self, double* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_line_height)(IAvnSelectableTextBlock* self, double value); /* slot 88 */ - AvnHResult (AVN_CALL *get_line_spacing)(IAvnSelectableTextBlock* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_line_spacing)(IAvnSelectableTextBlock* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnSelectableTextBlock* self, double* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnSelectableTextBlock* self, double value); /* slot 92 */ - AvnHResult (AVN_CALL *get_max_lines)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_max_lines)(IAvnSelectableTextBlock* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_text_wrapping)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_text_wrapping)(IAvnSelectableTextBlock* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_text_trimming)(IAvnSelectableTextBlock* self, uint16_t** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_text_trimming)(IAvnSelectableTextBlock* self, const uint16_t* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_text_alignment)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_text_alignment)(IAvnSelectableTextBlock* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnSelectableTextBlock* self, uint16_t** value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnSelectableTextBlock* self, const uint16_t* value); /* slot 102 */ - AvnHResult (AVN_CALL *get_baseline_offset)(IAvnSelectableTextBlock* self, double* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_baseline_offset)(IAvnSelectableTextBlock* self, double value); /* slot 104 */ - AvnHResult (AVN_CALL *get_selection_brush)(IAvnSelectableTextBlock* self, IAvnBrush** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_selection_brush)(IAvnSelectableTextBlock* self, IAvnBrush* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_selection_foreground_brush)(IAvnSelectableTextBlock* self, IAvnBrush** value); /* slot 107 */ - AvnHResult (AVN_CALL *set_selection_foreground_brush)(IAvnSelectableTextBlock* self, IAvnBrush* value); /* slot 108 */ - AvnHResult (AVN_CALL *get_selection_start)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_selection_start)(IAvnSelectableTextBlock* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_selection_end)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_selection_end)(IAvnSelectableTextBlock* self, int32_t value); /* slot 112 */ - AvnHResult (AVN_CALL *get_selected_text)(IAvnSelectableTextBlock* self, uint16_t** value); /* slot 113 */ - AvnHResult (AVN_CALL *get_can_copy)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 114 */ - AvnHResult (AVN_CALL *copy)(IAvnSelectableTextBlock* self); /* slot 115 */ - AvnHResult (AVN_CALL *select_all)(IAvnSelectableTextBlock* self); /* slot 116 */ - AvnHResult (AVN_CALL *clear_selection)(IAvnSelectableTextBlock* self); /* slot 117 */ - AvnHResult (AVN_CALL *advise_copying_to_clipboard)(IAvnSelectableTextBlock* self, IAvnSelectableTextBlockCopyingToClipboardHandler* handler, int64_t* subscription_id); /* slot 118 */ - AvnHResult (AVN_CALL *unadvise_copying_to_clipboard)(IAvnSelectableTextBlock* self, int64_t subscription_id); /* slot 119 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnSelectableTextBlock* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnSelectableTextBlock* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnSelectableTextBlock* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnSelectableTextBlock* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnSelectableTextBlock* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnSelectableTextBlock* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnSelectableTextBlock* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnSelectableTextBlock* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnSelectableTextBlock* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnSelectableTextBlock* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnSelectableTextBlock* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnSelectableTextBlock* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_padding)(IAvnSelectableTextBlock* self, AvnThickness* value); /* slot 75 */ + AvnHResult (AVN_CALL *set_padding)(IAvnSelectableTextBlock* self, AvnThickness value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background)(IAvnSelectableTextBlock* self, IAvnBrush** value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background)(IAvnSelectableTextBlock* self, IAvnBrush* value); /* slot 78 */ + AvnHResult (AVN_CALL *get_text)(IAvnSelectableTextBlock* self, uint16_t** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_text)(IAvnSelectableTextBlock* self, const uint16_t* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnSelectableTextBlock* self, uint16_t** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnSelectableTextBlock* self, const uint16_t* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnSelectableTextBlock* self, double* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnSelectableTextBlock* self, double value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnSelectableTextBlock* self, int32_t value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnSelectableTextBlock* self, int32_t value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnSelectableTextBlock* self, int32_t value); /* slot 90 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnSelectableTextBlock* self, IAvnBrush** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnSelectableTextBlock* self, IAvnBrush* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_line_height)(IAvnSelectableTextBlock* self, double* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_line_height)(IAvnSelectableTextBlock* self, double value); /* slot 94 */ + AvnHResult (AVN_CALL *get_line_spacing)(IAvnSelectableTextBlock* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_line_spacing)(IAvnSelectableTextBlock* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnSelectableTextBlock* self, double* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnSelectableTextBlock* self, double value); /* slot 98 */ + AvnHResult (AVN_CALL *get_max_lines)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_max_lines)(IAvnSelectableTextBlock* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_text_wrapping)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_text_wrapping)(IAvnSelectableTextBlock* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_text_trimming)(IAvnSelectableTextBlock* self, uint16_t** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_text_trimming)(IAvnSelectableTextBlock* self, const uint16_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_text_alignment)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_text_alignment)(IAvnSelectableTextBlock* self, int32_t value); /* slot 106 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnSelectableTextBlock* self, uint16_t** value); /* slot 107 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnSelectableTextBlock* self, const uint16_t* value); /* slot 108 */ + AvnHResult (AVN_CALL *get_baseline_offset)(IAvnSelectableTextBlock* self, double* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_baseline_offset)(IAvnSelectableTextBlock* self, double value); /* slot 110 */ + AvnHResult (AVN_CALL *get_selection_brush)(IAvnSelectableTextBlock* self, IAvnBrush** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_selection_brush)(IAvnSelectableTextBlock* self, IAvnBrush* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_selection_foreground_brush)(IAvnSelectableTextBlock* self, IAvnBrush** value); /* slot 113 */ + AvnHResult (AVN_CALL *set_selection_foreground_brush)(IAvnSelectableTextBlock* self, IAvnBrush* value); /* slot 114 */ + AvnHResult (AVN_CALL *get_selection_start)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_selection_start)(IAvnSelectableTextBlock* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_selection_end)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_selection_end)(IAvnSelectableTextBlock* self, int32_t value); /* slot 118 */ + AvnHResult (AVN_CALL *get_selected_text)(IAvnSelectableTextBlock* self, uint16_t** value); /* slot 119 */ + AvnHResult (AVN_CALL *get_can_copy)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 120 */ + AvnHResult (AVN_CALL *copy)(IAvnSelectableTextBlock* self); /* slot 121 */ + AvnHResult (AVN_CALL *select_all)(IAvnSelectableTextBlock* self); /* slot 122 */ + AvnHResult (AVN_CALL *clear_selection)(IAvnSelectableTextBlock* self); /* slot 123 */ + AvnHResult (AVN_CALL *advise_copying_to_clipboard)(IAvnSelectableTextBlock* self, IAvnSelectableTextBlockCopyingToClipboardHandler* handler, int64_t* subscription_id); /* slot 124 */ + AvnHResult (AVN_CALL *unadvise_copying_to_clipboard)(IAvnSelectableTextBlock* self, int64_t subscription_id); /* slot 125 */ }; struct IAvnSelectableTextBlock { const IAvnSelectableTextBlockVtbl* vtbl; }; -#define I_AVN_SELECTABLE_TEXT_BLOCK_VTABLE_SLOTS 120 +#define I_AVN_SELECTABLE_TEXT_BLOCK_VTABLE_SLOTS 126 static const AvnGuid I_AVN_SELECTING_ITEMS_CONTROL_IID = { - 0xB2D5F624, - 0xDE4C, - 0x5278, - { 0x97, 0x7F, 0x9E, 0xB7, 0x64, 0xDD, 0x6B, 0x2F } + 0x56020FA9, + 0xD4A4, + 0x52B6, + { 0xB5, 0xFC, 0xEA, 0xEB, 0x6F, 0xD5, 0x63, 0xC2 } }; -#define I_AVN_SELECTING_ITEMS_CONTROL_ABI_VERSION 15 +#define I_AVN_SELECTING_ITEMS_CONTROL_ABI_VERSION 16 struct IAvnSelectingItemsControlVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnSelectingItemsControl* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnSelectingItemsControl* self); /* slot 1 */ @@ -10508,77 +10988,83 @@ struct IAvnSelectingItemsControlVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnSelectingItemsControl* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnSelectingItemsControl* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnSelectingItemsControl* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnSelectingItemsControl* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnSelectingItemsControl* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnSelectingItemsControl* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnSelectingItemsControl* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnSelectingItemsControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnSelectingItemsControl* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnSelectingItemsControl* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnSelectingItemsControl* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnSelectingItemsControl* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnSelectingItemsControl* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnSelectingItemsControl* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnSelectingItemsControl* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnSelectingItemsControl* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnSelectingItemsControl* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnSelectingItemsControl* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnSelectingItemsControl* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnSelectingItemsControl* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnSelectingItemsControl* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnSelectingItemsControl* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnSelectingItemsControl* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnSelectingItemsControl* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnSelectingItemsControl* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnSelectingItemsControl* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnSelectingItemsControl* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnSelectingItemsControl* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnSelectingItemsControl* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnSelectingItemsControl* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnSelectingItemsControl* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnSelectingItemsControl* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnSelectingItemsControl* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_items)(IAvnSelectingItemsControl* self, IAvnItemList** value); /* slot 97 */ - AvnHResult (AVN_CALL *get_item_count)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_items_source)(IAvnSelectingItemsControl* self, IAvnVariantList** value); /* slot 99 */ - AvnHResult (AVN_CALL *set_items_source)(IAvnSelectingItemsControl* self, IAvnVariantList* value); /* slot 100 */ - AvnHResult (AVN_CALL *get_item_template)(IAvnSelectingItemsControl* self, IAvnDataTemplate** value); /* slot 101 */ - AvnHResult (AVN_CALL *set_item_template)(IAvnSelectingItemsControl* self, IAvnDataTemplate* value); /* slot 102 */ - AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnSelectingItemsControl* self, int32_t index, IAvnControl** value); /* slot 103 */ - AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnSelectingItemsControl* self, AvnVariant item, IAvnControl** value); /* slot 104 */ - AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnSelectingItemsControl* self, IAvnControl* container, int32_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnSelectingItemsControl* self, IAvnControl* container, AvnVariant* value); /* slot 106 */ - AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnSelectingItemsControl* self, int32_t index); /* slot 107 */ - AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnSelectingItemsControl* self, AvnVariant item); /* slot 108 */ - AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnSelectingItemsControl* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_selected_index)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_selected_index)(IAvnSelectingItemsControl* self, int32_t value); /* slot 112 */ - AvnHResult (AVN_CALL *get_selected_item)(IAvnSelectingItemsControl* self, AvnVariant* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_selected_item)(IAvnSelectingItemsControl* self, AvnVariant value); /* slot 114 */ - AvnHResult (AVN_CALL *get_selected_value)(IAvnSelectingItemsControl* self, AvnVariant* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_selected_value)(IAvnSelectingItemsControl* self, AvnVariant value); /* slot 116 */ - AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnSelectingItemsControl* self, int32_t value); /* slot 118 */ - AvnHResult (AVN_CALL *get_wrap_selection)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 119 */ - AvnHResult (AVN_CALL *set_wrap_selection)(IAvnSelectingItemsControl* self, int32_t value); /* slot 120 */ - AvnHResult (AVN_CALL *advise_selection_changed)(IAvnSelectingItemsControl* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 121 */ - AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnSelectingItemsControl* self, int64_t subscription_id); /* slot 122 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnSelectingItemsControl* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnSelectingItemsControl* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnSelectingItemsControl* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnSelectingItemsControl* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnSelectingItemsControl* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnSelectingItemsControl* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnSelectingItemsControl* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnSelectingItemsControl* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnSelectingItemsControl* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnSelectingItemsControl* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnSelectingItemsControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnSelectingItemsControl* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnSelectingItemsControl* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnSelectingItemsControl* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnSelectingItemsControl* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnSelectingItemsControl* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnSelectingItemsControl* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnSelectingItemsControl* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnSelectingItemsControl* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnSelectingItemsControl* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnSelectingItemsControl* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnSelectingItemsControl* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnSelectingItemsControl* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnSelectingItemsControl* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnSelectingItemsControl* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnSelectingItemsControl* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnSelectingItemsControl* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnSelectingItemsControl* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnSelectingItemsControl* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnSelectingItemsControl* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnSelectingItemsControl* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnSelectingItemsControl* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnSelectingItemsControl* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnSelectingItemsControl* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnSelectingItemsControl* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnSelectingItemsControl* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_items)(IAvnSelectingItemsControl* self, IAvnItemList** value); /* slot 103 */ + AvnHResult (AVN_CALL *get_item_count)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_items_source)(IAvnSelectingItemsControl* self, IAvnVariantList** value); /* slot 105 */ + AvnHResult (AVN_CALL *set_items_source)(IAvnSelectingItemsControl* self, IAvnVariantList* value); /* slot 106 */ + AvnHResult (AVN_CALL *get_item_template)(IAvnSelectingItemsControl* self, IAvnDataTemplate** value); /* slot 107 */ + AvnHResult (AVN_CALL *set_item_template)(IAvnSelectingItemsControl* self, IAvnDataTemplate* value); /* slot 108 */ + AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnSelectingItemsControl* self, int32_t index, IAvnControl** value); /* slot 109 */ + AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnSelectingItemsControl* self, AvnVariant item, IAvnControl** value); /* slot 110 */ + AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnSelectingItemsControl* self, IAvnControl* container, int32_t* value); /* slot 111 */ + AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnSelectingItemsControl* self, IAvnControl* container, AvnVariant* value); /* slot 112 */ + AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnSelectingItemsControl* self, int32_t index); /* slot 113 */ + AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnSelectingItemsControl* self, AvnVariant item); /* slot 114 */ + AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnSelectingItemsControl* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_selected_index)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_selected_index)(IAvnSelectingItemsControl* self, int32_t value); /* slot 118 */ + AvnHResult (AVN_CALL *get_selected_item)(IAvnSelectingItemsControl* self, AvnVariant* value); /* slot 119 */ + AvnHResult (AVN_CALL *set_selected_item)(IAvnSelectingItemsControl* self, AvnVariant value); /* slot 120 */ + AvnHResult (AVN_CALL *get_selected_value)(IAvnSelectingItemsControl* self, AvnVariant* value); /* slot 121 */ + AvnHResult (AVN_CALL *set_selected_value)(IAvnSelectingItemsControl* self, AvnVariant value); /* slot 122 */ + AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 123 */ + AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnSelectingItemsControl* self, int32_t value); /* slot 124 */ + AvnHResult (AVN_CALL *get_wrap_selection)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 125 */ + AvnHResult (AVN_CALL *set_wrap_selection)(IAvnSelectingItemsControl* self, int32_t value); /* slot 126 */ + AvnHResult (AVN_CALL *advise_selection_changed)(IAvnSelectingItemsControl* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 127 */ + AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnSelectingItemsControl* self, int64_t subscription_id); /* slot 128 */ }; struct IAvnSelectingItemsControl { const IAvnSelectingItemsControlVtbl* vtbl; }; -#define I_AVN_SELECTING_ITEMS_CONTROL_VTABLE_SLOTS 123 +#define I_AVN_SELECTING_ITEMS_CONTROL_VTABLE_SLOTS 129 static const AvnGuid I_AVN_SEPARATOR_IID = { - 0xFD4ADF2C, - 0x46AF, - 0x58ED, - { 0xB8, 0xD1, 0x2B, 0x81, 0x3D, 0x56, 0xA4, 0xC0 } + 0x87BD59B4, + 0xCB85, + 0x5216, + { 0xB7, 0x57, 0x72, 0xF9, 0x5F, 0xCB, 0x49, 0xE3 } }; -#define I_AVN_SEPARATOR_ABI_VERSION 9 +#define I_AVN_SEPARATOR_ABI_VERSION 10 struct IAvnSeparatorVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnSeparator* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnSeparator* self); /* slot 1 */ @@ -10643,51 +11129,57 @@ struct IAvnSeparatorVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnSeparator* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnSeparator* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnSeparator* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnSeparator* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnSeparator* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnSeparator* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnSeparator* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnSeparator* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnSeparator* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnSeparator* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnSeparator* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnSeparator* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnSeparator* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnSeparator* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnSeparator* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnSeparator* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnSeparator* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnSeparator* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnSeparator* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnSeparator* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnSeparator* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnSeparator* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnSeparator* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnSeparator* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnSeparator* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnSeparator* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnSeparator* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnSeparator* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnSeparator* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnSeparator* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnSeparator* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnSeparator* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnSeparator* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnSeparator* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnSeparator* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnSeparator* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnSeparator* self, AvnThickness value); /* slot 96 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnSeparator* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnSeparator* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnSeparator* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnSeparator* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnSeparator* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnSeparator* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnSeparator* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnSeparator* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnSeparator* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnSeparator* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnSeparator* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnSeparator* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnSeparator* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnSeparator* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnSeparator* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnSeparator* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnSeparator* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnSeparator* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnSeparator* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnSeparator* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnSeparator* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnSeparator* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnSeparator* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnSeparator* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnSeparator* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnSeparator* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnSeparator* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnSeparator* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnSeparator* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnSeparator* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnSeparator* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnSeparator* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnSeparator* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnSeparator* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnSeparator* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnSeparator* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnSeparator* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnSeparator* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnSeparator* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnSeparator* self, AvnThickness value); /* slot 102 */ }; struct IAvnSeparator { const IAvnSeparatorVtbl* vtbl; }; -#define I_AVN_SEPARATOR_VTABLE_SLOTS 97 +#define I_AVN_SEPARATOR_VTABLE_SLOTS 103 static const AvnGuid I_AVN_SHAPE_IID = { - 0x68C7A91F, - 0xDBEE, - 0x56E2, - { 0x9A, 0x87, 0x24, 0xB2, 0xB6, 0x6D, 0x30, 0xAC } + 0x5CB7105C, + 0xDAF9, + 0x5211, + { 0x96, 0x59, 0x62, 0xEA, 0xB0, 0x32, 0x08, 0xFF } }; -#define I_AVN_SHAPE_ABI_VERSION 8 +#define I_AVN_SHAPE_ABI_VERSION 9 struct IAvnShapeVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnShape* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnShape* self); /* slot 1 */ @@ -10752,41 +11244,47 @@ struct IAvnShapeVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnShape* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnShape* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnShape* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnShape* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnShape* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnShape* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnShape* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnShape* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnShape* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_fill)(IAvnShape* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_fill)(IAvnShape* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_stretch)(IAvnShape* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_stretch)(IAvnShape* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_stroke)(IAvnShape* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_stroke)(IAvnShape* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_stroke_dash_array)(IAvnShape* self, uint16_t** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_stroke_dash_array)(IAvnShape* self, const uint16_t* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_stroke_dash_offset)(IAvnShape* self, double* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_stroke_dash_offset)(IAvnShape* self, double value); /* slot 78 */ - AvnHResult (AVN_CALL *get_stroke_thickness)(IAvnShape* self, double* value); /* slot 79 */ - AvnHResult (AVN_CALL *set_stroke_thickness)(IAvnShape* self, double value); /* slot 80 */ - AvnHResult (AVN_CALL *get_stroke_line_cap)(IAvnShape* self, int32_t* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_stroke_line_cap)(IAvnShape* self, int32_t value); /* slot 82 */ - AvnHResult (AVN_CALL *get_stroke_join)(IAvnShape* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_stroke_join)(IAvnShape* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_stroke_miter_limit)(IAvnShape* self, double* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_stroke_miter_limit)(IAvnShape* self, double value); /* slot 86 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnShape* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnShape* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnShape* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnShape* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnShape* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnShape* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnShape* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnShape* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnShape* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnShape* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnShape* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnShape* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_fill)(IAvnShape* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_fill)(IAvnShape* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_stretch)(IAvnShape* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_stretch)(IAvnShape* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_stroke)(IAvnShape* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_stroke)(IAvnShape* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_stroke_dash_array)(IAvnShape* self, uint16_t** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_stroke_dash_array)(IAvnShape* self, const uint16_t* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_stroke_dash_offset)(IAvnShape* self, double* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_stroke_dash_offset)(IAvnShape* self, double value); /* slot 84 */ + AvnHResult (AVN_CALL *get_stroke_thickness)(IAvnShape* self, double* value); /* slot 85 */ + AvnHResult (AVN_CALL *set_stroke_thickness)(IAvnShape* self, double value); /* slot 86 */ + AvnHResult (AVN_CALL *get_stroke_line_cap)(IAvnShape* self, int32_t* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_stroke_line_cap)(IAvnShape* self, int32_t value); /* slot 88 */ + AvnHResult (AVN_CALL *get_stroke_join)(IAvnShape* self, int32_t* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_stroke_join)(IAvnShape* self, int32_t value); /* slot 90 */ + AvnHResult (AVN_CALL *get_stroke_miter_limit)(IAvnShape* self, double* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_stroke_miter_limit)(IAvnShape* self, double value); /* slot 92 */ }; struct IAvnShape { const IAvnShapeVtbl* vtbl; }; -#define I_AVN_SHAPE_VTABLE_SLOTS 87 +#define I_AVN_SHAPE_VTABLE_SLOTS 93 static const AvnGuid I_AVN_SLIDER_IID = { - 0x704B6BAF, - 0x7A44, - 0x5CFE, - { 0xA1, 0x4B, 0x44, 0x0A, 0x84, 0x71, 0xD0, 0xB9 } + 0xBF042391, + 0xAF5A, + 0x5DD4, + { 0xB3, 0x21, 0x05, 0x5C, 0xA9, 0xF7, 0x0D, 0x23 } }; -#define I_AVN_SLIDER_ABI_VERSION 12 +#define I_AVN_SLIDER_ABI_VERSION 13 struct IAvnSliderVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnSlider* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnSlider* self); /* slot 1 */ @@ -10851,75 +11349,81 @@ struct IAvnSliderVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnSlider* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnSlider* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnSlider* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnSlider* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnSlider* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnSlider* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnSlider* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnSlider* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnSlider* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnSlider* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnSlider* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnSlider* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnSlider* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnSlider* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnSlider* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnSlider* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnSlider* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnSlider* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnSlider* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnSlider* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnSlider* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnSlider* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnSlider* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnSlider* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnSlider* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnSlider* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnSlider* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnSlider* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnSlider* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnSlider* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnSlider* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnSlider* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnSlider* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnSlider* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnSlider* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnSlider* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnSlider* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_minimum)(IAvnSlider* self, double* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_minimum)(IAvnSlider* self, double value); /* slot 98 */ - AvnHResult (AVN_CALL *get_maximum)(IAvnSlider* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_maximum)(IAvnSlider* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_value)(IAvnSlider* self, double* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_value)(IAvnSlider* self, double value); /* slot 102 */ - AvnHResult (AVN_CALL *get_small_change)(IAvnSlider* self, double* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_small_change)(IAvnSlider* self, double value); /* slot 104 */ - AvnHResult (AVN_CALL *get_large_change)(IAvnSlider* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_large_change)(IAvnSlider* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *advise_value_changed)(IAvnSlider* self, IAvnRangeBaseValueChangedHandler* handler, int64_t* subscription_id); /* slot 107 */ - AvnHResult (AVN_CALL *unadvise_value_changed)(IAvnSlider* self, int64_t subscription_id); /* slot 108 */ - AvnHResult (AVN_CALL *get_ticks)(IAvnSlider* self, uint16_t** value); /* slot 109 */ - AvnHResult (AVN_CALL *set_ticks)(IAvnSlider* self, const uint16_t* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_orientation)(IAvnSlider* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_orientation)(IAvnSlider* self, int32_t value); /* slot 112 */ - AvnHResult (AVN_CALL *get_is_direction_reversed)(IAvnSlider* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_is_direction_reversed)(IAvnSlider* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_is_snap_to_tick_enabled)(IAvnSlider* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_is_snap_to_tick_enabled)(IAvnSlider* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_tick_frequency)(IAvnSlider* self, double* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_tick_frequency)(IAvnSlider* self, double value); /* slot 118 */ - AvnHResult (AVN_CALL *get_tick_placement)(IAvnSlider* self, int32_t* value); /* slot 119 */ - AvnHResult (AVN_CALL *set_tick_placement)(IAvnSlider* self, int32_t value); /* slot 120 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnSlider* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnSlider* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnSlider* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnSlider* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnSlider* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnSlider* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnSlider* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnSlider* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnSlider* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnSlider* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnSlider* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnSlider* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnSlider* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnSlider* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnSlider* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnSlider* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnSlider* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnSlider* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnSlider* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnSlider* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnSlider* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnSlider* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnSlider* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnSlider* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnSlider* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnSlider* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnSlider* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnSlider* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnSlider* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnSlider* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnSlider* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnSlider* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnSlider* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnSlider* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnSlider* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnSlider* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnSlider* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnSlider* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnSlider* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnSlider* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_minimum)(IAvnSlider* self, double* value); /* slot 103 */ + AvnHResult (AVN_CALL *set_minimum)(IAvnSlider* self, double value); /* slot 104 */ + AvnHResult (AVN_CALL *get_maximum)(IAvnSlider* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_maximum)(IAvnSlider* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_value)(IAvnSlider* self, double* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_value)(IAvnSlider* self, double value); /* slot 108 */ + AvnHResult (AVN_CALL *get_small_change)(IAvnSlider* self, double* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_small_change)(IAvnSlider* self, double value); /* slot 110 */ + AvnHResult (AVN_CALL *get_large_change)(IAvnSlider* self, double* value); /* slot 111 */ + AvnHResult (AVN_CALL *set_large_change)(IAvnSlider* self, double value); /* slot 112 */ + AvnHResult (AVN_CALL *advise_value_changed)(IAvnSlider* self, IAvnRangeBaseValueChangedHandler* handler, int64_t* subscription_id); /* slot 113 */ + AvnHResult (AVN_CALL *unadvise_value_changed)(IAvnSlider* self, int64_t subscription_id); /* slot 114 */ + AvnHResult (AVN_CALL *get_ticks)(IAvnSlider* self, uint16_t** value); /* slot 115 */ + AvnHResult (AVN_CALL *set_ticks)(IAvnSlider* self, const uint16_t* value); /* slot 116 */ + AvnHResult (AVN_CALL *get_orientation)(IAvnSlider* self, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_orientation)(IAvnSlider* self, int32_t value); /* slot 118 */ + AvnHResult (AVN_CALL *get_is_direction_reversed)(IAvnSlider* self, int32_t* value); /* slot 119 */ + AvnHResult (AVN_CALL *set_is_direction_reversed)(IAvnSlider* self, int32_t value); /* slot 120 */ + AvnHResult (AVN_CALL *get_is_snap_to_tick_enabled)(IAvnSlider* self, int32_t* value); /* slot 121 */ + AvnHResult (AVN_CALL *set_is_snap_to_tick_enabled)(IAvnSlider* self, int32_t value); /* slot 122 */ + AvnHResult (AVN_CALL *get_tick_frequency)(IAvnSlider* self, double* value); /* slot 123 */ + AvnHResult (AVN_CALL *set_tick_frequency)(IAvnSlider* self, double value); /* slot 124 */ + AvnHResult (AVN_CALL *get_tick_placement)(IAvnSlider* self, int32_t* value); /* slot 125 */ + AvnHResult (AVN_CALL *set_tick_placement)(IAvnSlider* self, int32_t value); /* slot 126 */ }; struct IAvnSlider { const IAvnSliderVtbl* vtbl; }; -#define I_AVN_SLIDER_VTABLE_SLOTS 121 +#define I_AVN_SLIDER_VTABLE_SLOTS 127 static const AvnGuid I_AVN_SPINNER_IID = { - 0x6AAEEDDC, - 0x0307, - 0x57B2, - { 0x9F, 0xA5, 0x30, 0xA2, 0x7D, 0xC1, 0x95, 0x8E } + 0x4A63E264, + 0xF914, + 0x5256, + { 0x93, 0xAB, 0x12, 0x68, 0x89, 0x5B, 0x90, 0x73 } }; -#define I_AVN_SPINNER_ABI_VERSION 9 +#define I_AVN_SPINNER_ABI_VERSION 10 struct IAvnSpinnerVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnSpinner* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnSpinner* self); /* slot 1 */ @@ -10984,63 +11488,69 @@ struct IAvnSpinnerVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnSpinner* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnSpinner* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnSpinner* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnSpinner* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnSpinner* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnSpinner* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnSpinner* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnSpinner* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnSpinner* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnSpinner* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnSpinner* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnSpinner* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnSpinner* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnSpinner* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnSpinner* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnSpinner* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnSpinner* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnSpinner* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnSpinner* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnSpinner* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnSpinner* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnSpinner* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnSpinner* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnSpinner* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnSpinner* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnSpinner* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnSpinner* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnSpinner* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnSpinner* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnSpinner* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnSpinner* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnSpinner* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnSpinner* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnSpinner* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnSpinner* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnSpinner* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnSpinner* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_content)(IAvnSpinner* self, IAvnControl** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_content)(IAvnSpinner* self, IAvnControl* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnSpinner* self, IAvnDataTemplate** value); /* slot 99 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnSpinner* self, IAvnDataTemplate* value); /* slot 100 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnSpinner* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnSpinner* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnSpinner* self, int32_t* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnSpinner* self, int32_t value); /* slot 104 */ - AvnHResult (AVN_CALL *get_valid_spin_direction)(IAvnSpinner* self, int32_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_valid_spin_direction)(IAvnSpinner* self, int32_t value); /* slot 106 */ - AvnHResult (AVN_CALL *advise_spin)(IAvnSpinner* self, IAvnSpinnerSpinHandler* handler, int64_t* subscription_id); /* slot 107 */ - AvnHResult (AVN_CALL *unadvise_spin)(IAvnSpinner* self, int64_t subscription_id); /* slot 108 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnSpinner* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnSpinner* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnSpinner* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnSpinner* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnSpinner* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnSpinner* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnSpinner* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnSpinner* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnSpinner* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnSpinner* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnSpinner* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnSpinner* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnSpinner* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnSpinner* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnSpinner* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnSpinner* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnSpinner* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnSpinner* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnSpinner* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnSpinner* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnSpinner* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnSpinner* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnSpinner* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnSpinner* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnSpinner* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnSpinner* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnSpinner* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnSpinner* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnSpinner* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnSpinner* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnSpinner* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnSpinner* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnSpinner* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnSpinner* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnSpinner* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnSpinner* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnSpinner* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnSpinner* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnSpinner* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnSpinner* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_content)(IAvnSpinner* self, IAvnControl** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_content)(IAvnSpinner* self, IAvnControl* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnSpinner* self, IAvnDataTemplate** value); /* slot 105 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnSpinner* self, IAvnDataTemplate* value); /* slot 106 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnSpinner* self, int32_t* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnSpinner* self, int32_t value); /* slot 108 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnSpinner* self, int32_t* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnSpinner* self, int32_t value); /* slot 110 */ + AvnHResult (AVN_CALL *get_valid_spin_direction)(IAvnSpinner* self, int32_t* value); /* slot 111 */ + AvnHResult (AVN_CALL *set_valid_spin_direction)(IAvnSpinner* self, int32_t value); /* slot 112 */ + AvnHResult (AVN_CALL *advise_spin)(IAvnSpinner* self, IAvnSpinnerSpinHandler* handler, int64_t* subscription_id); /* slot 113 */ + AvnHResult (AVN_CALL *unadvise_spin)(IAvnSpinner* self, int64_t subscription_id); /* slot 114 */ }; struct IAvnSpinner { const IAvnSpinnerVtbl* vtbl; }; -#define I_AVN_SPINNER_VTABLE_SLOTS 109 +#define I_AVN_SPINNER_VTABLE_SLOTS 115 static const AvnGuid I_AVN_SPLIT_BUTTON_IID = { - 0x1937A395, - 0xDF68, - 0x5F9F, - { 0x94, 0xC1, 0x07, 0x24, 0x63, 0x80, 0x57, 0x3C } + 0x11D77809, + 0x48B6, + 0x5A29, + { 0xB8, 0xD9, 0x5D, 0x41, 0x3B, 0xC9, 0x6A, 0x85 } }; -#define I_AVN_SPLIT_BUTTON_ABI_VERSION 12 +#define I_AVN_SPLIT_BUTTON_ABI_VERSION 13 struct IAvnSplitButtonVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnSplitButton* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnSplitButton* self); /* slot 1 */ @@ -11105,69 +11615,75 @@ struct IAvnSplitButtonVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnSplitButton* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnSplitButton* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnSplitButton* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnSplitButton* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnSplitButton* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnSplitButton* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnSplitButton* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnSplitButton* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnSplitButton* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnSplitButton* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnSplitButton* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnSplitButton* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnSplitButton* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnSplitButton* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnSplitButton* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnSplitButton* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnSplitButton* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnSplitButton* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnSplitButton* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnSplitButton* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnSplitButton* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnSplitButton* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnSplitButton* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnSplitButton* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnSplitButton* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnSplitButton* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnSplitButton* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnSplitButton* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnSplitButton* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnSplitButton* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnSplitButton* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnSplitButton* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnSplitButton* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnSplitButton* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnSplitButton* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnSplitButton* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnSplitButton* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_content)(IAvnSplitButton* self, IAvnControl** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_content)(IAvnSplitButton* self, IAvnControl* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnSplitButton* self, IAvnDataTemplate** value); /* slot 99 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnSplitButton* self, IAvnDataTemplate* value); /* slot 100 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnSplitButton* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnSplitButton* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnSplitButton* self, int32_t* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnSplitButton* self, int32_t value); /* slot 104 */ - AvnHResult (AVN_CALL *get_command)(IAvnSplitButton* self, IAvnCommand** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_command)(IAvnSplitButton* self, IAvnCommand* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_command_parameter)(IAvnSplitButton* self, AvnVariant* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_command_parameter)(IAvnSplitButton* self, AvnVariant value); /* slot 108 */ - AvnHResult (AVN_CALL *get_flyout)(IAvnSplitButton* self, IAvnFlyoutBase** value); /* slot 109 */ - AvnHResult (AVN_CALL *set_flyout)(IAvnSplitButton* self, IAvnFlyoutBase* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_hot_key)(IAvnSplitButton* self, uint16_t** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_hot_key)(IAvnSplitButton* self, const uint16_t* value); /* slot 112 */ - AvnHResult (AVN_CALL *advise_click)(IAvnSplitButton* self, IAvnSplitButtonClickHandler* handler, int64_t* subscription_id); /* slot 113 */ - AvnHResult (AVN_CALL *unadvise_click)(IAvnSplitButton* self, int64_t subscription_id); /* slot 114 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnSplitButton* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnSplitButton* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnSplitButton* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnSplitButton* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnSplitButton* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnSplitButton* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnSplitButton* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnSplitButton* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnSplitButton* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnSplitButton* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnSplitButton* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnSplitButton* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnSplitButton* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnSplitButton* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnSplitButton* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnSplitButton* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnSplitButton* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnSplitButton* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnSplitButton* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnSplitButton* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnSplitButton* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnSplitButton* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnSplitButton* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnSplitButton* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnSplitButton* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnSplitButton* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnSplitButton* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnSplitButton* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnSplitButton* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnSplitButton* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnSplitButton* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnSplitButton* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnSplitButton* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnSplitButton* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnSplitButton* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnSplitButton* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnSplitButton* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnSplitButton* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnSplitButton* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnSplitButton* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_content)(IAvnSplitButton* self, IAvnControl** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_content)(IAvnSplitButton* self, IAvnControl* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnSplitButton* self, IAvnDataTemplate** value); /* slot 105 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnSplitButton* self, IAvnDataTemplate* value); /* slot 106 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnSplitButton* self, int32_t* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnSplitButton* self, int32_t value); /* slot 108 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnSplitButton* self, int32_t* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnSplitButton* self, int32_t value); /* slot 110 */ + AvnHResult (AVN_CALL *get_command)(IAvnSplitButton* self, IAvnCommand** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_command)(IAvnSplitButton* self, IAvnCommand* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_command_parameter)(IAvnSplitButton* self, AvnVariant* value); /* slot 113 */ + AvnHResult (AVN_CALL *set_command_parameter)(IAvnSplitButton* self, AvnVariant value); /* slot 114 */ + AvnHResult (AVN_CALL *get_flyout)(IAvnSplitButton* self, IAvnFlyoutBase** value); /* slot 115 */ + AvnHResult (AVN_CALL *set_flyout)(IAvnSplitButton* self, IAvnFlyoutBase* value); /* slot 116 */ + AvnHResult (AVN_CALL *get_hot_key)(IAvnSplitButton* self, uint16_t** value); /* slot 117 */ + AvnHResult (AVN_CALL *set_hot_key)(IAvnSplitButton* self, const uint16_t* value); /* slot 118 */ + AvnHResult (AVN_CALL *advise_click)(IAvnSplitButton* self, IAvnSplitButtonClickHandler* handler, int64_t* subscription_id); /* slot 119 */ + AvnHResult (AVN_CALL *unadvise_click)(IAvnSplitButton* self, int64_t subscription_id); /* slot 120 */ }; struct IAvnSplitButton { const IAvnSplitButtonVtbl* vtbl; }; -#define I_AVN_SPLIT_BUTTON_VTABLE_SLOTS 115 +#define I_AVN_SPLIT_BUTTON_VTABLE_SLOTS 121 static const AvnGuid I_AVN_SPLIT_VIEW_IID = { - 0x51ED3B0D, - 0x0AAB, - 0x5AA3, - { 0x9C, 0x4E, 0x50, 0x1C, 0x60, 0x27, 0xE7, 0x74 } + 0x048A7E1E, + 0x0539, + 0x5D4A, + { 0x95, 0xD8, 0x5C, 0x2E, 0x6D, 0x42, 0x92, 0x02 } }; -#define I_AVN_SPLIT_VIEW_ABI_VERSION 9 +#define I_AVN_SPLIT_VIEW_ABI_VERSION 10 struct IAvnSplitViewVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnSplitView* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnSplitView* self); /* slot 1 */ @@ -11232,85 +11748,91 @@ struct IAvnSplitViewVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnSplitView* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnSplitView* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnSplitView* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnSplitView* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnSplitView* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnSplitView* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnSplitView* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnSplitView* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnSplitView* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnSplitView* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnSplitView* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnSplitView* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnSplitView* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnSplitView* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnSplitView* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnSplitView* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnSplitView* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnSplitView* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnSplitView* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnSplitView* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnSplitView* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnSplitView* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnSplitView* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnSplitView* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnSplitView* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnSplitView* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnSplitView* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnSplitView* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnSplitView* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnSplitView* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnSplitView* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnSplitView* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnSplitView* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnSplitView* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnSplitView* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnSplitView* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnSplitView* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_content)(IAvnSplitView* self, IAvnControl** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_content)(IAvnSplitView* self, IAvnControl* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnSplitView* self, IAvnDataTemplate** value); /* slot 99 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnSplitView* self, IAvnDataTemplate* value); /* slot 100 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnSplitView* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnSplitView* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnSplitView* self, int32_t* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnSplitView* self, int32_t value); /* slot 104 */ - AvnHResult (AVN_CALL *get_compact_pane_length)(IAvnSplitView* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_compact_pane_length)(IAvnSplitView* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_display_mode)(IAvnSplitView* self, int32_t* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_display_mode)(IAvnSplitView* self, int32_t value); /* slot 108 */ - AvnHResult (AVN_CALL *get_is_pane_open)(IAvnSplitView* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_is_pane_open)(IAvnSplitView* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_open_pane_length)(IAvnSplitView* self, double* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_open_pane_length)(IAvnSplitView* self, double value); /* slot 112 */ - AvnHResult (AVN_CALL *get_pane_background)(IAvnSplitView* self, IAvnBrush** value); /* slot 113 */ - AvnHResult (AVN_CALL *set_pane_background)(IAvnSplitView* self, IAvnBrush* value); /* slot 114 */ - AvnHResult (AVN_CALL *get_pane_placement)(IAvnSplitView* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_pane_placement)(IAvnSplitView* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_pane)(IAvnSplitView* self, IAvnControl** value); /* slot 117 */ - AvnHResult (AVN_CALL *set_pane)(IAvnSplitView* self, IAvnControl* value); /* slot 118 */ - AvnHResult (AVN_CALL *get_pane_template)(IAvnSplitView* self, IAvnDataTemplate** value); /* slot 119 */ - AvnHResult (AVN_CALL *set_pane_template)(IAvnSplitView* self, IAvnDataTemplate* value); /* slot 120 */ - AvnHResult (AVN_CALL *get_use_light_dismiss_overlay_mode)(IAvnSplitView* self, int32_t* value); /* slot 121 */ - AvnHResult (AVN_CALL *set_use_light_dismiss_overlay_mode)(IAvnSplitView* self, int32_t value); /* slot 122 */ - AvnHResult (AVN_CALL *advise_pane_closed)(IAvnSplitView* self, IAvnSplitViewPaneClosedHandler* handler, int64_t* subscription_id); /* slot 123 */ - AvnHResult (AVN_CALL *unadvise_pane_closed)(IAvnSplitView* self, int64_t subscription_id); /* slot 124 */ - AvnHResult (AVN_CALL *advise_pane_closing)(IAvnSplitView* self, IAvnSplitViewPaneClosingHandler* handler, int64_t* subscription_id); /* slot 125 */ - AvnHResult (AVN_CALL *unadvise_pane_closing)(IAvnSplitView* self, int64_t subscription_id); /* slot 126 */ - AvnHResult (AVN_CALL *advise_pane_opened)(IAvnSplitView* self, IAvnSplitViewPaneOpenedHandler* handler, int64_t* subscription_id); /* slot 127 */ - AvnHResult (AVN_CALL *unadvise_pane_opened)(IAvnSplitView* self, int64_t subscription_id); /* slot 128 */ - AvnHResult (AVN_CALL *advise_pane_opening)(IAvnSplitView* self, IAvnSplitViewPaneOpeningHandler* handler, int64_t* subscription_id); /* slot 129 */ - AvnHResult (AVN_CALL *unadvise_pane_opening)(IAvnSplitView* self, int64_t subscription_id); /* slot 130 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnSplitView* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnSplitView* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnSplitView* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnSplitView* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnSplitView* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnSplitView* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnSplitView* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnSplitView* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnSplitView* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnSplitView* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnSplitView* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnSplitView* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnSplitView* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnSplitView* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnSplitView* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnSplitView* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnSplitView* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnSplitView* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnSplitView* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnSplitView* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnSplitView* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnSplitView* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnSplitView* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnSplitView* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnSplitView* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnSplitView* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnSplitView* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnSplitView* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnSplitView* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnSplitView* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnSplitView* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnSplitView* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnSplitView* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnSplitView* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnSplitView* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnSplitView* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnSplitView* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnSplitView* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnSplitView* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnSplitView* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_content)(IAvnSplitView* self, IAvnControl** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_content)(IAvnSplitView* self, IAvnControl* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnSplitView* self, IAvnDataTemplate** value); /* slot 105 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnSplitView* self, IAvnDataTemplate* value); /* slot 106 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnSplitView* self, int32_t* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnSplitView* self, int32_t value); /* slot 108 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnSplitView* self, int32_t* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnSplitView* self, int32_t value); /* slot 110 */ + AvnHResult (AVN_CALL *get_compact_pane_length)(IAvnSplitView* self, double* value); /* slot 111 */ + AvnHResult (AVN_CALL *set_compact_pane_length)(IAvnSplitView* self, double value); /* slot 112 */ + AvnHResult (AVN_CALL *get_display_mode)(IAvnSplitView* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *set_display_mode)(IAvnSplitView* self, int32_t value); /* slot 114 */ + AvnHResult (AVN_CALL *get_is_pane_open)(IAvnSplitView* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_is_pane_open)(IAvnSplitView* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_open_pane_length)(IAvnSplitView* self, double* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_open_pane_length)(IAvnSplitView* self, double value); /* slot 118 */ + AvnHResult (AVN_CALL *get_pane_background)(IAvnSplitView* self, IAvnBrush** value); /* slot 119 */ + AvnHResult (AVN_CALL *set_pane_background)(IAvnSplitView* self, IAvnBrush* value); /* slot 120 */ + AvnHResult (AVN_CALL *get_pane_placement)(IAvnSplitView* self, int32_t* value); /* slot 121 */ + AvnHResult (AVN_CALL *set_pane_placement)(IAvnSplitView* self, int32_t value); /* slot 122 */ + AvnHResult (AVN_CALL *get_pane)(IAvnSplitView* self, IAvnControl** value); /* slot 123 */ + AvnHResult (AVN_CALL *set_pane)(IAvnSplitView* self, IAvnControl* value); /* slot 124 */ + AvnHResult (AVN_CALL *get_pane_template)(IAvnSplitView* self, IAvnDataTemplate** value); /* slot 125 */ + AvnHResult (AVN_CALL *set_pane_template)(IAvnSplitView* self, IAvnDataTemplate* value); /* slot 126 */ + AvnHResult (AVN_CALL *get_use_light_dismiss_overlay_mode)(IAvnSplitView* self, int32_t* value); /* slot 127 */ + AvnHResult (AVN_CALL *set_use_light_dismiss_overlay_mode)(IAvnSplitView* self, int32_t value); /* slot 128 */ + AvnHResult (AVN_CALL *advise_pane_closed)(IAvnSplitView* self, IAvnSplitViewPaneClosedHandler* handler, int64_t* subscription_id); /* slot 129 */ + AvnHResult (AVN_CALL *unadvise_pane_closed)(IAvnSplitView* self, int64_t subscription_id); /* slot 130 */ + AvnHResult (AVN_CALL *advise_pane_closing)(IAvnSplitView* self, IAvnSplitViewPaneClosingHandler* handler, int64_t* subscription_id); /* slot 131 */ + AvnHResult (AVN_CALL *unadvise_pane_closing)(IAvnSplitView* self, int64_t subscription_id); /* slot 132 */ + AvnHResult (AVN_CALL *advise_pane_opened)(IAvnSplitView* self, IAvnSplitViewPaneOpenedHandler* handler, int64_t* subscription_id); /* slot 133 */ + AvnHResult (AVN_CALL *unadvise_pane_opened)(IAvnSplitView* self, int64_t subscription_id); /* slot 134 */ + AvnHResult (AVN_CALL *advise_pane_opening)(IAvnSplitView* self, IAvnSplitViewPaneOpeningHandler* handler, int64_t* subscription_id); /* slot 135 */ + AvnHResult (AVN_CALL *unadvise_pane_opening)(IAvnSplitView* self, int64_t subscription_id); /* slot 136 */ }; struct IAvnSplitView { const IAvnSplitViewVtbl* vtbl; }; -#define I_AVN_SPLIT_VIEW_VTABLE_SLOTS 131 +#define I_AVN_SPLIT_VIEW_VTABLE_SLOTS 137 static const AvnGuid I_AVN_STACK_PANEL_IID = { - 0x2104EA3B, - 0x6DCB, - 0x5691, - { 0xAE, 0x36, 0xAB, 0x75, 0xB8, 0x19, 0xF2, 0x83 } + 0x17521479, + 0xDA81, + 0x5A88, + { 0x99, 0x84, 0x55, 0x7E, 0xE0, 0x8F, 0xF8, 0x97 } }; -#define I_AVN_STACK_PANEL_ABI_VERSION 12 +#define I_AVN_STACK_PANEL_ABI_VERSION 13 struct IAvnStackPanelVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnStackPanel* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnStackPanel* self); /* slot 1 */ @@ -11375,26 +11897,32 @@ struct IAvnStackPanelVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnStackPanel* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnStackPanel* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnStackPanel* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnStackPanel* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnStackPanel* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnStackPanel* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnStackPanel* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnStackPanel* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnStackPanel* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_children)(IAvnStackPanel* self, IAvnControlList** value); /* slot 69 */ - AvnHResult (AVN_CALL *get_background)(IAvnStackPanel* self, IAvnBrush** value); /* slot 70 */ - AvnHResult (AVN_CALL *set_background)(IAvnStackPanel* self, IAvnBrush* value); /* slot 71 */ - AvnHResult (AVN_CALL *get_spacing)(IAvnStackPanel* self, double* value); /* slot 72 */ - AvnHResult (AVN_CALL *set_spacing)(IAvnStackPanel* self, double value); /* slot 73 */ - AvnHResult (AVN_CALL *get_orientation)(IAvnStackPanel* self, int32_t* value); /* slot 74 */ - AvnHResult (AVN_CALL *set_orientation)(IAvnStackPanel* self, int32_t value); /* slot 75 */ - AvnHResult (AVN_CALL *get_are_horizontal_snap_points_regular)(IAvnStackPanel* self, int32_t* value); /* slot 76 */ - AvnHResult (AVN_CALL *set_are_horizontal_snap_points_regular)(IAvnStackPanel* self, int32_t value); /* slot 77 */ - AvnHResult (AVN_CALL *get_are_vertical_snap_points_regular)(IAvnStackPanel* self, int32_t* value); /* slot 78 */ - AvnHResult (AVN_CALL *set_are_vertical_snap_points_regular)(IAvnStackPanel* self, int32_t value); /* slot 79 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnStackPanel* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnStackPanel* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnStackPanel* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnStackPanel* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnStackPanel* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnStackPanel* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnStackPanel* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnStackPanel* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnStackPanel* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnStackPanel* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnStackPanel* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnStackPanel* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_children)(IAvnStackPanel* self, IAvnControlList** value); /* slot 75 */ + AvnHResult (AVN_CALL *get_background)(IAvnStackPanel* self, IAvnBrush** value); /* slot 76 */ + AvnHResult (AVN_CALL *set_background)(IAvnStackPanel* self, IAvnBrush* value); /* slot 77 */ + AvnHResult (AVN_CALL *get_spacing)(IAvnStackPanel* self, double* value); /* slot 78 */ + AvnHResult (AVN_CALL *set_spacing)(IAvnStackPanel* self, double value); /* slot 79 */ + AvnHResult (AVN_CALL *get_orientation)(IAvnStackPanel* self, int32_t* value); /* slot 80 */ + AvnHResult (AVN_CALL *set_orientation)(IAvnStackPanel* self, int32_t value); /* slot 81 */ + AvnHResult (AVN_CALL *get_are_horizontal_snap_points_regular)(IAvnStackPanel* self, int32_t* value); /* slot 82 */ + AvnHResult (AVN_CALL *set_are_horizontal_snap_points_regular)(IAvnStackPanel* self, int32_t value); /* slot 83 */ + AvnHResult (AVN_CALL *get_are_vertical_snap_points_regular)(IAvnStackPanel* self, int32_t* value); /* slot 84 */ + AvnHResult (AVN_CALL *set_are_vertical_snap_points_regular)(IAvnStackPanel* self, int32_t value); /* slot 85 */ }; struct IAvnStackPanel { const IAvnStackPanelVtbl* vtbl; }; -#define I_AVN_STACK_PANEL_VTABLE_SLOTS 80 +#define I_AVN_STACK_PANEL_VTABLE_SLOTS 86 static const AvnGuid I_AVN_STYLED_ELEMENT_IID = { 0x383D0620, @@ -11435,12 +11963,12 @@ struct IAvnStyledElement { const IAvnStyledElementVtbl* vtbl; }; #define I_AVN_STYLED_ELEMENT_VTABLE_SLOTS 26 static const AvnGuid I_AVN_TAB_CONTROL_IID = { - 0xC4664936, - 0x3D85, - 0x52A7, - { 0xB4, 0x8C, 0x4C, 0xC3, 0x2C, 0xA9, 0xB3, 0xA1 } + 0x8F087347, + 0x637D, + 0x5F69, + { 0xBA, 0xBE, 0x6D, 0x6E, 0xD3, 0x04, 0x40, 0xC1 } }; -#define I_AVN_TAB_CONTROL_ABI_VERSION 12 +#define I_AVN_TAB_CONTROL_ABI_VERSION 13 struct IAvnTabControlVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnTabControl* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnTabControl* self); /* slot 1 */ @@ -11505,89 +12033,95 @@ struct IAvnTabControlVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnTabControl* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnTabControl* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnTabControl* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnTabControl* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnTabControl* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnTabControl* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTabControl* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTabControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTabControl* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnTabControl* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnTabControl* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnTabControl* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnTabControl* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnTabControl* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnTabControl* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnTabControl* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnTabControl* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnTabControl* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnTabControl* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnTabControl* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnTabControl* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnTabControl* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnTabControl* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnTabControl* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnTabControl* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnTabControl* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnTabControl* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnTabControl* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnTabControl* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnTabControl* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnTabControl* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnTabControl* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnTabControl* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTabControl* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTabControl* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnTabControl* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnTabControl* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_items)(IAvnTabControl* self, IAvnItemList** value); /* slot 97 */ - AvnHResult (AVN_CALL *get_item_count)(IAvnTabControl* self, int32_t* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_items_source)(IAvnTabControl* self, IAvnVariantList** value); /* slot 99 */ - AvnHResult (AVN_CALL *set_items_source)(IAvnTabControl* self, IAvnVariantList* value); /* slot 100 */ - AvnHResult (AVN_CALL *get_item_template)(IAvnTabControl* self, IAvnDataTemplate** value); /* slot 101 */ - AvnHResult (AVN_CALL *set_item_template)(IAvnTabControl* self, IAvnDataTemplate* value); /* slot 102 */ - AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnTabControl* self, int32_t index, IAvnControl** value); /* slot 103 */ - AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnTabControl* self, AvnVariant item, IAvnControl** value); /* slot 104 */ - AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnTabControl* self, IAvnControl* container, int32_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnTabControl* self, IAvnControl* container, AvnVariant* value); /* slot 106 */ - AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnTabControl* self, int32_t index); /* slot 107 */ - AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnTabControl* self, AvnVariant item); /* slot 108 */ - AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnTabControl* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnTabControl* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_selected_index)(IAvnTabControl* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_selected_index)(IAvnTabControl* self, int32_t value); /* slot 112 */ - AvnHResult (AVN_CALL *get_selected_item)(IAvnTabControl* self, AvnVariant* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_selected_item)(IAvnTabControl* self, AvnVariant value); /* slot 114 */ - AvnHResult (AVN_CALL *get_selected_value)(IAvnTabControl* self, AvnVariant* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_selected_value)(IAvnTabControl* self, AvnVariant value); /* slot 116 */ - AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnTabControl* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnTabControl* self, int32_t value); /* slot 118 */ - AvnHResult (AVN_CALL *get_wrap_selection)(IAvnTabControl* self, int32_t* value); /* slot 119 */ - AvnHResult (AVN_CALL *set_wrap_selection)(IAvnTabControl* self, int32_t value); /* slot 120 */ - AvnHResult (AVN_CALL *advise_selection_changed)(IAvnTabControl* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 121 */ - AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnTabControl* self, int64_t subscription_id); /* slot 122 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnTabControl* self, int32_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnTabControl* self, int32_t value); /* slot 124 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnTabControl* self, int32_t* value); /* slot 125 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnTabControl* self, int32_t value); /* slot 126 */ - AvnHResult (AVN_CALL *get_tab_strip_placement)(IAvnTabControl* self, int32_t* value); /* slot 127 */ - AvnHResult (AVN_CALL *set_tab_strip_placement)(IAvnTabControl* self, int32_t value); /* slot 128 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnTabControl* self, IAvnDataTemplate** value); /* slot 129 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnTabControl* self, IAvnDataTemplate* value); /* slot 130 */ - AvnHResult (AVN_CALL *get_selected_content)(IAvnTabControl* self, AvnVariant* value); /* slot 131 */ - AvnHResult (AVN_CALL *get_selected_content_template)(IAvnTabControl* self, IAvnDataTemplate** value); /* slot 132 */ - AvnHResult (AVN_CALL *get_indicator_template)(IAvnTabControl* self, IAvnDataTemplate** value); /* slot 133 */ - AvnHResult (AVN_CALL *set_indicator_template)(IAvnTabControl* self, IAvnDataTemplate* value); /* slot 134 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnTabControl* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnTabControl* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnTabControl* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnTabControl* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnTabControl* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnTabControl* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnTabControl* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnTabControl* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnTabControl* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTabControl* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTabControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTabControl* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnTabControl* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnTabControl* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnTabControl* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnTabControl* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnTabControl* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnTabControl* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnTabControl* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnTabControl* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnTabControl* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnTabControl* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnTabControl* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnTabControl* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnTabControl* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnTabControl* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnTabControl* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnTabControl* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnTabControl* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnTabControl* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnTabControl* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnTabControl* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnTabControl* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnTabControl* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnTabControl* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnTabControl* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTabControl* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTabControl* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnTabControl* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnTabControl* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_items)(IAvnTabControl* self, IAvnItemList** value); /* slot 103 */ + AvnHResult (AVN_CALL *get_item_count)(IAvnTabControl* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_items_source)(IAvnTabControl* self, IAvnVariantList** value); /* slot 105 */ + AvnHResult (AVN_CALL *set_items_source)(IAvnTabControl* self, IAvnVariantList* value); /* slot 106 */ + AvnHResult (AVN_CALL *get_item_template)(IAvnTabControl* self, IAvnDataTemplate** value); /* slot 107 */ + AvnHResult (AVN_CALL *set_item_template)(IAvnTabControl* self, IAvnDataTemplate* value); /* slot 108 */ + AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnTabControl* self, int32_t index, IAvnControl** value); /* slot 109 */ + AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnTabControl* self, AvnVariant item, IAvnControl** value); /* slot 110 */ + AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnTabControl* self, IAvnControl* container, int32_t* value); /* slot 111 */ + AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnTabControl* self, IAvnControl* container, AvnVariant* value); /* slot 112 */ + AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnTabControl* self, int32_t index); /* slot 113 */ + AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnTabControl* self, AvnVariant item); /* slot 114 */ + AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnTabControl* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnTabControl* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_selected_index)(IAvnTabControl* self, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_selected_index)(IAvnTabControl* self, int32_t value); /* slot 118 */ + AvnHResult (AVN_CALL *get_selected_item)(IAvnTabControl* self, AvnVariant* value); /* slot 119 */ + AvnHResult (AVN_CALL *set_selected_item)(IAvnTabControl* self, AvnVariant value); /* slot 120 */ + AvnHResult (AVN_CALL *get_selected_value)(IAvnTabControl* self, AvnVariant* value); /* slot 121 */ + AvnHResult (AVN_CALL *set_selected_value)(IAvnTabControl* self, AvnVariant value); /* slot 122 */ + AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnTabControl* self, int32_t* value); /* slot 123 */ + AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnTabControl* self, int32_t value); /* slot 124 */ + AvnHResult (AVN_CALL *get_wrap_selection)(IAvnTabControl* self, int32_t* value); /* slot 125 */ + AvnHResult (AVN_CALL *set_wrap_selection)(IAvnTabControl* self, int32_t value); /* slot 126 */ + AvnHResult (AVN_CALL *advise_selection_changed)(IAvnTabControl* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 127 */ + AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnTabControl* self, int64_t subscription_id); /* slot 128 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnTabControl* self, int32_t* value); /* slot 129 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnTabControl* self, int32_t value); /* slot 130 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnTabControl* self, int32_t* value); /* slot 131 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnTabControl* self, int32_t value); /* slot 132 */ + AvnHResult (AVN_CALL *get_tab_strip_placement)(IAvnTabControl* self, int32_t* value); /* slot 133 */ + AvnHResult (AVN_CALL *set_tab_strip_placement)(IAvnTabControl* self, int32_t value); /* slot 134 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnTabControl* self, IAvnDataTemplate** value); /* slot 135 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnTabControl* self, IAvnDataTemplate* value); /* slot 136 */ + AvnHResult (AVN_CALL *get_selected_content)(IAvnTabControl* self, AvnVariant* value); /* slot 137 */ + AvnHResult (AVN_CALL *get_selected_content_template)(IAvnTabControl* self, IAvnDataTemplate** value); /* slot 138 */ + AvnHResult (AVN_CALL *get_indicator_template)(IAvnTabControl* self, IAvnDataTemplate** value); /* slot 139 */ + AvnHResult (AVN_CALL *set_indicator_template)(IAvnTabControl* self, IAvnDataTemplate* value); /* slot 140 */ }; struct IAvnTabControl { const IAvnTabControlVtbl* vtbl; }; -#define I_AVN_TAB_CONTROL_VTABLE_SLOTS 135 +#define I_AVN_TAB_CONTROL_VTABLE_SLOTS 141 static const AvnGuid I_AVN_TAB_ITEM_IID = { - 0xF2FF8148, - 0x506B, - 0x5823, - { 0xB9, 0x9B, 0xF1, 0x0D, 0xD0, 0x6A, 0xC7, 0xDE } + 0x406B7990, + 0x01A7, + 0x533E, + { 0x9A, 0x2A, 0x7B, 0x70, 0xDD, 0xFC, 0xE8, 0xEC } }; -#define I_AVN_TAB_ITEM_ABI_VERSION 11 +#define I_AVN_TAB_ITEM_ABI_VERSION 12 struct IAvnTabItemVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnTabItem* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnTabItem* self); /* slot 1 */ @@ -11652,72 +12186,78 @@ struct IAvnTabItemVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnTabItem* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnTabItem* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnTabItem* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnTabItem* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnTabItem* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnTabItem* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTabItem* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTabItem* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTabItem* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnTabItem* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnTabItem* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnTabItem* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnTabItem* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnTabItem* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnTabItem* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnTabItem* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnTabItem* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnTabItem* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnTabItem* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnTabItem* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnTabItem* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnTabItem* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnTabItem* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnTabItem* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnTabItem* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnTabItem* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnTabItem* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnTabItem* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnTabItem* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnTabItem* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnTabItem* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnTabItem* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnTabItem* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTabItem* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTabItem* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnTabItem* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnTabItem* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_content)(IAvnTabItem* self, IAvnControl** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_content)(IAvnTabItem* self, IAvnControl* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnTabItem* self, IAvnDataTemplate** value); /* slot 99 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnTabItem* self, IAvnDataTemplate* value); /* slot 100 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnTabItem* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnTabItem* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnTabItem* self, int32_t* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnTabItem* self, int32_t value); /* slot 104 */ - AvnHResult (AVN_CALL *get_header)(IAvnTabItem* self, IAvnControl** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_header)(IAvnTabItem* self, IAvnControl* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_header_template)(IAvnTabItem* self, IAvnDataTemplate** value); /* slot 107 */ - AvnHResult (AVN_CALL *set_header_template)(IAvnTabItem* self, IAvnDataTemplate* value); /* slot 108 */ - AvnHResult (AVN_CALL *get_tab_strip_placement)(IAvnTabItem* self, uint16_t** value); /* slot 109 */ - AvnHResult (AVN_CALL *get_is_selected)(IAvnTabItem* self, int32_t* value); /* slot 110 */ - AvnHResult (AVN_CALL *set_is_selected)(IAvnTabItem* self, int32_t value); /* slot 111 */ - AvnHResult (AVN_CALL *get_icon)(IAvnTabItem* self, AvnVariant* value); /* slot 112 */ - AvnHResult (AVN_CALL *set_icon)(IAvnTabItem* self, AvnVariant value); /* slot 113 */ - AvnHResult (AVN_CALL *get_icon_template)(IAvnTabItem* self, IAvnDataTemplate** value); /* slot 114 */ - AvnHResult (AVN_CALL *set_icon_template)(IAvnTabItem* self, IAvnDataTemplate* value); /* slot 115 */ - AvnHResult (AVN_CALL *get_indicator_template)(IAvnTabItem* self, IAvnDataTemplate** value); /* slot 116 */ - AvnHResult (AVN_CALL *set_indicator_template)(IAvnTabItem* self, IAvnDataTemplate* value); /* slot 117 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnTabItem* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnTabItem* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnTabItem* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnTabItem* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnTabItem* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnTabItem* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnTabItem* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnTabItem* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnTabItem* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTabItem* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTabItem* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTabItem* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnTabItem* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnTabItem* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnTabItem* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnTabItem* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnTabItem* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnTabItem* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnTabItem* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnTabItem* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnTabItem* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnTabItem* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnTabItem* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnTabItem* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnTabItem* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnTabItem* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnTabItem* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnTabItem* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnTabItem* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnTabItem* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnTabItem* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnTabItem* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnTabItem* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnTabItem* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnTabItem* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnTabItem* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTabItem* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTabItem* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnTabItem* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnTabItem* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_content)(IAvnTabItem* self, IAvnControl** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_content)(IAvnTabItem* self, IAvnControl* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnTabItem* self, IAvnDataTemplate** value); /* slot 105 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnTabItem* self, IAvnDataTemplate* value); /* slot 106 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnTabItem* self, int32_t* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnTabItem* self, int32_t value); /* slot 108 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnTabItem* self, int32_t* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnTabItem* self, int32_t value); /* slot 110 */ + AvnHResult (AVN_CALL *get_header)(IAvnTabItem* self, IAvnControl** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_header)(IAvnTabItem* self, IAvnControl* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_header_template)(IAvnTabItem* self, IAvnDataTemplate** value); /* slot 113 */ + AvnHResult (AVN_CALL *set_header_template)(IAvnTabItem* self, IAvnDataTemplate* value); /* slot 114 */ + AvnHResult (AVN_CALL *get_tab_strip_placement)(IAvnTabItem* self, uint16_t** value); /* slot 115 */ + AvnHResult (AVN_CALL *get_is_selected)(IAvnTabItem* self, int32_t* value); /* slot 116 */ + AvnHResult (AVN_CALL *set_is_selected)(IAvnTabItem* self, int32_t value); /* slot 117 */ + AvnHResult (AVN_CALL *get_icon)(IAvnTabItem* self, AvnVariant* value); /* slot 118 */ + AvnHResult (AVN_CALL *set_icon)(IAvnTabItem* self, AvnVariant value); /* slot 119 */ + AvnHResult (AVN_CALL *get_icon_template)(IAvnTabItem* self, IAvnDataTemplate** value); /* slot 120 */ + AvnHResult (AVN_CALL *set_icon_template)(IAvnTabItem* self, IAvnDataTemplate* value); /* slot 121 */ + AvnHResult (AVN_CALL *get_indicator_template)(IAvnTabItem* self, IAvnDataTemplate** value); /* slot 122 */ + AvnHResult (AVN_CALL *set_indicator_template)(IAvnTabItem* self, IAvnDataTemplate* value); /* slot 123 */ }; struct IAvnTabItem { const IAvnTabItemVtbl* vtbl; }; -#define I_AVN_TAB_ITEM_VTABLE_SLOTS 118 +#define I_AVN_TAB_ITEM_VTABLE_SLOTS 124 static const AvnGuid I_AVN_TABLE_VIEW_IID = { - 0xB0C8BD3E, - 0xD92C, - 0x542C, - { 0x8E, 0x78, 0x90, 0x20, 0xF9, 0xF5, 0xD0, 0xD8 } + 0xD4BE6E5C, + 0xB5DD, + 0x5BB0, + { 0xA3, 0x0F, 0x3C, 0xC8, 0x33, 0x76, 0x7F, 0x7C } }; -#define I_AVN_TABLE_VIEW_ABI_VERSION 13 +#define I_AVN_TABLE_VIEW_ABI_VERSION 14 struct IAvnTableViewVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnTableView* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnTableView* self); /* slot 1 */ @@ -11782,85 +12322,91 @@ struct IAvnTableViewVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnTableView* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnTableView* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnTableView* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnTableView* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnTableView* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnTableView* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTableView* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTableView* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTableView* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnTableView* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnTableView* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnTableView* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnTableView* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnTableView* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnTableView* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnTableView* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnTableView* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnTableView* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnTableView* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnTableView* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnTableView* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnTableView* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnTableView* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnTableView* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnTableView* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnTableView* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnTableView* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnTableView* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnTableView* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnTableView* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnTableView* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnTableView* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnTableView* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTableView* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTableView* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnTableView* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnTableView* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_items)(IAvnTableView* self, IAvnItemList** value); /* slot 97 */ - AvnHResult (AVN_CALL *get_item_count)(IAvnTableView* self, int32_t* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_items_source)(IAvnTableView* self, IAvnVariantList** value); /* slot 99 */ - AvnHResult (AVN_CALL *set_items_source)(IAvnTableView* self, IAvnVariantList* value); /* slot 100 */ - AvnHResult (AVN_CALL *get_item_template)(IAvnTableView* self, IAvnDataTemplate** value); /* slot 101 */ - AvnHResult (AVN_CALL *set_item_template)(IAvnTableView* self, IAvnDataTemplate* value); /* slot 102 */ - AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnTableView* self, int32_t index, IAvnControl** value); /* slot 103 */ - AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnTableView* self, AvnVariant item, IAvnControl** value); /* slot 104 */ - AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnTableView* self, IAvnControl* container, int32_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnTableView* self, IAvnControl* container, AvnVariant* value); /* slot 106 */ - AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnTableView* self, int32_t index); /* slot 107 */ - AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnTableView* self, AvnVariant item); /* slot 108 */ - AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnTableView* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnTableView* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_selected_index)(IAvnTableView* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_selected_index)(IAvnTableView* self, int32_t value); /* slot 112 */ - AvnHResult (AVN_CALL *get_selected_item)(IAvnTableView* self, AvnVariant* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_selected_item)(IAvnTableView* self, AvnVariant value); /* slot 114 */ - AvnHResult (AVN_CALL *get_selected_value)(IAvnTableView* self, AvnVariant* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_selected_value)(IAvnTableView* self, AvnVariant value); /* slot 116 */ - AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnTableView* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnTableView* self, int32_t value); /* slot 118 */ - AvnHResult (AVN_CALL *get_wrap_selection)(IAvnTableView* self, int32_t* value); /* slot 119 */ - AvnHResult (AVN_CALL *set_wrap_selection)(IAvnTableView* self, int32_t value); /* slot 120 */ - AvnHResult (AVN_CALL *advise_selection_changed)(IAvnTableView* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 121 */ - AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnTableView* self, int64_t subscription_id); /* slot 122 */ - AvnHResult (AVN_CALL *get_selection_mode)(IAvnTableView* self, int32_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *set_selection_mode)(IAvnTableView* self, int32_t value); /* slot 124 */ - AvnHResult (AVN_CALL *select_all)(IAvnTableView* self); /* slot 125 */ - AvnHResult (AVN_CALL *unselect_all)(IAvnTableView* self); /* slot 126 */ - AvnHResult (AVN_CALL *get_columns)(IAvnTableView* self, IAvnControlList** value); /* slot 127 */ - AvnHResult (AVN_CALL *set_columns)(IAvnTableView* self, IAvnControlList* value); /* slot 128 */ - AvnHResult (AVN_CALL *get_can_user_resize_columns)(IAvnTableView* self, int32_t* value); /* slot 129 */ - AvnHResult (AVN_CALL *set_can_user_resize_columns)(IAvnTableView* self, int32_t value); /* slot 130 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnTableView* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnTableView* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnTableView* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnTableView* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnTableView* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnTableView* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnTableView* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnTableView* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnTableView* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTableView* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTableView* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTableView* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnTableView* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnTableView* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnTableView* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnTableView* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnTableView* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnTableView* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnTableView* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnTableView* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnTableView* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnTableView* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnTableView* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnTableView* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnTableView* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnTableView* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnTableView* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnTableView* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnTableView* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnTableView* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnTableView* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnTableView* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnTableView* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnTableView* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnTableView* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnTableView* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTableView* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTableView* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnTableView* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnTableView* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_items)(IAvnTableView* self, IAvnItemList** value); /* slot 103 */ + AvnHResult (AVN_CALL *get_item_count)(IAvnTableView* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_items_source)(IAvnTableView* self, IAvnVariantList** value); /* slot 105 */ + AvnHResult (AVN_CALL *set_items_source)(IAvnTableView* self, IAvnVariantList* value); /* slot 106 */ + AvnHResult (AVN_CALL *get_item_template)(IAvnTableView* self, IAvnDataTemplate** value); /* slot 107 */ + AvnHResult (AVN_CALL *set_item_template)(IAvnTableView* self, IAvnDataTemplate* value); /* slot 108 */ + AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnTableView* self, int32_t index, IAvnControl** value); /* slot 109 */ + AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnTableView* self, AvnVariant item, IAvnControl** value); /* slot 110 */ + AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnTableView* self, IAvnControl* container, int32_t* value); /* slot 111 */ + AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnTableView* self, IAvnControl* container, AvnVariant* value); /* slot 112 */ + AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnTableView* self, int32_t index); /* slot 113 */ + AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnTableView* self, AvnVariant item); /* slot 114 */ + AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnTableView* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnTableView* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_selected_index)(IAvnTableView* self, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_selected_index)(IAvnTableView* self, int32_t value); /* slot 118 */ + AvnHResult (AVN_CALL *get_selected_item)(IAvnTableView* self, AvnVariant* value); /* slot 119 */ + AvnHResult (AVN_CALL *set_selected_item)(IAvnTableView* self, AvnVariant value); /* slot 120 */ + AvnHResult (AVN_CALL *get_selected_value)(IAvnTableView* self, AvnVariant* value); /* slot 121 */ + AvnHResult (AVN_CALL *set_selected_value)(IAvnTableView* self, AvnVariant value); /* slot 122 */ + AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnTableView* self, int32_t* value); /* slot 123 */ + AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnTableView* self, int32_t value); /* slot 124 */ + AvnHResult (AVN_CALL *get_wrap_selection)(IAvnTableView* self, int32_t* value); /* slot 125 */ + AvnHResult (AVN_CALL *set_wrap_selection)(IAvnTableView* self, int32_t value); /* slot 126 */ + AvnHResult (AVN_CALL *advise_selection_changed)(IAvnTableView* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 127 */ + AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnTableView* self, int64_t subscription_id); /* slot 128 */ + AvnHResult (AVN_CALL *get_selection_mode)(IAvnTableView* self, int32_t* value); /* slot 129 */ + AvnHResult (AVN_CALL *set_selection_mode)(IAvnTableView* self, int32_t value); /* slot 130 */ + AvnHResult (AVN_CALL *select_all)(IAvnTableView* self); /* slot 131 */ + AvnHResult (AVN_CALL *unselect_all)(IAvnTableView* self); /* slot 132 */ + AvnHResult (AVN_CALL *get_columns)(IAvnTableView* self, IAvnControlList** value); /* slot 133 */ + AvnHResult (AVN_CALL *set_columns)(IAvnTableView* self, IAvnControlList* value); /* slot 134 */ + AvnHResult (AVN_CALL *get_can_user_resize_columns)(IAvnTableView* self, int32_t* value); /* slot 135 */ + AvnHResult (AVN_CALL *set_can_user_resize_columns)(IAvnTableView* self, int32_t value); /* slot 136 */ }; struct IAvnTableView { const IAvnTableViewVtbl* vtbl; }; -#define I_AVN_TABLE_VIEW_VTABLE_SLOTS 131 +#define I_AVN_TABLE_VIEW_VTABLE_SLOTS 137 static const AvnGuid I_AVN_TABLE_VIEW_CELL_IID = { - 0x5FFBD394, - 0x21E2, - 0x5FA0, - { 0xA7, 0x38, 0xF8, 0x1C, 0xA2, 0x4C, 0xA1, 0x98 } + 0x7B4DC408, + 0x8142, + 0x5915, + { 0xB1, 0xA7, 0x15, 0xCE, 0x22, 0x06, 0x25, 0x12 } }; -#define I_AVN_TABLE_VIEW_CELL_ABI_VERSION 11 +#define I_AVN_TABLE_VIEW_CELL_ABI_VERSION 12 struct IAvnTableViewCellVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnTableViewCell* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnTableViewCell* self); /* slot 1 */ @@ -11925,51 +12471,57 @@ struct IAvnTableViewCellVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnTableViewCell* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnTableViewCell* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnTableViewCell* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnTableViewCell* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnTableViewCell* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnTableViewCell* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTableViewCell* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTableViewCell* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTableViewCell* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnTableViewCell* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnTableViewCell* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnTableViewCell* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnTableViewCell* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnTableViewCell* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnTableViewCell* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnTableViewCell* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnTableViewCell* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnTableViewCell* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnTableViewCell* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnTableViewCell* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnTableViewCell* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnTableViewCell* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnTableViewCell* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnTableViewCell* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnTableViewCell* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnTableViewCell* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnTableViewCell* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnTableViewCell* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnTableViewCell* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnTableViewCell* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnTableViewCell* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnTableViewCell* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnTableViewCell* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTableViewCell* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTableViewCell* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnTableViewCell* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnTableViewCell* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_content)(IAvnTableViewCell* self, IAvnControl** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_content)(IAvnTableViewCell* self, IAvnControl* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnTableViewCell* self, IAvnDataTemplate** value); /* slot 99 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnTableViewCell* self, IAvnDataTemplate* value); /* slot 100 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnTableViewCell* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnTableViewCell* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnTableViewCell* self, int32_t* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnTableViewCell* self, int32_t value); /* slot 104 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnTableViewCell* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnTableViewCell* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnTableViewCell* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnTableViewCell* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnTableViewCell* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnTableViewCell* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnTableViewCell* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnTableViewCell* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnTableViewCell* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTableViewCell* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTableViewCell* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTableViewCell* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnTableViewCell* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnTableViewCell* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnTableViewCell* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnTableViewCell* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnTableViewCell* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnTableViewCell* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnTableViewCell* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnTableViewCell* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnTableViewCell* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnTableViewCell* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnTableViewCell* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnTableViewCell* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnTableViewCell* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnTableViewCell* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnTableViewCell* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnTableViewCell* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnTableViewCell* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnTableViewCell* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnTableViewCell* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnTableViewCell* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnTableViewCell* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnTableViewCell* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnTableViewCell* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnTableViewCell* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTableViewCell* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTableViewCell* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnTableViewCell* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnTableViewCell* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_content)(IAvnTableViewCell* self, IAvnControl** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_content)(IAvnTableViewCell* self, IAvnControl* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnTableViewCell* self, IAvnDataTemplate** value); /* slot 105 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnTableViewCell* self, IAvnDataTemplate* value); /* slot 106 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnTableViewCell* self, int32_t* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnTableViewCell* self, int32_t value); /* slot 108 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnTableViewCell* self, int32_t* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnTableViewCell* self, int32_t value); /* slot 110 */ }; struct IAvnTableViewCell { const IAvnTableViewCellVtbl* vtbl; }; -#define I_AVN_TABLE_VIEW_CELL_VTABLE_SLOTS 105 +#define I_AVN_TABLE_VIEW_CELL_VTABLE_SLOTS 111 static const AvnGuid I_AVN_TABLE_VIEW_COLUMN_IID = { 0xC3667189, @@ -12028,12 +12580,12 @@ struct IAvnTableViewColumn { const IAvnTableViewColumnVtbl* vtbl; }; #define I_AVN_TABLE_VIEW_COLUMN_VTABLE_SLOTS 44 static const AvnGuid I_AVN_TABLE_VIEW_ROW_IID = { - 0x785207CE, - 0x7A58, - 0x5074, - { 0x9C, 0xCD, 0x5D, 0xFA, 0x07, 0x71, 0xDF, 0x61 } + 0x1A492B55, + 0x9FB8, + 0x5F66, + { 0x98, 0x6E, 0xEF, 0x1D, 0xED, 0x34, 0xA3, 0x8D } }; -#define I_AVN_TABLE_VIEW_ROW_ABI_VERSION 9 +#define I_AVN_TABLE_VIEW_ROW_ABI_VERSION 10 struct IAvnTableViewRowVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnTableViewRow* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnTableViewRow* self); /* slot 1 */ @@ -12098,61 +12650,67 @@ struct IAvnTableViewRowVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnTableViewRow* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnTableViewRow* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnTableViewRow* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnTableViewRow* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnTableViewRow* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnTableViewRow* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTableViewRow* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTableViewRow* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTableViewRow* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnTableViewRow* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnTableViewRow* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnTableViewRow* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnTableViewRow* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnTableViewRow* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnTableViewRow* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnTableViewRow* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnTableViewRow* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnTableViewRow* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnTableViewRow* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnTableViewRow* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnTableViewRow* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnTableViewRow* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnTableViewRow* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnTableViewRow* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnTableViewRow* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnTableViewRow* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnTableViewRow* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnTableViewRow* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnTableViewRow* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnTableViewRow* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnTableViewRow* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnTableViewRow* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnTableViewRow* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTableViewRow* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTableViewRow* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnTableViewRow* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnTableViewRow* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_content)(IAvnTableViewRow* self, IAvnControl** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_content)(IAvnTableViewRow* self, IAvnControl* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnTableViewRow* self, IAvnDataTemplate** value); /* slot 99 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnTableViewRow* self, IAvnDataTemplate* value); /* slot 100 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnTableViewRow* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnTableViewRow* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnTableViewRow* self, int32_t* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnTableViewRow* self, int32_t value); /* slot 104 */ - AvnHResult (AVN_CALL *get_is_selected)(IAvnTableViewRow* self, int32_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_is_selected)(IAvnTableViewRow* self, int32_t value); /* slot 106 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnTableViewRow* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnTableViewRow* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnTableViewRow* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnTableViewRow* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnTableViewRow* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnTableViewRow* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnTableViewRow* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnTableViewRow* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnTableViewRow* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTableViewRow* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTableViewRow* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTableViewRow* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnTableViewRow* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnTableViewRow* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnTableViewRow* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnTableViewRow* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnTableViewRow* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnTableViewRow* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnTableViewRow* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnTableViewRow* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnTableViewRow* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnTableViewRow* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnTableViewRow* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnTableViewRow* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnTableViewRow* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnTableViewRow* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnTableViewRow* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnTableViewRow* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnTableViewRow* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnTableViewRow* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnTableViewRow* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnTableViewRow* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnTableViewRow* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnTableViewRow* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnTableViewRow* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnTableViewRow* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTableViewRow* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTableViewRow* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnTableViewRow* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnTableViewRow* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_content)(IAvnTableViewRow* self, IAvnControl** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_content)(IAvnTableViewRow* self, IAvnControl* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnTableViewRow* self, IAvnDataTemplate** value); /* slot 105 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnTableViewRow* self, IAvnDataTemplate* value); /* slot 106 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnTableViewRow* self, int32_t* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnTableViewRow* self, int32_t value); /* slot 108 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnTableViewRow* self, int32_t* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnTableViewRow* self, int32_t value); /* slot 110 */ + AvnHResult (AVN_CALL *get_is_selected)(IAvnTableViewRow* self, int32_t* value); /* slot 111 */ + AvnHResult (AVN_CALL *set_is_selected)(IAvnTableViewRow* self, int32_t value); /* slot 112 */ }; struct IAvnTableViewRow { const IAvnTableViewRowVtbl* vtbl; }; -#define I_AVN_TABLE_VIEW_ROW_VTABLE_SLOTS 107 +#define I_AVN_TABLE_VIEW_ROW_VTABLE_SLOTS 113 static const AvnGuid I_AVN_TEMPLATED_CONTROL_IID = { - 0xD71DF481, - 0xE9FE, - 0x5463, - { 0xBD, 0xA3, 0x7C, 0x05, 0x46, 0xC5, 0x71, 0x6A } + 0xE2867468, + 0x09D4, + 0x5D05, + { 0xA9, 0x56, 0xF6, 0x87, 0xA7, 0x8D, 0xF5, 0x1A } }; -#define I_AVN_TEMPLATED_CONTROL_ABI_VERSION 12 +#define I_AVN_TEMPLATED_CONTROL_ABI_VERSION 13 struct IAvnTemplatedControlVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnTemplatedControl* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnTemplatedControl* self); /* slot 1 */ @@ -12217,51 +12775,57 @@ struct IAvnTemplatedControlVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnTemplatedControl* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnTemplatedControl* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnTemplatedControl* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnTemplatedControl* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnTemplatedControl* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnTemplatedControl* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTemplatedControl* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTemplatedControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTemplatedControl* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnTemplatedControl* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnTemplatedControl* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnTemplatedControl* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnTemplatedControl* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnTemplatedControl* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnTemplatedControl* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnTemplatedControl* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnTemplatedControl* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnTemplatedControl* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnTemplatedControl* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnTemplatedControl* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnTemplatedControl* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnTemplatedControl* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnTemplatedControl* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnTemplatedControl* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnTemplatedControl* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnTemplatedControl* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnTemplatedControl* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnTemplatedControl* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnTemplatedControl* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnTemplatedControl* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnTemplatedControl* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnTemplatedControl* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnTemplatedControl* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTemplatedControl* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTemplatedControl* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnTemplatedControl* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnTemplatedControl* self, AvnThickness value); /* slot 96 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnTemplatedControl* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnTemplatedControl* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnTemplatedControl* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnTemplatedControl* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnTemplatedControl* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnTemplatedControl* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnTemplatedControl* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnTemplatedControl* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnTemplatedControl* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTemplatedControl* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTemplatedControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTemplatedControl* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnTemplatedControl* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnTemplatedControl* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnTemplatedControl* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnTemplatedControl* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnTemplatedControl* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnTemplatedControl* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnTemplatedControl* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnTemplatedControl* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnTemplatedControl* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnTemplatedControl* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnTemplatedControl* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnTemplatedControl* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnTemplatedControl* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnTemplatedControl* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnTemplatedControl* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnTemplatedControl* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnTemplatedControl* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnTemplatedControl* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnTemplatedControl* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnTemplatedControl* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnTemplatedControl* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnTemplatedControl* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnTemplatedControl* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnTemplatedControl* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTemplatedControl* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTemplatedControl* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnTemplatedControl* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnTemplatedControl* self, AvnThickness value); /* slot 102 */ }; struct IAvnTemplatedControl { const IAvnTemplatedControlVtbl* vtbl; }; -#define I_AVN_TEMPLATED_CONTROL_VTABLE_SLOTS 97 +#define I_AVN_TEMPLATED_CONTROL_VTABLE_SLOTS 103 static const AvnGuid I_AVN_TEXT_BLOCK_IID = { - 0x70059000, - 0x39BE, - 0x58FA, - { 0x96, 0x21, 0x50, 0xCB, 0x7B, 0xBF, 0x46, 0xB1 } + 0x06129468, + 0xB036, + 0x5F97, + { 0xAC, 0xA3, 0x6C, 0x51, 0xB8, 0x45, 0x74, 0x6D } }; -#define I_AVN_TEXT_BLOCK_ABI_VERSION 14 +#define I_AVN_TEXT_BLOCK_ABI_VERSION 15 struct IAvnTextBlockVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnTextBlock* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnTextBlock* self); /* slot 1 */ @@ -12326,59 +12890,65 @@ struct IAvnTextBlockVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnTextBlock* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnTextBlock* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnTextBlock* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnTextBlock* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnTextBlock* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnTextBlock* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTextBlock* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTextBlock* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTextBlock* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_padding)(IAvnTextBlock* self, AvnThickness* value); /* slot 69 */ - AvnHResult (AVN_CALL *set_padding)(IAvnTextBlock* self, AvnThickness value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background)(IAvnTextBlock* self, IAvnBrush** value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background)(IAvnTextBlock* self, IAvnBrush* value); /* slot 72 */ - AvnHResult (AVN_CALL *get_text)(IAvnTextBlock* self, uint16_t** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_text)(IAvnTextBlock* self, const uint16_t* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnTextBlock* self, uint16_t** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnTextBlock* self, const uint16_t* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnTextBlock* self, double* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnTextBlock* self, double value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnTextBlock* self, int32_t* value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnTextBlock* self, int32_t value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnTextBlock* self, int32_t* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnTextBlock* self, int32_t value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnTextBlock* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnTextBlock* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnTextBlock* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnTextBlock* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_line_height)(IAvnTextBlock* self, double* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_line_height)(IAvnTextBlock* self, double value); /* slot 88 */ - AvnHResult (AVN_CALL *get_line_spacing)(IAvnTextBlock* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_line_spacing)(IAvnTextBlock* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTextBlock* self, double* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTextBlock* self, double value); /* slot 92 */ - AvnHResult (AVN_CALL *get_max_lines)(IAvnTextBlock* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_max_lines)(IAvnTextBlock* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_text_wrapping)(IAvnTextBlock* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_text_wrapping)(IAvnTextBlock* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_text_trimming)(IAvnTextBlock* self, uint16_t** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_text_trimming)(IAvnTextBlock* self, const uint16_t* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_text_alignment)(IAvnTextBlock* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_text_alignment)(IAvnTextBlock* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnTextBlock* self, uint16_t** value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnTextBlock* self, const uint16_t* value); /* slot 102 */ - AvnHResult (AVN_CALL *get_baseline_offset)(IAvnTextBlock* self, double* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_baseline_offset)(IAvnTextBlock* self, double value); /* slot 104 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnTextBlock* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnTextBlock* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnTextBlock* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnTextBlock* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnTextBlock* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnTextBlock* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnTextBlock* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnTextBlock* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnTextBlock* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTextBlock* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTextBlock* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTextBlock* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_padding)(IAvnTextBlock* self, AvnThickness* value); /* slot 75 */ + AvnHResult (AVN_CALL *set_padding)(IAvnTextBlock* self, AvnThickness value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background)(IAvnTextBlock* self, IAvnBrush** value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background)(IAvnTextBlock* self, IAvnBrush* value); /* slot 78 */ + AvnHResult (AVN_CALL *get_text)(IAvnTextBlock* self, uint16_t** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_text)(IAvnTextBlock* self, const uint16_t* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnTextBlock* self, uint16_t** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnTextBlock* self, const uint16_t* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnTextBlock* self, double* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnTextBlock* self, double value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnTextBlock* self, int32_t* value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnTextBlock* self, int32_t value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnTextBlock* self, int32_t* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnTextBlock* self, int32_t value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnTextBlock* self, int32_t* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnTextBlock* self, int32_t value); /* slot 90 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnTextBlock* self, IAvnBrush** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnTextBlock* self, IAvnBrush* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_line_height)(IAvnTextBlock* self, double* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_line_height)(IAvnTextBlock* self, double value); /* slot 94 */ + AvnHResult (AVN_CALL *get_line_spacing)(IAvnTextBlock* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_line_spacing)(IAvnTextBlock* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTextBlock* self, double* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTextBlock* self, double value); /* slot 98 */ + AvnHResult (AVN_CALL *get_max_lines)(IAvnTextBlock* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_max_lines)(IAvnTextBlock* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_text_wrapping)(IAvnTextBlock* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_text_wrapping)(IAvnTextBlock* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_text_trimming)(IAvnTextBlock* self, uint16_t** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_text_trimming)(IAvnTextBlock* self, const uint16_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_text_alignment)(IAvnTextBlock* self, int32_t* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_text_alignment)(IAvnTextBlock* self, int32_t value); /* slot 106 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnTextBlock* self, uint16_t** value); /* slot 107 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnTextBlock* self, const uint16_t* value); /* slot 108 */ + AvnHResult (AVN_CALL *get_baseline_offset)(IAvnTextBlock* self, double* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_baseline_offset)(IAvnTextBlock* self, double value); /* slot 110 */ }; struct IAvnTextBlock { const IAvnTextBlockVtbl* vtbl; }; -#define I_AVN_TEXT_BLOCK_VTABLE_SLOTS 105 +#define I_AVN_TEXT_BLOCK_VTABLE_SLOTS 111 static const AvnGuid I_AVN_TEXT_BOX_IID = { - 0xB1615F3B, - 0xC31D, - 0x56CC, - { 0xA9, 0x99, 0x06, 0x4F, 0xAC, 0x4E, 0xFD, 0xF8 } + 0xBCD740F5, + 0x7423, + 0x5B2D, + { 0xAD, 0x5E, 0xCB, 0x40, 0x07, 0x22, 0x26, 0xF8 } }; -#define I_AVN_TEXT_BOX_ABI_VERSION 18 +#define I_AVN_TEXT_BOX_ABI_VERSION 19 struct IAvnTextBoxVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnTextBox* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnTextBox* self); /* slot 1 */ @@ -12443,140 +13013,146 @@ struct IAvnTextBoxVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnTextBox* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnTextBox* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnTextBox* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnTextBox* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnTextBox* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnTextBox* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTextBox* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTextBox* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTextBox* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnTextBox* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnTextBox* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnTextBox* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnTextBox* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnTextBox* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnTextBox* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnTextBox* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnTextBox* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnTextBox* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnTextBox* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnTextBox* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnTextBox* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnTextBox* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnTextBox* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnTextBox* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnTextBox* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnTextBox* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnTextBox* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnTextBox* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnTextBox* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnTextBox* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnTextBox* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnTextBox* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnTextBox* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTextBox* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTextBox* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnTextBox* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnTextBox* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_is_inactive_selection_highlight_enabled)(IAvnTextBox* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_is_inactive_selection_highlight_enabled)(IAvnTextBox* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_clear_selection_on_lost_focus)(IAvnTextBox* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_clear_selection_on_lost_focus)(IAvnTextBox* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_accepts_return)(IAvnTextBox* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_accepts_return)(IAvnTextBox* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_accepts_tab)(IAvnTextBox* self, int32_t* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_accepts_tab)(IAvnTextBox* self, int32_t value); /* slot 104 */ - AvnHResult (AVN_CALL *get_caret_index)(IAvnTextBox* self, int32_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_caret_index)(IAvnTextBox* self, int32_t value); /* slot 106 */ - AvnHResult (AVN_CALL *get_is_read_only)(IAvnTextBox* self, int32_t* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_is_read_only)(IAvnTextBox* self, int32_t value); /* slot 108 */ - AvnHResult (AVN_CALL *get_password_char)(IAvnTextBox* self, uint16_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_password_char)(IAvnTextBox* self, uint16_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_selection_brush)(IAvnTextBox* self, IAvnBrush** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_selection_brush)(IAvnTextBox* self, IAvnBrush* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_selection_foreground_brush)(IAvnTextBox* self, IAvnBrush** value); /* slot 113 */ - AvnHResult (AVN_CALL *set_selection_foreground_brush)(IAvnTextBox* self, IAvnBrush* value); /* slot 114 */ - AvnHResult (AVN_CALL *get_caret_brush)(IAvnTextBox* self, IAvnBrush** value); /* slot 115 */ - AvnHResult (AVN_CALL *set_caret_brush)(IAvnTextBox* self, IAvnBrush* value); /* slot 116 */ - AvnHResult (AVN_CALL *get_caret_blink_interval)(IAvnTextBox* self, int64_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_caret_blink_interval)(IAvnTextBox* self, int64_t value); /* slot 118 */ - AvnHResult (AVN_CALL *get_selection_start)(IAvnTextBox* self, int32_t* value); /* slot 119 */ - AvnHResult (AVN_CALL *set_selection_start)(IAvnTextBox* self, int32_t value); /* slot 120 */ - AvnHResult (AVN_CALL *get_selection_end)(IAvnTextBox* self, int32_t* value); /* slot 121 */ - AvnHResult (AVN_CALL *set_selection_end)(IAvnTextBox* self, int32_t value); /* slot 122 */ - AvnHResult (AVN_CALL *get_max_length)(IAvnTextBox* self, int32_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *set_max_length)(IAvnTextBox* self, int32_t value); /* slot 124 */ - AvnHResult (AVN_CALL *get_max_lines)(IAvnTextBox* self, int32_t* value); /* slot 125 */ - AvnHResult (AVN_CALL *set_max_lines)(IAvnTextBox* self, int32_t value); /* slot 126 */ - AvnHResult (AVN_CALL *get_min_lines)(IAvnTextBox* self, int32_t* value); /* slot 127 */ - AvnHResult (AVN_CALL *set_min_lines)(IAvnTextBox* self, int32_t value); /* slot 128 */ - AvnHResult (AVN_CALL *get_line_height)(IAvnTextBox* self, double* value); /* slot 129 */ - AvnHResult (AVN_CALL *set_line_height)(IAvnTextBox* self, double value); /* slot 130 */ - AvnHResult (AVN_CALL *get_text)(IAvnTextBox* self, uint16_t** value); /* slot 131 */ - AvnHResult (AVN_CALL *set_text)(IAvnTextBox* self, const uint16_t* value); /* slot 132 */ - AvnHResult (AVN_CALL *get_selected_text)(IAvnTextBox* self, uint16_t** value); /* slot 133 */ - AvnHResult (AVN_CALL *set_selected_text)(IAvnTextBox* self, const uint16_t* value); /* slot 134 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnTextBox* self, int32_t* value); /* slot 135 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnTextBox* self, int32_t value); /* slot 136 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnTextBox* self, int32_t* value); /* slot 137 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnTextBox* self, int32_t value); /* slot 138 */ - AvnHResult (AVN_CALL *get_text_alignment)(IAvnTextBox* self, int32_t* value); /* slot 139 */ - AvnHResult (AVN_CALL *set_text_alignment)(IAvnTextBox* self, int32_t value); /* slot 140 */ - AvnHResult (AVN_CALL *get_placeholder_text)(IAvnTextBox* self, uint16_t** value); /* slot 141 */ - AvnHResult (AVN_CALL *set_placeholder_text)(IAvnTextBox* self, const uint16_t* value); /* slot 142 */ - AvnHResult (AVN_CALL *get_use_floating_placeholder)(IAvnTextBox* self, int32_t* value); /* slot 143 */ - AvnHResult (AVN_CALL *set_use_floating_placeholder)(IAvnTextBox* self, int32_t value); /* slot 144 */ - AvnHResult (AVN_CALL *get_placeholder_foreground)(IAvnTextBox* self, IAvnBrush** value); /* slot 145 */ - AvnHResult (AVN_CALL *set_placeholder_foreground)(IAvnTextBox* self, IAvnBrush* value); /* slot 146 */ - AvnHResult (AVN_CALL *get_inner_left_content)(IAvnTextBox* self, IAvnControl** value); /* slot 147 */ - AvnHResult (AVN_CALL *set_inner_left_content)(IAvnTextBox* self, IAvnControl* value); /* slot 148 */ - AvnHResult (AVN_CALL *get_inner_right_content)(IAvnTextBox* self, IAvnControl** value); /* slot 149 */ - AvnHResult (AVN_CALL *set_inner_right_content)(IAvnTextBox* self, IAvnControl* value); /* slot 150 */ - AvnHResult (AVN_CALL *get_reveal_password)(IAvnTextBox* self, int32_t* value); /* slot 151 */ - AvnHResult (AVN_CALL *set_reveal_password)(IAvnTextBox* self, int32_t value); /* slot 152 */ - AvnHResult (AVN_CALL *get_text_wrapping)(IAvnTextBox* self, int32_t* value); /* slot 153 */ - AvnHResult (AVN_CALL *set_text_wrapping)(IAvnTextBox* self, int32_t value); /* slot 154 */ - AvnHResult (AVN_CALL *get_new_line)(IAvnTextBox* self, uint16_t** value); /* slot 155 */ - AvnHResult (AVN_CALL *set_new_line)(IAvnTextBox* self, const uint16_t* value); /* slot 156 */ - AvnHResult (AVN_CALL *get_can_cut)(IAvnTextBox* self, int32_t* value); /* slot 157 */ - AvnHResult (AVN_CALL *get_can_copy)(IAvnTextBox* self, int32_t* value); /* slot 158 */ - AvnHResult (AVN_CALL *get_can_paste)(IAvnTextBox* self, int32_t* value); /* slot 159 */ - AvnHResult (AVN_CALL *get_is_undo_enabled)(IAvnTextBox* self, int32_t* value); /* slot 160 */ - AvnHResult (AVN_CALL *set_is_undo_enabled)(IAvnTextBox* self, int32_t value); /* slot 161 */ - AvnHResult (AVN_CALL *get_undo_limit)(IAvnTextBox* self, int32_t* value); /* slot 162 */ - AvnHResult (AVN_CALL *set_undo_limit)(IAvnTextBox* self, int32_t value); /* slot 163 */ - AvnHResult (AVN_CALL *get_can_undo)(IAvnTextBox* self, int32_t* value); /* slot 164 */ - AvnHResult (AVN_CALL *get_can_redo)(IAvnTextBox* self, int32_t* value); /* slot 165 */ - AvnHResult (AVN_CALL *clear_selection)(IAvnTextBox* self); /* slot 166 */ - AvnHResult (AVN_CALL *get_line_count)(IAvnTextBox* self, int32_t* value); /* slot 167 */ - AvnHResult (AVN_CALL *cut)(IAvnTextBox* self); /* slot 168 */ - AvnHResult (AVN_CALL *copy)(IAvnTextBox* self); /* slot 169 */ - AvnHResult (AVN_CALL *paste)(IAvnTextBox* self); /* slot 170 */ - AvnHResult (AVN_CALL *clear)(IAvnTextBox* self); /* slot 171 */ - AvnHResult (AVN_CALL *scroll_to_line_with_int32)(IAvnTextBox* self, int32_t line_index); /* slot 172 */ - AvnHResult (AVN_CALL *select_all)(IAvnTextBox* self); /* slot 173 */ - AvnHResult (AVN_CALL *undo)(IAvnTextBox* self); /* slot 174 */ - AvnHResult (AVN_CALL *redo)(IAvnTextBox* self); /* slot 175 */ - AvnHResult (AVN_CALL *advise_copying_to_clipboard)(IAvnTextBox* self, IAvnTextBoxCopyingToClipboardHandler* handler, int64_t* subscription_id); /* slot 176 */ - AvnHResult (AVN_CALL *unadvise_copying_to_clipboard)(IAvnTextBox* self, int64_t subscription_id); /* slot 177 */ - AvnHResult (AVN_CALL *advise_cutting_to_clipboard)(IAvnTextBox* self, IAvnTextBoxCuttingToClipboardHandler* handler, int64_t* subscription_id); /* slot 178 */ - AvnHResult (AVN_CALL *unadvise_cutting_to_clipboard)(IAvnTextBox* self, int64_t subscription_id); /* slot 179 */ - AvnHResult (AVN_CALL *advise_pasting_from_clipboard)(IAvnTextBox* self, IAvnTextBoxPastingFromClipboardHandler* handler, int64_t* subscription_id); /* slot 180 */ - AvnHResult (AVN_CALL *unadvise_pasting_from_clipboard)(IAvnTextBox* self, int64_t subscription_id); /* slot 181 */ - AvnHResult (AVN_CALL *advise_text_changed)(IAvnTextBox* self, IAvnTextBoxTextChangedHandler* handler, int64_t* subscription_id); /* slot 182 */ - AvnHResult (AVN_CALL *unadvise_text_changed)(IAvnTextBox* self, int64_t subscription_id); /* slot 183 */ - AvnHResult (AVN_CALL *advise_text_changing)(IAvnTextBox* self, IAvnTextBoxTextChangingHandler* handler, int64_t* subscription_id); /* slot 184 */ - AvnHResult (AVN_CALL *unadvise_text_changing)(IAvnTextBox* self, int64_t subscription_id); /* slot 185 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnTextBox* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnTextBox* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnTextBox* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnTextBox* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnTextBox* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnTextBox* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnTextBox* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnTextBox* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnTextBox* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTextBox* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTextBox* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTextBox* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnTextBox* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnTextBox* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnTextBox* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnTextBox* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnTextBox* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnTextBox* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnTextBox* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnTextBox* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnTextBox* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnTextBox* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnTextBox* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnTextBox* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnTextBox* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnTextBox* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnTextBox* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnTextBox* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnTextBox* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnTextBox* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnTextBox* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnTextBox* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnTextBox* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnTextBox* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnTextBox* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnTextBox* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTextBox* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTextBox* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnTextBox* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnTextBox* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_is_inactive_selection_highlight_enabled)(IAvnTextBox* self, int32_t* value); /* slot 103 */ + AvnHResult (AVN_CALL *set_is_inactive_selection_highlight_enabled)(IAvnTextBox* self, int32_t value); /* slot 104 */ + AvnHResult (AVN_CALL *get_clear_selection_on_lost_focus)(IAvnTextBox* self, int32_t* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_clear_selection_on_lost_focus)(IAvnTextBox* self, int32_t value); /* slot 106 */ + AvnHResult (AVN_CALL *get_accepts_return)(IAvnTextBox* self, int32_t* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_accepts_return)(IAvnTextBox* self, int32_t value); /* slot 108 */ + AvnHResult (AVN_CALL *get_accepts_tab)(IAvnTextBox* self, int32_t* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_accepts_tab)(IAvnTextBox* self, int32_t value); /* slot 110 */ + AvnHResult (AVN_CALL *get_caret_index)(IAvnTextBox* self, int32_t* value); /* slot 111 */ + AvnHResult (AVN_CALL *set_caret_index)(IAvnTextBox* self, int32_t value); /* slot 112 */ + AvnHResult (AVN_CALL *get_is_read_only)(IAvnTextBox* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *set_is_read_only)(IAvnTextBox* self, int32_t value); /* slot 114 */ + AvnHResult (AVN_CALL *get_password_char)(IAvnTextBox* self, uint16_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_password_char)(IAvnTextBox* self, uint16_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_selection_brush)(IAvnTextBox* self, IAvnBrush** value); /* slot 117 */ + AvnHResult (AVN_CALL *set_selection_brush)(IAvnTextBox* self, IAvnBrush* value); /* slot 118 */ + AvnHResult (AVN_CALL *get_selection_foreground_brush)(IAvnTextBox* self, IAvnBrush** value); /* slot 119 */ + AvnHResult (AVN_CALL *set_selection_foreground_brush)(IAvnTextBox* self, IAvnBrush* value); /* slot 120 */ + AvnHResult (AVN_CALL *get_caret_brush)(IAvnTextBox* self, IAvnBrush** value); /* slot 121 */ + AvnHResult (AVN_CALL *set_caret_brush)(IAvnTextBox* self, IAvnBrush* value); /* slot 122 */ + AvnHResult (AVN_CALL *get_caret_blink_interval)(IAvnTextBox* self, int64_t* value); /* slot 123 */ + AvnHResult (AVN_CALL *set_caret_blink_interval)(IAvnTextBox* self, int64_t value); /* slot 124 */ + AvnHResult (AVN_CALL *get_selection_start)(IAvnTextBox* self, int32_t* value); /* slot 125 */ + AvnHResult (AVN_CALL *set_selection_start)(IAvnTextBox* self, int32_t value); /* slot 126 */ + AvnHResult (AVN_CALL *get_selection_end)(IAvnTextBox* self, int32_t* value); /* slot 127 */ + AvnHResult (AVN_CALL *set_selection_end)(IAvnTextBox* self, int32_t value); /* slot 128 */ + AvnHResult (AVN_CALL *get_max_length)(IAvnTextBox* self, int32_t* value); /* slot 129 */ + AvnHResult (AVN_CALL *set_max_length)(IAvnTextBox* self, int32_t value); /* slot 130 */ + AvnHResult (AVN_CALL *get_max_lines)(IAvnTextBox* self, int32_t* value); /* slot 131 */ + AvnHResult (AVN_CALL *set_max_lines)(IAvnTextBox* self, int32_t value); /* slot 132 */ + AvnHResult (AVN_CALL *get_min_lines)(IAvnTextBox* self, int32_t* value); /* slot 133 */ + AvnHResult (AVN_CALL *set_min_lines)(IAvnTextBox* self, int32_t value); /* slot 134 */ + AvnHResult (AVN_CALL *get_line_height)(IAvnTextBox* self, double* value); /* slot 135 */ + AvnHResult (AVN_CALL *set_line_height)(IAvnTextBox* self, double value); /* slot 136 */ + AvnHResult (AVN_CALL *get_text)(IAvnTextBox* self, uint16_t** value); /* slot 137 */ + AvnHResult (AVN_CALL *set_text)(IAvnTextBox* self, const uint16_t* value); /* slot 138 */ + AvnHResult (AVN_CALL *get_selected_text)(IAvnTextBox* self, uint16_t** value); /* slot 139 */ + AvnHResult (AVN_CALL *set_selected_text)(IAvnTextBox* self, const uint16_t* value); /* slot 140 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnTextBox* self, int32_t* value); /* slot 141 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnTextBox* self, int32_t value); /* slot 142 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnTextBox* self, int32_t* value); /* slot 143 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnTextBox* self, int32_t value); /* slot 144 */ + AvnHResult (AVN_CALL *get_text_alignment)(IAvnTextBox* self, int32_t* value); /* slot 145 */ + AvnHResult (AVN_CALL *set_text_alignment)(IAvnTextBox* self, int32_t value); /* slot 146 */ + AvnHResult (AVN_CALL *get_placeholder_text)(IAvnTextBox* self, uint16_t** value); /* slot 147 */ + AvnHResult (AVN_CALL *set_placeholder_text)(IAvnTextBox* self, const uint16_t* value); /* slot 148 */ + AvnHResult (AVN_CALL *get_use_floating_placeholder)(IAvnTextBox* self, int32_t* value); /* slot 149 */ + AvnHResult (AVN_CALL *set_use_floating_placeholder)(IAvnTextBox* self, int32_t value); /* slot 150 */ + AvnHResult (AVN_CALL *get_placeholder_foreground)(IAvnTextBox* self, IAvnBrush** value); /* slot 151 */ + AvnHResult (AVN_CALL *set_placeholder_foreground)(IAvnTextBox* self, IAvnBrush* value); /* slot 152 */ + AvnHResult (AVN_CALL *get_inner_left_content)(IAvnTextBox* self, IAvnControl** value); /* slot 153 */ + AvnHResult (AVN_CALL *set_inner_left_content)(IAvnTextBox* self, IAvnControl* value); /* slot 154 */ + AvnHResult (AVN_CALL *get_inner_right_content)(IAvnTextBox* self, IAvnControl** value); /* slot 155 */ + AvnHResult (AVN_CALL *set_inner_right_content)(IAvnTextBox* self, IAvnControl* value); /* slot 156 */ + AvnHResult (AVN_CALL *get_reveal_password)(IAvnTextBox* self, int32_t* value); /* slot 157 */ + AvnHResult (AVN_CALL *set_reveal_password)(IAvnTextBox* self, int32_t value); /* slot 158 */ + AvnHResult (AVN_CALL *get_text_wrapping)(IAvnTextBox* self, int32_t* value); /* slot 159 */ + AvnHResult (AVN_CALL *set_text_wrapping)(IAvnTextBox* self, int32_t value); /* slot 160 */ + AvnHResult (AVN_CALL *get_new_line)(IAvnTextBox* self, uint16_t** value); /* slot 161 */ + AvnHResult (AVN_CALL *set_new_line)(IAvnTextBox* self, const uint16_t* value); /* slot 162 */ + AvnHResult (AVN_CALL *get_can_cut)(IAvnTextBox* self, int32_t* value); /* slot 163 */ + AvnHResult (AVN_CALL *get_can_copy)(IAvnTextBox* self, int32_t* value); /* slot 164 */ + AvnHResult (AVN_CALL *get_can_paste)(IAvnTextBox* self, int32_t* value); /* slot 165 */ + AvnHResult (AVN_CALL *get_is_undo_enabled)(IAvnTextBox* self, int32_t* value); /* slot 166 */ + AvnHResult (AVN_CALL *set_is_undo_enabled)(IAvnTextBox* self, int32_t value); /* slot 167 */ + AvnHResult (AVN_CALL *get_undo_limit)(IAvnTextBox* self, int32_t* value); /* slot 168 */ + AvnHResult (AVN_CALL *set_undo_limit)(IAvnTextBox* self, int32_t value); /* slot 169 */ + AvnHResult (AVN_CALL *get_can_undo)(IAvnTextBox* self, int32_t* value); /* slot 170 */ + AvnHResult (AVN_CALL *get_can_redo)(IAvnTextBox* self, int32_t* value); /* slot 171 */ + AvnHResult (AVN_CALL *clear_selection)(IAvnTextBox* self); /* slot 172 */ + AvnHResult (AVN_CALL *get_line_count)(IAvnTextBox* self, int32_t* value); /* slot 173 */ + AvnHResult (AVN_CALL *cut)(IAvnTextBox* self); /* slot 174 */ + AvnHResult (AVN_CALL *copy)(IAvnTextBox* self); /* slot 175 */ + AvnHResult (AVN_CALL *paste)(IAvnTextBox* self); /* slot 176 */ + AvnHResult (AVN_CALL *clear)(IAvnTextBox* self); /* slot 177 */ + AvnHResult (AVN_CALL *scroll_to_line_with_int32)(IAvnTextBox* self, int32_t line_index); /* slot 178 */ + AvnHResult (AVN_CALL *select_all)(IAvnTextBox* self); /* slot 179 */ + AvnHResult (AVN_CALL *undo)(IAvnTextBox* self); /* slot 180 */ + AvnHResult (AVN_CALL *redo)(IAvnTextBox* self); /* slot 181 */ + AvnHResult (AVN_CALL *advise_copying_to_clipboard)(IAvnTextBox* self, IAvnTextBoxCopyingToClipboardHandler* handler, int64_t* subscription_id); /* slot 182 */ + AvnHResult (AVN_CALL *unadvise_copying_to_clipboard)(IAvnTextBox* self, int64_t subscription_id); /* slot 183 */ + AvnHResult (AVN_CALL *advise_cutting_to_clipboard)(IAvnTextBox* self, IAvnTextBoxCuttingToClipboardHandler* handler, int64_t* subscription_id); /* slot 184 */ + AvnHResult (AVN_CALL *unadvise_cutting_to_clipboard)(IAvnTextBox* self, int64_t subscription_id); /* slot 185 */ + AvnHResult (AVN_CALL *advise_pasting_from_clipboard)(IAvnTextBox* self, IAvnTextBoxPastingFromClipboardHandler* handler, int64_t* subscription_id); /* slot 186 */ + AvnHResult (AVN_CALL *unadvise_pasting_from_clipboard)(IAvnTextBox* self, int64_t subscription_id); /* slot 187 */ + AvnHResult (AVN_CALL *advise_text_changed)(IAvnTextBox* self, IAvnTextBoxTextChangedHandler* handler, int64_t* subscription_id); /* slot 188 */ + AvnHResult (AVN_CALL *unadvise_text_changed)(IAvnTextBox* self, int64_t subscription_id); /* slot 189 */ + AvnHResult (AVN_CALL *advise_text_changing)(IAvnTextBox* self, IAvnTextBoxTextChangingHandler* handler, int64_t* subscription_id); /* slot 190 */ + AvnHResult (AVN_CALL *unadvise_text_changing)(IAvnTextBox* self, int64_t subscription_id); /* slot 191 */ }; struct IAvnTextBox { const IAvnTextBoxVtbl* vtbl; }; -#define I_AVN_TEXT_BOX_VTABLE_SLOTS 186 +#define I_AVN_TEXT_BOX_VTABLE_SLOTS 192 static const AvnGuid I_AVN_THEME_VARIANT_SCOPE_IID = { - 0xF8DF5A10, - 0x5406, - 0x5E10, - { 0xA6, 0x14, 0xF5, 0x0B, 0x8A, 0x8B, 0xE5, 0xA6 } + 0x2E35671F, + 0xC418, + 0x50E8, + { 0x86, 0xC1, 0xED, 0x85, 0x8C, 0x03, 0x6A, 0x8D } }; -#define I_AVN_THEME_VARIANT_SCOPE_ABI_VERSION 8 +#define I_AVN_THEME_VARIANT_SCOPE_ABI_VERSION 9 struct IAvnThemeVariantScopeVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnThemeVariantScope* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnThemeVariantScope* self); /* slot 1 */ @@ -12641,29 +13217,35 @@ struct IAvnThemeVariantScopeVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnThemeVariantScope* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnThemeVariantScope* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnThemeVariantScope* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnThemeVariantScope* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnThemeVariantScope* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnThemeVariantScope* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnThemeVariantScope* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnThemeVariantScope* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnThemeVariantScope* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_child)(IAvnThemeVariantScope* self, IAvnControl** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_child)(IAvnThemeVariantScope* self, IAvnControl* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_padding)(IAvnThemeVariantScope* self, AvnThickness* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_padding)(IAvnThemeVariantScope* self, AvnThickness value); /* slot 72 */ - AvnHResult (AVN_CALL *get_requested_theme_variant)(IAvnThemeVariantScope* self, uint16_t** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_requested_theme_variant)(IAvnThemeVariantScope* self, const uint16_t* value); /* slot 74 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnThemeVariantScope* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnThemeVariantScope* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnThemeVariantScope* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnThemeVariantScope* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnThemeVariantScope* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnThemeVariantScope* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnThemeVariantScope* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnThemeVariantScope* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnThemeVariantScope* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnThemeVariantScope* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnThemeVariantScope* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnThemeVariantScope* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_child)(IAvnThemeVariantScope* self, IAvnControl** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_child)(IAvnThemeVariantScope* self, IAvnControl* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_padding)(IAvnThemeVariantScope* self, AvnThickness* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_padding)(IAvnThemeVariantScope* self, AvnThickness value); /* slot 78 */ + AvnHResult (AVN_CALL *get_requested_theme_variant)(IAvnThemeVariantScope* self, uint16_t** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_requested_theme_variant)(IAvnThemeVariantScope* self, const uint16_t* value); /* slot 80 */ }; struct IAvnThemeVariantScope { const IAvnThemeVariantScopeVtbl* vtbl; }; -#define I_AVN_THEME_VARIANT_SCOPE_VTABLE_SLOTS 75 +#define I_AVN_THEME_VARIANT_SCOPE_VTABLE_SLOTS 81 static const AvnGuid I_AVN_THUMB_IID = { - 0xD4BA0A24, - 0xA5D3, - 0x56FE, - { 0xB4, 0x86, 0x86, 0x8C, 0x8C, 0x5A, 0x52, 0xB6 } + 0xB62C6C73, + 0x14C3, + 0x5E0D, + { 0xA7, 0x25, 0xF5, 0x60, 0x61, 0x07, 0xB4, 0x54 } }; -#define I_AVN_THUMB_ABI_VERSION 10 +#define I_AVN_THUMB_ABI_VERSION 11 struct IAvnThumbVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnThumb* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnThumb* self); /* slot 1 */ @@ -12728,57 +13310,63 @@ struct IAvnThumbVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnThumb* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnThumb* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnThumb* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnThumb* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnThumb* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnThumb* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnThumb* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnThumb* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnThumb* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnThumb* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnThumb* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnThumb* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnThumb* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnThumb* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnThumb* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnThumb* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnThumb* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnThumb* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnThumb* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnThumb* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnThumb* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnThumb* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnThumb* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnThumb* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnThumb* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnThumb* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnThumb* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnThumb* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnThumb* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnThumb* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnThumb* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnThumb* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnThumb* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnThumb* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnThumb* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnThumb* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnThumb* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *advise_drag_started)(IAvnThumb* self, IAvnThumbDragStartedHandler* handler, int64_t* subscription_id); /* slot 97 */ - AvnHResult (AVN_CALL *unadvise_drag_started)(IAvnThumb* self, int64_t subscription_id); /* slot 98 */ - AvnHResult (AVN_CALL *advise_drag_delta)(IAvnThumb* self, IAvnThumbDragDeltaHandler* handler, int64_t* subscription_id); /* slot 99 */ - AvnHResult (AVN_CALL *unadvise_drag_delta)(IAvnThumb* self, int64_t subscription_id); /* slot 100 */ - AvnHResult (AVN_CALL *advise_drag_completed)(IAvnThumb* self, IAvnThumbDragCompletedHandler* handler, int64_t* subscription_id); /* slot 101 */ - AvnHResult (AVN_CALL *unadvise_drag_completed)(IAvnThumb* self, int64_t subscription_id); /* slot 102 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnThumb* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnThumb* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnThumb* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnThumb* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnThumb* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnThumb* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnThumb* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnThumb* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnThumb* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnThumb* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnThumb* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnThumb* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnThumb* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnThumb* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnThumb* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnThumb* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnThumb* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnThumb* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnThumb* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnThumb* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnThumb* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnThumb* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnThumb* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnThumb* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnThumb* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnThumb* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnThumb* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnThumb* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnThumb* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnThumb* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnThumb* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnThumb* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnThumb* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnThumb* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnThumb* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnThumb* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnThumb* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnThumb* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnThumb* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnThumb* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *advise_drag_started)(IAvnThumb* self, IAvnThumbDragStartedHandler* handler, int64_t* subscription_id); /* slot 103 */ + AvnHResult (AVN_CALL *unadvise_drag_started)(IAvnThumb* self, int64_t subscription_id); /* slot 104 */ + AvnHResult (AVN_CALL *advise_drag_delta)(IAvnThumb* self, IAvnThumbDragDeltaHandler* handler, int64_t* subscription_id); /* slot 105 */ + AvnHResult (AVN_CALL *unadvise_drag_delta)(IAvnThumb* self, int64_t subscription_id); /* slot 106 */ + AvnHResult (AVN_CALL *advise_drag_completed)(IAvnThumb* self, IAvnThumbDragCompletedHandler* handler, int64_t* subscription_id); /* slot 107 */ + AvnHResult (AVN_CALL *unadvise_drag_completed)(IAvnThumb* self, int64_t subscription_id); /* slot 108 */ }; struct IAvnThumb { const IAvnThumbVtbl* vtbl; }; -#define I_AVN_THUMB_VTABLE_SLOTS 103 +#define I_AVN_THUMB_VTABLE_SLOTS 109 static const AvnGuid I_AVN_TIME_PICKER_IID = { - 0x512BDA86, - 0x7718, - 0x5F1E, - { 0xB2, 0xDE, 0x8B, 0xCC, 0x75, 0x34, 0xAA, 0x46 } + 0x9F3B7D7A, + 0xE290, + 0x5ADC, + { 0x99, 0x7C, 0x21, 0x3A, 0x25, 0xF2, 0x0D, 0x3B } }; -#define I_AVN_TIME_PICKER_ABI_VERSION 11 +#define I_AVN_TIME_PICKER_ABI_VERSION 12 struct IAvnTimePickerVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnTimePicker* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnTimePicker* self); /* slot 1 */ @@ -12843,66 +13431,72 @@ struct IAvnTimePickerVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnTimePicker* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnTimePicker* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnTimePicker* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnTimePicker* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnTimePicker* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnTimePicker* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTimePicker* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTimePicker* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTimePicker* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnTimePicker* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnTimePicker* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnTimePicker* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnTimePicker* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnTimePicker* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnTimePicker* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnTimePicker* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnTimePicker* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnTimePicker* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnTimePicker* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnTimePicker* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnTimePicker* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnTimePicker* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnTimePicker* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnTimePicker* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnTimePicker* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnTimePicker* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnTimePicker* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnTimePicker* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnTimePicker* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnTimePicker* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnTimePicker* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnTimePicker* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnTimePicker* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTimePicker* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTimePicker* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnTimePicker* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnTimePicker* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnTimePicker* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnTimePicker* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_minute_increment)(IAvnTimePicker* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_minute_increment)(IAvnTimePicker* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_second_increment)(IAvnTimePicker* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_second_increment)(IAvnTimePicker* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_clock_identifier)(IAvnTimePicker* self, uint16_t** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_clock_identifier)(IAvnTimePicker* self, const uint16_t* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_use_seconds)(IAvnTimePicker* self, int32_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_use_seconds)(IAvnTimePicker* self, int32_t value); /* slot 106 */ - AvnHResult (AVN_CALL *get_selected_time)(IAvnTimePicker* self, uint16_t** value); /* slot 107 */ - AvnHResult (AVN_CALL *set_selected_time)(IAvnTimePicker* self, const uint16_t* value); /* slot 108 */ - AvnHResult (AVN_CALL *clear)(IAvnTimePicker* self); /* slot 109 */ - AvnHResult (AVN_CALL *advise_selected_time_changed)(IAvnTimePicker* self, IAvnTimePickerSelectedTimeChangedHandler* handler, int64_t* subscription_id); /* slot 110 */ - AvnHResult (AVN_CALL *unadvise_selected_time_changed)(IAvnTimePicker* self, int64_t subscription_id); /* slot 111 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnTimePicker* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnTimePicker* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnTimePicker* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnTimePicker* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnTimePicker* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnTimePicker* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnTimePicker* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnTimePicker* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnTimePicker* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTimePicker* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTimePicker* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTimePicker* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnTimePicker* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnTimePicker* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnTimePicker* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnTimePicker* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnTimePicker* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnTimePicker* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnTimePicker* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnTimePicker* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnTimePicker* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnTimePicker* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnTimePicker* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnTimePicker* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnTimePicker* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnTimePicker* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnTimePicker* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnTimePicker* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnTimePicker* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnTimePicker* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnTimePicker* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnTimePicker* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnTimePicker* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnTimePicker* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnTimePicker* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnTimePicker* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTimePicker* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTimePicker* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnTimePicker* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnTimePicker* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnTimePicker* self, int32_t* value); /* slot 103 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnTimePicker* self, int32_t value); /* slot 104 */ + AvnHResult (AVN_CALL *get_minute_increment)(IAvnTimePicker* self, int32_t* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_minute_increment)(IAvnTimePicker* self, int32_t value); /* slot 106 */ + AvnHResult (AVN_CALL *get_second_increment)(IAvnTimePicker* self, int32_t* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_second_increment)(IAvnTimePicker* self, int32_t value); /* slot 108 */ + AvnHResult (AVN_CALL *get_clock_identifier)(IAvnTimePicker* self, uint16_t** value); /* slot 109 */ + AvnHResult (AVN_CALL *set_clock_identifier)(IAvnTimePicker* self, const uint16_t* value); /* slot 110 */ + AvnHResult (AVN_CALL *get_use_seconds)(IAvnTimePicker* self, int32_t* value); /* slot 111 */ + AvnHResult (AVN_CALL *set_use_seconds)(IAvnTimePicker* self, int32_t value); /* slot 112 */ + AvnHResult (AVN_CALL *get_selected_time)(IAvnTimePicker* self, uint16_t** value); /* slot 113 */ + AvnHResult (AVN_CALL *set_selected_time)(IAvnTimePicker* self, const uint16_t* value); /* slot 114 */ + AvnHResult (AVN_CALL *clear)(IAvnTimePicker* self); /* slot 115 */ + AvnHResult (AVN_CALL *advise_selected_time_changed)(IAvnTimePicker* self, IAvnTimePickerSelectedTimeChangedHandler* handler, int64_t* subscription_id); /* slot 116 */ + AvnHResult (AVN_CALL *unadvise_selected_time_changed)(IAvnTimePicker* self, int64_t subscription_id); /* slot 117 */ }; struct IAvnTimePicker { const IAvnTimePickerVtbl* vtbl; }; -#define I_AVN_TIME_PICKER_VTABLE_SLOTS 112 +#define I_AVN_TIME_PICKER_VTABLE_SLOTS 118 static const AvnGuid I_AVN_TOGGLE_BUTTON_IID = { - 0x978AD791, - 0x8ABE, - 0x5494, - { 0xB9, 0xAB, 0xB2, 0x99, 0x37, 0x06, 0x28, 0x70 } + 0xF9840045, + 0x23B2, + 0x5318, + { 0xA7, 0xDA, 0xEB, 0x7F, 0x32, 0x87, 0xFB, 0xD8 } }; -#define I_AVN_TOGGLE_BUTTON_ABI_VERSION 16 +#define I_AVN_TOGGLE_BUTTON_ABI_VERSION 17 struct IAvnToggleButtonVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnToggleButton* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnToggleButton* self); /* slot 1 */ @@ -12967,82 +13561,88 @@ struct IAvnToggleButtonVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnToggleButton* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnToggleButton* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnToggleButton* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnToggleButton* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnToggleButton* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnToggleButton* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnToggleButton* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnToggleButton* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnToggleButton* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnToggleButton* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnToggleButton* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnToggleButton* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnToggleButton* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnToggleButton* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnToggleButton* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnToggleButton* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnToggleButton* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnToggleButton* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnToggleButton* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnToggleButton* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnToggleButton* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnToggleButton* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnToggleButton* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnToggleButton* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnToggleButton* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnToggleButton* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnToggleButton* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnToggleButton* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnToggleButton* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnToggleButton* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnToggleButton* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnToggleButton* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnToggleButton* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnToggleButton* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnToggleButton* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnToggleButton* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnToggleButton* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_content)(IAvnToggleButton* self, IAvnControl** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_content)(IAvnToggleButton* self, IAvnControl* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnToggleButton* self, IAvnDataTemplate** value); /* slot 99 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnToggleButton* self, IAvnDataTemplate* value); /* slot 100 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnToggleButton* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnToggleButton* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnToggleButton* self, int32_t* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnToggleButton* self, int32_t value); /* slot 104 */ - AvnHResult (AVN_CALL *get_click_mode)(IAvnToggleButton* self, int32_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_click_mode)(IAvnToggleButton* self, int32_t value); /* slot 106 */ - AvnHResult (AVN_CALL *get_command)(IAvnToggleButton* self, IAvnCommand** value); /* slot 107 */ - AvnHResult (AVN_CALL *set_command)(IAvnToggleButton* self, IAvnCommand* value); /* slot 108 */ - AvnHResult (AVN_CALL *get_hot_key)(IAvnToggleButton* self, uint16_t** value); /* slot 109 */ - AvnHResult (AVN_CALL *set_hot_key)(IAvnToggleButton* self, const uint16_t* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_command_parameter)(IAvnToggleButton* self, AvnVariant* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_command_parameter)(IAvnToggleButton* self, AvnVariant value); /* slot 112 */ - AvnHResult (AVN_CALL *get_is_default)(IAvnToggleButton* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_is_default)(IAvnToggleButton* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_is_cancel)(IAvnToggleButton* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_is_cancel)(IAvnToggleButton* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_is_pressed)(IAvnToggleButton* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *get_flyout)(IAvnToggleButton* self, IAvnFlyoutBase** value); /* slot 118 */ - AvnHResult (AVN_CALL *set_flyout)(IAvnToggleButton* self, IAvnFlyoutBase* value); /* slot 119 */ - AvnHResult (AVN_CALL *advise_click)(IAvnToggleButton* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 120 */ - AvnHResult (AVN_CALL *unadvise_click)(IAvnToggleButton* self, int64_t subscription_id); /* slot 121 */ - AvnHResult (AVN_CALL *get_is_checked)(IAvnToggleButton* self, int32_t* value); /* slot 122 */ - AvnHResult (AVN_CALL *set_is_checked)(IAvnToggleButton* self, int32_t value); /* slot 123 */ - AvnHResult (AVN_CALL *get_is_three_state)(IAvnToggleButton* self, int32_t* value); /* slot 124 */ - AvnHResult (AVN_CALL *set_is_three_state)(IAvnToggleButton* self, int32_t value); /* slot 125 */ - AvnHResult (AVN_CALL *advise_is_checked_changed)(IAvnToggleButton* self, IAvnToggleButtonIsCheckedChangedHandler* handler, int64_t* subscription_id); /* slot 126 */ - AvnHResult (AVN_CALL *unadvise_is_checked_changed)(IAvnToggleButton* self, int64_t subscription_id); /* slot 127 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnToggleButton* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnToggleButton* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnToggleButton* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnToggleButton* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnToggleButton* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnToggleButton* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnToggleButton* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnToggleButton* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnToggleButton* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnToggleButton* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnToggleButton* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnToggleButton* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnToggleButton* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnToggleButton* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnToggleButton* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnToggleButton* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnToggleButton* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnToggleButton* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnToggleButton* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnToggleButton* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnToggleButton* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnToggleButton* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnToggleButton* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnToggleButton* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnToggleButton* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnToggleButton* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnToggleButton* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnToggleButton* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnToggleButton* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnToggleButton* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnToggleButton* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnToggleButton* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnToggleButton* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnToggleButton* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnToggleButton* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnToggleButton* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnToggleButton* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnToggleButton* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnToggleButton* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnToggleButton* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_content)(IAvnToggleButton* self, IAvnControl** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_content)(IAvnToggleButton* self, IAvnControl* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnToggleButton* self, IAvnDataTemplate** value); /* slot 105 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnToggleButton* self, IAvnDataTemplate* value); /* slot 106 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnToggleButton* self, int32_t* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnToggleButton* self, int32_t value); /* slot 108 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnToggleButton* self, int32_t* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnToggleButton* self, int32_t value); /* slot 110 */ + AvnHResult (AVN_CALL *get_click_mode)(IAvnToggleButton* self, int32_t* value); /* slot 111 */ + AvnHResult (AVN_CALL *set_click_mode)(IAvnToggleButton* self, int32_t value); /* slot 112 */ + AvnHResult (AVN_CALL *get_command)(IAvnToggleButton* self, IAvnCommand** value); /* slot 113 */ + AvnHResult (AVN_CALL *set_command)(IAvnToggleButton* self, IAvnCommand* value); /* slot 114 */ + AvnHResult (AVN_CALL *get_hot_key)(IAvnToggleButton* self, uint16_t** value); /* slot 115 */ + AvnHResult (AVN_CALL *set_hot_key)(IAvnToggleButton* self, const uint16_t* value); /* slot 116 */ + AvnHResult (AVN_CALL *get_command_parameter)(IAvnToggleButton* self, AvnVariant* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_command_parameter)(IAvnToggleButton* self, AvnVariant value); /* slot 118 */ + AvnHResult (AVN_CALL *get_is_default)(IAvnToggleButton* self, int32_t* value); /* slot 119 */ + AvnHResult (AVN_CALL *set_is_default)(IAvnToggleButton* self, int32_t value); /* slot 120 */ + AvnHResult (AVN_CALL *get_is_cancel)(IAvnToggleButton* self, int32_t* value); /* slot 121 */ + AvnHResult (AVN_CALL *set_is_cancel)(IAvnToggleButton* self, int32_t value); /* slot 122 */ + AvnHResult (AVN_CALL *get_is_pressed)(IAvnToggleButton* self, int32_t* value); /* slot 123 */ + AvnHResult (AVN_CALL *get_flyout)(IAvnToggleButton* self, IAvnFlyoutBase** value); /* slot 124 */ + AvnHResult (AVN_CALL *set_flyout)(IAvnToggleButton* self, IAvnFlyoutBase* value); /* slot 125 */ + AvnHResult (AVN_CALL *advise_click)(IAvnToggleButton* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 126 */ + AvnHResult (AVN_CALL *unadvise_click)(IAvnToggleButton* self, int64_t subscription_id); /* slot 127 */ + AvnHResult (AVN_CALL *get_is_checked)(IAvnToggleButton* self, int32_t* value); /* slot 128 */ + AvnHResult (AVN_CALL *set_is_checked)(IAvnToggleButton* self, int32_t value); /* slot 129 */ + AvnHResult (AVN_CALL *get_is_three_state)(IAvnToggleButton* self, int32_t* value); /* slot 130 */ + AvnHResult (AVN_CALL *set_is_three_state)(IAvnToggleButton* self, int32_t value); /* slot 131 */ + AvnHResult (AVN_CALL *advise_is_checked_changed)(IAvnToggleButton* self, IAvnToggleButtonIsCheckedChangedHandler* handler, int64_t* subscription_id); /* slot 132 */ + AvnHResult (AVN_CALL *unadvise_is_checked_changed)(IAvnToggleButton* self, int64_t subscription_id); /* slot 133 */ }; struct IAvnToggleButton { const IAvnToggleButtonVtbl* vtbl; }; -#define I_AVN_TOGGLE_BUTTON_VTABLE_SLOTS 128 +#define I_AVN_TOGGLE_BUTTON_VTABLE_SLOTS 134 static const AvnGuid I_AVN_TOGGLE_SPLIT_BUTTON_IID = { - 0xDD4F3760, - 0xD88D, - 0x5551, - { 0xBD, 0x80, 0xCA, 0x87, 0x21, 0xDE, 0xA1, 0xE9 } + 0x4FD7A582, + 0x1766, + 0x5CC7, + { 0xB1, 0x73, 0x72, 0xF4, 0x7F, 0xDF, 0x6B, 0xFF } }; -#define I_AVN_TOGGLE_SPLIT_BUTTON_ABI_VERSION 12 +#define I_AVN_TOGGLE_SPLIT_BUTTON_ABI_VERSION 13 struct IAvnToggleSplitButtonVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnToggleSplitButton* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnToggleSplitButton* self); /* slot 1 */ @@ -13107,73 +13707,79 @@ struct IAvnToggleSplitButtonVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnToggleSplitButton* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnToggleSplitButton* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnToggleSplitButton* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnToggleSplitButton* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnToggleSplitButton* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnToggleSplitButton* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnToggleSplitButton* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnToggleSplitButton* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnToggleSplitButton* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnToggleSplitButton* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnToggleSplitButton* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnToggleSplitButton* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnToggleSplitButton* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnToggleSplitButton* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnToggleSplitButton* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnToggleSplitButton* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnToggleSplitButton* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnToggleSplitButton* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnToggleSplitButton* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnToggleSplitButton* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnToggleSplitButton* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnToggleSplitButton* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnToggleSplitButton* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnToggleSplitButton* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnToggleSplitButton* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnToggleSplitButton* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnToggleSplitButton* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnToggleSplitButton* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnToggleSplitButton* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnToggleSplitButton* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnToggleSplitButton* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnToggleSplitButton* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnToggleSplitButton* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnToggleSplitButton* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnToggleSplitButton* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnToggleSplitButton* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnToggleSplitButton* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_content)(IAvnToggleSplitButton* self, IAvnControl** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_content)(IAvnToggleSplitButton* self, IAvnControl* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnToggleSplitButton* self, IAvnDataTemplate** value); /* slot 99 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnToggleSplitButton* self, IAvnDataTemplate* value); /* slot 100 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnToggleSplitButton* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnToggleSplitButton* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnToggleSplitButton* self, int32_t* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnToggleSplitButton* self, int32_t value); /* slot 104 */ - AvnHResult (AVN_CALL *get_command)(IAvnToggleSplitButton* self, IAvnCommand** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_command)(IAvnToggleSplitButton* self, IAvnCommand* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_command_parameter)(IAvnToggleSplitButton* self, AvnVariant* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_command_parameter)(IAvnToggleSplitButton* self, AvnVariant value); /* slot 108 */ - AvnHResult (AVN_CALL *get_flyout)(IAvnToggleSplitButton* self, IAvnFlyoutBase** value); /* slot 109 */ - AvnHResult (AVN_CALL *set_flyout)(IAvnToggleSplitButton* self, IAvnFlyoutBase* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_hot_key)(IAvnToggleSplitButton* self, uint16_t** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_hot_key)(IAvnToggleSplitButton* self, const uint16_t* value); /* slot 112 */ - AvnHResult (AVN_CALL *advise_click)(IAvnToggleSplitButton* self, IAvnSplitButtonClickHandler* handler, int64_t* subscription_id); /* slot 113 */ - AvnHResult (AVN_CALL *unadvise_click)(IAvnToggleSplitButton* self, int64_t subscription_id); /* slot 114 */ - AvnHResult (AVN_CALL *get_is_checked)(IAvnToggleSplitButton* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_is_checked)(IAvnToggleSplitButton* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *advise_is_checked_changed)(IAvnToggleSplitButton* self, IAvnToggleSplitButtonIsCheckedChangedHandler* handler, int64_t* subscription_id); /* slot 117 */ - AvnHResult (AVN_CALL *unadvise_is_checked_changed)(IAvnToggleSplitButton* self, int64_t subscription_id); /* slot 118 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnToggleSplitButton* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnToggleSplitButton* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnToggleSplitButton* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnToggleSplitButton* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnToggleSplitButton* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnToggleSplitButton* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnToggleSplitButton* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnToggleSplitButton* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnToggleSplitButton* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnToggleSplitButton* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnToggleSplitButton* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnToggleSplitButton* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnToggleSplitButton* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnToggleSplitButton* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnToggleSplitButton* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnToggleSplitButton* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnToggleSplitButton* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnToggleSplitButton* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnToggleSplitButton* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnToggleSplitButton* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnToggleSplitButton* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnToggleSplitButton* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnToggleSplitButton* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnToggleSplitButton* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnToggleSplitButton* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnToggleSplitButton* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnToggleSplitButton* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnToggleSplitButton* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnToggleSplitButton* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnToggleSplitButton* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnToggleSplitButton* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnToggleSplitButton* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnToggleSplitButton* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnToggleSplitButton* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnToggleSplitButton* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnToggleSplitButton* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnToggleSplitButton* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnToggleSplitButton* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnToggleSplitButton* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnToggleSplitButton* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_content)(IAvnToggleSplitButton* self, IAvnControl** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_content)(IAvnToggleSplitButton* self, IAvnControl* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnToggleSplitButton* self, IAvnDataTemplate** value); /* slot 105 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnToggleSplitButton* self, IAvnDataTemplate* value); /* slot 106 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnToggleSplitButton* self, int32_t* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnToggleSplitButton* self, int32_t value); /* slot 108 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnToggleSplitButton* self, int32_t* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnToggleSplitButton* self, int32_t value); /* slot 110 */ + AvnHResult (AVN_CALL *get_command)(IAvnToggleSplitButton* self, IAvnCommand** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_command)(IAvnToggleSplitButton* self, IAvnCommand* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_command_parameter)(IAvnToggleSplitButton* self, AvnVariant* value); /* slot 113 */ + AvnHResult (AVN_CALL *set_command_parameter)(IAvnToggleSplitButton* self, AvnVariant value); /* slot 114 */ + AvnHResult (AVN_CALL *get_flyout)(IAvnToggleSplitButton* self, IAvnFlyoutBase** value); /* slot 115 */ + AvnHResult (AVN_CALL *set_flyout)(IAvnToggleSplitButton* self, IAvnFlyoutBase* value); /* slot 116 */ + AvnHResult (AVN_CALL *get_hot_key)(IAvnToggleSplitButton* self, uint16_t** value); /* slot 117 */ + AvnHResult (AVN_CALL *set_hot_key)(IAvnToggleSplitButton* self, const uint16_t* value); /* slot 118 */ + AvnHResult (AVN_CALL *advise_click)(IAvnToggleSplitButton* self, IAvnSplitButtonClickHandler* handler, int64_t* subscription_id); /* slot 119 */ + AvnHResult (AVN_CALL *unadvise_click)(IAvnToggleSplitButton* self, int64_t subscription_id); /* slot 120 */ + AvnHResult (AVN_CALL *get_is_checked)(IAvnToggleSplitButton* self, int32_t* value); /* slot 121 */ + AvnHResult (AVN_CALL *set_is_checked)(IAvnToggleSplitButton* self, int32_t value); /* slot 122 */ + AvnHResult (AVN_CALL *advise_is_checked_changed)(IAvnToggleSplitButton* self, IAvnToggleSplitButtonIsCheckedChangedHandler* handler, int64_t* subscription_id); /* slot 123 */ + AvnHResult (AVN_CALL *unadvise_is_checked_changed)(IAvnToggleSplitButton* self, int64_t subscription_id); /* slot 124 */ }; struct IAvnToggleSplitButton { const IAvnToggleSplitButtonVtbl* vtbl; }; -#define I_AVN_TOGGLE_SPLIT_BUTTON_VTABLE_SLOTS 119 +#define I_AVN_TOGGLE_SPLIT_BUTTON_VTABLE_SLOTS 125 static const AvnGuid I_AVN_TOGGLE_SWITCH_IID = { - 0xD36D16B3, - 0x4A9B, - 0x5BD6, - { 0x92, 0x58, 0x71, 0x25, 0xED, 0x95, 0xB4, 0x33 } + 0x96F69492, + 0x4FBE, + 0x565F, + { 0x85, 0x72, 0xD7, 0xAE, 0xA4, 0x09, 0x97, 0xE9 } }; -#define I_AVN_TOGGLE_SWITCH_ABI_VERSION 16 +#define I_AVN_TOGGLE_SWITCH_ABI_VERSION 17 struct IAvnToggleSwitchVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnToggleSwitch* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnToggleSwitch* self); /* slot 1 */ @@ -13238,90 +13844,96 @@ struct IAvnToggleSwitchVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnToggleSwitch* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnToggleSwitch* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnToggleSwitch* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnToggleSwitch* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnToggleSwitch* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnToggleSwitch* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnToggleSwitch* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnToggleSwitch* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnToggleSwitch* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnToggleSwitch* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnToggleSwitch* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnToggleSwitch* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnToggleSwitch* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnToggleSwitch* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnToggleSwitch* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnToggleSwitch* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnToggleSwitch* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnToggleSwitch* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnToggleSwitch* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnToggleSwitch* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnToggleSwitch* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnToggleSwitch* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnToggleSwitch* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnToggleSwitch* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnToggleSwitch* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnToggleSwitch* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnToggleSwitch* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnToggleSwitch* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnToggleSwitch* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnToggleSwitch* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnToggleSwitch* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnToggleSwitch* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnToggleSwitch* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnToggleSwitch* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnToggleSwitch* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnToggleSwitch* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnToggleSwitch* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_content)(IAvnToggleSwitch* self, IAvnControl** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_content)(IAvnToggleSwitch* self, IAvnControl* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnToggleSwitch* self, IAvnDataTemplate** value); /* slot 99 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnToggleSwitch* self, IAvnDataTemplate* value); /* slot 100 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnToggleSwitch* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnToggleSwitch* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnToggleSwitch* self, int32_t* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnToggleSwitch* self, int32_t value); /* slot 104 */ - AvnHResult (AVN_CALL *get_click_mode)(IAvnToggleSwitch* self, int32_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_click_mode)(IAvnToggleSwitch* self, int32_t value); /* slot 106 */ - AvnHResult (AVN_CALL *get_command)(IAvnToggleSwitch* self, IAvnCommand** value); /* slot 107 */ - AvnHResult (AVN_CALL *set_command)(IAvnToggleSwitch* self, IAvnCommand* value); /* slot 108 */ - AvnHResult (AVN_CALL *get_hot_key)(IAvnToggleSwitch* self, uint16_t** value); /* slot 109 */ - AvnHResult (AVN_CALL *set_hot_key)(IAvnToggleSwitch* self, const uint16_t* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_command_parameter)(IAvnToggleSwitch* self, AvnVariant* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_command_parameter)(IAvnToggleSwitch* self, AvnVariant value); /* slot 112 */ - AvnHResult (AVN_CALL *get_is_default)(IAvnToggleSwitch* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_is_default)(IAvnToggleSwitch* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_is_cancel)(IAvnToggleSwitch* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_is_cancel)(IAvnToggleSwitch* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_is_pressed)(IAvnToggleSwitch* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *get_flyout)(IAvnToggleSwitch* self, IAvnFlyoutBase** value); /* slot 118 */ - AvnHResult (AVN_CALL *set_flyout)(IAvnToggleSwitch* self, IAvnFlyoutBase* value); /* slot 119 */ - AvnHResult (AVN_CALL *advise_click)(IAvnToggleSwitch* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 120 */ - AvnHResult (AVN_CALL *unadvise_click)(IAvnToggleSwitch* self, int64_t subscription_id); /* slot 121 */ - AvnHResult (AVN_CALL *get_is_checked)(IAvnToggleSwitch* self, int32_t* value); /* slot 122 */ - AvnHResult (AVN_CALL *set_is_checked)(IAvnToggleSwitch* self, int32_t value); /* slot 123 */ - AvnHResult (AVN_CALL *get_is_three_state)(IAvnToggleSwitch* self, int32_t* value); /* slot 124 */ - AvnHResult (AVN_CALL *set_is_three_state)(IAvnToggleSwitch* self, int32_t value); /* slot 125 */ - AvnHResult (AVN_CALL *advise_is_checked_changed)(IAvnToggleSwitch* self, IAvnToggleButtonIsCheckedChangedHandler* handler, int64_t* subscription_id); /* slot 126 */ - AvnHResult (AVN_CALL *unadvise_is_checked_changed)(IAvnToggleSwitch* self, int64_t subscription_id); /* slot 127 */ - AvnHResult (AVN_CALL *get_on_content)(IAvnToggleSwitch* self, IAvnControl** value); /* slot 128 */ - AvnHResult (AVN_CALL *set_on_content)(IAvnToggleSwitch* self, IAvnControl* value); /* slot 129 */ - AvnHResult (AVN_CALL *get_off_content)(IAvnToggleSwitch* self, IAvnControl** value); /* slot 130 */ - AvnHResult (AVN_CALL *set_off_content)(IAvnToggleSwitch* self, IAvnControl* value); /* slot 131 */ - AvnHResult (AVN_CALL *get_off_content_template)(IAvnToggleSwitch* self, IAvnDataTemplate** value); /* slot 132 */ - AvnHResult (AVN_CALL *set_off_content_template)(IAvnToggleSwitch* self, IAvnDataTemplate* value); /* slot 133 */ - AvnHResult (AVN_CALL *get_on_content_template)(IAvnToggleSwitch* self, IAvnDataTemplate** value); /* slot 134 */ - AvnHResult (AVN_CALL *set_on_content_template)(IAvnToggleSwitch* self, IAvnDataTemplate* value); /* slot 135 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnToggleSwitch* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnToggleSwitch* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnToggleSwitch* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnToggleSwitch* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnToggleSwitch* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnToggleSwitch* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnToggleSwitch* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnToggleSwitch* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnToggleSwitch* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnToggleSwitch* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnToggleSwitch* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnToggleSwitch* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnToggleSwitch* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnToggleSwitch* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnToggleSwitch* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnToggleSwitch* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnToggleSwitch* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnToggleSwitch* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnToggleSwitch* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnToggleSwitch* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnToggleSwitch* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnToggleSwitch* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnToggleSwitch* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnToggleSwitch* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnToggleSwitch* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnToggleSwitch* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnToggleSwitch* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnToggleSwitch* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnToggleSwitch* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnToggleSwitch* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnToggleSwitch* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnToggleSwitch* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnToggleSwitch* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnToggleSwitch* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnToggleSwitch* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnToggleSwitch* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnToggleSwitch* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnToggleSwitch* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnToggleSwitch* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnToggleSwitch* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_content)(IAvnToggleSwitch* self, IAvnControl** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_content)(IAvnToggleSwitch* self, IAvnControl* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnToggleSwitch* self, IAvnDataTemplate** value); /* slot 105 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnToggleSwitch* self, IAvnDataTemplate* value); /* slot 106 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnToggleSwitch* self, int32_t* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnToggleSwitch* self, int32_t value); /* slot 108 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnToggleSwitch* self, int32_t* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnToggleSwitch* self, int32_t value); /* slot 110 */ + AvnHResult (AVN_CALL *get_click_mode)(IAvnToggleSwitch* self, int32_t* value); /* slot 111 */ + AvnHResult (AVN_CALL *set_click_mode)(IAvnToggleSwitch* self, int32_t value); /* slot 112 */ + AvnHResult (AVN_CALL *get_command)(IAvnToggleSwitch* self, IAvnCommand** value); /* slot 113 */ + AvnHResult (AVN_CALL *set_command)(IAvnToggleSwitch* self, IAvnCommand* value); /* slot 114 */ + AvnHResult (AVN_CALL *get_hot_key)(IAvnToggleSwitch* self, uint16_t** value); /* slot 115 */ + AvnHResult (AVN_CALL *set_hot_key)(IAvnToggleSwitch* self, const uint16_t* value); /* slot 116 */ + AvnHResult (AVN_CALL *get_command_parameter)(IAvnToggleSwitch* self, AvnVariant* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_command_parameter)(IAvnToggleSwitch* self, AvnVariant value); /* slot 118 */ + AvnHResult (AVN_CALL *get_is_default)(IAvnToggleSwitch* self, int32_t* value); /* slot 119 */ + AvnHResult (AVN_CALL *set_is_default)(IAvnToggleSwitch* self, int32_t value); /* slot 120 */ + AvnHResult (AVN_CALL *get_is_cancel)(IAvnToggleSwitch* self, int32_t* value); /* slot 121 */ + AvnHResult (AVN_CALL *set_is_cancel)(IAvnToggleSwitch* self, int32_t value); /* slot 122 */ + AvnHResult (AVN_CALL *get_is_pressed)(IAvnToggleSwitch* self, int32_t* value); /* slot 123 */ + AvnHResult (AVN_CALL *get_flyout)(IAvnToggleSwitch* self, IAvnFlyoutBase** value); /* slot 124 */ + AvnHResult (AVN_CALL *set_flyout)(IAvnToggleSwitch* self, IAvnFlyoutBase* value); /* slot 125 */ + AvnHResult (AVN_CALL *advise_click)(IAvnToggleSwitch* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 126 */ + AvnHResult (AVN_CALL *unadvise_click)(IAvnToggleSwitch* self, int64_t subscription_id); /* slot 127 */ + AvnHResult (AVN_CALL *get_is_checked)(IAvnToggleSwitch* self, int32_t* value); /* slot 128 */ + AvnHResult (AVN_CALL *set_is_checked)(IAvnToggleSwitch* self, int32_t value); /* slot 129 */ + AvnHResult (AVN_CALL *get_is_three_state)(IAvnToggleSwitch* self, int32_t* value); /* slot 130 */ + AvnHResult (AVN_CALL *set_is_three_state)(IAvnToggleSwitch* self, int32_t value); /* slot 131 */ + AvnHResult (AVN_CALL *advise_is_checked_changed)(IAvnToggleSwitch* self, IAvnToggleButtonIsCheckedChangedHandler* handler, int64_t* subscription_id); /* slot 132 */ + AvnHResult (AVN_CALL *unadvise_is_checked_changed)(IAvnToggleSwitch* self, int64_t subscription_id); /* slot 133 */ + AvnHResult (AVN_CALL *get_on_content)(IAvnToggleSwitch* self, IAvnControl** value); /* slot 134 */ + AvnHResult (AVN_CALL *set_on_content)(IAvnToggleSwitch* self, IAvnControl* value); /* slot 135 */ + AvnHResult (AVN_CALL *get_off_content)(IAvnToggleSwitch* self, IAvnControl** value); /* slot 136 */ + AvnHResult (AVN_CALL *set_off_content)(IAvnToggleSwitch* self, IAvnControl* value); /* slot 137 */ + AvnHResult (AVN_CALL *get_off_content_template)(IAvnToggleSwitch* self, IAvnDataTemplate** value); /* slot 138 */ + AvnHResult (AVN_CALL *set_off_content_template)(IAvnToggleSwitch* self, IAvnDataTemplate* value); /* slot 139 */ + AvnHResult (AVN_CALL *get_on_content_template)(IAvnToggleSwitch* self, IAvnDataTemplate** value); /* slot 140 */ + AvnHResult (AVN_CALL *set_on_content_template)(IAvnToggleSwitch* self, IAvnDataTemplate* value); /* slot 141 */ }; struct IAvnToggleSwitch { const IAvnToggleSwitchVtbl* vtbl; }; -#define I_AVN_TOGGLE_SWITCH_VTABLE_SLOTS 136 +#define I_AVN_TOGGLE_SWITCH_VTABLE_SLOTS 142 static const AvnGuid I_AVN_TOOL_TIP_IID = { - 0x25BC085F, - 0x0BDB, - 0x59F4, - { 0xB6, 0x89, 0xA1, 0xF0, 0xA8, 0x48, 0x9B, 0x19 } + 0x8158AEAF, + 0xB85C, + 0x59C4, + { 0xBF, 0xCE, 0x98, 0xDF, 0x20, 0xF4, 0xC2, 0xC9 } }; -#define I_AVN_TOOL_TIP_ABI_VERSION 9 +#define I_AVN_TOOL_TIP_ABI_VERSION 10 struct IAvnToolTipVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnToolTip* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnToolTip* self); /* slot 1 */ @@ -13386,59 +13998,65 @@ struct IAvnToolTipVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnToolTip* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnToolTip* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnToolTip* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnToolTip* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnToolTip* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnToolTip* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnToolTip* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnToolTip* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnToolTip* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnToolTip* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnToolTip* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnToolTip* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnToolTip* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnToolTip* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnToolTip* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnToolTip* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnToolTip* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnToolTip* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnToolTip* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnToolTip* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnToolTip* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnToolTip* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnToolTip* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnToolTip* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnToolTip* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnToolTip* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnToolTip* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnToolTip* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnToolTip* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnToolTip* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnToolTip* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnToolTip* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnToolTip* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnToolTip* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnToolTip* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnToolTip* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnToolTip* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_content)(IAvnToolTip* self, IAvnControl** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_content)(IAvnToolTip* self, IAvnControl* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnToolTip* self, IAvnDataTemplate** value); /* slot 99 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnToolTip* self, IAvnDataTemplate* value); /* slot 100 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnToolTip* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnToolTip* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnToolTip* self, int32_t* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnToolTip* self, int32_t value); /* slot 104 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnToolTip* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnToolTip* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnToolTip* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnToolTip* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnToolTip* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnToolTip* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnToolTip* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnToolTip* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnToolTip* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnToolTip* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnToolTip* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnToolTip* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnToolTip* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnToolTip* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnToolTip* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnToolTip* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnToolTip* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnToolTip* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnToolTip* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnToolTip* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnToolTip* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnToolTip* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnToolTip* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnToolTip* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnToolTip* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnToolTip* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnToolTip* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnToolTip* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnToolTip* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnToolTip* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnToolTip* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnToolTip* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnToolTip* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnToolTip* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnToolTip* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnToolTip* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnToolTip* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnToolTip* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnToolTip* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnToolTip* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_content)(IAvnToolTip* self, IAvnControl** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_content)(IAvnToolTip* self, IAvnControl* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnToolTip* self, IAvnDataTemplate** value); /* slot 105 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnToolTip* self, IAvnDataTemplate* value); /* slot 106 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnToolTip* self, int32_t* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnToolTip* self, int32_t value); /* slot 108 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnToolTip* self, int32_t* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnToolTip* self, int32_t value); /* slot 110 */ }; struct IAvnToolTip { const IAvnToolTipVtbl* vtbl; }; -#define I_AVN_TOOL_TIP_VTABLE_SLOTS 105 +#define I_AVN_TOOL_TIP_VTABLE_SLOTS 111 static const AvnGuid I_AVN_TRANSITIONING_CONTENT_CONTROL_IID = { - 0x6A3336CC, - 0xB09A, - 0x5484, - { 0xBB, 0x6B, 0x3E, 0x74, 0xC7, 0x62, 0xE5, 0x77 } + 0x643AACDC, + 0xAB53, + 0x56DF, + { 0xA1, 0x97, 0x28, 0x04, 0x2B, 0xF4, 0xD6, 0x9F } }; -#define I_AVN_TRANSITIONING_CONTENT_CONTROL_ABI_VERSION 10 +#define I_AVN_TRANSITIONING_CONTENT_CONTROL_ABI_VERSION 11 struct IAvnTransitioningContentControlVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnTransitioningContentControl* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnTransitioningContentControl* self); /* slot 1 */ @@ -13503,55 +14121,61 @@ struct IAvnTransitioningContentControlVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnTransitioningContentControl* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnTransitioningContentControl* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnTransitioningContentControl* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnTransitioningContentControl* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnTransitioningContentControl* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnTransitioningContentControl* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTransitioningContentControl* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTransitioningContentControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTransitioningContentControl* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnTransitioningContentControl* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnTransitioningContentControl* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnTransitioningContentControl* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnTransitioningContentControl* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnTransitioningContentControl* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnTransitioningContentControl* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnTransitioningContentControl* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnTransitioningContentControl* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnTransitioningContentControl* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnTransitioningContentControl* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnTransitioningContentControl* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnTransitioningContentControl* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnTransitioningContentControl* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnTransitioningContentControl* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnTransitioningContentControl* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnTransitioningContentControl* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnTransitioningContentControl* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnTransitioningContentControl* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnTransitioningContentControl* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnTransitioningContentControl* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnTransitioningContentControl* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnTransitioningContentControl* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnTransitioningContentControl* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnTransitioningContentControl* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTransitioningContentControl* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTransitioningContentControl* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnTransitioningContentControl* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnTransitioningContentControl* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_content)(IAvnTransitioningContentControl* self, IAvnControl** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_content)(IAvnTransitioningContentControl* self, IAvnControl* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnTransitioningContentControl* self, IAvnDataTemplate** value); /* slot 99 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnTransitioningContentControl* self, IAvnDataTemplate* value); /* slot 100 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnTransitioningContentControl* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnTransitioningContentControl* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnTransitioningContentControl* self, int32_t* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnTransitioningContentControl* self, int32_t value); /* slot 104 */ - AvnHResult (AVN_CALL *get_is_transition_reversed)(IAvnTransitioningContentControl* self, int32_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_is_transition_reversed)(IAvnTransitioningContentControl* self, int32_t value); /* slot 106 */ - AvnHResult (AVN_CALL *advise_transition_completed)(IAvnTransitioningContentControl* self, IAvnTransitioningContentControlTransitionCompletedHandler* handler, int64_t* subscription_id); /* slot 107 */ - AvnHResult (AVN_CALL *unadvise_transition_completed)(IAvnTransitioningContentControl* self, int64_t subscription_id); /* slot 108 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnTransitioningContentControl* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnTransitioningContentControl* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnTransitioningContentControl* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnTransitioningContentControl* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnTransitioningContentControl* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnTransitioningContentControl* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnTransitioningContentControl* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnTransitioningContentControl* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnTransitioningContentControl* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTransitioningContentControl* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTransitioningContentControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTransitioningContentControl* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnTransitioningContentControl* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnTransitioningContentControl* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnTransitioningContentControl* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnTransitioningContentControl* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnTransitioningContentControl* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnTransitioningContentControl* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnTransitioningContentControl* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnTransitioningContentControl* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnTransitioningContentControl* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnTransitioningContentControl* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnTransitioningContentControl* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnTransitioningContentControl* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnTransitioningContentControl* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnTransitioningContentControl* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnTransitioningContentControl* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnTransitioningContentControl* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnTransitioningContentControl* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnTransitioningContentControl* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnTransitioningContentControl* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnTransitioningContentControl* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnTransitioningContentControl* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnTransitioningContentControl* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnTransitioningContentControl* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnTransitioningContentControl* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTransitioningContentControl* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTransitioningContentControl* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnTransitioningContentControl* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnTransitioningContentControl* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_content)(IAvnTransitioningContentControl* self, IAvnControl** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_content)(IAvnTransitioningContentControl* self, IAvnControl* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnTransitioningContentControl* self, IAvnDataTemplate** value); /* slot 105 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnTransitioningContentControl* self, IAvnDataTemplate* value); /* slot 106 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnTransitioningContentControl* self, int32_t* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnTransitioningContentControl* self, int32_t value); /* slot 108 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnTransitioningContentControl* self, int32_t* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnTransitioningContentControl* self, int32_t value); /* slot 110 */ + AvnHResult (AVN_CALL *get_is_transition_reversed)(IAvnTransitioningContentControl* self, int32_t* value); /* slot 111 */ + AvnHResult (AVN_CALL *set_is_transition_reversed)(IAvnTransitioningContentControl* self, int32_t value); /* slot 112 */ + AvnHResult (AVN_CALL *advise_transition_completed)(IAvnTransitioningContentControl* self, IAvnTransitioningContentControlTransitionCompletedHandler* handler, int64_t* subscription_id); /* slot 113 */ + AvnHResult (AVN_CALL *unadvise_transition_completed)(IAvnTransitioningContentControl* self, int64_t subscription_id); /* slot 114 */ }; struct IAvnTransitioningContentControl { const IAvnTransitioningContentControlVtbl* vtbl; }; -#define I_AVN_TRANSITIONING_CONTENT_CONTROL_VTABLE_SLOTS 109 +#define I_AVN_TRANSITIONING_CONTENT_CONTROL_VTABLE_SLOTS 115 static const AvnGuid I_AVN_TRAY_ICON_IID = { 0xC05739ED, @@ -13583,12 +14207,12 @@ struct IAvnTrayIcon { const IAvnTrayIconVtbl* vtbl; }; #define I_AVN_TRAY_ICON_VTABLE_SLOTS 17 static const AvnGuid I_AVN_TREE_VIEW_IID = { - 0xAD4500EF, - 0xD3C0, - 0x5798, - { 0xBF, 0x90, 0x5E, 0x75, 0x15, 0xE8, 0x5B, 0xEE } + 0xE8A54D8B, + 0x7903, + 0x57AE, + { 0x9B, 0xF8, 0xF5, 0xA8, 0x05, 0x50, 0x28, 0xFC } }; -#define I_AVN_TREE_VIEW_ABI_VERSION 12 +#define I_AVN_TREE_VIEW_ABI_VERSION 13 struct IAvnTreeViewVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnTreeView* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnTreeView* self); /* slot 1 */ @@ -13653,79 +14277,85 @@ struct IAvnTreeViewVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnTreeView* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnTreeView* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnTreeView* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnTreeView* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnTreeView* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnTreeView* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTreeView* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTreeView* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTreeView* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnTreeView* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnTreeView* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnTreeView* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnTreeView* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnTreeView* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnTreeView* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnTreeView* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnTreeView* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnTreeView* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnTreeView* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnTreeView* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnTreeView* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnTreeView* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnTreeView* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnTreeView* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnTreeView* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnTreeView* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnTreeView* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnTreeView* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnTreeView* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnTreeView* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnTreeView* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnTreeView* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnTreeView* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTreeView* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTreeView* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnTreeView* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnTreeView* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_items)(IAvnTreeView* self, IAvnItemList** value); /* slot 97 */ - AvnHResult (AVN_CALL *get_item_count)(IAvnTreeView* self, int32_t* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_items_source)(IAvnTreeView* self, IAvnVariantList** value); /* slot 99 */ - AvnHResult (AVN_CALL *set_items_source)(IAvnTreeView* self, IAvnVariantList* value); /* slot 100 */ - AvnHResult (AVN_CALL *get_item_template)(IAvnTreeView* self, IAvnDataTemplate** value); /* slot 101 */ - AvnHResult (AVN_CALL *set_item_template)(IAvnTreeView* self, IAvnDataTemplate* value); /* slot 102 */ - AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnTreeView* self, int32_t index, IAvnControl** value); /* slot 103 */ - AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnTreeView* self, AvnVariant item, IAvnControl** value); /* slot 104 */ - AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnTreeView* self, IAvnControl* container, int32_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnTreeView* self, IAvnControl* container, AvnVariant* value); /* slot 106 */ - AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnTreeView* self, int32_t index); /* slot 107 */ - AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnTreeView* self, AvnVariant item); /* slot 108 */ - AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnTreeView* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnTreeView* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_selection_mode)(IAvnTreeView* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_selection_mode)(IAvnTreeView* self, int32_t value); /* slot 112 */ - AvnHResult (AVN_CALL *get_selected_item)(IAvnTreeView* self, AvnVariant* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_selected_item)(IAvnTreeView* self, AvnVariant value); /* slot 114 */ - AvnHResult (AVN_CALL *get_selected_items)(IAvnTreeView* self, IAvnSelectedVariantList** value); /* slot 115 */ - AvnHResult (AVN_CALL *set_selected_items)(IAvnTreeView* self, IAvnSelectedVariantList* value); /* slot 116 */ - AvnHResult (AVN_CALL *expand_sub_tree_with_tree_view_item)(IAvnTreeView* self, IAvnTreeViewItem* item); /* slot 117 */ - AvnHResult (AVN_CALL *collapse_sub_tree_with_tree_view_item)(IAvnTreeView* self, IAvnTreeViewItem* item); /* slot 118 */ - AvnHResult (AVN_CALL *select_all)(IAvnTreeView* self); /* slot 119 */ - AvnHResult (AVN_CALL *unselect_all)(IAvnTreeView* self); /* slot 120 */ - AvnHResult (AVN_CALL *tree_container_from_item_with_object)(IAvnTreeView* self, AvnVariant item, IAvnControl** value); /* slot 121 */ - AvnHResult (AVN_CALL *tree_item_from_container_with_control)(IAvnTreeView* self, IAvnControl* container, AvnVariant* value); /* slot 122 */ - AvnHResult (AVN_CALL *advise_selection_changed)(IAvnTreeView* self, IAvnTreeViewSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 123 */ - AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnTreeView* self, int64_t subscription_id); /* slot 124 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnTreeView* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnTreeView* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnTreeView* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnTreeView* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnTreeView* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnTreeView* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnTreeView* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnTreeView* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnTreeView* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTreeView* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTreeView* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTreeView* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnTreeView* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnTreeView* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnTreeView* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnTreeView* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnTreeView* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnTreeView* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnTreeView* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnTreeView* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnTreeView* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnTreeView* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnTreeView* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnTreeView* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnTreeView* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnTreeView* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnTreeView* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnTreeView* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnTreeView* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnTreeView* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnTreeView* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnTreeView* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnTreeView* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnTreeView* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnTreeView* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnTreeView* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTreeView* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTreeView* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnTreeView* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnTreeView* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_items)(IAvnTreeView* self, IAvnItemList** value); /* slot 103 */ + AvnHResult (AVN_CALL *get_item_count)(IAvnTreeView* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_items_source)(IAvnTreeView* self, IAvnVariantList** value); /* slot 105 */ + AvnHResult (AVN_CALL *set_items_source)(IAvnTreeView* self, IAvnVariantList* value); /* slot 106 */ + AvnHResult (AVN_CALL *get_item_template)(IAvnTreeView* self, IAvnDataTemplate** value); /* slot 107 */ + AvnHResult (AVN_CALL *set_item_template)(IAvnTreeView* self, IAvnDataTemplate* value); /* slot 108 */ + AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnTreeView* self, int32_t index, IAvnControl** value); /* slot 109 */ + AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnTreeView* self, AvnVariant item, IAvnControl** value); /* slot 110 */ + AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnTreeView* self, IAvnControl* container, int32_t* value); /* slot 111 */ + AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnTreeView* self, IAvnControl* container, AvnVariant* value); /* slot 112 */ + AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnTreeView* self, int32_t index); /* slot 113 */ + AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnTreeView* self, AvnVariant item); /* slot 114 */ + AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnTreeView* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnTreeView* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_selection_mode)(IAvnTreeView* self, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_selection_mode)(IAvnTreeView* self, int32_t value); /* slot 118 */ + AvnHResult (AVN_CALL *get_selected_item)(IAvnTreeView* self, AvnVariant* value); /* slot 119 */ + AvnHResult (AVN_CALL *set_selected_item)(IAvnTreeView* self, AvnVariant value); /* slot 120 */ + AvnHResult (AVN_CALL *get_selected_items)(IAvnTreeView* self, IAvnSelectedVariantList** value); /* slot 121 */ + AvnHResult (AVN_CALL *set_selected_items)(IAvnTreeView* self, IAvnSelectedVariantList* value); /* slot 122 */ + AvnHResult (AVN_CALL *expand_sub_tree_with_tree_view_item)(IAvnTreeView* self, IAvnTreeViewItem* item); /* slot 123 */ + AvnHResult (AVN_CALL *collapse_sub_tree_with_tree_view_item)(IAvnTreeView* self, IAvnTreeViewItem* item); /* slot 124 */ + AvnHResult (AVN_CALL *select_all)(IAvnTreeView* self); /* slot 125 */ + AvnHResult (AVN_CALL *unselect_all)(IAvnTreeView* self); /* slot 126 */ + AvnHResult (AVN_CALL *tree_container_from_item_with_object)(IAvnTreeView* self, AvnVariant item, IAvnControl** value); /* slot 127 */ + AvnHResult (AVN_CALL *tree_item_from_container_with_control)(IAvnTreeView* self, IAvnControl* container, AvnVariant* value); /* slot 128 */ + AvnHResult (AVN_CALL *advise_selection_changed)(IAvnTreeView* self, IAvnTreeViewSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 129 */ + AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnTreeView* self, int64_t subscription_id); /* slot 130 */ }; struct IAvnTreeView { const IAvnTreeViewVtbl* vtbl; }; -#define I_AVN_TREE_VIEW_VTABLE_SLOTS 125 +#define I_AVN_TREE_VIEW_VTABLE_SLOTS 131 static const AvnGuid I_AVN_TREE_VIEW_ITEM_IID = { - 0xB4B4B178, - 0xBF7A, - 0x52CD, - { 0x8B, 0x27, 0xEF, 0xED, 0xBE, 0xA8, 0xC6, 0x0E } + 0xCDD644B1, + 0x7E5B, + 0x5C32, + { 0x92, 0x71, 0x5A, 0x69, 0xCE, 0xE6, 0x50, 0x05 } }; -#define I_AVN_TREE_VIEW_ITEM_ABI_VERSION 12 +#define I_AVN_TREE_VIEW_ITEM_ABI_VERSION 13 struct IAvnTreeViewItemVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnTreeViewItem* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnTreeViewItem* self); /* slot 1 */ @@ -13790,76 +14420,82 @@ struct IAvnTreeViewItemVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnTreeViewItem* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnTreeViewItem* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnTreeViewItem* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnTreeViewItem* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnTreeViewItem* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnTreeViewItem* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTreeViewItem* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTreeViewItem* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTreeViewItem* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnTreeViewItem* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnTreeViewItem* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnTreeViewItem* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnTreeViewItem* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnTreeViewItem* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnTreeViewItem* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnTreeViewItem* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnTreeViewItem* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnTreeViewItem* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnTreeViewItem* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnTreeViewItem* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnTreeViewItem* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnTreeViewItem* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnTreeViewItem* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnTreeViewItem* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnTreeViewItem* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnTreeViewItem* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnTreeViewItem* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnTreeViewItem* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnTreeViewItem* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnTreeViewItem* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnTreeViewItem* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnTreeViewItem* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnTreeViewItem* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTreeViewItem* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTreeViewItem* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnTreeViewItem* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnTreeViewItem* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_items)(IAvnTreeViewItem* self, IAvnItemList** value); /* slot 97 */ - AvnHResult (AVN_CALL *get_item_count)(IAvnTreeViewItem* self, int32_t* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_items_source)(IAvnTreeViewItem* self, IAvnVariantList** value); /* slot 99 */ - AvnHResult (AVN_CALL *set_items_source)(IAvnTreeViewItem* self, IAvnVariantList* value); /* slot 100 */ - AvnHResult (AVN_CALL *get_item_template)(IAvnTreeViewItem* self, IAvnDataTemplate** value); /* slot 101 */ - AvnHResult (AVN_CALL *set_item_template)(IAvnTreeViewItem* self, IAvnDataTemplate* value); /* slot 102 */ - AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnTreeViewItem* self, int32_t index, IAvnControl** value); /* slot 103 */ - AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnTreeViewItem* self, AvnVariant item, IAvnControl** value); /* slot 104 */ - AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnTreeViewItem* self, IAvnControl* container, int32_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnTreeViewItem* self, IAvnControl* container, AvnVariant* value); /* slot 106 */ - AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnTreeViewItem* self, int32_t index); /* slot 107 */ - AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnTreeViewItem* self, AvnVariant item); /* slot 108 */ - AvnHResult (AVN_CALL *get_header)(IAvnTreeViewItem* self, IAvnControl** value); /* slot 109 */ - AvnHResult (AVN_CALL *set_header)(IAvnTreeViewItem* self, IAvnControl* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_header_template)(IAvnTreeViewItem* self, IAvnDataTemplate** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_header_template)(IAvnTreeViewItem* self, IAvnDataTemplate* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_is_expanded)(IAvnTreeViewItem* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_is_expanded)(IAvnTreeViewItem* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_is_selected)(IAvnTreeViewItem* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_is_selected)(IAvnTreeViewItem* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_level)(IAvnTreeViewItem* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *advise_expanded)(IAvnTreeViewItem* self, IAvnTreeViewItemExpandedHandler* handler, int64_t* subscription_id); /* slot 118 */ - AvnHResult (AVN_CALL *unadvise_expanded)(IAvnTreeViewItem* self, int64_t subscription_id); /* slot 119 */ - AvnHResult (AVN_CALL *advise_collapsed)(IAvnTreeViewItem* self, IAvnTreeViewItemCollapsedHandler* handler, int64_t* subscription_id); /* slot 120 */ - AvnHResult (AVN_CALL *unadvise_collapsed)(IAvnTreeViewItem* self, int64_t subscription_id); /* slot 121 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnTreeViewItem* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnTreeViewItem* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnTreeViewItem* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnTreeViewItem* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnTreeViewItem* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnTreeViewItem* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnTreeViewItem* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnTreeViewItem* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnTreeViewItem* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTreeViewItem* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTreeViewItem* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTreeViewItem* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnTreeViewItem* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnTreeViewItem* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnTreeViewItem* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnTreeViewItem* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnTreeViewItem* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnTreeViewItem* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnTreeViewItem* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnTreeViewItem* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnTreeViewItem* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnTreeViewItem* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnTreeViewItem* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnTreeViewItem* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnTreeViewItem* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnTreeViewItem* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnTreeViewItem* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnTreeViewItem* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnTreeViewItem* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnTreeViewItem* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnTreeViewItem* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnTreeViewItem* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnTreeViewItem* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnTreeViewItem* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnTreeViewItem* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnTreeViewItem* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTreeViewItem* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTreeViewItem* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnTreeViewItem* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnTreeViewItem* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_items)(IAvnTreeViewItem* self, IAvnItemList** value); /* slot 103 */ + AvnHResult (AVN_CALL *get_item_count)(IAvnTreeViewItem* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_items_source)(IAvnTreeViewItem* self, IAvnVariantList** value); /* slot 105 */ + AvnHResult (AVN_CALL *set_items_source)(IAvnTreeViewItem* self, IAvnVariantList* value); /* slot 106 */ + AvnHResult (AVN_CALL *get_item_template)(IAvnTreeViewItem* self, IAvnDataTemplate** value); /* slot 107 */ + AvnHResult (AVN_CALL *set_item_template)(IAvnTreeViewItem* self, IAvnDataTemplate* value); /* slot 108 */ + AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnTreeViewItem* self, int32_t index, IAvnControl** value); /* slot 109 */ + AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnTreeViewItem* self, AvnVariant item, IAvnControl** value); /* slot 110 */ + AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnTreeViewItem* self, IAvnControl* container, int32_t* value); /* slot 111 */ + AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnTreeViewItem* self, IAvnControl* container, AvnVariant* value); /* slot 112 */ + AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnTreeViewItem* self, int32_t index); /* slot 113 */ + AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnTreeViewItem* self, AvnVariant item); /* slot 114 */ + AvnHResult (AVN_CALL *get_header)(IAvnTreeViewItem* self, IAvnControl** value); /* slot 115 */ + AvnHResult (AVN_CALL *set_header)(IAvnTreeViewItem* self, IAvnControl* value); /* slot 116 */ + AvnHResult (AVN_CALL *get_header_template)(IAvnTreeViewItem* self, IAvnDataTemplate** value); /* slot 117 */ + AvnHResult (AVN_CALL *set_header_template)(IAvnTreeViewItem* self, IAvnDataTemplate* value); /* slot 118 */ + AvnHResult (AVN_CALL *get_is_expanded)(IAvnTreeViewItem* self, int32_t* value); /* slot 119 */ + AvnHResult (AVN_CALL *set_is_expanded)(IAvnTreeViewItem* self, int32_t value); /* slot 120 */ + AvnHResult (AVN_CALL *get_is_selected)(IAvnTreeViewItem* self, int32_t* value); /* slot 121 */ + AvnHResult (AVN_CALL *set_is_selected)(IAvnTreeViewItem* self, int32_t value); /* slot 122 */ + AvnHResult (AVN_CALL *get_level)(IAvnTreeViewItem* self, int32_t* value); /* slot 123 */ + AvnHResult (AVN_CALL *advise_expanded)(IAvnTreeViewItem* self, IAvnTreeViewItemExpandedHandler* handler, int64_t* subscription_id); /* slot 124 */ + AvnHResult (AVN_CALL *unadvise_expanded)(IAvnTreeViewItem* self, int64_t subscription_id); /* slot 125 */ + AvnHResult (AVN_CALL *advise_collapsed)(IAvnTreeViewItem* self, IAvnTreeViewItemCollapsedHandler* handler, int64_t* subscription_id); /* slot 126 */ + AvnHResult (AVN_CALL *unadvise_collapsed)(IAvnTreeViewItem* self, int64_t subscription_id); /* slot 127 */ }; struct IAvnTreeViewItem { const IAvnTreeViewItemVtbl* vtbl; }; -#define I_AVN_TREE_VIEW_ITEM_VTABLE_SLOTS 122 +#define I_AVN_TREE_VIEW_ITEM_VTABLE_SLOTS 128 static const AvnGuid I_AVN_UNIFORM_GRID_IID = { - 0xB6DABE9A, - 0x7AED, - 0x5BCF, - { 0xB8, 0x89, 0xA7, 0x15, 0xEC, 0x08, 0xD5, 0xE4 } + 0x600B20CC, + 0x7AA7, + 0x5EC9, + { 0xB7, 0x73, 0xA8, 0x93, 0xB4, 0x37, 0x6F, 0x95 } }; -#define I_AVN_UNIFORM_GRID_ABI_VERSION 8 +#define I_AVN_UNIFORM_GRID_ABI_VERSION 9 struct IAvnUniformGridVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnUniformGrid* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnUniformGrid* self); /* slot 1 */ @@ -13924,36 +14560,42 @@ struct IAvnUniformGridVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnUniformGrid* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnUniformGrid* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnUniformGrid* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnUniformGrid* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnUniformGrid* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnUniformGrid* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnUniformGrid* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnUniformGrid* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnUniformGrid* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_children)(IAvnUniformGrid* self, IAvnControlList** value); /* slot 69 */ - AvnHResult (AVN_CALL *get_background)(IAvnUniformGrid* self, IAvnBrush** value); /* slot 70 */ - AvnHResult (AVN_CALL *set_background)(IAvnUniformGrid* self, IAvnBrush* value); /* slot 71 */ - AvnHResult (AVN_CALL *get_rows)(IAvnUniformGrid* self, int32_t* value); /* slot 72 */ - AvnHResult (AVN_CALL *set_rows)(IAvnUniformGrid* self, int32_t value); /* slot 73 */ - AvnHResult (AVN_CALL *get_columns)(IAvnUniformGrid* self, int32_t* value); /* slot 74 */ - AvnHResult (AVN_CALL *set_columns)(IAvnUniformGrid* self, int32_t value); /* slot 75 */ - AvnHResult (AVN_CALL *get_first_column)(IAvnUniformGrid* self, int32_t* value); /* slot 76 */ - AvnHResult (AVN_CALL *set_first_column)(IAvnUniformGrid* self, int32_t value); /* slot 77 */ - AvnHResult (AVN_CALL *get_row_spacing)(IAvnUniformGrid* self, double* value); /* slot 78 */ - AvnHResult (AVN_CALL *set_row_spacing)(IAvnUniformGrid* self, double value); /* slot 79 */ - AvnHResult (AVN_CALL *get_column_spacing)(IAvnUniformGrid* self, double* value); /* slot 80 */ - AvnHResult (AVN_CALL *set_column_spacing)(IAvnUniformGrid* self, double value); /* slot 81 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnUniformGrid* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnUniformGrid* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnUniformGrid* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnUniformGrid* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnUniformGrid* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnUniformGrid* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnUniformGrid* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnUniformGrid* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnUniformGrid* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnUniformGrid* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnUniformGrid* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnUniformGrid* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_children)(IAvnUniformGrid* self, IAvnControlList** value); /* slot 75 */ + AvnHResult (AVN_CALL *get_background)(IAvnUniformGrid* self, IAvnBrush** value); /* slot 76 */ + AvnHResult (AVN_CALL *set_background)(IAvnUniformGrid* self, IAvnBrush* value); /* slot 77 */ + AvnHResult (AVN_CALL *get_rows)(IAvnUniformGrid* self, int32_t* value); /* slot 78 */ + AvnHResult (AVN_CALL *set_rows)(IAvnUniformGrid* self, int32_t value); /* slot 79 */ + AvnHResult (AVN_CALL *get_columns)(IAvnUniformGrid* self, int32_t* value); /* slot 80 */ + AvnHResult (AVN_CALL *set_columns)(IAvnUniformGrid* self, int32_t value); /* slot 81 */ + AvnHResult (AVN_CALL *get_first_column)(IAvnUniformGrid* self, int32_t* value); /* slot 82 */ + AvnHResult (AVN_CALL *set_first_column)(IAvnUniformGrid* self, int32_t value); /* slot 83 */ + AvnHResult (AVN_CALL *get_row_spacing)(IAvnUniformGrid* self, double* value); /* slot 84 */ + AvnHResult (AVN_CALL *set_row_spacing)(IAvnUniformGrid* self, double value); /* slot 85 */ + AvnHResult (AVN_CALL *get_column_spacing)(IAvnUniformGrid* self, double* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_column_spacing)(IAvnUniformGrid* self, double value); /* slot 87 */ }; struct IAvnUniformGrid { const IAvnUniformGridVtbl* vtbl; }; -#define I_AVN_UNIFORM_GRID_VTABLE_SLOTS 82 +#define I_AVN_UNIFORM_GRID_VTABLE_SLOTS 88 static const AvnGuid I_AVN_USER_CONTROL_IID = { - 0x61A53A49, - 0xAD6E, - 0x58C8, - { 0x88, 0xDF, 0xDC, 0x3B, 0x76, 0x9C, 0xF0, 0x13 } + 0xE3ABA05B, + 0xDFF9, + 0x53C3, + { 0x88, 0x85, 0xCE, 0x2D, 0x78, 0xFE, 0xFF, 0xFC } }; -#define I_AVN_USER_CONTROL_ABI_VERSION 9 +#define I_AVN_USER_CONTROL_ABI_VERSION 10 struct IAvnUserControlVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnUserControl* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnUserControl* self); /* slot 1 */ @@ -14018,59 +14660,65 @@ struct IAvnUserControlVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnUserControl* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnUserControl* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnUserControl* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnUserControl* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnUserControl* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnUserControl* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnUserControl* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnUserControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnUserControl* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnUserControl* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnUserControl* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnUserControl* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnUserControl* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnUserControl* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnUserControl* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnUserControl* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnUserControl* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnUserControl* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnUserControl* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnUserControl* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnUserControl* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnUserControl* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnUserControl* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnUserControl* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnUserControl* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnUserControl* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnUserControl* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnUserControl* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnUserControl* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnUserControl* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnUserControl* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnUserControl* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnUserControl* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnUserControl* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnUserControl* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnUserControl* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnUserControl* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_content)(IAvnUserControl* self, IAvnControl** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_content)(IAvnUserControl* self, IAvnControl* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnUserControl* self, IAvnDataTemplate** value); /* slot 99 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnUserControl* self, IAvnDataTemplate* value); /* slot 100 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnUserControl* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnUserControl* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnUserControl* self, int32_t* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnUserControl* self, int32_t value); /* slot 104 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnUserControl* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnUserControl* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnUserControl* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnUserControl* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnUserControl* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnUserControl* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnUserControl* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnUserControl* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnUserControl* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnUserControl* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnUserControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnUserControl* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnUserControl* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnUserControl* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnUserControl* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnUserControl* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnUserControl* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnUserControl* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnUserControl* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnUserControl* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnUserControl* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnUserControl* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnUserControl* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnUserControl* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnUserControl* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnUserControl* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnUserControl* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnUserControl* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnUserControl* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnUserControl* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnUserControl* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnUserControl* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnUserControl* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnUserControl* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnUserControl* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnUserControl* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnUserControl* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnUserControl* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnUserControl* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnUserControl* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_content)(IAvnUserControl* self, IAvnControl** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_content)(IAvnUserControl* self, IAvnControl* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnUserControl* self, IAvnDataTemplate** value); /* slot 105 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnUserControl* self, IAvnDataTemplate* value); /* slot 106 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnUserControl* self, int32_t* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnUserControl* self, int32_t value); /* slot 108 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnUserControl* self, int32_t* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnUserControl* self, int32_t value); /* slot 110 */ }; struct IAvnUserControl { const IAvnUserControlVtbl* vtbl; }; -#define I_AVN_USER_CONTROL_VTABLE_SLOTS 105 +#define I_AVN_USER_CONTROL_VTABLE_SLOTS 111 static const AvnGuid I_AVN_VIEWBOX_IID = { - 0x4F61E1E8, - 0xF773, - 0x5195, - { 0xB8, 0xBF, 0x89, 0xEF, 0x6E, 0x8F, 0x6C, 0x44 } + 0x3140444B, + 0x2172, + 0x5105, + { 0xB7, 0xAD, 0xD8, 0x10, 0xD5, 0x79, 0x4C, 0x13 } }; -#define I_AVN_VIEWBOX_ABI_VERSION 8 +#define I_AVN_VIEWBOX_ABI_VERSION 9 struct IAvnViewboxVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnViewbox* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnViewbox* self); /* slot 1 */ @@ -14135,29 +14783,35 @@ struct IAvnViewboxVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnViewbox* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnViewbox* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnViewbox* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnViewbox* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnViewbox* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnViewbox* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnViewbox* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnViewbox* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnViewbox* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_stretch)(IAvnViewbox* self, int32_t* value); /* slot 69 */ - AvnHResult (AVN_CALL *set_stretch)(IAvnViewbox* self, int32_t value); /* slot 70 */ - AvnHResult (AVN_CALL *get_stretch_direction)(IAvnViewbox* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_stretch_direction)(IAvnViewbox* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_child)(IAvnViewbox* self, IAvnControl** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_child)(IAvnViewbox* self, IAvnControl* value); /* slot 74 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnViewbox* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnViewbox* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnViewbox* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnViewbox* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnViewbox* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnViewbox* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnViewbox* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnViewbox* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnViewbox* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnViewbox* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnViewbox* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnViewbox* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_stretch)(IAvnViewbox* self, int32_t* value); /* slot 75 */ + AvnHResult (AVN_CALL *set_stretch)(IAvnViewbox* self, int32_t value); /* slot 76 */ + AvnHResult (AVN_CALL *get_stretch_direction)(IAvnViewbox* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_stretch_direction)(IAvnViewbox* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_child)(IAvnViewbox* self, IAvnControl** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_child)(IAvnViewbox* self, IAvnControl* value); /* slot 80 */ }; struct IAvnViewbox { const IAvnViewboxVtbl* vtbl; }; -#define I_AVN_VIEWBOX_VTABLE_SLOTS 75 +#define I_AVN_VIEWBOX_VTABLE_SLOTS 81 static const AvnGuid I_AVN_WINDOW_IID = { - 0xBEAAC3C0, - 0x855F, - 0x5FC1, - { 0x97, 0x50, 0x80, 0xC5, 0x38, 0xF7, 0xEE, 0x87 } + 0x29E3362E, + 0xB16E, + 0x5163, + { 0xAE, 0xD3, 0xCF, 0x14, 0xD6, 0xB1, 0x27, 0x84 } }; -#define I_AVN_WINDOW_ABI_VERSION 18 +#define I_AVN_WINDOW_ABI_VERSION 19 struct IAvnWindowVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnWindow* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnWindow* self); /* slot 1 */ @@ -14222,100 +14876,106 @@ struct IAvnWindowVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnWindow* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnWindow* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnWindow* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnWindow* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnWindow* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnWindow* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnWindow* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnWindow* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnWindow* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnWindow* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnWindow* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnWindow* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnWindow* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnWindow* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnWindow* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnWindow* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnWindow* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnWindow* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnWindow* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnWindow* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnWindow* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnWindow* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnWindow* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnWindow* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnWindow* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnWindow* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnWindow* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnWindow* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnWindow* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnWindow* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnWindow* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnWindow* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnWindow* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnWindow* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnWindow* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnWindow* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnWindow* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_content)(IAvnWindow* self, IAvnControl** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_content)(IAvnWindow* self, IAvnControl* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnWindow* self, IAvnDataTemplate** value); /* slot 99 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnWindow* self, IAvnDataTemplate* value); /* slot 100 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnWindow* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnWindow* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnWindow* self, int32_t* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnWindow* self, int32_t value); /* slot 104 */ - AvnHResult (AVN_CALL *get_size_to_content)(IAvnWindow* self, int32_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_size_to_content)(IAvnWindow* self, int32_t value); /* slot 106 */ - AvnHResult (AVN_CALL *get_title)(IAvnWindow* self, uint16_t** value); /* slot 107 */ - AvnHResult (AVN_CALL *set_title)(IAvnWindow* self, const uint16_t* value); /* slot 108 */ - AvnHResult (AVN_CALL *get_extend_client_area_to_decorations_hint)(IAvnWindow* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_extend_client_area_to_decorations_hint)(IAvnWindow* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_extend_client_area_title_bar_height_hint)(IAvnWindow* self, double* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_extend_client_area_title_bar_height_hint)(IAvnWindow* self, double value); /* slot 112 */ - AvnHResult (AVN_CALL *get_is_extended_into_window_decorations)(IAvnWindow* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *get_window_decoration_margin)(IAvnWindow* self, AvnThickness* value); /* slot 114 */ - AvnHResult (AVN_CALL *get_off_screen_margin)(IAvnWindow* self, AvnThickness* value); /* slot 115 */ - AvnHResult (AVN_CALL *get_window_decorations)(IAvnWindow* self, int32_t* value); /* slot 116 */ - AvnHResult (AVN_CALL *set_window_decorations)(IAvnWindow* self, int32_t value); /* slot 117 */ - AvnHResult (AVN_CALL *get_show_activated)(IAvnWindow* self, int32_t* value); /* slot 118 */ - AvnHResult (AVN_CALL *set_show_activated)(IAvnWindow* self, int32_t value); /* slot 119 */ - AvnHResult (AVN_CALL *get_show_in_taskbar)(IAvnWindow* self, int32_t* value); /* slot 120 */ - AvnHResult (AVN_CALL *set_show_in_taskbar)(IAvnWindow* self, int32_t value); /* slot 121 */ - AvnHResult (AVN_CALL *get_closing_behavior)(IAvnWindow* self, int32_t* value); /* slot 122 */ - AvnHResult (AVN_CALL *set_closing_behavior)(IAvnWindow* self, int32_t value); /* slot 123 */ - AvnHResult (AVN_CALL *get_window_state)(IAvnWindow* self, int32_t* value); /* slot 124 */ - AvnHResult (AVN_CALL *set_window_state)(IAvnWindow* self, int32_t value); /* slot 125 */ - AvnHResult (AVN_CALL *get_can_resize)(IAvnWindow* self, int32_t* value); /* slot 126 */ - AvnHResult (AVN_CALL *set_can_resize)(IAvnWindow* self, int32_t value); /* slot 127 */ - AvnHResult (AVN_CALL *get_can_minimize)(IAvnWindow* self, int32_t* value); /* slot 128 */ - AvnHResult (AVN_CALL *set_can_minimize)(IAvnWindow* self, int32_t value); /* slot 129 */ - AvnHResult (AVN_CALL *get_can_maximize)(IAvnWindow* self, int32_t* value); /* slot 130 */ - AvnHResult (AVN_CALL *set_can_maximize)(IAvnWindow* self, int32_t value); /* slot 131 */ - AvnHResult (AVN_CALL *get_icon)(IAvnWindow* self, uint16_t** value); /* slot 132 */ - AvnHResult (AVN_CALL *set_icon)(IAvnWindow* self, const uint16_t* value); /* slot 133 */ - AvnHResult (AVN_CALL *get_window_startup_location)(IAvnWindow* self, int32_t* value); /* slot 134 */ - AvnHResult (AVN_CALL *set_window_startup_location)(IAvnWindow* self, int32_t value); /* slot 135 */ - AvnHResult (AVN_CALL *get_position)(IAvnWindow* self, AvnPixelPoint* value); /* slot 136 */ - AvnHResult (AVN_CALL *set_position)(IAvnWindow* self, AvnPixelPoint value); /* slot 137 */ - AvnHResult (AVN_CALL *get_is_dialog)(IAvnWindow* self, int32_t* value); /* slot 138 */ - AvnHResult (AVN_CALL *close)(IAvnWindow* self); /* slot 139 */ - AvnHResult (AVN_CALL *close_with_object)(IAvnWindow* self, AvnVariant dialog_result); /* slot 140 */ - AvnHResult (AVN_CALL *hide)(IAvnWindow* self); /* slot 141 */ - AvnHResult (AVN_CALL *show)(IAvnWindow* self); /* slot 142 */ - AvnHResult (AVN_CALL *show_with_window)(IAvnWindow* self, IAvnWindow* owner); /* slot 143 */ - AvnHResult (AVN_CALL *advise_closing)(IAvnWindow* self, IAvnWindowClosingHandler* handler, int64_t* subscription_id); /* slot 144 */ - AvnHResult (AVN_CALL *unadvise_closing)(IAvnWindow* self, int64_t subscription_id); /* slot 145 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnWindow* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnWindow* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnWindow* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnWindow* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnWindow* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnWindow* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnWindow* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnWindow* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnWindow* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnWindow* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnWindow* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnWindow* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnWindow* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnWindow* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnWindow* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnWindow* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnWindow* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnWindow* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnWindow* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnWindow* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnWindow* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnWindow* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnWindow* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnWindow* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnWindow* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnWindow* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnWindow* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnWindow* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnWindow* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnWindow* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnWindow* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnWindow* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnWindow* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnWindow* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnWindow* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnWindow* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnWindow* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnWindow* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnWindow* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnWindow* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_content)(IAvnWindow* self, IAvnControl** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_content)(IAvnWindow* self, IAvnControl* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnWindow* self, IAvnDataTemplate** value); /* slot 105 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnWindow* self, IAvnDataTemplate* value); /* slot 106 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnWindow* self, int32_t* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnWindow* self, int32_t value); /* slot 108 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnWindow* self, int32_t* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnWindow* self, int32_t value); /* slot 110 */ + AvnHResult (AVN_CALL *get_size_to_content)(IAvnWindow* self, int32_t* value); /* slot 111 */ + AvnHResult (AVN_CALL *set_size_to_content)(IAvnWindow* self, int32_t value); /* slot 112 */ + AvnHResult (AVN_CALL *get_title)(IAvnWindow* self, uint16_t** value); /* slot 113 */ + AvnHResult (AVN_CALL *set_title)(IAvnWindow* self, const uint16_t* value); /* slot 114 */ + AvnHResult (AVN_CALL *get_extend_client_area_to_decorations_hint)(IAvnWindow* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_extend_client_area_to_decorations_hint)(IAvnWindow* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_extend_client_area_title_bar_height_hint)(IAvnWindow* self, double* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_extend_client_area_title_bar_height_hint)(IAvnWindow* self, double value); /* slot 118 */ + AvnHResult (AVN_CALL *get_is_extended_into_window_decorations)(IAvnWindow* self, int32_t* value); /* slot 119 */ + AvnHResult (AVN_CALL *get_window_decoration_margin)(IAvnWindow* self, AvnThickness* value); /* slot 120 */ + AvnHResult (AVN_CALL *get_off_screen_margin)(IAvnWindow* self, AvnThickness* value); /* slot 121 */ + AvnHResult (AVN_CALL *get_window_decorations)(IAvnWindow* self, int32_t* value); /* slot 122 */ + AvnHResult (AVN_CALL *set_window_decorations)(IAvnWindow* self, int32_t value); /* slot 123 */ + AvnHResult (AVN_CALL *get_show_activated)(IAvnWindow* self, int32_t* value); /* slot 124 */ + AvnHResult (AVN_CALL *set_show_activated)(IAvnWindow* self, int32_t value); /* slot 125 */ + AvnHResult (AVN_CALL *get_show_in_taskbar)(IAvnWindow* self, int32_t* value); /* slot 126 */ + AvnHResult (AVN_CALL *set_show_in_taskbar)(IAvnWindow* self, int32_t value); /* slot 127 */ + AvnHResult (AVN_CALL *get_closing_behavior)(IAvnWindow* self, int32_t* value); /* slot 128 */ + AvnHResult (AVN_CALL *set_closing_behavior)(IAvnWindow* self, int32_t value); /* slot 129 */ + AvnHResult (AVN_CALL *get_window_state)(IAvnWindow* self, int32_t* value); /* slot 130 */ + AvnHResult (AVN_CALL *set_window_state)(IAvnWindow* self, int32_t value); /* slot 131 */ + AvnHResult (AVN_CALL *get_can_resize)(IAvnWindow* self, int32_t* value); /* slot 132 */ + AvnHResult (AVN_CALL *set_can_resize)(IAvnWindow* self, int32_t value); /* slot 133 */ + AvnHResult (AVN_CALL *get_can_minimize)(IAvnWindow* self, int32_t* value); /* slot 134 */ + AvnHResult (AVN_CALL *set_can_minimize)(IAvnWindow* self, int32_t value); /* slot 135 */ + AvnHResult (AVN_CALL *get_can_maximize)(IAvnWindow* self, int32_t* value); /* slot 136 */ + AvnHResult (AVN_CALL *set_can_maximize)(IAvnWindow* self, int32_t value); /* slot 137 */ + AvnHResult (AVN_CALL *get_icon)(IAvnWindow* self, uint16_t** value); /* slot 138 */ + AvnHResult (AVN_CALL *set_icon)(IAvnWindow* self, const uint16_t* value); /* slot 139 */ + AvnHResult (AVN_CALL *get_window_startup_location)(IAvnWindow* self, int32_t* value); /* slot 140 */ + AvnHResult (AVN_CALL *set_window_startup_location)(IAvnWindow* self, int32_t value); /* slot 141 */ + AvnHResult (AVN_CALL *get_position)(IAvnWindow* self, AvnPixelPoint* value); /* slot 142 */ + AvnHResult (AVN_CALL *set_position)(IAvnWindow* self, AvnPixelPoint value); /* slot 143 */ + AvnHResult (AVN_CALL *get_is_dialog)(IAvnWindow* self, int32_t* value); /* slot 144 */ + AvnHResult (AVN_CALL *close)(IAvnWindow* self); /* slot 145 */ + AvnHResult (AVN_CALL *close_with_object)(IAvnWindow* self, AvnVariant dialog_result); /* slot 146 */ + AvnHResult (AVN_CALL *hide)(IAvnWindow* self); /* slot 147 */ + AvnHResult (AVN_CALL *show)(IAvnWindow* self); /* slot 148 */ + AvnHResult (AVN_CALL *show_with_window)(IAvnWindow* self, IAvnWindow* owner); /* slot 149 */ + AvnHResult (AVN_CALL *advise_closing)(IAvnWindow* self, IAvnWindowClosingHandler* handler, int64_t* subscription_id); /* slot 150 */ + AvnHResult (AVN_CALL *unadvise_closing)(IAvnWindow* self, int64_t subscription_id); /* slot 151 */ }; struct IAvnWindow { const IAvnWindowVtbl* vtbl; }; -#define I_AVN_WINDOW_VTABLE_SLOTS 146 +#define I_AVN_WINDOW_VTABLE_SLOTS 152 static const AvnGuid I_AVN_WINDOW_NOTIFICATION_MANAGER_IID = { - 0xD4C37646, - 0xAAD1, - 0x5B56, - { 0xA2, 0x60, 0xD0, 0xAB, 0x8C, 0xFE, 0x09, 0x36 } + 0x7C085288, + 0x6201, + 0x58A3, + { 0xBD, 0x39, 0x14, 0xF2, 0x36, 0x96, 0x50, 0x4B } }; -#define I_AVN_WINDOW_NOTIFICATION_MANAGER_ABI_VERSION 10 +#define I_AVN_WINDOW_NOTIFICATION_MANAGER_ABI_VERSION 11 struct IAvnWindowNotificationManagerVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnWindowNotificationManager* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnWindowNotificationManager* self); /* slot 1 */ @@ -14380,60 +15040,66 @@ struct IAvnWindowNotificationManagerVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnWindowNotificationManager* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnWindowNotificationManager* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnWindowNotificationManager* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnWindowNotificationManager* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnWindowNotificationManager* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnWindowNotificationManager* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnWindowNotificationManager* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnWindowNotificationManager* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnWindowNotificationManager* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_background)(IAvnWindowNotificationManager* self, IAvnBrush** value); /* slot 69 */ - AvnHResult (AVN_CALL *set_background)(IAvnWindowNotificationManager* self, IAvnBrush* value); /* slot 70 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnWindowNotificationManager* self, int32_t* value); /* slot 71 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnWindowNotificationManager* self, int32_t value); /* slot 72 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnWindowNotificationManager* self, IAvnBrush** value); /* slot 73 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnWindowNotificationManager* self, IAvnBrush* value); /* slot 74 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnWindowNotificationManager* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnWindowNotificationManager* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnWindowNotificationManager* self, AvnCornerRadius* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnWindowNotificationManager* self, AvnCornerRadius value); /* slot 78 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnWindowNotificationManager* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnWindowNotificationManager* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnWindowNotificationManager* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnWindowNotificationManager* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnWindowNotificationManager* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnWindowNotificationManager* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnWindowNotificationManager* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnWindowNotificationManager* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnWindowNotificationManager* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnWindowNotificationManager* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnWindowNotificationManager* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnWindowNotificationManager* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnWindowNotificationManager* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnWindowNotificationManager* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnWindowNotificationManager* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnWindowNotificationManager* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_padding)(IAvnWindowNotificationManager* self, AvnThickness* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_padding)(IAvnWindowNotificationManager* self, AvnThickness value); /* slot 96 */ - AvnHResult (AVN_CALL *get_position)(IAvnWindowNotificationManager* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_position)(IAvnWindowNotificationManager* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_max_items)(IAvnWindowNotificationManager* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_max_items)(IAvnWindowNotificationManager* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *show_with_i_notification)(IAvnWindowNotificationManager* self, IAvnNotification* content); /* slot 101 */ - AvnHResult (AVN_CALL *show_with_object)(IAvnWindowNotificationManager* self, AvnVariant content); /* slot 102 */ - AvnHResult (AVN_CALL *close_with_i_notification)(IAvnWindowNotificationManager* self, IAvnNotification* notification); /* slot 103 */ - AvnHResult (AVN_CALL *close_with_object)(IAvnWindowNotificationManager* self, AvnVariant content); /* slot 104 */ - AvnHResult (AVN_CALL *close_all)(IAvnWindowNotificationManager* self); /* slot 105 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnWindowNotificationManager* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnWindowNotificationManager* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnWindowNotificationManager* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnWindowNotificationManager* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnWindowNotificationManager* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnWindowNotificationManager* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnWindowNotificationManager* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnWindowNotificationManager* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnWindowNotificationManager* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnWindowNotificationManager* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnWindowNotificationManager* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnWindowNotificationManager* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_background)(IAvnWindowNotificationManager* self, IAvnBrush** value); /* slot 75 */ + AvnHResult (AVN_CALL *set_background)(IAvnWindowNotificationManager* self, IAvnBrush* value); /* slot 76 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnWindowNotificationManager* self, int32_t* value); /* slot 77 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnWindowNotificationManager* self, int32_t value); /* slot 78 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnWindowNotificationManager* self, IAvnBrush** value); /* slot 79 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnWindowNotificationManager* self, IAvnBrush* value); /* slot 80 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnWindowNotificationManager* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnWindowNotificationManager* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnWindowNotificationManager* self, AvnCornerRadius* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnWindowNotificationManager* self, AvnCornerRadius value); /* slot 84 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnWindowNotificationManager* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnWindowNotificationManager* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnWindowNotificationManager* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnWindowNotificationManager* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnWindowNotificationManager* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnWindowNotificationManager* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnWindowNotificationManager* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnWindowNotificationManager* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnWindowNotificationManager* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnWindowNotificationManager* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnWindowNotificationManager* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnWindowNotificationManager* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnWindowNotificationManager* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnWindowNotificationManager* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnWindowNotificationManager* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnWindowNotificationManager* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_padding)(IAvnWindowNotificationManager* self, AvnThickness* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_padding)(IAvnWindowNotificationManager* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *get_position)(IAvnWindowNotificationManager* self, int32_t* value); /* slot 103 */ + AvnHResult (AVN_CALL *set_position)(IAvnWindowNotificationManager* self, int32_t value); /* slot 104 */ + AvnHResult (AVN_CALL *get_max_items)(IAvnWindowNotificationManager* self, int32_t* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_max_items)(IAvnWindowNotificationManager* self, int32_t value); /* slot 106 */ + AvnHResult (AVN_CALL *show_with_i_notification)(IAvnWindowNotificationManager* self, IAvnNotification* content); /* slot 107 */ + AvnHResult (AVN_CALL *show_with_object)(IAvnWindowNotificationManager* self, AvnVariant content); /* slot 108 */ + AvnHResult (AVN_CALL *close_with_i_notification)(IAvnWindowNotificationManager* self, IAvnNotification* notification); /* slot 109 */ + AvnHResult (AVN_CALL *close_with_object)(IAvnWindowNotificationManager* self, AvnVariant content); /* slot 110 */ + AvnHResult (AVN_CALL *close_all)(IAvnWindowNotificationManager* self); /* slot 111 */ }; struct IAvnWindowNotificationManager { const IAvnWindowNotificationManagerVtbl* vtbl; }; -#define I_AVN_WINDOW_NOTIFICATION_MANAGER_VTABLE_SLOTS 106 +#define I_AVN_WINDOW_NOTIFICATION_MANAGER_VTABLE_SLOTS 112 static const AvnGuid I_AVN_WRAP_PANEL_IID = { - 0x92500527, - 0x364F, - 0x542C, - { 0x8D, 0xF0, 0x37, 0xF0, 0x80, 0x36, 0xD8, 0x3F } + 0x802A39C5, + 0x57F6, + 0x5E1A, + { 0x9D, 0xA8, 0x02, 0x63, 0x45, 0x71, 0xCF, 0x6D } }; -#define I_AVN_WRAP_PANEL_ABI_VERSION 8 +#define I_AVN_WRAP_PANEL_ABI_VERSION 9 struct IAvnWrapPanelVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnWrapPanel* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnWrapPanel* self); /* slot 1 */ @@ -14498,30 +15164,36 @@ struct IAvnWrapPanelVtbl { AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnWrapPanel* self, int64_t subscription_id); /* slot 60 */ AvnHResult (AVN_CALL *advise_size_changed)(IAvnWrapPanel* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnWrapPanel* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnWrapPanel* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnWrapPanel* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnWrapPanel* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnWrapPanel* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnWrapPanel* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnWrapPanel* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *get_children)(IAvnWrapPanel* self, IAvnControlList** value); /* slot 69 */ - AvnHResult (AVN_CALL *get_background)(IAvnWrapPanel* self, IAvnBrush** value); /* slot 70 */ - AvnHResult (AVN_CALL *set_background)(IAvnWrapPanel* self, IAvnBrush* value); /* slot 71 */ - AvnHResult (AVN_CALL *get_item_spacing)(IAvnWrapPanel* self, double* value); /* slot 72 */ - AvnHResult (AVN_CALL *set_item_spacing)(IAvnWrapPanel* self, double value); /* slot 73 */ - AvnHResult (AVN_CALL *get_line_spacing)(IAvnWrapPanel* self, double* value); /* slot 74 */ - AvnHResult (AVN_CALL *set_line_spacing)(IAvnWrapPanel* self, double value); /* slot 75 */ - AvnHResult (AVN_CALL *get_orientation)(IAvnWrapPanel* self, int32_t* value); /* slot 76 */ - AvnHResult (AVN_CALL *set_orientation)(IAvnWrapPanel* self, int32_t value); /* slot 77 */ - AvnHResult (AVN_CALL *get_items_alignment)(IAvnWrapPanel* self, int32_t* value); /* slot 78 */ - AvnHResult (AVN_CALL *set_items_alignment)(IAvnWrapPanel* self, int32_t value); /* slot 79 */ - AvnHResult (AVN_CALL *get_item_width)(IAvnWrapPanel* self, double* value); /* slot 80 */ - AvnHResult (AVN_CALL *set_item_width)(IAvnWrapPanel* self, double value); /* slot 81 */ - AvnHResult (AVN_CALL *get_item_height)(IAvnWrapPanel* self, double* value); /* slot 82 */ - AvnHResult (AVN_CALL *set_item_height)(IAvnWrapPanel* self, double value); /* slot 83 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnWrapPanel* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnWrapPanel* self, int64_t subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnWrapPanel* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnWrapPanel* self, int64_t subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnWrapPanel* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnWrapPanel* self, int64_t subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnWrapPanel* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnWrapPanel* self, int64_t subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnWrapPanel* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnWrapPanel* self, int64_t subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnWrapPanel* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnWrapPanel* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *get_children)(IAvnWrapPanel* self, IAvnControlList** value); /* slot 75 */ + AvnHResult (AVN_CALL *get_background)(IAvnWrapPanel* self, IAvnBrush** value); /* slot 76 */ + AvnHResult (AVN_CALL *set_background)(IAvnWrapPanel* self, IAvnBrush* value); /* slot 77 */ + AvnHResult (AVN_CALL *get_item_spacing)(IAvnWrapPanel* self, double* value); /* slot 78 */ + AvnHResult (AVN_CALL *set_item_spacing)(IAvnWrapPanel* self, double value); /* slot 79 */ + AvnHResult (AVN_CALL *get_line_spacing)(IAvnWrapPanel* self, double* value); /* slot 80 */ + AvnHResult (AVN_CALL *set_line_spacing)(IAvnWrapPanel* self, double value); /* slot 81 */ + AvnHResult (AVN_CALL *get_orientation)(IAvnWrapPanel* self, int32_t* value); /* slot 82 */ + AvnHResult (AVN_CALL *set_orientation)(IAvnWrapPanel* self, int32_t value); /* slot 83 */ + AvnHResult (AVN_CALL *get_items_alignment)(IAvnWrapPanel* self, int32_t* value); /* slot 84 */ + AvnHResult (AVN_CALL *set_items_alignment)(IAvnWrapPanel* self, int32_t value); /* slot 85 */ + AvnHResult (AVN_CALL *get_item_width)(IAvnWrapPanel* self, double* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_item_width)(IAvnWrapPanel* self, double value); /* slot 87 */ + AvnHResult (AVN_CALL *get_item_height)(IAvnWrapPanel* self, double* value); /* slot 88 */ + AvnHResult (AVN_CALL *set_item_height)(IAvnWrapPanel* self, double value); /* slot 89 */ }; struct IAvnWrapPanel { const IAvnWrapPanelVtbl* vtbl; }; -#define I_AVN_WRAP_PANEL_VTABLE_SLOTS 84 +#define I_AVN_WRAP_PANEL_VTABLE_SLOTS 90 static const AvnGuid I_AVN_CANVAS_STATICS_IID = { 0x5F4ABE7B, diff --git a/rust/avalonia-sys/src/.avalonia-bindgen.owned.json b/rust/avalonia-sys/src/.avalonia-bindgen.owned.json index 88d28b3..53b88a0 100644 --- a/rust/avalonia-sys/src/.avalonia-bindgen.owned.json +++ b/rust/avalonia-sys/src/.avalonia-bindgen.owned.json @@ -3,7 +3,7 @@ "files": [ { "path": "generated.rs", - "sha256": "117c6a7556053469784e8eda2a7b58d27b00e276a805fb05fc9b9df696b96110" + "sha256": "c0ddac61ff7c3e1845b2c88528f56dc96dea44a8d9e416a007b2806547d8a524" } ] } diff --git a/rust/avalonia-sys/src/generated.rs b/rust/avalonia-sys/src/generated.rs index 688bac2..89cf761 100644 --- a/rust/avalonia-sys/src/generated.rs +++ b/rust/avalonia-sys/src/generated.rs @@ -2404,6 +2404,116 @@ unsafe extern "system" fn i_avn_control_size_changed_handler_invoke(this: *mut I hr } +pub const I_AVN_CONTROL_GOT_FOCUS_HANDLER_IID: Guid = Guid { data1: 0x6621A073, data2: 0x4D3B, data3: 0x54C6, data4: [0xA3, 0x2E, 0x57, 0x01, 0xCD, 0xB7, 0x45, 0xAD] }; + +#[derive(Debug)] +pub struct ControlGotFocusEventArgs { + pub navigation_method: i32, + pub key_modifiers: i32, +} + +#[repr(C)] +struct IAvnControlGotFocusHandlerVtbl { + query_interface: unsafe extern "system" fn(*mut IUnknown, *const Guid, *mut *mut c_void) -> i32, + add_ref: unsafe extern "system" fn(*mut IUnknown) -> u32, + release: unsafe extern "system" fn(*mut IUnknown) -> u32, + invoke: unsafe extern "system" fn(*mut IAvnControlGotFocusHandler, navigation_method: i32, key_modifiers: i32) -> i32, +} + +#[repr(C)] +pub struct IAvnControlGotFocusHandler { vtbl: *const IAvnControlGotFocusHandlerVtbl } + +unsafe impl ComInterface for IAvnControlGotFocusHandler { const IID: Guid = I_AVN_CONTROL_GOT_FOCUS_HANDLER_IID; } + +static I_AVN_CONTROL_GOT_FOCUS_HANDLER_VTBL: IAvnControlGotFocusHandlerVtbl = IAvnControlGotFocusHandlerVtbl { + query_interface: i_avn_control_got_focus_handler_query_interface, + add_ref: i_avn_control_got_focus_handler_add_ref, + release: i_avn_control_got_focus_handler_release, + invoke: i_avn_control_got_focus_handler_invoke, +}; + +pub fn control_got_focus_handler(callback: impl FnMut(&mut ControlGotFocusEventArgs) -> Result<()> + Send + 'static) -> ComPtr { + crate::event_callback::create(IAvnControlGotFocusHandler { vtbl: &I_AVN_CONTROL_GOT_FOCUS_HANDLER_VTBL }, callback) +} + +unsafe extern "system" fn i_avn_control_got_focus_handler_query_interface(this: *mut IUnknown, iid: *const Guid, result: *mut *mut c_void) -> i32 { + crate::event_callback::query_interface::(this, iid, result) +} + +unsafe extern "system" fn i_avn_control_got_focus_handler_add_ref(this: *mut IUnknown) -> u32 { + crate::event_callback::add_ref::(this) +} + +unsafe extern "system" fn i_avn_control_got_focus_handler_release(this: *mut IUnknown) -> u32 { + crate::event_callback::release::(this) +} + +unsafe extern "system" fn i_avn_control_got_focus_handler_invoke(this: *mut IAvnControlGotFocusHandler, navigation_method: i32, key_modifiers: i32) -> i32 { + let mut arguments = ControlGotFocusEventArgs { + navigation_method, + key_modifiers, + }; + let hr = crate::event_callback::invoke::(this, &mut arguments); + if hr >= 0 { + } + hr +} + +pub const I_AVN_CONTROL_LOST_FOCUS_HANDLER_IID: Guid = Guid { data1: 0xBB0FBAD2, data2: 0xDB37, data3: 0x56AE, data4: [0xA3, 0xC2, 0x73, 0xBC, 0x20, 0x30, 0xBD, 0x06] }; + +#[repr(C)] +struct IAvnControlLostFocusHandlerVtbl { + query_interface: unsafe extern "system" fn(*mut IUnknown, *const Guid, *mut *mut c_void) -> i32, + add_ref: unsafe extern "system" fn(*mut IUnknown) -> u32, + release: unsafe extern "system" fn(*mut IUnknown) -> u32, + invoke: unsafe extern "system" fn(*mut IAvnControlLostFocusHandler) -> i32, +} + +#[repr(C)] +pub struct IAvnControlLostFocusHandler { + vtbl: *const IAvnControlLostFocusHandlerVtbl, +} + +unsafe impl ComInterface for IAvnControlLostFocusHandler { + const IID: Guid = I_AVN_CONTROL_LOST_FOCUS_HANDLER_IID; +} + +impl ComPtr { + pub fn invoke(&self) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().invoke)(self.as_raw()); + hresult::check(hr) + } + } +} + +static I_AVN_CONTROL_LOST_FOCUS_HANDLER_VTBL: IAvnControlLostFocusHandlerVtbl = IAvnControlLostFocusHandlerVtbl { + query_interface: i_avn_control_lost_focus_handler_query_interface, + add_ref: i_avn_control_lost_focus_handler_add_ref, + release: i_avn_control_lost_focus_handler_release, + invoke: i_avn_control_lost_focus_handler_invoke, +}; + +pub fn control_lost_focus_handler(mut callback: impl FnMut() -> Result<()> + Send + 'static) -> ComPtr { + crate::event_callback::create::(IAvnControlLostFocusHandler { vtbl: &I_AVN_CONTROL_LOST_FOCUS_HANDLER_VTBL }, move |_| callback()) +} + +unsafe extern "system" fn i_avn_control_lost_focus_handler_query_interface(this: *mut IUnknown, iid: *const Guid, result: *mut *mut c_void) -> i32 { + crate::event_callback::query_interface::(this, iid, result) +} + +unsafe extern "system" fn i_avn_control_lost_focus_handler_add_ref(this: *mut IUnknown) -> u32 { + crate::event_callback::add_ref::(this) +} + +unsafe extern "system" fn i_avn_control_lost_focus_handler_release(this: *mut IUnknown) -> u32 { + crate::event_callback::release::(this) +} + +unsafe extern "system" fn i_avn_control_lost_focus_handler_invoke(this: *mut IAvnControlLostFocusHandler) -> i32 { + crate::event_callback::invoke::(this, &mut ()) +} + pub const I_AVN_CONTROL_KEY_DOWN_HANDLER_IID: Guid = Guid { data1: 0x9232F26F, data2: 0x2F3B, data3: 0x5BA2, data4: [0xB0, 0x98, 0xE4, 0xCB, 0x6B, 0x26, 0xBD, 0xA3] }; #[derive(Debug)] @@ -2467,6 +2577,69 @@ unsafe extern "system" fn i_avn_control_key_down_handler_invoke(this: *mut IAvnC hr } +pub const I_AVN_CONTROL_KEY_UP_HANDLER_IID: Guid = Guid { data1: 0xB4FC3B9A, data2: 0xCF71, data3: 0x5EBB, data4: [0x98, 0x52, 0xA4, 0x6A, 0xEC, 0x80, 0xC6, 0xFE] }; + +#[derive(Debug)] +pub struct ControlKeyUpEventArgs { + pub key: i32, + pub physical_key: i32, + pub key_modifiers: i32, + pub key_symbol: Option, + pub handled: bool, +} + +#[repr(C)] +struct IAvnControlKeyUpHandlerVtbl { + query_interface: unsafe extern "system" fn(*mut IUnknown, *const Guid, *mut *mut c_void) -> i32, + add_ref: unsafe extern "system" fn(*mut IUnknown) -> u32, + release: unsafe extern "system" fn(*mut IUnknown) -> u32, + invoke: unsafe extern "system" fn(*mut IAvnControlKeyUpHandler, key: i32, physical_key: i32, key_modifiers: i32, key_symbol: *mut u16, handled: *mut i32) -> i32, +} + +#[repr(C)] +pub struct IAvnControlKeyUpHandler { vtbl: *const IAvnControlKeyUpHandlerVtbl } + +unsafe impl ComInterface for IAvnControlKeyUpHandler { const IID: Guid = I_AVN_CONTROL_KEY_UP_HANDLER_IID; } + +static I_AVN_CONTROL_KEY_UP_HANDLER_VTBL: IAvnControlKeyUpHandlerVtbl = IAvnControlKeyUpHandlerVtbl { + query_interface: i_avn_control_key_up_handler_query_interface, + add_ref: i_avn_control_key_up_handler_add_ref, + release: i_avn_control_key_up_handler_release, + invoke: i_avn_control_key_up_handler_invoke, +}; + +pub fn control_key_up_handler(callback: impl FnMut(&mut ControlKeyUpEventArgs) -> Result<()> + Send + 'static) -> ComPtr { + crate::event_callback::create(IAvnControlKeyUpHandler { vtbl: &I_AVN_CONTROL_KEY_UP_HANDLER_VTBL }, callback) +} + +unsafe extern "system" fn i_avn_control_key_up_handler_query_interface(this: *mut IUnknown, iid: *const Guid, result: *mut *mut c_void) -> i32 { + crate::event_callback::query_interface::(this, iid, result) +} + +unsafe extern "system" fn i_avn_control_key_up_handler_add_ref(this: *mut IUnknown) -> u32 { + crate::event_callback::add_ref::(this) +} + +unsafe extern "system" fn i_avn_control_key_up_handler_release(this: *mut IUnknown) -> u32 { + crate::event_callback::release::(this) +} + +unsafe extern "system" fn i_avn_control_key_up_handler_invoke(this: *mut IAvnControlKeyUpHandler, key: i32, physical_key: i32, key_modifiers: i32, key_symbol: *mut u16, handled: *mut i32) -> i32 { + if handled.is_null() { return hresult::E_POINTER; } + let mut arguments = ControlKeyUpEventArgs { + key, + physical_key, + key_modifiers, + key_symbol: crate::clone_utf16(key_symbol), + handled: *handled != 0, + }; + let hr = crate::event_callback::invoke::(this, &mut arguments); + if hr >= 0 { + *handled = i32::from(arguments.handled); + } + hr +} + pub const I_AVN_CONTROL_POINTER_ENTERED_HANDLER_IID: Guid = Guid { data1: 0xCC8694AC, data2: 0xC51C, data3: 0x5791, data4: [0xA8, 0x98, 0x1B, 0x0D, 0xE4, 0xD8, 0x4D, 0xC8] }; #[repr(C)] @@ -3622,33 +3795,26 @@ unsafe extern "system" fn i_avn_popup_flyout_base_opening_handler_invoke(this: * crate::event_callback::invoke::(this, &mut ()) } -pub const I_AVN_RANGE_BASE_VALUE_CHANGED_HANDLER_IID: Guid = Guid { data1: 0xDAEDA8F7, data2: 0xD1F6, data3: 0x54B6, data4: [0x90, 0x0D, 0x4A, 0xAB, 0x0B, 0x0C, 0x72, 0xBA] }; +pub const I_AVN_RANGE_BASE_VALUE_CHANGED_HANDLER_IID: Guid = Guid { data1: 0xD71E5403, data2: 0x7A7E, data3: 0x5C5A, data4: [0x8A, 0x48, 0x4C, 0x89, 0x34, 0x6F, 0x01, 0x79] }; + +#[derive(Debug)] +pub struct RangeBaseValueChangedEventArgs { + pub old_value: f64, + pub new_value: f64, +} #[repr(C)] struct IAvnRangeBaseValueChangedHandlerVtbl { query_interface: unsafe extern "system" fn(*mut IUnknown, *const Guid, *mut *mut c_void) -> i32, add_ref: unsafe extern "system" fn(*mut IUnknown) -> u32, release: unsafe extern "system" fn(*mut IUnknown) -> u32, - invoke: unsafe extern "system" fn(*mut IAvnRangeBaseValueChangedHandler) -> i32, + invoke: unsafe extern "system" fn(*mut IAvnRangeBaseValueChangedHandler, old_value: f64, new_value: f64) -> i32, } #[repr(C)] -pub struct IAvnRangeBaseValueChangedHandler { - vtbl: *const IAvnRangeBaseValueChangedHandlerVtbl, -} +pub struct IAvnRangeBaseValueChangedHandler { vtbl: *const IAvnRangeBaseValueChangedHandlerVtbl } -unsafe impl ComInterface for IAvnRangeBaseValueChangedHandler { - const IID: Guid = I_AVN_RANGE_BASE_VALUE_CHANGED_HANDLER_IID; -} - -impl ComPtr { - pub fn invoke(&self) -> Result<()> { - unsafe { - let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().invoke)(self.as_raw()); - hresult::check(hr) - } - } -} +unsafe impl ComInterface for IAvnRangeBaseValueChangedHandler { const IID: Guid = I_AVN_RANGE_BASE_VALUE_CHANGED_HANDLER_IID; } static I_AVN_RANGE_BASE_VALUE_CHANGED_HANDLER_VTBL: IAvnRangeBaseValueChangedHandlerVtbl = IAvnRangeBaseValueChangedHandlerVtbl { query_interface: i_avn_range_base_value_changed_handler_query_interface, @@ -3657,54 +3823,97 @@ static I_AVN_RANGE_BASE_VALUE_CHANGED_HANDLER_VTBL: IAvnRangeBaseValueChangedHan invoke: i_avn_range_base_value_changed_handler_invoke, }; -pub fn range_base_value_changed_handler(mut callback: impl FnMut() -> Result<()> + Send + 'static) -> ComPtr { - crate::event_callback::create::(IAvnRangeBaseValueChangedHandler { vtbl: &I_AVN_RANGE_BASE_VALUE_CHANGED_HANDLER_VTBL }, move |_| callback()) +pub fn range_base_value_changed_handler(callback: impl FnMut(&mut RangeBaseValueChangedEventArgs) -> Result<()> + Send + 'static) -> ComPtr { + crate::event_callback::create(IAvnRangeBaseValueChangedHandler { vtbl: &I_AVN_RANGE_BASE_VALUE_CHANGED_HANDLER_VTBL }, callback) } unsafe extern "system" fn i_avn_range_base_value_changed_handler_query_interface(this: *mut IUnknown, iid: *const Guid, result: *mut *mut c_void) -> i32 { - crate::event_callback::query_interface::(this, iid, result) + crate::event_callback::query_interface::(this, iid, result) } unsafe extern "system" fn i_avn_range_base_value_changed_handler_add_ref(this: *mut IUnknown) -> u32 { - crate::event_callback::add_ref::(this) + crate::event_callback::add_ref::(this) } unsafe extern "system" fn i_avn_range_base_value_changed_handler_release(this: *mut IUnknown) -> u32 { - crate::event_callback::release::(this) + crate::event_callback::release::(this) } -unsafe extern "system" fn i_avn_range_base_value_changed_handler_invoke(this: *mut IAvnRangeBaseValueChangedHandler) -> i32 { - crate::event_callback::invoke::(this, &mut ()) +unsafe extern "system" fn i_avn_range_base_value_changed_handler_invoke(this: *mut IAvnRangeBaseValueChangedHandler, old_value: f64, new_value: f64) -> i32 { + let mut arguments = RangeBaseValueChangedEventArgs { + old_value, + new_value, + }; + let hr = crate::event_callback::invoke::(this, &mut arguments); + if hr >= 0 { + } + hr } -pub const I_AVN_SELECTING_ITEMS_CONTROL_SELECTION_CHANGED_HANDLER_IID: Guid = Guid { data1: 0x80E817ED, data2: 0x8F0E, data3: 0x5208, data4: [0x9E, 0xFD, 0xEC, 0xBD, 0xEB, 0xC5, 0x6A, 0x46] }; +pub const I_AVN_SELECTING_ITEMS_CONTROL_SELECTION_CHANGED_ARGS_IID: Guid = Guid { data1: 0xA5A998E3, data2: 0x805F, data3: 0x5BB9, data4: [0xBE, 0x35, 0x4A, 0xCC, 0xDA, 0x82, 0xBD, 0x37] }; #[repr(C)] -struct IAvnSelectingItemsControlSelectionChangedHandlerVtbl { +struct IAvnSelectingItemsControlSelectionChangedArgsVtbl { query_interface: unsafe extern "system" fn(*mut IUnknown, *const Guid, *mut *mut c_void) -> i32, add_ref: unsafe extern "system" fn(*mut IUnknown) -> u32, release: unsafe extern "system" fn(*mut IUnknown) -> u32, - invoke: unsafe extern "system" fn(*mut IAvnSelectingItemsControlSelectionChangedHandler) -> i32, + get_added_items_count: unsafe extern "system" fn(*mut IAvnSelectingItemsControlSelectionChangedArgs, *mut i32) -> i32, + get_added_items_at: unsafe extern "system" fn(*mut IAvnSelectingItemsControlSelectionChangedArgs, i32, *mut AvnVariant) -> i32, + get_removed_items_count: unsafe extern "system" fn(*mut IAvnSelectingItemsControlSelectionChangedArgs, *mut i32) -> i32, + get_removed_items_at: unsafe extern "system" fn(*mut IAvnSelectingItemsControlSelectionChangedArgs, i32, *mut AvnVariant) -> i32, } #[repr(C)] -pub struct IAvnSelectingItemsControlSelectionChangedHandler { - vtbl: *const IAvnSelectingItemsControlSelectionChangedHandlerVtbl, -} +pub struct IAvnSelectingItemsControlSelectionChangedArgs { vtbl: *const IAvnSelectingItemsControlSelectionChangedArgsVtbl } -unsafe impl ComInterface for IAvnSelectingItemsControlSelectionChangedHandler { - const IID: Guid = I_AVN_SELECTING_ITEMS_CONTROL_SELECTION_CHANGED_HANDLER_IID; -} +unsafe impl ComInterface for IAvnSelectingItemsControlSelectionChangedArgs { const IID: Guid = I_AVN_SELECTING_ITEMS_CONTROL_SELECTION_CHANGED_ARGS_IID; } -impl ComPtr { - pub fn invoke(&self) -> Result<()> { +impl ComPtr { + pub fn added_items_count(&self) -> Result { unsafe { - let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().invoke)(self.as_raw()); - hresult::check(hr) + let mut value = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_added_items_count)(self.as_raw(), &mut value); + hresult::check(hr).map(|_| value) + } + } + pub fn added_items_at(&self, index: i32) -> Result { + unsafe { + let mut value = AvnVariant::default(); + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_added_items_at)(self.as_raw(), index, &mut value); + hresult::check(hr).map(|_| value) + } + } + pub fn removed_items_count(&self) -> Result { + unsafe { + let mut value = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_removed_items_count)(self.as_raw(), &mut value); + hresult::check(hr).map(|_| value) + } + } + pub fn removed_items_at(&self, index: i32) -> Result { + unsafe { + let mut value = AvnVariant::default(); + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_removed_items_at)(self.as_raw(), index, &mut value); + hresult::check(hr).map(|_| value) } } } +pub const I_AVN_SELECTING_ITEMS_CONTROL_SELECTION_CHANGED_HANDLER_IID: Guid = Guid { data1: 0xD9AAACF6, data2: 0xE516, data3: 0x52AC, data4: [0xAB, 0xBE, 0x3E, 0x02, 0x10, 0x37, 0x91, 0x61] }; + +#[repr(C)] +struct IAvnSelectingItemsControlSelectionChangedHandlerVtbl { + query_interface: unsafe extern "system" fn(*mut IUnknown, *const Guid, *mut *mut c_void) -> i32, + add_ref: unsafe extern "system" fn(*mut IUnknown) -> u32, + release: unsafe extern "system" fn(*mut IUnknown) -> u32, + invoke: unsafe extern "system" fn(*mut IAvnSelectingItemsControlSelectionChangedHandler, *mut IAvnSelectingItemsControlSelectionChangedArgs) -> i32, +} + +#[repr(C)] +pub struct IAvnSelectingItemsControlSelectionChangedHandler { vtbl: *const IAvnSelectingItemsControlSelectionChangedHandlerVtbl } + +unsafe impl ComInterface for IAvnSelectingItemsControlSelectionChangedHandler { const IID: Guid = I_AVN_SELECTING_ITEMS_CONTROL_SELECTION_CHANGED_HANDLER_IID; } + static I_AVN_SELECTING_ITEMS_CONTROL_SELECTION_CHANGED_HANDLER_VTBL: IAvnSelectingItemsControlSelectionChangedHandlerVtbl = IAvnSelectingItemsControlSelectionChangedHandlerVtbl { query_interface: i_avn_selecting_items_control_selection_changed_handler_query_interface, add_ref: i_avn_selecting_items_control_selection_changed_handler_add_ref, @@ -3712,24 +3921,29 @@ static I_AVN_SELECTING_ITEMS_CONTROL_SELECTION_CHANGED_HANDLER_VTBL: IAvnSelecti invoke: i_avn_selecting_items_control_selection_changed_handler_invoke, }; -pub fn selecting_items_control_selection_changed_handler(mut callback: impl FnMut() -> Result<()> + Send + 'static) -> ComPtr { - crate::event_callback::create::(IAvnSelectingItemsControlSelectionChangedHandler { vtbl: &I_AVN_SELECTING_ITEMS_CONTROL_SELECTION_CHANGED_HANDLER_VTBL }, move |_| callback()) +pub fn selecting_items_control_selection_changed_handler(callback: impl FnMut(&mut ComPtr) -> Result<()> + Send + 'static) -> ComPtr { + crate::event_callback::create(IAvnSelectingItemsControlSelectionChangedHandler { vtbl: &I_AVN_SELECTING_ITEMS_CONTROL_SELECTION_CHANGED_HANDLER_VTBL }, callback) } unsafe extern "system" fn i_avn_selecting_items_control_selection_changed_handler_query_interface(this: *mut IUnknown, iid: *const Guid, result: *mut *mut c_void) -> i32 { - crate::event_callback::query_interface::(this, iid, result) + crate::event_callback::query_interface::>(this, iid, result) } unsafe extern "system" fn i_avn_selecting_items_control_selection_changed_handler_add_ref(this: *mut IUnknown) -> u32 { - crate::event_callback::add_ref::(this) + crate::event_callback::add_ref::>(this) } unsafe extern "system" fn i_avn_selecting_items_control_selection_changed_handler_release(this: *mut IUnknown) -> u32 { - crate::event_callback::release::(this) + crate::event_callback::release::>(this) } -unsafe extern "system" fn i_avn_selecting_items_control_selection_changed_handler_invoke(this: *mut IAvnSelectingItemsControlSelectionChangedHandler) -> i32 { - crate::event_callback::invoke::(this, &mut ()) +unsafe extern "system" fn i_avn_selecting_items_control_selection_changed_handler_invoke(this: *mut IAvnSelectingItemsControlSelectionChangedHandler, args: *mut IAvnSelectingItemsControlSelectionChangedArgs) -> i32 { + let mut arguments = match unsafe { ComPtr::from_raw(args) } { + Some(arguments) => arguments, + None => return hresult::E_POINTER, + }; + let hr = crate::event_callback::invoke::>(this, &mut arguments); + hr } pub const I_AVN_THUMB_DRAG_STARTED_HANDLER_IID: Guid = Guid { data1: 0xBCA61CC5, data2: 0x8334, data3: 0x5A1E, data4: [0xA6, 0xF1, 0xD9, 0xA3, 0x1D, 0x1E, 0xE5, 0x02] }; @@ -4938,34 +5152,70 @@ unsafe extern "system" fn i_avn_tray_icon_clicked_handler_invoke(this: *mut IAvn crate::event_callback::invoke::(this, &mut ()) } -pub const I_AVN_TREE_VIEW_SELECTION_CHANGED_HANDLER_IID: Guid = Guid { data1: 0xED72A060, data2: 0x42CB, data3: 0x5648, data4: [0x80, 0x4F, 0xC5, 0xDC, 0xAB, 0x3C, 0xD8, 0x7A] }; +pub const I_AVN_TREE_VIEW_SELECTION_CHANGED_ARGS_IID: Guid = Guid { data1: 0xA29EDF0E, data2: 0xEBE4, data3: 0x5118, data4: [0x99, 0xEB, 0x61, 0x5A, 0xE0, 0x0A, 0x6B, 0xD5] }; #[repr(C)] -struct IAvnTreeViewSelectionChangedHandlerVtbl { +struct IAvnTreeViewSelectionChangedArgsVtbl { query_interface: unsafe extern "system" fn(*mut IUnknown, *const Guid, *mut *mut c_void) -> i32, add_ref: unsafe extern "system" fn(*mut IUnknown) -> u32, release: unsafe extern "system" fn(*mut IUnknown) -> u32, - invoke: unsafe extern "system" fn(*mut IAvnTreeViewSelectionChangedHandler) -> i32, + get_added_items_count: unsafe extern "system" fn(*mut IAvnTreeViewSelectionChangedArgs, *mut i32) -> i32, + get_added_items_at: unsafe extern "system" fn(*mut IAvnTreeViewSelectionChangedArgs, i32, *mut AvnVariant) -> i32, + get_removed_items_count: unsafe extern "system" fn(*mut IAvnTreeViewSelectionChangedArgs, *mut i32) -> i32, + get_removed_items_at: unsafe extern "system" fn(*mut IAvnTreeViewSelectionChangedArgs, i32, *mut AvnVariant) -> i32, } #[repr(C)] -pub struct IAvnTreeViewSelectionChangedHandler { - vtbl: *const IAvnTreeViewSelectionChangedHandlerVtbl, -} +pub struct IAvnTreeViewSelectionChangedArgs { vtbl: *const IAvnTreeViewSelectionChangedArgsVtbl } -unsafe impl ComInterface for IAvnTreeViewSelectionChangedHandler { - const IID: Guid = I_AVN_TREE_VIEW_SELECTION_CHANGED_HANDLER_IID; -} +unsafe impl ComInterface for IAvnTreeViewSelectionChangedArgs { const IID: Guid = I_AVN_TREE_VIEW_SELECTION_CHANGED_ARGS_IID; } -impl ComPtr { - pub fn invoke(&self) -> Result<()> { +impl ComPtr { + pub fn added_items_count(&self) -> Result { unsafe { - let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().invoke)(self.as_raw()); - hresult::check(hr) + let mut value = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_added_items_count)(self.as_raw(), &mut value); + hresult::check(hr).map(|_| value) } } + pub fn added_items_at(&self, index: i32) -> Result { + unsafe { + let mut value = AvnVariant::default(); + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_added_items_at)(self.as_raw(), index, &mut value); + hresult::check(hr).map(|_| value) + } + } + pub fn removed_items_count(&self) -> Result { + unsafe { + let mut value = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_removed_items_count)(self.as_raw(), &mut value); + hresult::check(hr).map(|_| value) + } + } + pub fn removed_items_at(&self, index: i32) -> Result { + unsafe { + let mut value = AvnVariant::default(); + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_removed_items_at)(self.as_raw(), index, &mut value); + hresult::check(hr).map(|_| value) + } + } +} + +pub const I_AVN_TREE_VIEW_SELECTION_CHANGED_HANDLER_IID: Guid = Guid { data1: 0x9F8E36AD, data2: 0x6E33, data3: 0x5211, data4: [0xB5, 0x70, 0xEB, 0x8B, 0x0C, 0x94, 0x95, 0x11] }; + +#[repr(C)] +struct IAvnTreeViewSelectionChangedHandlerVtbl { + query_interface: unsafe extern "system" fn(*mut IUnknown, *const Guid, *mut *mut c_void) -> i32, + add_ref: unsafe extern "system" fn(*mut IUnknown) -> u32, + release: unsafe extern "system" fn(*mut IUnknown) -> u32, + invoke: unsafe extern "system" fn(*mut IAvnTreeViewSelectionChangedHandler, *mut IAvnTreeViewSelectionChangedArgs) -> i32, } +#[repr(C)] +pub struct IAvnTreeViewSelectionChangedHandler { vtbl: *const IAvnTreeViewSelectionChangedHandlerVtbl } + +unsafe impl ComInterface for IAvnTreeViewSelectionChangedHandler { const IID: Guid = I_AVN_TREE_VIEW_SELECTION_CHANGED_HANDLER_IID; } + static I_AVN_TREE_VIEW_SELECTION_CHANGED_HANDLER_VTBL: IAvnTreeViewSelectionChangedHandlerVtbl = IAvnTreeViewSelectionChangedHandlerVtbl { query_interface: i_avn_tree_view_selection_changed_handler_query_interface, add_ref: i_avn_tree_view_selection_changed_handler_add_ref, @@ -4973,24 +5223,29 @@ static I_AVN_TREE_VIEW_SELECTION_CHANGED_HANDLER_VTBL: IAvnTreeViewSelectionChan invoke: i_avn_tree_view_selection_changed_handler_invoke, }; -pub fn tree_view_selection_changed_handler(mut callback: impl FnMut() -> Result<()> + Send + 'static) -> ComPtr { - crate::event_callback::create::(IAvnTreeViewSelectionChangedHandler { vtbl: &I_AVN_TREE_VIEW_SELECTION_CHANGED_HANDLER_VTBL }, move |_| callback()) +pub fn tree_view_selection_changed_handler(callback: impl FnMut(&mut ComPtr) -> Result<()> + Send + 'static) -> ComPtr { + crate::event_callback::create(IAvnTreeViewSelectionChangedHandler { vtbl: &I_AVN_TREE_VIEW_SELECTION_CHANGED_HANDLER_VTBL }, callback) } unsafe extern "system" fn i_avn_tree_view_selection_changed_handler_query_interface(this: *mut IUnknown, iid: *const Guid, result: *mut *mut c_void) -> i32 { - crate::event_callback::query_interface::(this, iid, result) + crate::event_callback::query_interface::>(this, iid, result) } unsafe extern "system" fn i_avn_tree_view_selection_changed_handler_add_ref(this: *mut IUnknown) -> u32 { - crate::event_callback::add_ref::(this) + crate::event_callback::add_ref::>(this) } unsafe extern "system" fn i_avn_tree_view_selection_changed_handler_release(this: *mut IUnknown) -> u32 { - crate::event_callback::release::(this) + crate::event_callback::release::>(this) } -unsafe extern "system" fn i_avn_tree_view_selection_changed_handler_invoke(this: *mut IAvnTreeViewSelectionChangedHandler) -> i32 { - crate::event_callback::invoke::(this, &mut ()) +unsafe extern "system" fn i_avn_tree_view_selection_changed_handler_invoke(this: *mut IAvnTreeViewSelectionChangedHandler, args: *mut IAvnTreeViewSelectionChangedArgs) -> i32 { + let mut arguments = match unsafe { ComPtr::from_raw(args) } { + Some(arguments) => arguments, + None => return hresult::E_POINTER, + }; + let hr = crate::event_callback::invoke::>(this, &mut arguments); + hr } pub const I_AVN_TREE_VIEW_ITEM_EXPANDED_HANDLER_IID: Guid = Guid { data1: 0xDA50A65B, data2: 0xD90A, data3: 0x5CA4, data4: [0xBB, 0xC6, 0xE3, 0xAD, 0x26, 0xF4, 0x12, 0x3F] }; @@ -5893,7 +6148,7 @@ impl ComPtr { } } -pub const I_AVN_AUTO_COMPLETE_BOX_IID: Guid = Guid { data1: 0x92CEFC39, data2: 0x4E40, data3: 0x5193, data4: [0x89, 0x3F, 0xF3, 0xE2, 0xC7, 0x7E, 0xD2, 0x4C] }; +pub const I_AVN_AUTO_COMPLETE_BOX_IID: Guid = Guid { data1: 0x86643B56, data2: 0xB59D, data3: 0x5EE3, data4: [0x8A, 0x9B, 0xD4, 0x4F, 0x7D, 0xA9, 0x09, 0xE7] }; #[repr(C)] struct IAvnAutoCompleteBoxVtbl { @@ -5960,8 +6215,14 @@ struct IAvnAutoCompleteBoxVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnAutoCompleteBox, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnAutoCompleteBox, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnAutoCompleteBox, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnAutoCompleteBox, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnAutoCompleteBox, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnAutoCompleteBox, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnAutoCompleteBox, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnAutoCompleteBox, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnAutoCompleteBox, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnAutoCompleteBox, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnAutoCompleteBox, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnAutoCompleteBox, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnAutoCompleteBox, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnAutoCompleteBox, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -6486,6 +6747,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -6499,6 +6786,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -7153,7 +7453,7 @@ impl ComPtr { } } -pub const I_AVN_BORDER_IID: Guid = Guid { data1: 0x80C1079E, data2: 0xAFDF, data3: 0x5483, data4: [0xA5, 0x60, 0x2D, 0xDB, 0x47, 0x5C, 0xF8, 0x94] }; +pub const I_AVN_BORDER_IID: Guid = Guid { data1: 0xDFE5487A, data2: 0xB7C3, data3: 0x5DD1, data4: [0xA6, 0xEF, 0x0C, 0xC9, 0xB9, 0xE6, 0xFC, 0x9C] }; #[repr(C)] struct IAvnBorderVtbl { @@ -7220,8 +7520,14 @@ struct IAvnBorderVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnBorder, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnBorder, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnBorder, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnBorder, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnBorder, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnBorder, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnBorder, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnBorder, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnBorder, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnBorder, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnBorder, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnBorder, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnBorder, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnBorder, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -7673,6 +7979,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -7686,6 +8018,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -7835,7 +8180,7 @@ impl ComPtr { } } -pub const I_AVN_BUTTON_IID: Guid = Guid { data1: 0x62D66949, data2: 0x2173, data3: 0x5007, data4: [0x96, 0x13, 0x1F, 0x4B, 0x3E, 0x7C, 0x14, 0x4E] }; +pub const I_AVN_BUTTON_IID: Guid = Guid { data1: 0x39E10286, data2: 0x7BB7, data3: 0x511B, data4: [0x88, 0x85, 0x73, 0x3B, 0x3A, 0xB3, 0x80, 0xF6] }; #[repr(C)] struct IAvnButtonVtbl { @@ -7902,8 +8247,14 @@ struct IAvnButtonVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnButton, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnButton, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnButton, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnButton, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnButton, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnButton, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnButton, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnButton, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnButton, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnButton, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnButton, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnButton, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnButton, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnButton, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -8391,6 +8742,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -8404,6 +8781,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -8806,7 +9196,7 @@ impl ComPtr { } } -pub const I_AVN_BUTTON_SPINNER_IID: Guid = Guid { data1: 0x046C4736, data2: 0xCECE, data3: 0x5455, data4: [0x98, 0xA8, 0xF2, 0xDD, 0x3C, 0x84, 0xC8, 0x46] }; +pub const I_AVN_BUTTON_SPINNER_IID: Guid = Guid { data1: 0x121045E2, data2: 0x0F99, data3: 0x5036, data4: [0xA5, 0xF8, 0x37, 0x3B, 0x15, 0xBC, 0x64, 0x49] }; #[repr(C)] struct IAvnButtonSpinnerVtbl { @@ -8873,8 +9263,14 @@ struct IAvnButtonSpinnerVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnButtonSpinner, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnButtonSpinner, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnButtonSpinner, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnButtonSpinner, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnButtonSpinner, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnButtonSpinner, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnButtonSpinner, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnButtonSpinner, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnButtonSpinner, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnButtonSpinner, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnButtonSpinner, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnButtonSpinner, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnButtonSpinner, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnButtonSpinner, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -9355,6 +9751,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -9368,6 +9790,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -9719,7 +10154,7 @@ impl ComPtr { } } -pub const I_AVN_CALENDAR_IID: Guid = Guid { data1: 0xF1D659B7, data2: 0x93E5, data3: 0x5093, data4: [0x9D, 0x16, 0xC4, 0x80, 0xF7, 0x52, 0x0E, 0x14] }; +pub const I_AVN_CALENDAR_IID: Guid = Guid { data1: 0xD1959E20, data2: 0xE08E, data3: 0x5A66, data4: [0xA6, 0x3B, 0x4B, 0xD7, 0x14, 0xE6, 0x09, 0xD7] }; #[repr(C)] struct IAvnCalendarVtbl { @@ -9786,8 +10221,14 @@ struct IAvnCalendarVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnCalendar, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnCalendar, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnCalendar, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnCalendar, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnCalendar, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnCalendar, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnCalendar, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnCalendar, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnCalendar, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnCalendar, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnCalendar, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnCalendar, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnCalendar, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnCalendar, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -10282,6 +10723,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -10295,6 +10762,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -10748,7 +11228,7 @@ impl ComPtr { } } -pub const I_AVN_CALENDAR_DATE_PICKER_IID: Guid = Guid { data1: 0xDC5958DB, data2: 0xF3AD, data3: 0x5B9F, data4: [0x9C, 0x86, 0x7B, 0x66, 0xDD, 0x3D, 0x24, 0x29] }; +pub const I_AVN_CALENDAR_DATE_PICKER_IID: Guid = Guid { data1: 0x52B3592A, data2: 0xD20D, data3: 0x5C93, data4: [0x8D, 0x31, 0xE0, 0x55, 0x2A, 0x74, 0x45, 0xFE] }; #[repr(C)] struct IAvnCalendarDatePickerVtbl { @@ -10815,8 +11295,14 @@ struct IAvnCalendarDatePickerVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnCalendarDatePicker, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnCalendarDatePicker, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnCalendarDatePicker, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnCalendarDatePicker, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnCalendarDatePicker, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnCalendarDatePicker, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnCalendarDatePicker, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnCalendarDatePicker, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnCalendarDatePicker, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnCalendarDatePicker, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnCalendarDatePicker, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnCalendarDatePicker, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnCalendarDatePicker, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnCalendarDatePicker, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -11323,6 +11809,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -11336,6 +11848,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -11873,7 +12398,7 @@ impl ComPtr { } } -pub const I_AVN_CANVAS_IID: Guid = Guid { data1: 0xD9F89602, data2: 0xBD30, data3: 0x55F3, data4: [0x84, 0xC5, 0x69, 0xEF, 0x65, 0xA6, 0xD0, 0xDA] }; +pub const I_AVN_CANVAS_IID: Guid = Guid { data1: 0xCE4E710B, data2: 0xD3A5, data3: 0x5021, data4: [0xA3, 0x43, 0x75, 0x8F, 0xA0, 0x78, 0xE7, 0x91] }; #[repr(C)] struct IAvnCanvasVtbl { @@ -11940,8 +12465,14 @@ struct IAvnCanvasVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnCanvas, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnCanvas, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnCanvas, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnCanvas, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnCanvas, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnCanvas, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnCanvas, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnCanvas, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnCanvas, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnCanvas, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnCanvas, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnCanvas, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnCanvas, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnCanvas, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -12379,6 +12910,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -12392,6 +12949,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -12442,7 +13012,7 @@ impl ComPtr { } } -pub const I_AVN_CAROUSEL_IID: Guid = Guid { data1: 0x14D0DA2B, data2: 0xD8DF, data3: 0x5816, data4: [0x8B, 0x51, 0x45, 0x5D, 0xCF, 0x73, 0x8D, 0xF0] }; +pub const I_AVN_CAROUSEL_IID: Guid = Guid { data1: 0xB496C390, data2: 0x157D, data3: 0x54E1, data4: [0x84, 0x15, 0xE4, 0x87, 0xE9, 0x3D, 0xAF, 0x7D] }; #[repr(C)] struct IAvnCarouselVtbl { @@ -12509,8 +13079,14 @@ struct IAvnCarouselVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnCarousel, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnCarousel, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnCarousel, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnCarousel, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnCarousel, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnCarousel, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnCarousel, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnCarousel, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnCarousel, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnCarousel, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnCarousel, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnCarousel, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnCarousel, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnCarousel, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -13006,6 +13582,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -13019,6 +13621,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -13474,7 +14089,7 @@ impl ComPtr { } } -pub const I_AVN_CHECK_BOX_IID: Guid = Guid { data1: 0x2D002AFC, data2: 0xAAFB, data3: 0x5C2D, data4: [0xB7, 0x47, 0xD0, 0x8D, 0xF7, 0x8A, 0xC8, 0x52] }; +pub const I_AVN_CHECK_BOX_IID: Guid = Guid { data1: 0xAACDB973, data2: 0xAF3D, data3: 0x5BA5, data4: [0xA0, 0x94, 0x63, 0x51, 0x78, 0xEF, 0x2C, 0x2E] }; #[repr(C)] struct IAvnCheckBoxVtbl { @@ -13541,8 +14156,14 @@ struct IAvnCheckBoxVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnCheckBox, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnCheckBox, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnCheckBox, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnCheckBox, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnCheckBox, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnCheckBox, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnCheckBox, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnCheckBox, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnCheckBox, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnCheckBox, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnCheckBox, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnCheckBox, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnCheckBox, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnCheckBox, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -14036,6 +14657,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -14049,6 +14696,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -14492,7 +15152,7 @@ impl ComPtr { } } -pub const I_AVN_COMBO_BOX_IID: Guid = Guid { data1: 0x86CA773B, data2: 0x56AB, data3: 0x521C, data4: [0xBA, 0x29, 0xD2, 0x57, 0x9C, 0x59, 0xF7, 0xF3] }; +pub const I_AVN_COMBO_BOX_IID: Guid = Guid { data1: 0xC05FA67D, data2: 0x1BEE, data3: 0x51A8, data4: [0x93, 0x67, 0x03, 0x00, 0xAA, 0x1C, 0xAE, 0x23] }; #[repr(C)] struct IAvnComboBoxVtbl { @@ -14559,8 +15219,14 @@ struct IAvnComboBoxVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnComboBox, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnComboBox, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnComboBox, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnComboBox, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnComboBox, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnComboBox, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnComboBox, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnComboBox, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnComboBox, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnComboBox, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnComboBox, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnComboBox, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnComboBox, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnComboBox, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -15069,6 +15735,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -15082,6 +15774,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -15629,7 +16334,7 @@ impl ComPtr { } } -pub const I_AVN_COMBO_BOX_ITEM_IID: Guid = Guid { data1: 0x2B9D2E17, data2: 0x500A, data3: 0x56F0, data4: [0xA0, 0xDB, 0x14, 0xB9, 0x2F, 0xF2, 0x8C, 0xCB] }; +pub const I_AVN_COMBO_BOX_ITEM_IID: Guid = Guid { data1: 0x4AF5334E, data2: 0x4FEC, data3: 0x5F97, data4: [0x84, 0xF0, 0xCD, 0x61, 0xFD, 0x0C, 0x6B, 0x88] }; #[repr(C)] struct IAvnComboBoxItemVtbl { @@ -15696,8 +16401,14 @@ struct IAvnComboBoxItemVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnComboBoxItem, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnComboBoxItem, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnComboBoxItem, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnComboBoxItem, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnComboBoxItem, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnComboBoxItem, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnComboBoxItem, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnComboBoxItem, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnComboBoxItem, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnComboBoxItem, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnComboBoxItem, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnComboBoxItem, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnComboBoxItem, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnComboBoxItem, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -16170,6 +16881,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -16183,6 +16920,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -16479,7 +17229,7 @@ impl ComPtr { } } -pub const I_AVN_COMMAND_BAR_IID: Guid = Guid { data1: 0x1A9B7C3D, data2: 0x4D24, data3: 0x5330, data4: [0x9F, 0x8F, 0xD9, 0xD0, 0xBC, 0x71, 0x26, 0x95] }; +pub const I_AVN_COMMAND_BAR_IID: Guid = Guid { data1: 0x355E12ED, data2: 0x4932, data3: 0x5C4C, data4: [0x8A, 0xC1, 0xAA, 0x74, 0xB6, 0x66, 0xB5, 0x84] }; #[repr(C)] struct IAvnCommandBarVtbl { @@ -16546,8 +17296,14 @@ struct IAvnCommandBarVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnCommandBar, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnCommandBar, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnCommandBar, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnCommandBar, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnCommandBar, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnCommandBar, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnCommandBar, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnCommandBar, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnCommandBar, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnCommandBar, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnCommandBar, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnCommandBar, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnCommandBar, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnCommandBar, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -17044,6 +17800,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -17057,6 +17839,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -17521,7 +18316,7 @@ impl ComPtr { } } -pub const I_AVN_COMMAND_BAR_BUTTON_IID: Guid = Guid { data1: 0x427EE3EA, data2: 0x2EA0, data3: 0x5FF8, data4: [0xB4, 0x13, 0x7D, 0x98, 0x9D, 0x89, 0x26, 0x04] }; +pub const I_AVN_COMMAND_BAR_BUTTON_IID: Guid = Guid { data1: 0x3A7F177E, data2: 0xFB8E, data3: 0x5893, data4: [0xB5, 0x74, 0x99, 0xAC, 0xD4, 0xCB, 0xC8, 0xB5] }; #[repr(C)] struct IAvnCommandBarButtonVtbl { @@ -17588,8 +18383,14 @@ struct IAvnCommandBarButtonVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnCommandBarButton, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnCommandBarButton, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnCommandBarButton, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnCommandBarButton, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnCommandBarButton, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnCommandBarButton, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnCommandBarButton, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnCommandBarButton, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnCommandBarButton, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnCommandBarButton, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnCommandBarButton, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnCommandBarButton, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnCommandBarButton, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnCommandBarButton, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -18089,6 +18890,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -18102,6 +18929,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -18589,7 +19429,7 @@ impl ComPtr { } } -pub const I_AVN_COMMAND_BAR_SEPARATOR_IID: Guid = Guid { data1: 0x3D86A39E, data2: 0x0EC3, data3: 0x58FA, data4: [0xBE, 0x17, 0x2F, 0x3C, 0xE4, 0xE9, 0x50, 0x21] }; +pub const I_AVN_COMMAND_BAR_SEPARATOR_IID: Guid = Guid { data1: 0x21D4AA3D, data2: 0xADFF, data3: 0x5CC6, data4: [0x9E, 0x76, 0xEA, 0x1F, 0xBB, 0xD1, 0x1C, 0x33] }; #[repr(C)] struct IAvnCommandBarSeparatorVtbl { @@ -18656,8 +19496,14 @@ struct IAvnCommandBarSeparatorVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnCommandBarSeparator, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnCommandBarSeparator, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnCommandBarSeparator, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnCommandBarSeparator, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnCommandBarSeparator, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnCommandBarSeparator, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnCommandBarSeparator, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnCommandBarSeparator, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnCommandBarSeparator, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnCommandBarSeparator, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnCommandBarSeparator, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnCommandBarSeparator, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnCommandBarSeparator, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnCommandBarSeparator, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -19124,6 +19970,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -19137,6 +20009,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -19391,7 +20276,7 @@ impl ComPtr { } } -pub const I_AVN_COMMAND_BAR_TOGGLE_BUTTON_IID: Guid = Guid { data1: 0x7E7CC18B, data2: 0x4E66, data3: 0x5650, data4: [0x8F, 0xE4, 0x1A, 0xCA, 0x44, 0x5F, 0xA9, 0x07] }; +pub const I_AVN_COMMAND_BAR_TOGGLE_BUTTON_IID: Guid = Guid { data1: 0x28AA86DE, data2: 0x6253, data3: 0x5D07, data4: [0x96, 0x4D, 0x23, 0x78, 0x55, 0x52, 0xFB, 0x86] }; #[repr(C)] struct IAvnCommandBarToggleButtonVtbl { @@ -19458,8 +20343,14 @@ struct IAvnCommandBarToggleButtonVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnCommandBarToggleButton, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnCommandBarToggleButton, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnCommandBarToggleButton, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnCommandBarToggleButton, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnCommandBarToggleButton, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnCommandBarToggleButton, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnCommandBarToggleButton, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnCommandBarToggleButton, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnCommandBarToggleButton, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnCommandBarToggleButton, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnCommandBarToggleButton, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnCommandBarToggleButton, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnCommandBarToggleButton, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnCommandBarToggleButton, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -19965,6 +20856,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -19978,6 +20895,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -20506,7 +21436,7 @@ impl ComPtr { } } -pub const I_AVN_CONTENT_CONTROL_IID: Guid = Guid { data1: 0xF3CE3FB2, data2: 0xCD2D, data3: 0x5839, data4: [0x81, 0xC7, 0x3D, 0xF7, 0x0C, 0x3A, 0xD2, 0xF5] }; +pub const I_AVN_CONTENT_CONTROL_IID: Guid = Guid { data1: 0x71FA5ADD, data2: 0x9F62, data3: 0x5918, data4: [0x84, 0xD4, 0x4B, 0x30, 0x0B, 0x8E, 0xA1, 0x92] }; #[repr(C)] struct IAvnContentControlVtbl { @@ -20573,8 +21503,14 @@ struct IAvnContentControlVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnContentControl, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnContentControl, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnContentControl, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnContentControl, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnContentControl, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnContentControl, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnContentControl, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnContentControl, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnContentControl, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnContentControl, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnContentControl, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnContentControl, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnContentControl, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnContentControl, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -21045,6 +21981,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -21058,6 +22020,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -21340,7 +22315,7 @@ impl ComPtr { } } -pub const I_AVN_CONTEXT_MENU_IID: Guid = Guid { data1: 0xA5BAC0B5, data2: 0x5163, data3: 0x5500, data4: [0x8C, 0x58, 0x62, 0x9B, 0xE7, 0xDE, 0x30, 0x37] }; +pub const I_AVN_CONTEXT_MENU_IID: Guid = Guid { data1: 0x770B19A7, data2: 0xFB74, data3: 0x5BCA, data4: [0xB1, 0xDD, 0x9E, 0x0E, 0xF1, 0x24, 0xEF, 0xEE] }; #[repr(C)] struct IAvnContextMenuVtbl { @@ -21407,8 +22382,14 @@ struct IAvnContextMenuVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnContextMenu, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnContextMenu, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnContextMenu, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnContextMenu, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnContextMenu, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnContextMenu, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnContextMenu, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnContextMenu, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnContextMenu, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnContextMenu, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnContextMenu, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnContextMenu, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnContextMenu, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnContextMenu, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -21929,6 +22910,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -21942,6 +22949,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -22567,7 +23587,7 @@ impl ComPtr { } } -pub const I_AVN_CONTROL_IID: Guid = Guid { data1: 0x06D79016, data2: 0x63D8, data3: 0x5035, data4: [0xB2, 0x93, 0x19, 0x96, 0x9F, 0x0B, 0xB3, 0xC6] }; +pub const I_AVN_CONTROL_IID: Guid = Guid { data1: 0xABDFF81D, data2: 0xDB26, data3: 0x5BB7, data4: [0x9A, 0xCA, 0x18, 0x35, 0x3E, 0x6D, 0xB4, 0xD4] }; #[repr(C)] struct IAvnControlVtbl { @@ -22634,8 +23654,14 @@ struct IAvnControlVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnControl, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnControl, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnControl, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnControl, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnControl, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnControl, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnControl, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnControl, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnControl, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnControl, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnControl, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnControl, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnControl, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnControl, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -23070,6 +24096,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -23083,6 +24135,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -23111,7 +24176,7 @@ impl ComPtr { } } -pub const I_AVN_DATE_PICKER_IID: Guid = Guid { data1: 0x5C7D5B90, data2: 0xEC20, data3: 0x5621, data4: [0xBE, 0x13, 0xEA, 0xDA, 0xB8, 0xA0, 0x70, 0x1B] }; +pub const I_AVN_DATE_PICKER_IID: Guid = Guid { data1: 0x1441AD02, data2: 0x88FD, data3: 0x5BCE, data4: [0x9A, 0x23, 0x18, 0x60, 0x76, 0x67, 0xFA, 0xA3] }; #[repr(C)] struct IAvnDatePickerVtbl { @@ -23178,8 +24243,14 @@ struct IAvnDatePickerVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnDatePicker, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnDatePicker, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnDatePicker, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnDatePicker, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnDatePicker, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnDatePicker, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnDatePicker, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnDatePicker, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnDatePicker, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnDatePicker, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnDatePicker, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnDatePicker, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnDatePicker, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnDatePicker, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -23665,6 +24736,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -23678,6 +24775,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -24069,7 +25179,7 @@ impl ComPtr { } } -pub const I_AVN_DECORATOR_IID: Guid = Guid { data1: 0x57E09C6B, data2: 0xA22C, data3: 0x5F01, data4: [0xB6, 0x5C, 0xE5, 0x4C, 0x3D, 0xD5, 0x5E, 0x6C] }; +pub const I_AVN_DECORATOR_IID: Guid = Guid { data1: 0x73D7A8D4, data2: 0x2B75, data3: 0x5F19, data4: [0x95, 0x8F, 0xDE, 0x0D, 0x15, 0xAC, 0x30, 0x79] }; #[repr(C)] struct IAvnDecoratorVtbl { @@ -24136,8 +25246,14 @@ struct IAvnDecoratorVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnDecorator, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnDecorator, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnDecorator, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnDecorator, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnDecorator, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnDecorator, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnDecorator, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnDecorator, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnDecorator, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnDecorator, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnDecorator, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnDecorator, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnDecorator, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnDecorator, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -24576,6 +25692,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -24589,6 +25731,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -24645,7 +25800,7 @@ impl ComPtr { } } -pub const I_AVN_DOCK_PANEL_IID: Guid = Guid { data1: 0xF0C3E239, data2: 0x81CB, data3: 0x544D, data4: [0x9C, 0xEF, 0x73, 0xB1, 0xD0, 0x4C, 0x1F, 0xB3] }; +pub const I_AVN_DOCK_PANEL_IID: Guid = Guid { data1: 0x36376ACD, data2: 0x9F74, data3: 0x59B8, data4: [0xAD, 0xCA, 0xCA, 0xE9, 0x6F, 0x5E, 0x70, 0xB9] }; #[repr(C)] struct IAvnDockPanelVtbl { @@ -24712,8 +25867,14 @@ struct IAvnDockPanelVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnDockPanel, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnDockPanel, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnDockPanel, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnDockPanel, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnDockPanel, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnDockPanel, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnDockPanel, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnDockPanel, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnDockPanel, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnDockPanel, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnDockPanel, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnDockPanel, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnDockPanel, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnDockPanel, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -25157,6 +26318,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -25170,6 +26357,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -25262,7 +26462,7 @@ impl ComPtr { } } -pub const I_AVN_DROP_DOWN_BUTTON_IID: Guid = Guid { data1: 0x7CDEF76D, data2: 0x7FD4, data3: 0x5552, data4: [0xB5, 0x91, 0x2D, 0x98, 0x14, 0x0A, 0x7A, 0x63] }; +pub const I_AVN_DROP_DOWN_BUTTON_IID: Guid = Guid { data1: 0x85F27971, data2: 0xCEB0, data3: 0x528D, data4: [0x8D, 0x3B, 0xC0, 0xAB, 0x62, 0xE1, 0x1F, 0xDA] }; #[repr(C)] struct IAvnDropDownButtonVtbl { @@ -25329,8 +26529,14 @@ struct IAvnDropDownButtonVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnDropDownButton, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnDropDownButton, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnDropDownButton, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnDropDownButton, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnDropDownButton, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnDropDownButton, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnDropDownButton, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnDropDownButton, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnDropDownButton, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnDropDownButton, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnDropDownButton, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnDropDownButton, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnDropDownButton, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnDropDownButton, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -25818,6 +27024,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -25831,6 +27063,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -26233,7 +27478,7 @@ impl ComPtr { } } -pub const I_AVN_EXPANDER_IID: Guid = Guid { data1: 0x24CFAB36, data2: 0x1C9D, data3: 0x5E25, data4: [0xAE, 0x07, 0xE9, 0x1D, 0xA6, 0xB3, 0xA2, 0x1C] }; +pub const I_AVN_EXPANDER_IID: Guid = Guid { data1: 0x5655BDB3, data2: 0xEF10, data3: 0x56D0, data4: [0xBE, 0x24, 0x59, 0xFC, 0x88, 0x35, 0x09, 0x39] }; #[repr(C)] struct IAvnExpanderVtbl { @@ -26300,8 +27545,14 @@ struct IAvnExpanderVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnExpander, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnExpander, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnExpander, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnExpander, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnExpander, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnExpander, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnExpander, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnExpander, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnExpander, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnExpander, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnExpander, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnExpander, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnExpander, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnExpander, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -26788,6 +28039,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -26801,6 +28078,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -27191,7 +28481,7 @@ impl ComPtr { } } -pub const I_AVN_FLEX_PANEL_IID: Guid = Guid { data1: 0x299F0D1D, data2: 0x2C19, data3: 0x5531, data4: [0xA4, 0xC9, 0x32, 0x7C, 0x78, 0x4B, 0x29, 0x7D] }; +pub const I_AVN_FLEX_PANEL_IID: Guid = Guid { data1: 0x5E186F8A, data2: 0xD1FB, data3: 0x5989, data4: [0xA4, 0x96, 0x63, 0x98, 0x2A, 0x99, 0x97, 0x52] }; #[repr(C)] struct IAvnFlexPanelVtbl { @@ -27258,8 +28548,14 @@ struct IAvnFlexPanelVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnFlexPanel, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnFlexPanel, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnFlexPanel, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnFlexPanel, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnFlexPanel, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnFlexPanel, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnFlexPanel, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnFlexPanel, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnFlexPanel, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnFlexPanel, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnFlexPanel, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnFlexPanel, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnFlexPanel, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnFlexPanel, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -27711,6 +29007,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -27724,6 +29046,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -28216,7 +29551,7 @@ impl ComPtr { } } -pub const I_AVN_GRID_IID: Guid = Guid { data1: 0x55E75D4C, data2: 0xFC75, data3: 0x51A9, data4: [0xBA, 0x87, 0x6D, 0x28, 0x70, 0x4E, 0xAF, 0xC8] }; +pub const I_AVN_GRID_IID: Guid = Guid { data1: 0x63034BE5, data2: 0x179A, data3: 0x5196, data4: [0x83, 0x38, 0xF1, 0x07, 0x85, 0xC6, 0xDD, 0xDD] }; #[repr(C)] struct IAvnGridVtbl { @@ -28283,8 +29618,14 @@ struct IAvnGridVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnGrid, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnGrid, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnGrid, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnGrid, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnGrid, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnGrid, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnGrid, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnGrid, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnGrid, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnGrid, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnGrid, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnGrid, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnGrid, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnGrid, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -28732,6 +30073,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -28745,6 +30112,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -28867,7 +30247,7 @@ impl ComPtr { } } -pub const I_AVN_GRID_SPLITTER_IID: Guid = Guid { data1: 0xDBCA4F68, data2: 0xAFEE, data3: 0x5885, data4: [0x93, 0x8A, 0x19, 0x4E, 0x7D, 0xE5, 0xC5, 0x51] }; +pub const I_AVN_GRID_SPLITTER_IID: Guid = Guid { data1: 0x93629BF6, data2: 0xE409, data3: 0x5BF3, data4: [0xBB, 0x49, 0x45, 0x4A, 0x88, 0x45, 0x50, 0xE3] }; #[repr(C)] struct IAvnGridSplitterVtbl { @@ -28934,8 +30314,14 @@ struct IAvnGridSplitterVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnGridSplitter, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnGridSplitter, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnGridSplitter, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnGridSplitter, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnGridSplitter, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnGridSplitter, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnGridSplitter, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnGridSplitter, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnGridSplitter, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnGridSplitter, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnGridSplitter, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnGridSplitter, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnGridSplitter, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnGridSplitter, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -29414,6 +30800,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -29427,6 +30839,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -29762,7 +31187,7 @@ impl ComPtr { } } -pub const I_AVN_GROUP_BOX_IID: Guid = Guid { data1: 0x48EE658E, data2: 0x57F1, data3: 0x5550, data4: [0xAE, 0xB5, 0x76, 0x64, 0x77, 0xC6, 0x16, 0xBD] }; +pub const I_AVN_GROUP_BOX_IID: Guid = Guid { data1: 0xB2A2A0DC, data2: 0x533F, data3: 0x50D6, data4: [0xB4, 0x86, 0x8A, 0xFB, 0x44, 0xB0, 0xE8, 0x2D] }; #[repr(C)] struct IAvnGroupBoxVtbl { @@ -29829,8 +31254,14 @@ struct IAvnGroupBoxVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnGroupBox, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnGroupBox, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnGroupBox, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnGroupBox, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnGroupBox, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnGroupBox, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnGroupBox, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnGroupBox, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnGroupBox, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnGroupBox, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnGroupBox, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnGroupBox, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnGroupBox, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnGroupBox, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -30305,6 +31736,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -30318,6 +31775,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -30628,7 +32098,7 @@ impl ComPtr { } } -pub const I_AVN_HYPERLINK_BUTTON_IID: Guid = Guid { data1: 0xBA5D6CE2, data2: 0xB42B, data3: 0x5ED0, data4: [0xB2, 0x88, 0x97, 0x75, 0x60, 0x6E, 0x18, 0x02] }; +pub const I_AVN_HYPERLINK_BUTTON_IID: Guid = Guid { data1: 0xCCCE2078, data2: 0xE616, data3: 0x51A8, data4: [0xA5, 0x5F, 0x77, 0xD3, 0x16, 0xF2, 0xC9, 0xAB] }; #[repr(C)] struct IAvnHyperlinkButtonVtbl { @@ -30695,8 +32165,14 @@ struct IAvnHyperlinkButtonVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnHyperlinkButton, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnHyperlinkButton, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnHyperlinkButton, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnHyperlinkButton, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnHyperlinkButton, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnHyperlinkButton, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnHyperlinkButton, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnHyperlinkButton, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnHyperlinkButton, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnHyperlinkButton, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnHyperlinkButton, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnHyperlinkButton, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnHyperlinkButton, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnHyperlinkButton, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -31188,6 +32664,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -31201,6 +32703,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -31632,7 +33147,7 @@ impl ComPtr { } } -pub const I_AVN_ICON_ELEMENT_IID: Guid = Guid { data1: 0x27129D51, data2: 0x9086, data3: 0x5E87, data4: [0x97, 0xF2, 0xA7, 0xB3, 0x0B, 0x2F, 0x7A, 0x32] }; +pub const I_AVN_ICON_ELEMENT_IID: Guid = Guid { data1: 0x0A1BCD24, data2: 0x9DC9, data3: 0x55DB, data4: [0xB2, 0xAA, 0x93, 0x00, 0x41, 0x18, 0x5E, 0x3B] }; #[repr(C)] struct IAvnIconElementVtbl { @@ -31699,8 +33214,14 @@ struct IAvnIconElementVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnIconElement, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnIconElement, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnIconElement, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnIconElement, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnIconElement, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnIconElement, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnIconElement, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnIconElement, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnIconElement, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnIconElement, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnIconElement, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnIconElement, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnIconElement, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnIconElement, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -32163,6 +33684,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -32176,6 +33723,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -32402,7 +33962,7 @@ impl ComPtr { } } -pub const I_AVN_IMAGE_IID: Guid = Guid { data1: 0xACC338F6, data2: 0x8C35, data3: 0x57F4, data4: [0xBB, 0x82, 0x4A, 0x3F, 0x39, 0x7B, 0x13, 0x0F] }; +pub const I_AVN_IMAGE_IID: Guid = Guid { data1: 0x4A556F2B, data2: 0x827F, data3: 0x5748, data4: [0xB7, 0xCD, 0xC4, 0x84, 0x52, 0x72, 0x7A, 0x29] }; #[repr(C)] struct IAvnImageVtbl { @@ -32469,8 +34029,14 @@ struct IAvnImageVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnImage, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnImage, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnImage, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnImage, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnImage, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnImage, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnImage, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnImage, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnImage, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnImage, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnImage, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnImage, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnImage, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnImage, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -32913,6 +34479,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -32926,6 +34518,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -33011,7 +34616,7 @@ impl ComPtr { } } -pub const I_AVN_ITEMS_CONTROL_IID: Guid = Guid { data1: 0xD985D274, data2: 0x6EFC, data3: 0x5423, data4: [0xB7, 0x4F, 0x7A, 0x73, 0x13, 0x39, 0x92, 0xFC] }; +pub const I_AVN_ITEMS_CONTROL_IID: Guid = Guid { data1: 0xB656735C, data2: 0xEECA, data3: 0x50CC, data4: [0xA8, 0x7D, 0xB4, 0x36, 0x2F, 0x7E, 0x04, 0x5A] }; #[repr(C)] struct IAvnItemsControlVtbl { @@ -33078,8 +34683,14 @@ struct IAvnItemsControlVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnItemsControl, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnItemsControl, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnItemsControl, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnItemsControl, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnItemsControl, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnItemsControl, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnItemsControl, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnItemsControl, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnItemsControl, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnItemsControl, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnItemsControl, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnItemsControl, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnItemsControl, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnItemsControl, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -33554,6 +35165,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -33567,6 +35204,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -33877,7 +35527,7 @@ impl ComPtr { } } -pub const I_AVN_LABEL_IID: Guid = Guid { data1: 0x621B0405, data2: 0x7E33, data3: 0x56EE, data4: [0x8F, 0xF0, 0xE1, 0xCA, 0x60, 0x42, 0x09, 0xBD] }; +pub const I_AVN_LABEL_IID: Guid = Guid { data1: 0xA1ACC10D, data2: 0x5788, data3: 0x5CFF, data4: [0x9D, 0x99, 0x79, 0x87, 0x70, 0x89, 0x8E, 0x14] }; #[repr(C)] struct IAvnLabelVtbl { @@ -33944,8 +35594,14 @@ struct IAvnLabelVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnLabel, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnLabel, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnLabel, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnLabel, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnLabel, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnLabel, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnLabel, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnLabel, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnLabel, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnLabel, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnLabel, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnLabel, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnLabel, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnLabel, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -34418,6 +36074,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -34431,6 +36113,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -34727,7 +36422,7 @@ impl ComPtr { } } -pub const I_AVN_LAYOUT_TRANSFORM_CONTROL_IID: Guid = Guid { data1: 0x39D82382, data2: 0x98B4, data3: 0x510A, data4: [0xAE, 0x62, 0x19, 0xE9, 0xBB, 0xA1, 0x36, 0x98] }; +pub const I_AVN_LAYOUT_TRANSFORM_CONTROL_IID: Guid = Guid { data1: 0x5295C33E, data2: 0x5E49, data3: 0x5425, data4: [0xB0, 0x6D, 0xD0, 0xA3, 0x7D, 0x4A, 0xAE, 0x68] }; #[repr(C)] struct IAvnLayoutTransformControlVtbl { @@ -34794,8 +36489,14 @@ struct IAvnLayoutTransformControlVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnLayoutTransformControl, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnLayoutTransformControl, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnLayoutTransformControl, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnLayoutTransformControl, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnLayoutTransformControl, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnLayoutTransformControl, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnLayoutTransformControl, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnLayoutTransformControl, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnLayoutTransformControl, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnLayoutTransformControl, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnLayoutTransformControl, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnLayoutTransformControl, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnLayoutTransformControl, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnLayoutTransformControl, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -35236,6 +36937,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -35249,6 +36976,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -35319,7 +37059,7 @@ impl ComPtr { } } -pub const I_AVN_LIST_BOX_IID: Guid = Guid { data1: 0xB5B6A7D1, data2: 0xB302, data3: 0x56BB, data4: [0x93, 0xA9, 0xD5, 0x32, 0x37, 0x70, 0x86, 0x32] }; +pub const I_AVN_LIST_BOX_IID: Guid = Guid { data1: 0x6D07BC84, data2: 0xD7C4, data3: 0x5226, data4: [0xA6, 0x9E, 0xAA, 0xF3, 0xEE, 0x16, 0x63, 0xA9] }; #[repr(C)] struct IAvnListBoxVtbl { @@ -35386,8 +37126,14 @@ struct IAvnListBoxVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnListBox, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnListBox, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnListBox, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnListBox, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnListBox, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnListBox, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnListBox, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnListBox, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnListBox, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnListBox, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnListBox, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnListBox, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnListBox, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnListBox, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -35880,6 +37626,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -35893,6 +37665,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -36326,7 +38111,7 @@ impl ComPtr { } } -pub const I_AVN_LIST_BOX_ITEM_IID: Guid = Guid { data1: 0x19A8B0AF, data2: 0x1926, data3: 0x5DE4, data4: [0xB6, 0xEC, 0x5E, 0x2F, 0x02, 0x68, 0x31, 0xB6] }; +pub const I_AVN_LIST_BOX_ITEM_IID: Guid = Guid { data1: 0x4BB2FF76, data2: 0xE252, data3: 0x53F1, data4: [0x8A, 0xE0, 0xE3, 0x2A, 0x2C, 0x1B, 0xBE, 0x76] }; #[repr(C)] struct IAvnListBoxItemVtbl { @@ -36393,8 +38178,14 @@ struct IAvnListBoxItemVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnListBoxItem, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnListBoxItem, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnListBoxItem, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnListBoxItem, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnListBoxItem, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnListBoxItem, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnListBoxItem, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnListBoxItem, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnListBoxItem, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnListBoxItem, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnListBoxItem, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnListBoxItem, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnListBoxItem, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnListBoxItem, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -36867,6 +38658,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -36880,6 +38697,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -37176,7 +39006,7 @@ impl ComPtr { } } -pub const I_AVN_MASKED_TEXT_BOX_IID: Guid = Guid { data1: 0xC7B40FDD, data2: 0x3EBA, data3: 0x55CF, data4: [0x84, 0xBF, 0x5F, 0xAD, 0x22, 0x22, 0x99, 0x08] }; +pub const I_AVN_MASKED_TEXT_BOX_IID: Guid = Guid { data1: 0xE621C745, data2: 0xA587, data3: 0x5BDD, data4: [0xA1, 0xC5, 0x8F, 0x49, 0x8B, 0x86, 0x36, 0xC5] }; #[repr(C)] struct IAvnMaskedTextBoxVtbl { @@ -37243,8 +39073,14 @@ struct IAvnMaskedTextBoxVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnMaskedTextBox, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnMaskedTextBox, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnMaskedTextBox, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnMaskedTextBox, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnMaskedTextBox, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnMaskedTextBox, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnMaskedTextBox, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnMaskedTextBox, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnMaskedTextBox, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnMaskedTextBox, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnMaskedTextBox, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnMaskedTextBox, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnMaskedTextBox, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnMaskedTextBox, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -37810,6 +39646,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -37823,6 +39685,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -38768,7 +40643,7 @@ impl ComPtr { } } -pub const I_AVN_MENU_IID: Guid = Guid { data1: 0xE97435D8, data2: 0x8BC7, data3: 0x5A16, data4: [0xB1, 0xD1, 0x4B, 0x97, 0x60, 0x08, 0xF3, 0x41] }; +pub const I_AVN_MENU_IID: Guid = Guid { data1: 0x0220FC0F, data2: 0xFA60, data3: 0x5173, data4: [0x9E, 0x8B, 0xAD, 0x96, 0x35, 0x1B, 0x3C, 0x6D] }; #[repr(C)] struct IAvnMenuVtbl { @@ -38835,8 +40710,14 @@ struct IAvnMenuVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnMenu, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnMenu, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnMenu, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnMenu, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnMenu, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnMenu, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnMenu, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnMenu, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnMenu, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnMenu, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnMenu, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnMenu, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnMenu, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnMenu, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -39332,6 +41213,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -39345,6 +41252,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -39798,7 +41718,7 @@ impl ComPtr { } } -pub const I_AVN_MENU_BASE_IID: Guid = Guid { data1: 0xBAB46325, data2: 0x4D7E, data3: 0x54C4, data4: [0xB8, 0xE0, 0x69, 0xA6, 0x47, 0xE2, 0xBF, 0xC6] }; +pub const I_AVN_MENU_BASE_IID: Guid = Guid { data1: 0x3B780634, data2: 0x1A42, data3: 0x576F, data4: [0xA5, 0x87, 0xEE, 0x11, 0xF0, 0xB5, 0xC8, 0xE8] }; #[repr(C)] struct IAvnMenuBaseVtbl { @@ -39865,8 +41785,14 @@ struct IAvnMenuBaseVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnMenuBase, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnMenuBase, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnMenuBase, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnMenuBase, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnMenuBase, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnMenuBase, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnMenuBase, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnMenuBase, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnMenuBase, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnMenuBase, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnMenuBase, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnMenuBase, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnMenuBase, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnMenuBase, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -40362,6 +42288,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -40375,6 +42327,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -41181,7 +43146,7 @@ impl ComPtr { } } -pub const I_AVN_MENU_ITEM_IID: Guid = Guid { data1: 0x1A9E2536, data2: 0x7437, data3: 0x553C, data4: [0xAF, 0xB6, 0x68, 0x1C, 0xF1, 0x50, 0x21, 0xFF] }; +pub const I_AVN_MENU_ITEM_IID: Guid = Guid { data1: 0xB08CE5EB, data2: 0xF84F, data3: 0x5466, data4: [0xBB, 0x66, 0x98, 0x6E, 0x09, 0x71, 0x33, 0x3B] }; #[repr(C)] struct IAvnMenuItemVtbl { @@ -41248,8 +43213,14 @@ struct IAvnMenuItemVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnMenuItem, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnMenuItem, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnMenuItem, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnMenuItem, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnMenuItem, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnMenuItem, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnMenuItem, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnMenuItem, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnMenuItem, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnMenuItem, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnMenuItem, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnMenuItem, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnMenuItem, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnMenuItem, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -41772,6 +43743,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -41785,6 +43782,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -42431,7 +44441,7 @@ impl ComPtr { } } -pub const I_AVN_NOTIFICATION_CARD_IID: Guid = Guid { data1: 0xDF540B6A, data2: 0x58F6, data3: 0x59F6, data4: [0xB3, 0xDB, 0xF8, 0xFD, 0x04, 0x66, 0x54, 0x02] }; +pub const I_AVN_NOTIFICATION_CARD_IID: Guid = Guid { data1: 0x9E575724, data2: 0x617A, data3: 0x54E5, data4: [0xBF, 0x78, 0xB6, 0xC6, 0x8E, 0x5F, 0x43, 0x43] }; #[repr(C)] struct IAvnNotificationCardVtbl { @@ -42498,8 +44508,14 @@ struct IAvnNotificationCardVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnNotificationCard, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnNotificationCard, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnNotificationCard, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnNotificationCard, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnNotificationCard, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnNotificationCard, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnNotificationCard, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnNotificationCard, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnNotificationCard, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnNotificationCard, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnNotificationCard, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnNotificationCard, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnNotificationCard, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnNotificationCard, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -42978,6 +44994,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -42991,6 +45033,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -43328,7 +45383,7 @@ impl ComPtr { } } -pub const I_AVN_WINDOW_NOTIFICATION_MANAGER_IID: Guid = Guid { data1: 0xD4C37646, data2: 0xAAD1, data3: 0x5B56, data4: [0xA2, 0x60, 0xD0, 0xAB, 0x8C, 0xFE, 0x09, 0x36] }; +pub const I_AVN_WINDOW_NOTIFICATION_MANAGER_IID: Guid = Guid { data1: 0x7C085288, data2: 0x6201, data3: 0x58A3, data4: [0xBD, 0x39, 0x14, 0xF2, 0x36, 0x96, 0x50, 0x4B] }; #[repr(C)] struct IAvnWindowNotificationManagerVtbl { @@ -43395,8 +45450,14 @@ struct IAvnWindowNotificationManagerVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnWindowNotificationManager, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnWindowNotificationManager, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnWindowNotificationManager, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnWindowNotificationManager, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnWindowNotificationManager, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnWindowNotificationManager, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnWindowNotificationManager, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnWindowNotificationManager, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnWindowNotificationManager, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnWindowNotificationManager, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnWindowNotificationManager, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnWindowNotificationManager, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnWindowNotificationManager, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnWindowNotificationManager, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -43868,6 +45929,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -43881,6 +45968,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -44165,7 +46265,7 @@ impl ComPtr { } } -pub const I_AVN_NUMERIC_UP_DOWN_IID: Guid = Guid { data1: 0x5F487A30, data2: 0x39D1, data3: 0x524A, data4: [0x9A, 0x6E, 0x01, 0xE5, 0x84, 0x45, 0x2E, 0x03] }; +pub const I_AVN_NUMERIC_UP_DOWN_IID: Guid = Guid { data1: 0x63426B0F, data2: 0x1A76, data3: 0x51A9, data4: [0x9E, 0x98, 0x34, 0x3D, 0x2E, 0x69, 0xC1, 0x56] }; #[repr(C)] struct IAvnNumericUpDownVtbl { @@ -44232,8 +46332,14 @@ struct IAvnNumericUpDownVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnNumericUpDown, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnNumericUpDown, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnNumericUpDown, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnNumericUpDown, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnNumericUpDown, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnNumericUpDown, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnNumericUpDown, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnNumericUpDown, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnNumericUpDown, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnNumericUpDown, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnNumericUpDown, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnNumericUpDown, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnNumericUpDown, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnNumericUpDown, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -44736,6 +46842,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -44749,6 +46881,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -45260,7 +47405,7 @@ impl ComPtr { } } -pub const I_AVN_PANEL_IID: Guid = Guid { data1: 0x79DAA937, data2: 0xB232, data3: 0x5B99, data4: [0x84, 0xFB, 0xE3, 0xD6, 0x41, 0x24, 0xED, 0xA5] }; +pub const I_AVN_PANEL_IID: Guid = Guid { data1: 0x96AD03DD, data2: 0xF271, data3: 0x537E, data4: [0xA9, 0x33, 0xB7, 0xC7, 0x5D, 0x63, 0xAC, 0x0C] }; #[repr(C)] struct IAvnPanelVtbl { @@ -45327,8 +47472,14 @@ struct IAvnPanelVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnPanel, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnPanel, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnPanel, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnPanel, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnPanel, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnPanel, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnPanel, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnPanel, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnPanel, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnPanel, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnPanel, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnPanel, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnPanel, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnPanel, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -45766,6 +47917,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -45779,6 +47956,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -45829,7 +48019,7 @@ impl ComPtr { } } -pub const I_AVN_PATH_ICON_IID: Guid = Guid { data1: 0xF220C58A, data2: 0x4D65, data3: 0x5882, data4: [0x8D, 0x9D, 0xEB, 0xE5, 0xF0, 0xA1, 0xD9, 0xA4] }; +pub const I_AVN_PATH_ICON_IID: Guid = Guid { data1: 0x885577A3, data2: 0xAC29, data3: 0x51D9, data4: [0xAC, 0xB5, 0xD3, 0x0A, 0xBB, 0xB4, 0x84, 0xFC] }; #[repr(C)] struct IAvnPathIconVtbl { @@ -45896,8 +48086,14 @@ struct IAvnPathIconVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnPathIcon, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnPathIcon, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnPathIcon, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnPathIcon, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnPathIcon, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnPathIcon, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnPathIcon, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnPathIcon, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnPathIcon, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnPathIcon, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnPathIcon, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnPathIcon, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnPathIcon, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnPathIcon, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -46362,6 +48558,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -46375,6 +48597,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -46616,7 +48851,7 @@ impl ComPtr { } } -pub const I_AVN_PIPS_PAGER_IID: Guid = Guid { data1: 0x03DEC932, data2: 0x3B73, data3: 0x5A8C, data4: [0x9C, 0xE7, 0x9E, 0x82, 0xF4, 0xFA, 0xDE, 0x70] }; +pub const I_AVN_PIPS_PAGER_IID: Guid = Guid { data1: 0x6C3C0A8B, data2: 0x3237, data3: 0x50C1, data4: [0x8D, 0xF3, 0x51, 0x71, 0xED, 0xF2, 0xA1, 0xB8] }; #[repr(C)] struct IAvnPipsPagerVtbl { @@ -46683,8 +48918,14 @@ struct IAvnPipsPagerVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnPipsPager, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnPipsPager, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnPipsPager, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnPipsPager, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnPipsPager, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnPipsPager, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnPipsPager, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnPipsPager, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnPipsPager, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnPipsPager, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnPipsPager, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnPipsPager, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnPipsPager, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnPipsPager, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -47161,6 +49402,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -47174,6 +49441,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -47603,7 +49883,7 @@ impl ComPtr { } } -pub const I_AVN_HEADERED_CONTENT_CONTROL_IID: Guid = Guid { data1: 0x326C8A38, data2: 0xFA42, data3: 0x51F4, data4: [0x90, 0x41, 0xE7, 0xFD, 0x0F, 0xFF, 0xB6, 0x96] }; +pub const I_AVN_HEADERED_CONTENT_CONTROL_IID: Guid = Guid { data1: 0xC1825F55, data2: 0xDE82, data3: 0x5447, data4: [0x93, 0xA8, 0x4A, 0x55, 0xF6, 0x3B, 0xA6, 0x52] }; #[repr(C)] struct IAvnHeaderedContentControlVtbl { @@ -47670,8 +49950,14 @@ struct IAvnHeaderedContentControlVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnHeaderedContentControl, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnHeaderedContentControl, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnHeaderedContentControl, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnHeaderedContentControl, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnHeaderedContentControl, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnHeaderedContentControl, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnHeaderedContentControl, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnHeaderedContentControl, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnHeaderedContentControl, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnHeaderedContentControl, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnHeaderedContentControl, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnHeaderedContentControl, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnHeaderedContentControl, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnHeaderedContentControl, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -48146,6 +50432,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -48159,6 +50471,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -48469,7 +50794,7 @@ impl ComPtr { } } -pub const I_AVN_HEADERED_ITEMS_CONTROL_IID: Guid = Guid { data1: 0xE4AB3702, data2: 0x5F01, data3: 0x59CF, data4: [0x9F, 0x5E, 0x3C, 0x3D, 0xD2, 0x81, 0x53, 0x3F] }; +pub const I_AVN_HEADERED_ITEMS_CONTROL_IID: Guid = Guid { data1: 0xB6281359, data2: 0x24AB, data3: 0x5280, data4: [0x8B, 0x2C, 0x76, 0x2A, 0x53, 0x52, 0x9C, 0x27] }; #[repr(C)] struct IAvnHeaderedItemsControlVtbl { @@ -48536,8 +50861,14 @@ struct IAvnHeaderedItemsControlVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnHeaderedItemsControl, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnHeaderedItemsControl, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnHeaderedItemsControl, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnHeaderedItemsControl, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnHeaderedItemsControl, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnHeaderedItemsControl, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnHeaderedItemsControl, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnHeaderedItemsControl, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnHeaderedItemsControl, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnHeaderedItemsControl, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnHeaderedItemsControl, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnHeaderedItemsControl, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnHeaderedItemsControl, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnHeaderedItemsControl, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -49016,6 +51347,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -49029,6 +51386,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -49367,7 +51737,7 @@ impl ComPtr { } } -pub const I_AVN_HEADERED_SELECTING_ITEMS_CONTROL_IID: Guid = Guid { data1: 0xE0CB1C51, data2: 0x192B, data3: 0x5B9B, data4: [0x8A, 0x19, 0x72, 0xEE, 0x4C, 0x68, 0xC2, 0x7D] }; +pub const I_AVN_HEADERED_SELECTING_ITEMS_CONTROL_IID: Guid = Guid { data1: 0x8640C1BF, data2: 0x2502, data3: 0x5E21, data4: [0xB8, 0x61, 0x1E, 0xCB, 0xD1, 0x91, 0x8F, 0xD1] }; #[repr(C)] struct IAvnHeaderedSelectingItemsControlVtbl { @@ -49434,8 +51804,14 @@ struct IAvnHeaderedSelectingItemsControlVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnHeaderedSelectingItemsControl, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnHeaderedSelectingItemsControl, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnHeaderedSelectingItemsControl, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnHeaderedSelectingItemsControl, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnHeaderedSelectingItemsControl, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnHeaderedSelectingItemsControl, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnHeaderedSelectingItemsControl, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnHeaderedSelectingItemsControl, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnHeaderedSelectingItemsControl, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnHeaderedSelectingItemsControl, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnHeaderedSelectingItemsControl, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnHeaderedSelectingItemsControl, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnHeaderedSelectingItemsControl, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnHeaderedSelectingItemsControl, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -49928,6 +52304,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -49941,6 +52343,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -50376,7 +52791,7 @@ impl ComPtr { } } -pub const I_AVN_POPUP_IID: Guid = Guid { data1: 0x4F10A2E5, data2: 0xD393, data3: 0x52F5, data4: [0x97, 0xCB, 0x0D, 0xDA, 0x94, 0x11, 0xF6, 0xE4] }; +pub const I_AVN_POPUP_IID: Guid = Guid { data1: 0x6CCB1B6A, data2: 0xEC3B, data3: 0x5625, data4: [0xA6, 0x04, 0x97, 0xB5, 0x6F, 0xF5, 0xB8, 0x6F] }; #[repr(C)] struct IAvnPopupVtbl { @@ -50443,8 +52858,14 @@ struct IAvnPopupVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnPopup, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnPopup, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnPopup, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnPopup, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnPopup, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnPopup, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnPopup, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnPopup, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnPopup, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnPopup, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnPopup, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnPopup, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnPopup, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnPopup, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -50925,6 +53346,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -50938,6 +53385,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -51598,7 +54058,7 @@ impl ComPtr { } } -pub const I_AVN_RANGE_BASE_IID: Guid = Guid { data1: 0xC2C5CCBC, data2: 0xF621, data3: 0x560A, data4: [0xB6, 0xF6, 0x87, 0xA2, 0x86, 0xDA, 0xB5, 0x0B] }; +pub const I_AVN_RANGE_BASE_IID: Guid = Guid { data1: 0xF1231250, data2: 0xDB6B, data3: 0x52E4, data4: [0xA4, 0x2E, 0x3C, 0x57, 0xE7, 0x3C, 0x70, 0x23] }; #[repr(C)] struct IAvnRangeBaseVtbl { @@ -51665,8 +54125,14 @@ struct IAvnRangeBaseVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnRangeBase, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnRangeBase, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnRangeBase, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnRangeBase, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnRangeBase, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnRangeBase, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnRangeBase, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnRangeBase, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnRangeBase, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnRangeBase, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnRangeBase, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnRangeBase, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnRangeBase, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnRangeBase, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -52141,6 +54607,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -52154,6 +54646,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -52463,7 +54968,7 @@ impl ComPtr { } } -pub const I_AVN_SELECTING_ITEMS_CONTROL_IID: Guid = Guid { data1: 0xB2D5F624, data2: 0xDE4C, data3: 0x5278, data4: [0x97, 0x7F, 0x9E, 0xB7, 0x64, 0xDD, 0x6B, 0x2F] }; +pub const I_AVN_SELECTING_ITEMS_CONTROL_IID: Guid = Guid { data1: 0x56020FA9, data2: 0xD4A4, data3: 0x52B6, data4: [0xB5, 0xFC, 0xEA, 0xEB, 0x6F, 0xD5, 0x63, 0xC2] }; #[repr(C)] struct IAvnSelectingItemsControlVtbl { @@ -52530,8 +55035,14 @@ struct IAvnSelectingItemsControlVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnSelectingItemsControl, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnSelectingItemsControl, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnSelectingItemsControl, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnSelectingItemsControl, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnSelectingItemsControl, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnSelectingItemsControl, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnSelectingItemsControl, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnSelectingItemsControl, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnSelectingItemsControl, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnSelectingItemsControl, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnSelectingItemsControl, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnSelectingItemsControl, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnSelectingItemsControl, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnSelectingItemsControl, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -53020,6 +55531,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -53033,6 +55570,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -53440,7 +55990,7 @@ impl ComPtr { } } -pub const I_AVN_TEMPLATED_CONTROL_IID: Guid = Guid { data1: 0xD71DF481, data2: 0xE9FE, data3: 0x5463, data4: [0xBD, 0xA3, 0x7C, 0x05, 0x46, 0xC5, 0x71, 0x6A] }; +pub const I_AVN_TEMPLATED_CONTROL_IID: Guid = Guid { data1: 0xE2867468, data2: 0x09D4, data3: 0x5D05, data4: [0xA9, 0x56, 0xF6, 0x87, 0xA7, 0x8D, 0xF5, 0x1A] }; #[repr(C)] struct IAvnTemplatedControlVtbl { @@ -53507,8 +56057,14 @@ struct IAvnTemplatedControlVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnTemplatedControl, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnTemplatedControl, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnTemplatedControl, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnTemplatedControl, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnTemplatedControl, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnTemplatedControl, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnTemplatedControl, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnTemplatedControl, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnTemplatedControl, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnTemplatedControl, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnTemplatedControl, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnTemplatedControl, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnTemplatedControl, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnTemplatedControl, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -53971,6 +56527,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -53984,6 +56566,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -54210,7 +56805,7 @@ impl ComPtr { } } -pub const I_AVN_THUMB_IID: Guid = Guid { data1: 0xD4BA0A24, data2: 0xA5D3, data3: 0x56FE, data4: [0xB4, 0x86, 0x86, 0x8C, 0x8C, 0x5A, 0x52, 0xB6] }; +pub const I_AVN_THUMB_IID: Guid = Guid { data1: 0xB62C6C73, data2: 0x14C3, data3: 0x5E0D, data4: [0xA7, 0x25, 0xF5, 0x60, 0x61, 0x07, 0xB4, 0x54] }; #[repr(C)] struct IAvnThumbVtbl { @@ -54277,8 +56872,14 @@ struct IAvnThumbVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnThumb, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnThumb, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnThumb, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnThumb, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnThumb, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnThumb, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnThumb, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnThumb, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnThumb, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnThumb, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnThumb, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnThumb, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnThumb, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnThumb, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -54747,6 +57348,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -54760,6 +57387,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -55025,7 +57665,7 @@ impl ComPtr { } } -pub const I_AVN_TOGGLE_BUTTON_IID: Guid = Guid { data1: 0x978AD791, data2: 0x8ABE, data3: 0x5494, data4: [0xB9, 0xAB, 0xB2, 0x99, 0x37, 0x06, 0x28, 0x70] }; +pub const I_AVN_TOGGLE_BUTTON_IID: Guid = Guid { data1: 0xF9840045, data2: 0x23B2, data3: 0x5318, data4: [0xA7, 0xDA, 0xEB, 0x7F, 0x32, 0x87, 0xFB, 0xD8] }; #[repr(C)] struct IAvnToggleButtonVtbl { @@ -55092,8 +57732,14 @@ struct IAvnToggleButtonVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnToggleButton, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnToggleButton, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnToggleButton, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnToggleButton, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnToggleButton, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnToggleButton, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnToggleButton, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnToggleButton, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnToggleButton, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnToggleButton, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnToggleButton, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnToggleButton, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnToggleButton, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnToggleButton, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -55587,6 +58233,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -55600,6 +58272,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -56043,7 +58728,7 @@ impl ComPtr { } } -pub const I_AVN_UNIFORM_GRID_IID: Guid = Guid { data1: 0xB6DABE9A, data2: 0x7AED, data3: 0x5BCF, data4: [0xB8, 0x89, 0xA7, 0x15, 0xEC, 0x08, 0xD5, 0xE4] }; +pub const I_AVN_UNIFORM_GRID_IID: Guid = Guid { data1: 0x600B20CC, data2: 0x7AA7, data3: 0x5EC9, data4: [0xB7, 0x73, 0xA8, 0x93, 0xB4, 0x37, 0x6F, 0x95] }; #[repr(C)] struct IAvnUniformGridVtbl { @@ -56110,8 +58795,14 @@ struct IAvnUniformGridVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnUniformGrid, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnUniformGrid, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnUniformGrid, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnUniformGrid, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnUniformGrid, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnUniformGrid, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnUniformGrid, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnUniformGrid, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnUniformGrid, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnUniformGrid, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnUniformGrid, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnUniformGrid, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnUniformGrid, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnUniformGrid, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -56559,6 +59250,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -56572,6 +59289,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -56692,7 +59422,7 @@ impl ComPtr { } } -pub const I_AVN_PROGRESS_BAR_IID: Guid = Guid { data1: 0x54861122, data2: 0xE527, data3: 0x532B, data4: [0xA4, 0x44, 0x76, 0xCB, 0x50, 0x2B, 0x04, 0x1E] }; +pub const I_AVN_PROGRESS_BAR_IID: Guid = Guid { data1: 0xA87F44AD, data2: 0x6E9D, data3: 0x5059, data4: [0xA3, 0x55, 0xCB, 0xC9, 0x07, 0xAD, 0x0F, 0x45] }; #[repr(C)] struct IAvnProgressBarVtbl { @@ -56759,8 +59489,14 @@ struct IAvnProgressBarVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnProgressBar, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnProgressBar, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnProgressBar, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnProgressBar, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnProgressBar, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnProgressBar, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnProgressBar, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnProgressBar, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnProgressBar, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnProgressBar, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnProgressBar, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnProgressBar, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnProgressBar, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnProgressBar, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -57244,6 +59980,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -57257,6 +60019,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -57631,7 +60406,7 @@ impl ComPtr { } } -pub const I_AVN_RADIO_BUTTON_IID: Guid = Guid { data1: 0x45D712D8, data2: 0xA144, data3: 0x589A, data4: [0x90, 0x53, 0x43, 0x33, 0xB6, 0x14, 0x28, 0xBF] }; +pub const I_AVN_RADIO_BUTTON_IID: Guid = Guid { data1: 0x1D9D9433, data2: 0xE351, data3: 0x59FA, data4: [0xA6, 0x5E, 0xF7, 0x8D, 0xF4, 0x22, 0x3F, 0x1C] }; #[repr(C)] struct IAvnRadioButtonVtbl { @@ -57698,8 +60473,14 @@ struct IAvnRadioButtonVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnRadioButton, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnRadioButton, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnRadioButton, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnRadioButton, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnRadioButton, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnRadioButton, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnRadioButton, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnRadioButton, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnRadioButton, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnRadioButton, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnRadioButton, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnRadioButton, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnRadioButton, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnRadioButton, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -58195,6 +60976,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -58208,6 +61015,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -58666,7 +61486,7 @@ impl ComPtr { } } -pub const I_AVN_REFRESH_CONTAINER_IID: Guid = Guid { data1: 0xC83268B7, data2: 0xA9D2, data3: 0x51FA, data4: [0xB7, 0xC7, 0xE9, 0x89, 0x1E, 0x41, 0x2A, 0x9B] }; +pub const I_AVN_REFRESH_CONTAINER_IID: Guid = Guid { data1: 0x3693CF05, data2: 0xF784, data3: 0x5394, data4: [0xB7, 0xD2, 0x6D, 0xF5, 0x11, 0xF8, 0x6F, 0x97] }; #[repr(C)] struct IAvnRefreshContainerVtbl { @@ -58733,8 +61553,14 @@ struct IAvnRefreshContainerVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnRefreshContainer, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnRefreshContainer, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnRefreshContainer, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnRefreshContainer, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnRefreshContainer, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnRefreshContainer, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnRefreshContainer, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnRefreshContainer, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnRefreshContainer, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnRefreshContainer, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnRefreshContainer, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnRefreshContainer, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnRefreshContainer, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnRefreshContainer, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -59212,6 +62038,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -59225,6 +62077,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -59554,7 +62419,7 @@ impl ComPtr { } } -pub const I_AVN_RELATIVE_PANEL_IID: Guid = Guid { data1: 0x4A52A408, data2: 0x9843, data3: 0x5FFA, data4: [0xB1, 0xCC, 0x45, 0x75, 0xFA, 0x75, 0xB2, 0xD5] }; +pub const I_AVN_RELATIVE_PANEL_IID: Guid = Guid { data1: 0x0E550183, data2: 0x4D72, data3: 0x5357, data4: [0x8C, 0x3F, 0x9F, 0x15, 0xE4, 0x1B, 0xC9, 0x76] }; #[repr(C)] struct IAvnRelativePanelVtbl { @@ -59621,8 +62486,14 @@ struct IAvnRelativePanelVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnRelativePanel, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnRelativePanel, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnRelativePanel, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnRelativePanel, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnRelativePanel, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnRelativePanel, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnRelativePanel, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnRelativePanel, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnRelativePanel, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnRelativePanel, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnRelativePanel, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnRelativePanel, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnRelativePanel, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnRelativePanel, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -60060,6 +62931,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -60073,6 +62970,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -60123,7 +63033,7 @@ impl ComPtr { } } -pub const I_AVN_REPEAT_BUTTON_IID: Guid = Guid { data1: 0xA0647C03, data2: 0x65F2, data3: 0x5FE4, data4: [0xA3, 0x8E, 0xB4, 0xA6, 0x10, 0xF7, 0x40, 0xA0] }; +pub const I_AVN_REPEAT_BUTTON_IID: Guid = Guid { data1: 0xE1023A87, data2: 0x3E17, data3: 0x5F1D, data4: [0x86, 0x71, 0x36, 0xC4, 0xFD, 0x0D, 0x1C, 0xC3] }; #[repr(C)] struct IAvnRepeatButtonVtbl { @@ -60190,8 +63100,14 @@ struct IAvnRepeatButtonVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnRepeatButton, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnRepeatButton, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnRepeatButton, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnRepeatButton, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnRepeatButton, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnRepeatButton, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnRepeatButton, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnRepeatButton, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnRepeatButton, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnRepeatButton, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnRepeatButton, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnRepeatButton, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnRepeatButton, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnRepeatButton, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -60683,6 +63599,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -60696,6 +63638,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -61126,7 +64081,7 @@ impl ComPtr { } } -pub const I_AVN_SCROLL_VIEWER_IID: Guid = Guid { data1: 0x597E4640, data2: 0x680B, data3: 0x5499, data4: [0xA4, 0xF0, 0xD9, 0x0B, 0x8F, 0x05, 0x39, 0xC7] }; +pub const I_AVN_SCROLL_VIEWER_IID: Guid = Guid { data1: 0x74E7350C, data2: 0x320E, data3: 0x5E2A, data4: [0xA8, 0xB9, 0xCD, 0xD9, 0x29, 0xB6, 0xB8, 0x26] }; #[repr(C)] struct IAvnScrollViewerVtbl { @@ -61193,8 +64148,14 @@ struct IAvnScrollViewerVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnScrollViewer, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnScrollViewer, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnScrollViewer, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnScrollViewer, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnScrollViewer, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnScrollViewer, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnScrollViewer, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnScrollViewer, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnScrollViewer, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnScrollViewer, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnScrollViewer, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnScrollViewer, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnScrollViewer, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnScrollViewer, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -61710,6 +64671,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -61723,6 +64710,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -62314,7 +65314,7 @@ impl ComPtr { } } -pub const I_AVN_SELECTABLE_TEXT_BLOCK_IID: Guid = Guid { data1: 0x4C1CFF48, data2: 0x0D3A, data3: 0x5934, data4: [0xA1, 0xDA, 0x69, 0x39, 0xE7, 0x5C, 0x56, 0x78] }; +pub const I_AVN_SELECTABLE_TEXT_BLOCK_IID: Guid = Guid { data1: 0x843AC2A4, data2: 0x7FEF, data3: 0x5858, data4: [0x8A, 0x9A, 0xF1, 0x99, 0xBB, 0xA5, 0x26, 0x38] }; #[repr(C)] struct IAvnSelectableTextBlockVtbl { @@ -62381,8 +65381,14 @@ struct IAvnSelectableTextBlockVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnSelectableTextBlock, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnSelectableTextBlock, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnSelectableTextBlock, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnSelectableTextBlock, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnSelectableTextBlock, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnSelectableTextBlock, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnSelectableTextBlock, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnSelectableTextBlock, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnSelectableTextBlock, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnSelectableTextBlock, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnSelectableTextBlock, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnSelectableTextBlock, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnSelectableTextBlock, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnSelectableTextBlock, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -62868,6 +65874,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -62881,6 +65913,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -63268,7 +66313,7 @@ impl ComPtr { } } -pub const I_AVN_SEPARATOR_IID: Guid = Guid { data1: 0xFD4ADF2C, data2: 0x46AF, data3: 0x58ED, data4: [0xB8, 0xD1, 0x2B, 0x81, 0x3D, 0x56, 0xA4, 0xC0] }; +pub const I_AVN_SEPARATOR_IID: Guid = Guid { data1: 0x87BD59B4, data2: 0xCB85, data3: 0x5216, data4: [0xB7, 0x57, 0x72, 0xF9, 0x5F, 0xCB, 0x49, 0xE3] }; #[repr(C)] struct IAvnSeparatorVtbl { @@ -63335,8 +66380,14 @@ struct IAvnSeparatorVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnSeparator, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnSeparator, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnSeparator, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnSeparator, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnSeparator, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnSeparator, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnSeparator, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnSeparator, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnSeparator, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnSeparator, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnSeparator, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnSeparator, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnSeparator, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnSeparator, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -63799,6 +66850,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -63812,6 +66889,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -64038,7 +67128,7 @@ impl ComPtr { } } -pub const I_AVN_ARC_IID: Guid = Guid { data1: 0x80597080, data2: 0xEEDD, data3: 0x5CAA, data4: [0xB4, 0xF1, 0x88, 0xD7, 0x8C, 0xA2, 0x3B, 0x79] }; +pub const I_AVN_ARC_IID: Guid = Guid { data1: 0x394ACB52, data2: 0x3BF3, data3: 0x52D6, data4: [0x97, 0xE8, 0x4B, 0xF0, 0xC1, 0x02, 0xF4, 0xBE] }; #[repr(C)] struct IAvnArcVtbl { @@ -64105,8 +67195,14 @@ struct IAvnArcVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnArc, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnArc, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnArc, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnArc, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnArc, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnArc, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnArc, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnArc, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnArc, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnArc, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnArc, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnArc, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnArc, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnArc, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -64563,6 +67659,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -64576,6 +67698,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -64759,7 +67894,7 @@ impl ComPtr { } } -pub const I_AVN_ELLIPSE_IID: Guid = Guid { data1: 0x613206FF, data2: 0x5917, data3: 0x53D8, data4: [0xA9, 0x28, 0x1B, 0xDE, 0x30, 0x9F, 0xB7, 0xF1] }; +pub const I_AVN_ELLIPSE_IID: Guid = Guid { data1: 0x2AA5065D, data2: 0x5B4C, data3: 0x542B, data4: [0xB6, 0xCC, 0xA2, 0x30, 0xA5, 0x76, 0xE4, 0xF1] }; #[repr(C)] struct IAvnEllipseVtbl { @@ -64826,8 +67961,14 @@ struct IAvnEllipseVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnEllipse, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnEllipse, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnEllipse, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnEllipse, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnEllipse, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnEllipse, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnEllipse, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnEllipse, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnEllipse, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnEllipse, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnEllipse, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnEllipse, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnEllipse, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnEllipse, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -65280,6 +68421,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -65293,6 +68460,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -65448,7 +68628,7 @@ impl ComPtr { } } -pub const I_AVN_LINE_IID: Guid = Guid { data1: 0xF302A345, data2: 0x5295, data3: 0x5A86, data4: [0xB5, 0x20, 0x22, 0x42, 0x78, 0xB6, 0x8E, 0xAB] }; +pub const I_AVN_LINE_IID: Guid = Guid { data1: 0x12A0F43A, data2: 0x9EAB, data3: 0x5F5B, data4: [0x96, 0xEF, 0xD9, 0x1E, 0x25, 0xF3, 0x1B, 0x78] }; #[repr(C)] struct IAvnLineVtbl { @@ -65515,8 +68695,14 @@ struct IAvnLineVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnLine, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnLine, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnLine, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnLine, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnLine, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnLine, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnLine, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnLine, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnLine, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnLine, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnLine, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnLine, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnLine, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnLine, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -65973,6 +69159,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -65986,6 +69198,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -66169,7 +69394,7 @@ impl ComPtr { } } -pub const I_AVN_PATH_IID: Guid = Guid { data1: 0x4EC11C5B, data2: 0x9EAE, data3: 0x57CB, data4: [0xAC, 0xC2, 0xEB, 0x2E, 0x60, 0x94, 0x90, 0xAC] }; +pub const I_AVN_PATH_IID: Guid = Guid { data1: 0xE5A71060, data2: 0x50E1, data3: 0x5554, data4: [0x81, 0xB4, 0x03, 0x08, 0x98, 0xF2, 0x93, 0xCF] }; #[repr(C)] struct IAvnPathVtbl { @@ -66236,8 +69461,14 @@ struct IAvnPathVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnPath, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnPath, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnPath, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnPath, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnPath, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnPath, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnPath, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnPath, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnPath, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnPath, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnPath, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnPath, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnPath, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnPath, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -66692,6 +69923,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -66705,6 +69962,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -66875,7 +70145,7 @@ impl ComPtr { } } -pub const I_AVN_POLYGON_IID: Guid = Guid { data1: 0x48E18C96, data2: 0x9363, data3: 0x5066, data4: [0x9A, 0x67, 0x12, 0x3E, 0x15, 0x3A, 0x09, 0x19] }; +pub const I_AVN_POLYGON_IID: Guid = Guid { data1: 0xE706EC48, data2: 0x3CA1, data3: 0x5BEA, data4: [0x90, 0x7E, 0x46, 0x0C, 0xA5, 0x3B, 0x06, 0xBE] }; #[repr(C)] struct IAvnPolygonVtbl { @@ -66942,8 +70212,14 @@ struct IAvnPolygonVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnPolygon, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnPolygon, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnPolygon, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnPolygon, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnPolygon, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnPolygon, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnPolygon, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnPolygon, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnPolygon, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnPolygon, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnPolygon, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnPolygon, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnPolygon, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnPolygon, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -67400,6 +70676,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -67413,6 +70715,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -67597,7 +70912,7 @@ impl ComPtr { } } -pub const I_AVN_POLYLINE_IID: Guid = Guid { data1: 0x9BACEFB3, data2: 0xB663, data3: 0x55EB, data4: [0xAF, 0x28, 0x46, 0x00, 0x1B, 0xA3, 0xA3, 0x2B] }; +pub const I_AVN_POLYLINE_IID: Guid = Guid { data1: 0x035DBEE9, data2: 0xDC4D, data3: 0x57B6, data4: [0x91, 0x40, 0xDD, 0x59, 0xB2, 0x08, 0xA9, 0xDC] }; #[repr(C)] struct IAvnPolylineVtbl { @@ -67664,8 +70979,14 @@ struct IAvnPolylineVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnPolyline, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnPolyline, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnPolyline, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnPolyline, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnPolyline, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnPolyline, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnPolyline, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnPolyline, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnPolyline, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnPolyline, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnPolyline, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnPolyline, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnPolyline, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnPolyline, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -68122,6 +71443,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -68135,6 +71482,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -68319,7 +71679,7 @@ impl ComPtr { } } -pub const I_AVN_RECTANGLE_IID: Guid = Guid { data1: 0x4C789DD6, data2: 0x03C9, data3: 0x5FC7, data4: [0xA3, 0x8E, 0x05, 0x00, 0x60, 0xC2, 0x89, 0x08] }; +pub const I_AVN_RECTANGLE_IID: Guid = Guid { data1: 0xE87D8C84, data2: 0x1090, data3: 0x5B7D, data4: [0x9D, 0xBA, 0x9F, 0x12, 0x2E, 0x19, 0xE3, 0x33] }; #[repr(C)] struct IAvnRectangleVtbl { @@ -68386,8 +71746,14 @@ struct IAvnRectangleVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnRectangle, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnRectangle, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnRectangle, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnRectangle, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnRectangle, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnRectangle, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnRectangle, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnRectangle, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnRectangle, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnRectangle, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnRectangle, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnRectangle, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnRectangle, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnRectangle, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -68844,6 +72210,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -68857,6 +72249,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -69040,7 +72445,7 @@ impl ComPtr { } } -pub const I_AVN_SECTOR_IID: Guid = Guid { data1: 0xBEB2012E, data2: 0xDE97, data3: 0x5F61, data4: [0xB0, 0x66, 0x1E, 0x1D, 0x92, 0x4A, 0x19, 0x2A] }; +pub const I_AVN_SECTOR_IID: Guid = Guid { data1: 0x5716DA45, data2: 0x6417, data3: 0x5758, data4: [0x89, 0xE7, 0x30, 0x34, 0x27, 0x80, 0x83, 0x53] }; #[repr(C)] struct IAvnSectorVtbl { @@ -69107,8 +72512,14 @@ struct IAvnSectorVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnSector, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnSector, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnSector, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnSector, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnSector, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnSector, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnSector, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnSector, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnSector, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnSector, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnSector, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnSector, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnSector, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnSector, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -69565,6 +72976,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -69578,6 +73015,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -69761,7 +73211,7 @@ impl ComPtr { } } -pub const I_AVN_SHAPE_IID: Guid = Guid { data1: 0x68C7A91F, data2: 0xDBEE, data3: 0x56E2, data4: [0x9A, 0x87, 0x24, 0xB2, 0xB6, 0x6D, 0x30, 0xAC] }; +pub const I_AVN_SHAPE_IID: Guid = Guid { data1: 0x5CB7105C, data2: 0xDAF9, data3: 0x5211, data4: [0x96, 0x59, 0x62, 0xEA, 0xB0, 0x32, 0x08, 0xFF] }; #[repr(C)] struct IAvnShapeVtbl { @@ -69828,8 +73278,14 @@ struct IAvnShapeVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnShape, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnShape, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnShape, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnShape, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnShape, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnShape, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnShape, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnShape, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnShape, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnShape, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnShape, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnShape, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnShape, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnShape, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -70282,6 +73738,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -70295,6 +73777,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -70450,7 +73945,7 @@ impl ComPtr { } } -pub const I_AVN_SLIDER_IID: Guid = Guid { data1: 0x704B6BAF, data2: 0x7A44, data3: 0x5CFE, data4: [0xA1, 0x4B, 0x44, 0x0A, 0x84, 0x71, 0xD0, 0xB9] }; +pub const I_AVN_SLIDER_IID: Guid = Guid { data1: 0xBF042391, data2: 0xAF5A, data3: 0x5DD4, data4: [0xB3, 0x21, 0x05, 0x5C, 0xA9, 0xF7, 0x0D, 0x23] }; #[repr(C)] struct IAvnSliderVtbl { @@ -70517,8 +74012,14 @@ struct IAvnSliderVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnSlider, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnSlider, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnSlider, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnSlider, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnSlider, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnSlider, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnSlider, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnSlider, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnSlider, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnSlider, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnSlider, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnSlider, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnSlider, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnSlider, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -71005,6 +74506,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -71018,6 +74545,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -71412,7 +74952,7 @@ impl ComPtr { } } -pub const I_AVN_SPINNER_IID: Guid = Guid { data1: 0x6AAEEDDC, data2: 0x0307, data3: 0x57B2, data4: [0x9F, 0xA5, 0x30, 0xA2, 0x7D, 0xC1, 0x95, 0x8E] }; +pub const I_AVN_SPINNER_IID: Guid = Guid { data1: 0x4A63E264, data2: 0xF914, data3: 0x5256, data4: [0x93, 0xAB, 0x12, 0x68, 0x89, 0x5B, 0x90, 0x73] }; #[repr(C)] struct IAvnSpinnerVtbl { @@ -71479,8 +75019,14 @@ struct IAvnSpinnerVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnSpinner, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnSpinner, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnSpinner, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnSpinner, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnSpinner, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnSpinner, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnSpinner, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnSpinner, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnSpinner, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnSpinner, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnSpinner, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnSpinner, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnSpinner, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnSpinner, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -71955,6 +75501,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -71968,6 +75540,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -72277,7 +75862,7 @@ impl ComPtr { } } -pub const I_AVN_SPLIT_BUTTON_IID: Guid = Guid { data1: 0x1937A395, data2: 0xDF68, data3: 0x5F9F, data4: [0x94, 0xC1, 0x07, 0x24, 0x63, 0x80, 0x57, 0x3C] }; +pub const I_AVN_SPLIT_BUTTON_IID: Guid = Guid { data1: 0x11D77809, data2: 0x48B6, data3: 0x5A29, data4: [0xB8, 0xD9, 0x5D, 0x41, 0x3B, 0xC9, 0x6A, 0x85] }; #[repr(C)] struct IAvnSplitButtonVtbl { @@ -72344,8 +75929,14 @@ struct IAvnSplitButtonVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnSplitButton, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnSplitButton, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnSplitButton, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnSplitButton, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnSplitButton, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnSplitButton, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnSplitButton, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnSplitButton, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnSplitButton, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnSplitButton, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnSplitButton, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnSplitButton, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnSplitButton, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnSplitButton, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -72826,6 +76417,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -72839,6 +76456,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -73191,7 +76821,7 @@ impl ComPtr { } } -pub const I_AVN_SPLIT_VIEW_IID: Guid = Guid { data1: 0x51ED3B0D, data2: 0x0AAB, data3: 0x5AA3, data4: [0x9C, 0x4E, 0x50, 0x1C, 0x60, 0x27, 0xE7, 0x74] }; +pub const I_AVN_SPLIT_VIEW_IID: Guid = Guid { data1: 0x048A7E1E, data2: 0x0539, data3: 0x5D4A, data4: [0x95, 0xD8, 0x5C, 0x2E, 0x6D, 0x42, 0x92, 0x02] }; #[repr(C)] struct IAvnSplitViewVtbl { @@ -73258,8 +76888,14 @@ struct IAvnSplitViewVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnSplitView, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnSplitView, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnSplitView, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnSplitView, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnSplitView, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnSplitView, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnSplitView, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnSplitView, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnSplitView, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnSplitView, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnSplitView, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnSplitView, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnSplitView, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnSplitView, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -73756,6 +77392,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -73769,6 +77431,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -74229,7 +77904,7 @@ impl ComPtr { } } -pub const I_AVN_STACK_PANEL_IID: Guid = Guid { data1: 0x2104EA3B, data2: 0x6DCB, data3: 0x5691, data4: [0xAE, 0x36, 0xAB, 0x75, 0xB8, 0x19, 0xF2, 0x83] }; +pub const I_AVN_STACK_PANEL_IID: Guid = Guid { data1: 0x17521479, data2: 0xDA81, data3: 0x5A88, data4: [0x99, 0x84, 0x55, 0x7E, 0xE0, 0x8F, 0xF8, 0x97] }; #[repr(C)] struct IAvnStackPanelVtbl { @@ -74296,8 +77971,14 @@ struct IAvnStackPanelVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnStackPanel, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnStackPanel, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnStackPanel, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnStackPanel, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnStackPanel, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnStackPanel, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnStackPanel, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnStackPanel, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnStackPanel, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnStackPanel, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnStackPanel, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnStackPanel, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnStackPanel, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnStackPanel, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -74743,6 +78424,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -74756,6 +78463,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -74862,7 +78582,7 @@ impl ComPtr { } } -pub const I_AVN_TAB_CONTROL_IID: Guid = Guid { data1: 0xC4664936, data2: 0x3D85, data3: 0x52A7, data4: [0xB4, 0x8C, 0x4C, 0xC3, 0x2C, 0xA9, 0xB3, 0xA1] }; +pub const I_AVN_TAB_CONTROL_IID: Guid = Guid { data1: 0x8F087347, data2: 0x637D, data3: 0x5F69, data4: [0xBA, 0xBE, 0x6D, 0x6E, 0xD3, 0x04, 0x40, 0xC1] }; #[repr(C)] struct IAvnTabControlVtbl { @@ -74929,8 +78649,14 @@ struct IAvnTabControlVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnTabControl, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnTabControl, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnTabControl, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnTabControl, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnTabControl, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnTabControl, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnTabControl, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnTabControl, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnTabControl, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnTabControl, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnTabControl, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnTabControl, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnTabControl, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnTabControl, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -75431,6 +79157,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -75444,6 +79196,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -75937,7 +79702,7 @@ impl ComPtr { } } -pub const I_AVN_TAB_ITEM_IID: Guid = Guid { data1: 0xF2FF8148, data2: 0x506B, data3: 0x5823, data4: [0xB9, 0x9B, 0xF1, 0x0D, 0xD0, 0x6A, 0xC7, 0xDE] }; +pub const I_AVN_TAB_ITEM_IID: Guid = Guid { data1: 0x406B7990, data2: 0x01A7, data3: 0x533E, data4: [0x9A, 0x2A, 0x7B, 0x70, 0xDD, 0xFC, 0xE8, 0xEC] }; #[repr(C)] struct IAvnTabItemVtbl { @@ -76004,8 +79769,14 @@ struct IAvnTabItemVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnTabItem, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnTabItem, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnTabItem, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnTabItem, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnTabItem, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnTabItem, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnTabItem, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnTabItem, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnTabItem, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnTabItem, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnTabItem, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnTabItem, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnTabItem, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnTabItem, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -76489,6 +80260,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -76502,6 +80299,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -76876,7 +80686,7 @@ impl ComPtr { } } -pub const I_AVN_TABLE_VIEW_IID: Guid = Guid { data1: 0xB0C8BD3E, data2: 0xD92C, data3: 0x542C, data4: [0x8E, 0x78, 0x90, 0x20, 0xF9, 0xF5, 0xD0, 0xD8] }; +pub const I_AVN_TABLE_VIEW_IID: Guid = Guid { data1: 0xD4BE6E5C, data2: 0xB5DD, data3: 0x5BB0, data4: [0xA3, 0x0F, 0x3C, 0xC8, 0x33, 0x76, 0x7F, 0x7C] }; #[repr(C)] struct IAvnTableViewVtbl { @@ -76943,8 +80753,14 @@ struct IAvnTableViewVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnTableView, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnTableView, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnTableView, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnTableView, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnTableView, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnTableView, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnTableView, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnTableView, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnTableView, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnTableView, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnTableView, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnTableView, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnTableView, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnTableView, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -77441,6 +81257,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -77454,6 +81296,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -77915,7 +81770,7 @@ impl ComPtr { } } -pub const I_AVN_TABLE_VIEW_CELL_IID: Guid = Guid { data1: 0x5FFBD394, data2: 0x21E2, data3: 0x5FA0, data4: [0xA7, 0x38, 0xF8, 0x1C, 0xA2, 0x4C, 0xA1, 0x98] }; +pub const I_AVN_TABLE_VIEW_CELL_IID: Guid = Guid { data1: 0x7B4DC408, data2: 0x8142, data3: 0x5915, data4: [0xB1, 0xA7, 0x15, 0xCE, 0x22, 0x06, 0x25, 0x12] }; #[repr(C)] struct IAvnTableViewCellVtbl { @@ -77982,8 +81837,14 @@ struct IAvnTableViewCellVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnTableViewCell, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnTableViewCell, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnTableViewCell, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnTableViewCell, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnTableViewCell, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnTableViewCell, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnTableViewCell, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnTableViewCell, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnTableViewCell, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnTableViewCell, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnTableViewCell, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnTableViewCell, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnTableViewCell, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnTableViewCell, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -78454,6 +82315,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -78467,6 +82354,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -79101,7 +83001,7 @@ impl ComPtr { } } -pub const I_AVN_TABLE_VIEW_ROW_IID: Guid = Guid { data1: 0x785207CE, data2: 0x7A58, data3: 0x5074, data4: [0x9C, 0xCD, 0x5D, 0xFA, 0x07, 0x71, 0xDF, 0x61] }; +pub const I_AVN_TABLE_VIEW_ROW_IID: Guid = Guid { data1: 0x1A492B55, data2: 0x9FB8, data3: 0x5F66, data4: [0x98, 0x6E, 0xEF, 0x1D, 0xED, 0x34, 0xA3, 0x8D] }; #[repr(C)] struct IAvnTableViewRowVtbl { @@ -79168,8 +83068,14 @@ struct IAvnTableViewRowVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnTableViewRow, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnTableViewRow, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnTableViewRow, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnTableViewRow, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnTableViewRow, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnTableViewRow, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnTableViewRow, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnTableViewRow, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnTableViewRow, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnTableViewRow, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnTableViewRow, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnTableViewRow, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnTableViewRow, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnTableViewRow, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -79642,6 +83548,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -79655,6 +83587,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -79951,7 +83896,7 @@ impl ComPtr { } } -pub const I_AVN_TEXT_BLOCK_IID: Guid = Guid { data1: 0x70059000, data2: 0x39BE, data3: 0x58FA, data4: [0x96, 0x21, 0x50, 0xCB, 0x7B, 0xBF, 0x46, 0xB1] }; +pub const I_AVN_TEXT_BLOCK_IID: Guid = Guid { data1: 0x06129468, data2: 0xB036, data3: 0x5F97, data4: [0xAC, 0xA3, 0x6C, 0x51, 0xB8, 0x45, 0x74, 0x6D] }; #[repr(C)] struct IAvnTextBlockVtbl { @@ -80018,8 +83963,14 @@ struct IAvnTextBlockVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnTextBlock, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnTextBlock, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnTextBlock, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnTextBlock, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnTextBlock, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnTextBlock, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnTextBlock, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnTextBlock, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnTextBlock, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnTextBlock, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnTextBlock, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnTextBlock, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnTextBlock, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnTextBlock, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -80490,6 +84441,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -80503,6 +84480,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -80787,7 +84777,7 @@ impl ComPtr { } } -pub const I_AVN_TEXT_BOX_IID: Guid = Guid { data1: 0xB1615F3B, data2: 0xC31D, data3: 0x56CC, data4: [0xA9, 0x99, 0x06, 0x4F, 0xAC, 0x4E, 0xFD, 0xF8] }; +pub const I_AVN_TEXT_BOX_IID: Guid = Guid { data1: 0xBCD740F5, data2: 0x7423, data3: 0x5B2D, data4: [0xAD, 0x5E, 0xCB, 0x40, 0x07, 0x22, 0x26, 0xF8] }; #[repr(C)] struct IAvnTextBoxVtbl { @@ -80854,8 +84844,14 @@ struct IAvnTextBoxVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnTextBox, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnTextBox, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnTextBox, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnTextBox, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnTextBox, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnTextBox, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnTextBox, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnTextBox, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnTextBox, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnTextBox, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnTextBox, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnTextBox, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnTextBox, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnTextBox, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -81407,6 +85403,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -81420,6 +85442,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -82264,7 +86299,7 @@ impl ComPtr { } } -pub const I_AVN_THEME_VARIANT_SCOPE_IID: Guid = Guid { data1: 0xF8DF5A10, data2: 0x5406, data3: 0x5E10, data4: [0xA6, 0x14, 0xF5, 0x0B, 0x8A, 0x8B, 0xE5, 0xA6] }; +pub const I_AVN_THEME_VARIANT_SCOPE_IID: Guid = Guid { data1: 0x2E35671F, data2: 0xC418, data3: 0x50E8, data4: [0x86, 0xC1, 0xED, 0x85, 0x8C, 0x03, 0x6A, 0x8D] }; #[repr(C)] struct IAvnThemeVariantScopeVtbl { @@ -82331,8 +86366,14 @@ struct IAvnThemeVariantScopeVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnThemeVariantScope, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnThemeVariantScope, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnThemeVariantScope, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnThemeVariantScope, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnThemeVariantScope, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnThemeVariantScope, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnThemeVariantScope, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnThemeVariantScope, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnThemeVariantScope, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnThemeVariantScope, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnThemeVariantScope, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnThemeVariantScope, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnThemeVariantScope, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnThemeVariantScope, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -82773,6 +86814,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -82786,6 +86853,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -82857,7 +86937,7 @@ impl ComPtr { } } -pub const I_AVN_TIME_PICKER_IID: Guid = Guid { data1: 0x512BDA86, data2: 0x7718, data3: 0x5F1E, data4: [0xB2, 0xDE, 0x8B, 0xCC, 0x75, 0x34, 0xAA, 0x46] }; +pub const I_AVN_TIME_PICKER_IID: Guid = Guid { data1: 0x9F3B7D7A, data2: 0xE290, data3: 0x5ADC, data4: [0x99, 0x7C, 0x21, 0x3A, 0x25, 0xF2, 0x0D, 0x3B] }; #[repr(C)] struct IAvnTimePickerVtbl { @@ -82924,8 +87004,14 @@ struct IAvnTimePickerVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnTimePicker, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnTimePicker, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnTimePicker, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnTimePicker, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnTimePicker, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnTimePicker, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnTimePicker, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnTimePicker, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnTimePicker, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnTimePicker, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnTimePicker, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnTimePicker, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnTimePicker, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnTimePicker, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -83403,6 +87489,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -83416,6 +87528,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -83747,7 +87872,7 @@ impl ComPtr { } } -pub const I_AVN_TOGGLE_SPLIT_BUTTON_IID: Guid = Guid { data1: 0xDD4F3760, data2: 0xD88D, data3: 0x5551, data4: [0xBD, 0x80, 0xCA, 0x87, 0x21, 0xDE, 0xA1, 0xE9] }; +pub const I_AVN_TOGGLE_SPLIT_BUTTON_IID: Guid = Guid { data1: 0x4FD7A582, data2: 0x1766, data3: 0x5CC7, data4: [0xB1, 0x73, 0x72, 0xF4, 0x7F, 0xDF, 0x6B, 0xFF] }; #[repr(C)] struct IAvnToggleSplitButtonVtbl { @@ -83814,8 +87939,14 @@ struct IAvnToggleSplitButtonVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnToggleSplitButton, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnToggleSplitButton, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnToggleSplitButton, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnToggleSplitButton, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnToggleSplitButton, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnToggleSplitButton, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnToggleSplitButton, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnToggleSplitButton, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnToggleSplitButton, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnToggleSplitButton, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnToggleSplitButton, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnToggleSplitButton, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnToggleSplitButton, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnToggleSplitButton, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -84300,6 +88431,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -84313,6 +88470,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -84692,7 +88862,7 @@ impl ComPtr { } } -pub const I_AVN_TOGGLE_SWITCH_IID: Guid = Guid { data1: 0xD36D16B3, data2: 0x4A9B, data3: 0x5BD6, data4: [0x92, 0x58, 0x71, 0x25, 0xED, 0x95, 0xB4, 0x33] }; +pub const I_AVN_TOGGLE_SWITCH_IID: Guid = Guid { data1: 0x96F69492, data2: 0x4FBE, data3: 0x565F, data4: [0x85, 0x72, 0xD7, 0xAE, 0xA4, 0x09, 0x97, 0xE9] }; #[repr(C)] struct IAvnToggleSwitchVtbl { @@ -84759,8 +88929,14 @@ struct IAvnToggleSwitchVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnToggleSwitch, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnToggleSwitch, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnToggleSwitch, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnToggleSwitch, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnToggleSwitch, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnToggleSwitch, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnToggleSwitch, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnToggleSwitch, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnToggleSwitch, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnToggleSwitch, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnToggleSwitch, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnToggleSwitch, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnToggleSwitch, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnToggleSwitch, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -85262,6 +89438,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -85275,6 +89477,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -85774,7 +89989,7 @@ impl ComPtr { } } -pub const I_AVN_TOOL_TIP_IID: Guid = Guid { data1: 0x25BC085F, data2: 0x0BDB, data3: 0x59F4, data4: [0xB6, 0x89, 0xA1, 0xF0, 0xA8, 0x48, 0x9B, 0x19] }; +pub const I_AVN_TOOL_TIP_IID: Guid = Guid { data1: 0x8158AEAF, data2: 0xB85C, data3: 0x59C4, data4: [0xBF, 0xCE, 0x98, 0xDF, 0x20, 0xF4, 0xC2, 0xC9] }; #[repr(C)] struct IAvnToolTipVtbl { @@ -85841,8 +90056,14 @@ struct IAvnToolTipVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnToolTip, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnToolTip, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnToolTip, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnToolTip, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnToolTip, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnToolTip, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnToolTip, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnToolTip, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnToolTip, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnToolTip, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnToolTip, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnToolTip, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnToolTip, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnToolTip, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -86313,6 +90534,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -86326,6 +90573,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -86608,7 +90868,7 @@ impl ComPtr { } } -pub const I_AVN_TRANSITIONING_CONTENT_CONTROL_IID: Guid = Guid { data1: 0x6A3336CC, data2: 0xB09A, data3: 0x5484, data4: [0xBB, 0x6B, 0x3E, 0x74, 0xC7, 0x62, 0xE5, 0x77] }; +pub const I_AVN_TRANSITIONING_CONTENT_CONTROL_IID: Guid = Guid { data1: 0x643AACDC, data2: 0xAB53, data3: 0x56DF, data4: [0xA1, 0x97, 0x28, 0x04, 0x2B, 0xF4, 0xD6, 0x9F] }; #[repr(C)] struct IAvnTransitioningContentControlVtbl { @@ -86675,8 +90935,14 @@ struct IAvnTransitioningContentControlVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnTransitioningContentControl, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnTransitioningContentControl, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnTransitioningContentControl, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnTransitioningContentControl, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnTransitioningContentControl, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnTransitioningContentControl, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnTransitioningContentControl, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnTransitioningContentControl, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnTransitioningContentControl, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnTransitioningContentControl, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnTransitioningContentControl, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnTransitioningContentControl, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnTransitioningContentControl, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnTransitioningContentControl, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -87151,6 +91417,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -87164,6 +91456,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -87607,7 +91912,7 @@ impl ComPtr { } } -pub const I_AVN_TREE_VIEW_IID: Guid = Guid { data1: 0xAD4500EF, data2: 0xD3C0, data3: 0x5798, data4: [0xBF, 0x90, 0x5E, 0x75, 0x15, 0xE8, 0x5B, 0xEE] }; +pub const I_AVN_TREE_VIEW_IID: Guid = Guid { data1: 0xE8A54D8B, data2: 0x7903, data3: 0x57AE, data4: [0x9B, 0xF8, 0xF5, 0xA8, 0x05, 0x50, 0x28, 0xFC] }; #[repr(C)] struct IAvnTreeViewVtbl { @@ -87674,8 +91979,14 @@ struct IAvnTreeViewVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnTreeView, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnTreeView, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnTreeView, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnTreeView, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnTreeView, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnTreeView, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnTreeView, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnTreeView, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnTreeView, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnTreeView, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnTreeView, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnTreeView, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnTreeView, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnTreeView, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -88166,6 +92477,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -88179,6 +92516,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -88596,7 +92946,7 @@ impl ComPtr { } } -pub const I_AVN_TREE_VIEW_ITEM_IID: Guid = Guid { data1: 0xB4B4B178, data2: 0xBF7A, data3: 0x52CD, data4: [0x8B, 0x27, 0xEF, 0xED, 0xBE, 0xA8, 0xC6, 0x0E] }; +pub const I_AVN_TREE_VIEW_ITEM_IID: Guid = Guid { data1: 0xCDD644B1, data2: 0x7E5B, data3: 0x5C32, data4: [0x92, 0x71, 0x5A, 0x69, 0xCE, 0xE6, 0x50, 0x05] }; #[repr(C)] struct IAvnTreeViewItemVtbl { @@ -88663,8 +93013,14 @@ struct IAvnTreeViewItemVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnTreeViewItem, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnTreeViewItem, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnTreeViewItem, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnTreeViewItem, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnTreeViewItem, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnTreeViewItem, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnTreeViewItem, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnTreeViewItem, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnTreeViewItem, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnTreeViewItem, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnTreeViewItem, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnTreeViewItem, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnTreeViewItem, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnTreeViewItem, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -89152,6 +93508,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -89165,6 +93547,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -89565,7 +93960,7 @@ impl ComPtr { } } -pub const I_AVN_USER_CONTROL_IID: Guid = Guid { data1: 0x61A53A49, data2: 0xAD6E, data3: 0x58C8, data4: [0x88, 0xDF, 0xDC, 0x3B, 0x76, 0x9C, 0xF0, 0x13] }; +pub const I_AVN_USER_CONTROL_IID: Guid = Guid { data1: 0xE3ABA05B, data2: 0xDFF9, data3: 0x53C3, data4: [0x88, 0x85, 0xCE, 0x2D, 0x78, 0xFE, 0xFF, 0xFC] }; #[repr(C)] struct IAvnUserControlVtbl { @@ -89632,8 +94027,14 @@ struct IAvnUserControlVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnUserControl, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnUserControl, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnUserControl, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnUserControl, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnUserControl, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnUserControl, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnUserControl, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnUserControl, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnUserControl, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnUserControl, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnUserControl, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnUserControl, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnUserControl, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnUserControl, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -90104,6 +94505,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -90117,6 +94544,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -90399,7 +94839,7 @@ impl ComPtr { } } -pub const I_AVN_VIEWBOX_IID: Guid = Guid { data1: 0x4F61E1E8, data2: 0xF773, data3: 0x5195, data4: [0xB8, 0xBF, 0x89, 0xEF, 0x6E, 0x8F, 0x6C, 0x44] }; +pub const I_AVN_VIEWBOX_IID: Guid = Guid { data1: 0x3140444B, data2: 0x2172, data3: 0x5105, data4: [0xB7, 0xAD, 0xD8, 0x10, 0xD5, 0x79, 0x4C, 0x13] }; #[repr(C)] struct IAvnViewboxVtbl { @@ -90466,8 +94906,14 @@ struct IAvnViewboxVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnViewbox, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnViewbox, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnViewbox, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnViewbox, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnViewbox, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnViewbox, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnViewbox, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnViewbox, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnViewbox, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnViewbox, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnViewbox, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnViewbox, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnViewbox, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnViewbox, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -90908,6 +95354,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -90921,6 +95393,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -90991,7 +95476,7 @@ impl ComPtr { } } -pub const I_AVN_WINDOW_IID: Guid = Guid { data1: 0xBEAAC3C0, data2: 0x855F, data3: 0x5FC1, data4: [0x97, 0x50, 0x80, 0xC5, 0x38, 0xF7, 0xEE, 0x87] }; +pub const I_AVN_WINDOW_IID: Guid = Guid { data1: 0x29E3362E, data2: 0xB16E, data3: 0x5163, data4: [0xAE, 0xD3, 0xCF, 0x14, 0xD6, 0xB1, 0x27, 0x84] }; #[repr(C)] struct IAvnWindowVtbl { @@ -91058,8 +95543,14 @@ struct IAvnWindowVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnWindow, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnWindow, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnWindow, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnWindow, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnWindow, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnWindow, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnWindow, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnWindow, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnWindow, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnWindow, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnWindow, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnWindow, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnWindow, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnWindow, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -91571,6 +96062,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -91584,6 +96101,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -92153,7 +96683,7 @@ impl ComPtr { } } -pub const I_AVN_WRAP_PANEL_IID: Guid = Guid { data1: 0x92500527, data2: 0x364F, data3: 0x542C, data4: [0x8D, 0xF0, 0x37, 0xF0, 0x80, 0x36, 0xD8, 0x3F] }; +pub const I_AVN_WRAP_PANEL_IID: Guid = Guid { data1: 0x802A39C5, data2: 0x57F6, data3: 0x5E1A, data4: [0x9D, 0xA8, 0x02, 0x63, 0x45, 0x71, 0xCF, 0x6D] }; #[repr(C)] struct IAvnWrapPanelVtbl { @@ -92220,8 +96750,14 @@ struct IAvnWrapPanelVtbl { unadvise_unloaded: unsafe extern "system" fn(*mut IAvnWrapPanel, i64) -> i32, advise_size_changed: unsafe extern "system" fn(*mut IAvnWrapPanel, *mut IAvnControlSizeChangedHandler, *mut i64) -> i32, unadvise_size_changed: unsafe extern "system" fn(*mut IAvnWrapPanel, i64) -> i32, + advise_got_focus: unsafe extern "system" fn(*mut IAvnWrapPanel, *mut IAvnControlGotFocusHandler, *mut i64) -> i32, + unadvise_got_focus: unsafe extern "system" fn(*mut IAvnWrapPanel, i64) -> i32, + advise_lost_focus: unsafe extern "system" fn(*mut IAvnWrapPanel, *mut IAvnControlLostFocusHandler, *mut i64) -> i32, + unadvise_lost_focus: unsafe extern "system" fn(*mut IAvnWrapPanel, i64) -> i32, advise_key_down: unsafe extern "system" fn(*mut IAvnWrapPanel, *mut IAvnControlKeyDownHandler, *mut i64) -> i32, unadvise_key_down: unsafe extern "system" fn(*mut IAvnWrapPanel, i64) -> i32, + advise_key_up: unsafe extern "system" fn(*mut IAvnWrapPanel, *mut IAvnControlKeyUpHandler, *mut i64) -> i32, + unadvise_key_up: unsafe extern "system" fn(*mut IAvnWrapPanel, i64) -> i32, advise_pointer_entered: unsafe extern "system" fn(*mut IAvnWrapPanel, *mut IAvnControlPointerEnteredHandler, *mut i64) -> i32, unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnWrapPanel, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnWrapPanel, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, @@ -92671,6 +97207,32 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_got_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_got_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_got_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_got_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_lost_focus(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_lost_focus)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_lost_focus(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_lost_focus)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_key_down(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -92684,6 +97246,19 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_key_up(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_key_up)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_key_up(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_key_up)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn advise_pointer_entered(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; diff --git a/rust/avalonia-sys/tests/brush_abi.rs b/rust/avalonia-sys/tests/brush_abi.rs index 9cbe452..f829e6e 100644 --- a/rust/avalonia-sys/tests/brush_abi.rs +++ b/rust/avalonia-sys/tests/brush_abi.rs @@ -73,18 +73,18 @@ fn chrome_members_publish_brush_pointers_and_geometry_by_value() { #[test] fn chrome_wave_interfaces_publish_abi_version_four() { for expected in [ - "#define I_AVN_BORDER_ABI_VERSION 12", - "#define I_AVN_PANEL_ABI_VERSION 11", - "#define I_AVN_TEMPLATED_CONTROL_ABI_VERSION 12", - "#define I_AVN_TEXT_BLOCK_ABI_VERSION 14", + "#define I_AVN_BORDER_ABI_VERSION 13", + "#define I_AVN_PANEL_ABI_VERSION 12", + "#define I_AVN_TEMPLATED_CONTROL_ABI_VERSION 13", + "#define I_AVN_TEXT_BLOCK_ABI_VERSION 15", // The factory grew create_solid_color_brush at version 2, a creator per wave A control // at version 3, and a creator per constructible wave B type at version 4. "#define I_AVN_CONTROL_FACTORY_ABI_VERSION 13", // Nothing was added to StyledElement, Control or Decorator, and none of their bases // moved, so their flattened vtables are byte-identical to version 3. "#define I_AVN_STYLED_ELEMENT_ABI_VERSION 6", - "#define I_AVN_CONTROL_ABI_VERSION 8", - "#define I_AVN_DECORATOR_ABI_VERSION 10", + "#define I_AVN_CONTROL_ABI_VERSION 9", + "#define I_AVN_DECORATOR_ABI_VERSION 11", "#define I_AVN_AVALONIA_OBJECT_ABI_VERSION 2", ] { assert!(HEADER.contains(expected), "header is missing `{expected}`"); @@ -129,13 +129,15 @@ fn widened_interfaces_republish_under_fresh_iids() { format_iid(&I_AVN_STYLED_ELEMENT_IID), "383D0620-1A23-575B-B609-391608903CB1" ); + // Wave P grew Control (KeyUp/GotFocus/LostFocus), so Control and Decorator + // republished under fresh IIDs. assert_eq!( format_iid(&I_AVN_CONTROL_IID), - "06D79016-63D8-5035-B293-19969F0BB3C6" + "ABDFF81D-DB26-5BB7-9ACA-18353E6DB4D4" ); assert_eq!( format_iid(&I_AVN_DECORATOR_IID), - "57E09C6B-A22C-5F01-B65C-E54C3DD55E6C" + "73D7A8D4-2B75-5F19-958F-DE0D15AC3079" ); // The brush is a brand new interface, so it starts at version 1 with its own IID. diff --git a/rust/avalonia-sys/tests/control_abi.rs b/rust/avalonia-sys/tests/control_abi.rs index e420356..5c2ce4d 100644 --- a/rust/avalonia-sys/tests/control_abi.rs +++ b/rust/avalonia-sys/tests/control_abi.rs @@ -91,28 +91,28 @@ fn completeness_members_are_published_on_the_type_that_declares_them() { #[test] fn widened_interfaces_publish_abi_version_five() { for expected in [ - "#define I_AVN_CONTENT_CONTROL_ABI_VERSION 13", - "#define I_AVN_HEADERED_CONTENT_CONTROL_ABI_VERSION 13", - "#define I_AVN_EXPANDER_ABI_VERSION 13", - "#define I_AVN_BUTTON_ABI_VERSION 16", - "#define I_AVN_TOGGLE_BUTTON_ABI_VERSION 16", - "#define I_AVN_CHECK_BOX_ABI_VERSION 16", - "#define I_AVN_RADIO_BUTTON_ABI_VERSION 16", - "#define I_AVN_TOGGLE_SWITCH_ABI_VERSION 16", - "#define I_AVN_LIST_BOX_ABI_VERSION 16", - "#define I_AVN_LIST_BOX_ITEM_ABI_VERSION 15", - "#define I_AVN_COMBO_BOX_ABI_VERSION 17", - "#define I_AVN_COMBO_BOX_ITEM_ABI_VERSION 15", - "#define I_AVN_SCROLL_VIEWER_ABI_VERSION 15", - "#define I_AVN_WINDOW_ABI_VERSION 18", - "#define I_AVN_TEMPLATED_CONTROL_ABI_VERSION 12", - "#define I_AVN_TEXT_BLOCK_ABI_VERSION 14", - "#define I_AVN_TEXT_BOX_ABI_VERSION 18", - "#define I_AVN_ITEMS_CONTROL_ABI_VERSION 15", - "#define I_AVN_SELECTING_ITEMS_CONTROL_ABI_VERSION 15", - "#define I_AVN_BORDER_ABI_VERSION 12", - "#define I_AVN_PANEL_ABI_VERSION 11", - "#define I_AVN_CONTROL_ABI_VERSION 8", + "#define I_AVN_CONTENT_CONTROL_ABI_VERSION 14", + "#define I_AVN_HEADERED_CONTENT_CONTROL_ABI_VERSION 14", + "#define I_AVN_EXPANDER_ABI_VERSION 14", + "#define I_AVN_BUTTON_ABI_VERSION 17", + "#define I_AVN_TOGGLE_BUTTON_ABI_VERSION 17", + "#define I_AVN_CHECK_BOX_ABI_VERSION 17", + "#define I_AVN_RADIO_BUTTON_ABI_VERSION 17", + "#define I_AVN_TOGGLE_SWITCH_ABI_VERSION 17", + "#define I_AVN_LIST_BOX_ABI_VERSION 17", + "#define I_AVN_LIST_BOX_ITEM_ABI_VERSION 16", + "#define I_AVN_COMBO_BOX_ABI_VERSION 18", + "#define I_AVN_COMBO_BOX_ITEM_ABI_VERSION 16", + "#define I_AVN_SCROLL_VIEWER_ABI_VERSION 16", + "#define I_AVN_WINDOW_ABI_VERSION 19", + "#define I_AVN_TEMPLATED_CONTROL_ABI_VERSION 13", + "#define I_AVN_TEXT_BLOCK_ABI_VERSION 15", + "#define I_AVN_TEXT_BOX_ABI_VERSION 19", + "#define I_AVN_ITEMS_CONTROL_ABI_VERSION 16", + "#define I_AVN_SELECTING_ITEMS_CONTROL_ABI_VERSION 16", + "#define I_AVN_BORDER_ABI_VERSION 13", + "#define I_AVN_PANEL_ABI_VERSION 12", + "#define I_AVN_CONTROL_ABI_VERSION 9", "#define I_AVN_AVALONIA_OBJECT_ABI_VERSION 2", // The factory gained a creator per wave A control plus get_tool_tip_statics at version // 3, and a creator per constructible wave B type at version 4. @@ -240,32 +240,32 @@ fn widened_interfaces_republish_under_fresh_iids() { for (name, expected, current) in [ ( "IAvnContentControl", - "F3CE3FB2-CD2D-5839-81C7-3DF70C3AD2F5", + "71FA5ADD-9F62-5918-84D4-4B300B8EA192", I_AVN_CONTENT_CONTROL_IID, ), ( "IAvnButton", - "62D66949-2173-5007-9613-1F4B3E7C144E", + "39E10286-7BB7-511B-8885-733B3AB380F6", I_AVN_BUTTON_IID, ), ( "IAvnToggleButton", - "978AD791-8ABE-5494-B9AB-B29937062870", + "F9840045-23B2-5318-A7DA-EB7F3287FBD8", I_AVN_TOGGLE_BUTTON_IID, ), ( "IAvnListBox", - "B5B6A7D1-B302-56BB-93A9-D53237708632", + "6D07BC84-D7C4-5226-A69E-AAF3EE1663A9", I_AVN_LIST_BOX_IID, ), ( "IAvnComboBox", - "86CA773B-56AB-521C-BA29-D2579C59F7F3", + "C05FA67D-1BEE-51A8-9367-0300AA1CAE23", I_AVN_COMBO_BOX_IID, ), ( "IAvnWindow", - "BEAAC3C0-855F-5FC1-9750-80C538F7EE87", + "29E3362E-B16E-5163-AED3-CF14D6B12784", I_AVN_WINDOW_IID, ), ] { @@ -279,23 +279,23 @@ fn widened_interfaces_republish_under_fresh_iids() { ); assert_eq!( format_iid(&I_AVN_CONTROL_IID), - "06D79016-63D8-5035-B293-19969F0BB3C6" + "ABDFF81D-DB26-5BB7-9ACA-18353E6DB4D4" ); assert_eq!( format_iid(&I_AVN_BORDER_IID), - "80C1079E-AFDF-5483-A560-2DDB475CF894" + "DFE5487A-B7C3-5DD1-A6EF-0CC9B9E6FC9C" ); assert_eq!( format_iid(&I_AVN_PANEL_IID), - "79DAA937-B232-5B99-84FB-E3D64124EDA5" + "96AD03DD-F271-537E-A933-B7C75D63AC0C" ); assert_eq!( format_iid(&I_AVN_TEMPLATED_CONTROL_IID), - "D71DF481-E9FE-5463-BDA3-7C0546C5716A" + "E2867468-09D4-5D05-A956-F687A78DF51A" ); assert_eq!( format_iid(&I_AVN_TEXT_BLOCK_IID), - "70059000-39BE-58FA-9621-50CB7BBF46B1" + "06129468-B036-5F97-ACA3-6C51B845746D" ); } diff --git a/rust/avalonia-sys/tests/definitions_abi.rs b/rust/avalonia-sys/tests/definitions_abi.rs index 765fab3..b38f726 100644 --- a/rust/avalonia-sys/tests/definitions_abi.rs +++ b/rust/avalonia-sys/tests/definitions_abi.rs @@ -21,9 +21,10 @@ fn definitions_are_published_as_utf16_string_slots_on_grid() { "*get_row_definitions)(IAvnGrid* self, uint16_t** value)", "*set_row_definitions)(IAvnGrid* self, const uint16_t* value)", // They are appended after the members Grid already published, so no existing slot moved. - "*set_column_spacing)(IAvnGrid* self, double value); /* slot 77 */", - "*get_column_definitions)(IAvnGrid* self, uint16_t** value); /* slot 78 */", - "#define I_AVN_GRID_VTABLE_SLOTS 82", + // (Wave P added Control's KeyUp/GotFocus/LostFocus advise pairs above these slots.) + "*set_column_spacing)(IAvnGrid* self, double value); /* slot 83 */", + "*get_column_definitions)(IAvnGrid* self, uint16_t** value); /* slot 84 */", + "#define I_AVN_GRID_VTABLE_SLOTS 88", ] { assert!(HEADER.contains(expected), "header is missing `{expected}`"); } @@ -46,14 +47,14 @@ fn definitions_are_published_as_utf16_string_slots_on_grid() { #[test] fn only_grid_moved_to_abi_version_five_for_the_definitions() { for expected in [ - "#define I_AVN_GRID_ABI_VERSION 12", + "#define I_AVN_GRID_ABI_VERSION 13", // Grid's base and its sibling panels gained nothing, so their flattened vtables are // byte-identical and they keep the version they already published. - "#define I_AVN_PANEL_ABI_VERSION 11", - "#define I_AVN_CANVAS_ABI_VERSION 11", - "#define I_AVN_DOCK_PANEL_ABI_VERSION 11", - "#define I_AVN_STACK_PANEL_ABI_VERSION 12", - "#define I_AVN_CONTROL_ABI_VERSION 8", + "#define I_AVN_PANEL_ABI_VERSION 12", + "#define I_AVN_CANVAS_ABI_VERSION 12", + "#define I_AVN_DOCK_PANEL_ABI_VERSION 12", + "#define I_AVN_STACK_PANEL_ABI_VERSION 13", + "#define I_AVN_CONTROL_ABI_VERSION 9", "#define I_AVN_AVALONIA_OBJECT_ABI_VERSION 2", // The factory mints no definition object, but wave A gave it a creator per new control // and get_tool_tip_statics and wave B gave it seven more, so it now publishes at @@ -68,7 +69,7 @@ fn only_grid_moved_to_abi_version_five_for_the_definitions() { fn grid_republishes_under_a_fresh_iid_and_never_reuses_a_retired_one() { assert_eq!( format_iid(&I_AVN_GRID_IID), - "55E75D4C-FC75-51A9-BA87-6D28704EAFC8" + "63034BE5-179A-5196-8338-F10785C6DDDD" ); // Every IID Grid has ever published is retired for good: reusing one for a longer vtable @@ -78,6 +79,8 @@ fn grid_republishes_under_a_fresh_iid_and_never_reuses_a_retired_one() { "63B055A6-7C40-5F6D-9A36-4430CB8FED95", "B383BDBC-D6E0-500D-AEE5-50363B62912D", "240199CD-F2BD-55CD-BE4D-8DA83F228D71", + // Wave P: the version 12 identity retired when Control grew input events. + "55E75D4C-FC75-51A9-BA87-6D28704EAFC8", ] { assert_ne!( format_iid(&I_AVN_GRID_IID), @@ -99,12 +102,12 @@ fn grid_republishes_under_a_fresh_iid_and_never_reuses_a_retired_one() { ), ( "IAvnControl", - "06D79016-63D8-5035-B293-19969F0BB3C6", + "ABDFF81D-DB26-5BB7-9ACA-18353E6DB4D4", I_AVN_CONTROL_IID, ), ( "IAvnPanel", - "79DAA937-B232-5B99-84FB-E3D64124EDA5", + "96AD03DD-F271-537E-A933-B7C75D63AC0C", I_AVN_PANEL_IID, ), ] { diff --git a/rust/avalonia-sys/tests/layout_abi.rs b/rust/avalonia-sys/tests/layout_abi.rs index 86a86df..31c2f0b 100644 --- a/rust/avalonia-sys/tests/layout_abi.rs +++ b/rust/avalonia-sys/tests/layout_abi.rs @@ -40,13 +40,13 @@ fn widened_interfaces_publish_their_layout_abi_version() { // Nothing was added to StyledElement, Control or Decorator after the layout wave, so // their flattened vtables — and therefore their version 3 IIDs — still stand. "#define I_AVN_STYLED_ELEMENT_ABI_VERSION 6", - "#define I_AVN_CONTROL_ABI_VERSION 8", - "#define I_AVN_DECORATOR_ABI_VERSION 10", + "#define I_AVN_CONTROL_ABI_VERSION 9", + "#define I_AVN_DECORATOR_ABI_VERSION 11", // Window and Button sit under ContentControl, which the completeness wave widened, // and the window overlay-chrome pass widened the leaf to 8 without disturbing // the content control or factory ABI. - "#define I_AVN_WINDOW_ABI_VERSION 18", - "#define I_AVN_BUTTON_ABI_VERSION 16", + "#define I_AVN_WINDOW_ABI_VERSION 19", + "#define I_AVN_BUTTON_ABI_VERSION 17", // AvaloniaObject projects no members, so its vtable never moved. "#define I_AVN_AVALONIA_OBJECT_ABI_VERSION 2", ] { @@ -96,11 +96,11 @@ fn widened_interfaces_republish_under_fresh_iids() { ); assert_eq!( format_iid(&I_AVN_CONTROL_IID), - "06D79016-63D8-5035-B293-19969F0BB3C6" + "ABDFF81D-DB26-5BB7-9ACA-18353E6DB4D4" ); assert_eq!( format_iid(&I_AVN_DECORATOR_IID), - "57E09C6B-A22C-5F01-B65C-E54C3DD55E6C" + "73D7A8D4-2B75-5F19-958F-DE0D15AC3079" ); // AvaloniaObject gained nothing, so it keeps the IID it published at version 2. diff --git a/rust/avalonia-sys/tests/wave_a_abi.rs b/rust/avalonia-sys/tests/wave_a_abi.rs index db642bb..db89c48 100644 --- a/rust/avalonia-sys/tests/wave_a_abi.rs +++ b/rust/avalonia-sys/tests/wave_a_abi.rs @@ -26,7 +26,7 @@ fn image_source_is_published_as_a_utf16_string_slot() { "*set_stretch)(IAvnImage* self, int32_t value)", "*set_stretch_direction)(IAvnImage* self, int32_t value)", "*set_blend_mode)(IAvnImage* self, int32_t value)", - "#define I_AVN_IMAGE_ABI_VERSION 8", + "#define I_AVN_IMAGE_ABI_VERSION 9", ] { assert!(HEADER.contains(expected), "header is missing `{expected}`"); } @@ -63,21 +63,21 @@ fn tool_tip_tip_is_a_string_attached_property_beside_the_scalar_ones() { #[test] fn wave_a_interfaces_publish_abi_version_one_and_nothing_else_moved() { for expected in [ - "#define I_AVN_IMAGE_ABI_VERSION 8", - "#define I_AVN_HEADERED_ITEMS_CONTROL_ABI_VERSION 12", - "#define I_AVN_TAB_CONTROL_ABI_VERSION 12", - "#define I_AVN_TAB_ITEM_ABI_VERSION 11", - "#define I_AVN_TREE_VIEW_ABI_VERSION 12", - "#define I_AVN_TREE_VIEW_ITEM_ABI_VERSION 12", - "#define I_AVN_TOOL_TIP_ABI_VERSION 9", + "#define I_AVN_IMAGE_ABI_VERSION 9", + "#define I_AVN_HEADERED_ITEMS_CONTROL_ABI_VERSION 13", + "#define I_AVN_TAB_CONTROL_ABI_VERSION 13", + "#define I_AVN_TAB_ITEM_ABI_VERSION 12", + "#define I_AVN_TREE_VIEW_ABI_VERSION 13", + "#define I_AVN_TREE_VIEW_ITEM_ABI_VERSION 13", + "#define I_AVN_TOOL_TIP_ABI_VERSION 10", // Every base the new interfaces sit on kept the version whose flattened vtable it // still matches, so no shipped consumer has to requery anything but the factory. "#define I_AVN_AVALONIA_OBJECT_ABI_VERSION 2", - "#define I_AVN_CONTROL_ABI_VERSION 8", - "#define I_AVN_ITEMS_CONTROL_ABI_VERSION 15", - "#define I_AVN_SELECTING_ITEMS_CONTROL_ABI_VERSION 15", - "#define I_AVN_CONTENT_CONTROL_ABI_VERSION 13", - "#define I_AVN_HEADERED_CONTENT_CONTROL_ABI_VERSION 13", + "#define I_AVN_CONTROL_ABI_VERSION 9", + "#define I_AVN_ITEMS_CONTROL_ABI_VERSION 16", + "#define I_AVN_SELECTING_ITEMS_CONTROL_ABI_VERSION 16", + "#define I_AVN_CONTENT_CONTROL_ABI_VERSION 14", + "#define I_AVN_HEADERED_CONTENT_CONTROL_ABI_VERSION 14", // Only the factory grew slots. Wave B moved it again, from 3 to 4, for its own // creators; every wave A interface still publishes at version 1. "#define I_AVN_CONTROL_FACTORY_ABI_VERSION 13", @@ -98,27 +98,27 @@ fn wave_a_iids_are_fresh_and_distinct_from_every_shipped_one() { ), ( "IAvnControl", - "06D79016-63D8-5035-B293-19969F0BB3C6", + "ABDFF81D-DB26-5BB7-9ACA-18353E6DB4D4", I_AVN_CONTROL_IID, ), ( "IAvnItemsControl", - "D985D274-6EFC-5423-B74F-7A73133992FC", + "B656735C-EECA-50CC-A87D-B4362F7E045A", I_AVN_ITEMS_CONTROL_IID, ), ( "IAvnSelectingItemsControl", - "B2D5F624-DE4C-5278-977F-9EB764DD6B2F", + "56020FA9-D4A4-52B6-B5FC-EAEB6FD563C2", I_AVN_SELECTING_ITEMS_CONTROL_IID, ), ( "IAvnContentControl", - "F3CE3FB2-CD2D-5839-81C7-3DF70C3AD2F5", + "71FA5ADD-9F62-5918-84D4-4B300B8EA192", I_AVN_CONTENT_CONTROL_IID, ), ( "IAvnHeaderedContentControl", - "326C8A38-FA42-51F4-9041-E7FD0FFFB696", + "C1825F55-DE82-5447-93A8-4A55F63BA652", I_AVN_HEADERED_CONTENT_CONTROL_IID, ), ] { diff --git a/rust/avalonia-sys/tests/wave_b_abi.rs b/rust/avalonia-sys/tests/wave_b_abi.rs index b6bf2ed..e340e93 100644 --- a/rust/avalonia-sys/tests/wave_b_abi.rs +++ b/rust/avalonia-sys/tests/wave_b_abi.rs @@ -175,21 +175,21 @@ fn wave_b_interfaces_publish_abi_version_one_and_nothing_else_moved() { "#define I_AVN_FLYOUT_BASE_ABI_VERSION 1", "#define I_AVN_POPUP_FLYOUT_BASE_ABI_VERSION 6", "#define I_AVN_FLYOUT_ABI_VERSION 4", - "#define I_AVN_MENU_BASE_ABI_VERSION 12", - "#define I_AVN_MENU_ABI_VERSION 12", - "#define I_AVN_MENU_ITEM_ABI_VERSION 15", - "#define I_AVN_HEADERED_SELECTING_ITEMS_CONTROL_ABI_VERSION 12", - "#define I_AVN_SPLIT_VIEW_ABI_VERSION 9", - "#define I_AVN_DATE_PICKER_ABI_VERSION 11", - "#define I_AVN_TIME_PICKER_ABI_VERSION 11", + "#define I_AVN_MENU_BASE_ABI_VERSION 13", + "#define I_AVN_MENU_ABI_VERSION 13", + "#define I_AVN_MENU_ITEM_ABI_VERSION 16", + "#define I_AVN_HEADERED_SELECTING_ITEMS_CONTROL_ABI_VERSION 13", + "#define I_AVN_SPLIT_VIEW_ABI_VERSION 10", + "#define I_AVN_DATE_PICKER_ABI_VERSION 12", + "#define I_AVN_TIME_PICKER_ABI_VERSION 12", "#define I_AVN_AVALONIA_OBJECT_ABI_VERSION 2", - "#define I_AVN_CONTROL_ABI_VERSION 8", - "#define I_AVN_ITEMS_CONTROL_ABI_VERSION 15", - "#define I_AVN_SELECTING_ITEMS_CONTROL_ABI_VERSION 15", - "#define I_AVN_TEMPLATED_CONTROL_ABI_VERSION 12", - "#define I_AVN_CONTENT_CONTROL_ABI_VERSION 13", - "#define I_AVN_HEADERED_ITEMS_CONTROL_ABI_VERSION 12", - "#define I_AVN_TREE_VIEW_ABI_VERSION 12", + "#define I_AVN_CONTROL_ABI_VERSION 9", + "#define I_AVN_ITEMS_CONTROL_ABI_VERSION 16", + "#define I_AVN_SELECTING_ITEMS_CONTROL_ABI_VERSION 16", + "#define I_AVN_TEMPLATED_CONTROL_ABI_VERSION 13", + "#define I_AVN_CONTENT_CONTROL_ABI_VERSION 14", + "#define I_AVN_HEADERED_ITEMS_CONTROL_ABI_VERSION 13", + "#define I_AVN_TREE_VIEW_ABI_VERSION 13", ] { assert!(HEADER.contains(expected), "header is missing `{expected}`"); } @@ -208,22 +208,22 @@ fn wave_b_iids_are_fresh_and_distinct_from_every_shipped_one() { ), ( "IAvnControl", - "06D79016-63D8-5035-B293-19969F0BB3C6", + "ABDFF81D-DB26-5BB7-9ACA-18353E6DB4D4", I_AVN_CONTROL_IID, ), ( "IAvnItemsControl", - "D985D274-6EFC-5423-B74F-7A73133992FC", + "B656735C-EECA-50CC-A87D-B4362F7E045A", I_AVN_ITEMS_CONTROL_IID, ), ( "IAvnSelectingItemsControl", - "B2D5F624-DE4C-5278-977F-9EB764DD6B2F", + "56020FA9-D4A4-52B6-B5FC-EAEB6FD563C2", I_AVN_SELECTING_ITEMS_CONTROL_IID, ), ( "IAvnContentControl", - "F3CE3FB2-CD2D-5839-81C7-3DF70C3AD2F5", + "71FA5ADD-9F62-5918-84D4-4B300B8EA192", I_AVN_CONTENT_CONTROL_IID, ), ] { diff --git a/rust/avalonia-sys/tests/wave_c_abi.rs b/rust/avalonia-sys/tests/wave_c_abi.rs index aec1352..9a6da3d 100644 --- a/rust/avalonia-sys/tests/wave_c_abi.rs +++ b/rust/avalonia-sys/tests/wave_c_abi.rs @@ -23,7 +23,7 @@ fn wrap_panel_carries_spacing_orientation_and_item_size() { "*set_items_alignment)(IAvnWrapPanel* self, int32_t value)", "*set_item_width)(IAvnWrapPanel* self, double value)", "*set_item_height)(IAvnWrapPanel* self, double value)", - "#define I_AVN_WRAP_PANEL_ABI_VERSION 8", + "#define I_AVN_WRAP_PANEL_ABI_VERSION 9", ] { assert!(HEADER.contains(expected), "header is missing `{expected}`"); } @@ -87,18 +87,18 @@ fn viewbox_child_is_a_control_and_grid_splitter_sits_on_thumb() { #[test] fn wave_c_interfaces_publish_abi_version_one_and_nothing_else_moved() { for expected in [ - "#define I_AVN_WRAP_PANEL_ABI_VERSION 8", - "#define I_AVN_UNIFORM_GRID_ABI_VERSION 8", - "#define I_AVN_RELATIVE_PANEL_ABI_VERSION 8", - "#define I_AVN_VIEWBOX_ABI_VERSION 8", - "#define I_AVN_FLEX_PANEL_ABI_VERSION 8", - "#define I_AVN_THUMB_ABI_VERSION 10", - "#define I_AVN_GRID_SPLITTER_ABI_VERSION 10", + "#define I_AVN_WRAP_PANEL_ABI_VERSION 9", + "#define I_AVN_UNIFORM_GRID_ABI_VERSION 9", + "#define I_AVN_RELATIVE_PANEL_ABI_VERSION 9", + "#define I_AVN_VIEWBOX_ABI_VERSION 9", + "#define I_AVN_FLEX_PANEL_ABI_VERSION 9", + "#define I_AVN_THUMB_ABI_VERSION 11", + "#define I_AVN_GRID_SPLITTER_ABI_VERSION 11", "#define I_AVN_AVALONIA_OBJECT_ABI_VERSION 2", - "#define I_AVN_CONTROL_ABI_VERSION 8", - "#define I_AVN_PANEL_ABI_VERSION 11", - "#define I_AVN_TEMPLATED_CONTROL_ABI_VERSION 12", - "#define I_AVN_CONTENT_CONTROL_ABI_VERSION 13", + "#define I_AVN_CONTROL_ABI_VERSION 9", + "#define I_AVN_PANEL_ABI_VERSION 12", + "#define I_AVN_TEMPLATED_CONTROL_ABI_VERSION 13", + "#define I_AVN_CONTENT_CONTROL_ABI_VERSION 14", "#define I_AVN_FLYOUT_ABI_VERSION 4", ] { assert!(HEADER.contains(expected), "header is missing `{expected}`"); diff --git a/rust/avalonia-sys/tests/wave_d_abi.rs b/rust/avalonia-sys/tests/wave_d_abi.rs index 1fe1a1e..11fe763 100644 --- a/rust/avalonia-sys/tests/wave_d_abi.rs +++ b/rust/avalonia-sys/tests/wave_d_abi.rs @@ -13,9 +13,9 @@ fn repeat_button_and_hyperlink_are_buttons() { "*set_is_visited)(IAvnHyperlinkButton* self, int32_t value)", "*get_navigate_uri)(IAvnHyperlinkButton* self, uint16_t** value)", "*set_navigate_uri)(IAvnHyperlinkButton* self, const uint16_t* value)", - "#define I_AVN_REPEAT_BUTTON_ABI_VERSION 11", - "#define I_AVN_HYPERLINK_BUTTON_ABI_VERSION 11", - "#define I_AVN_DROP_DOWN_BUTTON_ABI_VERSION 11", + "#define I_AVN_REPEAT_BUTTON_ABI_VERSION 12", + "#define I_AVN_HYPERLINK_BUTTON_ABI_VERSION 12", + "#define I_AVN_DROP_DOWN_BUTTON_ABI_VERSION 12", ] { assert!(HEADER.contains(expected), "header is missing `{expected}`"); } @@ -34,8 +34,8 @@ fn split_button_carries_click_and_command() { "*create_toggle_split_button)(IAvnControlFactory* self, IAvnToggleSplitButton** value)", "*create_context_menu)(IAvnControlFactory* self, IAvnContextMenu** value)", "*create_menu_flyout)(IAvnControlFactory* self, IAvnMenuFlyout** value)", - "#define I_AVN_SPLIT_BUTTON_ABI_VERSION 12", - "#define I_AVN_TOGGLE_SPLIT_BUTTON_ABI_VERSION 12", + "#define I_AVN_SPLIT_BUTTON_ABI_VERSION 13", + "#define I_AVN_TOGGLE_SPLIT_BUTTON_ABI_VERSION 13", "#define I_AVN_CONTROL_FACTORY_ABI_VERSION 13", ] { assert!(HEADER.contains(expected), "header is missing `{expected}`"); @@ -49,8 +49,8 @@ fn menu_flyout_items_use_the_existing_item_list() { "*set_placement)(IAvnContextMenu* self, int32_t value)", "*set_horizontal_offset)(IAvnContextMenu* self, double value)", "#define I_AVN_MENU_FLYOUT_ABI_VERSION 5", - "#define I_AVN_CONTEXT_MENU_ABI_VERSION 15", - "#define I_AVN_BUTTON_ABI_VERSION 16", + "#define I_AVN_CONTEXT_MENU_ABI_VERSION 16", + "#define I_AVN_BUTTON_ABI_VERSION 17", ] { assert!(HEADER.contains(expected), "header is missing `{expected}`"); } diff --git a/rust/avalonia-sys/tests/wave_e_abi.rs b/rust/avalonia-sys/tests/wave_e_abi.rs index c52f85f..bd5ba6c 100644 --- a/rust/avalonia-sys/tests/wave_e_abi.rs +++ b/rust/avalonia-sys/tests/wave_e_abi.rs @@ -10,7 +10,7 @@ fn numeric_up_down_decimals_are_utf16_strings() { "*set_minimum)(IAvnNumericUpDown* self, const uint16_t* value)", "*set_increment)(IAvnNumericUpDown* self, const uint16_t* value)", "*create_numeric_up_down)(IAvnControlFactory* self, IAvnNumericUpDown** value)", - "#define I_AVN_NUMERIC_UP_DOWN_ABI_VERSION 10", + "#define I_AVN_NUMERIC_UP_DOWN_ABI_VERSION 11", "#define I_AVN_CONTROL_FACTORY_ABI_VERSION 13", ] { assert!(HEADER.contains(expected), "header is missing `{expected}`"); @@ -27,9 +27,9 @@ fn remaining_input_controls_publish_at_version_one() { "*set_allow_spin)(IAvnButtonSpinner* self, int32_t value)", "*create_button_spinner)(IAvnControlFactory* self, IAvnButtonSpinner** value)", "*create_auto_complete_box)(IAvnControlFactory* self, IAvnAutoCompleteBox** value)", - "#define I_AVN_SPINNER_ABI_VERSION 9", - "#define I_AVN_MASKED_TEXT_BOX_ABI_VERSION 15", - "#define I_AVN_SELECTABLE_TEXT_BLOCK_ABI_VERSION 11", + "#define I_AVN_SPINNER_ABI_VERSION 10", + "#define I_AVN_MASKED_TEXT_BOX_ABI_VERSION 16", + "#define I_AVN_SELECTABLE_TEXT_BLOCK_ABI_VERSION 12", ] { assert!(HEADER.contains(expected), "header is missing `{expected}`"); } diff --git a/rust/avalonia-sys/tests/wave_f_abi.rs b/rust/avalonia-sys/tests/wave_f_abi.rs index 3a808fb..4cb029d 100644 --- a/rust/avalonia-sys/tests/wave_f_abi.rs +++ b/rust/avalonia-sys/tests/wave_f_abi.rs @@ -11,8 +11,8 @@ fn calendar_days_are_yyyy_mm_dd_strings() { "*set_display_mode)(IAvnCalendar* self, int32_t value)", "*create_calendar)(IAvnControlFactory* self, IAvnCalendar** value)", "*create_calendar_date_picker)(IAvnControlFactory* self, IAvnCalendarDatePicker** value)", - "#define I_AVN_CALENDAR_ABI_VERSION 12", - "#define I_AVN_CALENDAR_DATE_PICKER_ABI_VERSION 11", + "#define I_AVN_CALENDAR_ABI_VERSION 13", + "#define I_AVN_CALENDAR_DATE_PICKER_ABI_VERSION 12", "#define I_AVN_CONTROL_FACTORY_ABI_VERSION 13", ] { assert!(HEADER.contains(expected), "header is missing `{expected}`"); diff --git a/rust/avalonia-sys/tests/wave_g_abi.rs b/rust/avalonia-sys/tests/wave_g_abi.rs index 1c2fd75..8d63f82 100644 --- a/rust/avalonia-sys/tests/wave_g_abi.rs +++ b/rust/avalonia-sys/tests/wave_g_abi.rs @@ -13,11 +13,11 @@ fn content_chrome_publishes_at_version_one() { "*create_carousel)(IAvnControlFactory* self, IAvnCarousel** value)", "*set_target)(IAvnLabel* self, IAvnControl* value)", "*create_label)(IAvnControlFactory* self, IAvnLabel** value)", - "#define I_AVN_LABEL_ABI_VERSION 10", + "#define I_AVN_LABEL_ABI_VERSION 11", "*create_separator)(IAvnControlFactory* self, IAvnSeparator** value)", "*create_group_box)(IAvnControlFactory* self, IAvnGroupBox** value)", "*create_user_control)(IAvnControlFactory* self, IAvnUserControl** value)", - "#define I_AVN_CAROUSEL_ABI_VERSION 13", + "#define I_AVN_CAROUSEL_ABI_VERSION 14", "#define I_AVN_CONTROL_FACTORY_ABI_VERSION 13", ] { assert!(HEADER.contains(expected), "header is missing `{expected}`"); diff --git a/rust/avalonia-sys/tests/wave_h_abi.rs b/rust/avalonia-sys/tests/wave_h_abi.rs index 6080d41..e16df68 100644 --- a/rust/avalonia-sys/tests/wave_h_abi.rs +++ b/rust/avalonia-sys/tests/wave_h_abi.rs @@ -16,7 +16,7 @@ fn shapes_carry_brushes_points_and_path_data() { "*create_ellipse)(IAvnControlFactory* self, IAvnEllipse** value)", "*create_line)(IAvnControlFactory* self, IAvnLine** value)", "*create_path)(IAvnControlFactory* self, IAvnPath** value)", - "#define I_AVN_SHAPE_ABI_VERSION 8", + "#define I_AVN_SHAPE_ABI_VERSION 9", "#define I_AVN_CONTROL_FACTORY_ABI_VERSION 13", ] { assert!(HEADER.contains(expected), "header is missing `{expected}`"); diff --git a/rust/avalonia-sys/tests/wave_i_abi.rs b/rust/avalonia-sys/tests/wave_i_abi.rs index 9a6ea53..9a8535a 100644 --- a/rust/avalonia-sys/tests/wave_i_abi.rs +++ b/rust/avalonia-sys/tests/wave_i_abi.rs @@ -20,7 +20,7 @@ fn overlay_controls_publish_at_version_one() { "*set_pull_direction)(IAvnRefreshContainer* self, int32_t value)", "*create_popup)(IAvnControlFactory* self, IAvnPopup** value)", "*create_tray_icon)(IAvnControlFactory* self, IAvnTrayIcon** value)", - "#define I_AVN_POPUP_ABI_VERSION 8", + "#define I_AVN_POPUP_ABI_VERSION 9", "#define I_AVN_TRAY_ICON_ABI_VERSION 3", "#define I_AVN_CONTROL_FACTORY_ABI_VERSION 13", ] { diff --git a/rust/avalonia-sys/tests/wave_j_abi.rs b/rust/avalonia-sys/tests/wave_j_abi.rs index 64f7a65..956d02c 100644 --- a/rust/avalonia-sys/tests/wave_j_abi.rs +++ b/rust/avalonia-sys/tests/wave_j_abi.rs @@ -13,8 +13,8 @@ fn command_bar_family_publishes_at_version_one() { "*set_primary_commands)(IAvnCommandBar* self, IAvnControlList* value)", "*create_pips_pager)(IAvnControlFactory* self, IAvnPipsPager** value)", "*create_theme_variant_scope)(IAvnControlFactory* self, IAvnThemeVariantScope** value)", - "#define I_AVN_COMMAND_BAR_ABI_VERSION 12", - "#define I_AVN_PIPS_PAGER_ABI_VERSION 10", + "#define I_AVN_COMMAND_BAR_ABI_VERSION 13", + "#define I_AVN_PIPS_PAGER_ABI_VERSION 11", "#define I_AVN_CONTROL_FACTORY_ABI_VERSION 13", ] { assert!(HEADER.contains(expected), "header is missing `{expected}`"); diff --git a/rust/avalonia-sys/tests/wave_k_abi.rs b/rust/avalonia-sys/tests/wave_k_abi.rs index db3e055..637f249 100644 --- a/rust/avalonia-sys/tests/wave_k_abi.rs +++ b/rust/avalonia-sys/tests/wave_k_abi.rs @@ -11,8 +11,8 @@ fn icons_and_table_view_publish_at_version_one() { "*create_path_icon)(IAvnControlFactory* self, IAvnPathIcon** value)", "*create_table_view)(IAvnControlFactory* self, IAvnTableView** value)", "*create_table_view_column)(IAvnControlFactory* self, IAvnTableViewColumn** value)", - "#define I_AVN_PATH_ICON_ABI_VERSION 9", - "#define I_AVN_TABLE_VIEW_ABI_VERSION 13", + "#define I_AVN_PATH_ICON_ABI_VERSION 10", + "#define I_AVN_TABLE_VIEW_ABI_VERSION 14", "#define I_AVN_CONTROL_FACTORY_ABI_VERSION 13", ] { assert!(HEADER.contains(expected), "header is missing `{expected}`"); diff --git a/rust/avalonia/examples/imperative_counter.rs b/rust/avalonia/examples/imperative_counter.rs new file mode 100644 index 0000000..46793fb --- /dev/null +++ b/rust/avalonia/examples/imperative_counter.rs @@ -0,0 +1,149 @@ +//! Counter sample built entirely through the imperative generated bindings: +//! no AXAML, no compiled presentation, no view-model IR. +//! +//! Run with a packaged host next to the executable, or point +//! `AVN_HOST_NATIVE_LIB` at a published `Avalonia.Host` native library. + +use std::sync::atomic::{AtomicI32, Ordering}; +use std::sync::Arc; + +use avalonia::{ + App, AppScope, Brush, Button, Color, HorizontalAlignment, ListBox, Orientation, Result, Slider, + StackPanel, TextBlock, TextBox, Thickness, Window, +}; + +fn main() -> Result<()> { + App::load_from_env()?.run(build_ui) +} + +fn build_ui(scope: &AppScope) -> Result<()> { + let count = Arc::new(AtomicI32::new(0)); + + let heading = TextBlock::new()? + .text("Rustolonia, imperatively")? + .font_size(20.0)? + .margin(Thickness::new(12.0, 12.0, 12.0, 0.0))?; + + let count_label = TextBlock::new()? + .text("0")? + .font_size(40.0)? + .horizontal_alignment(HorizontalAlignment::Center)? + .margin(Thickness::uniform(8.0))?; + + let log = ListBox::new()? + .margin(Thickness::symmetric(12.0, 8.0))? + .height(160.0)?; + + // Wave P payload: the selection-changed args interface carries the + // added/removed item lists across the ABI. + let selection_label = TextBlock::new()? + .text("Selection: none")? + .margin(Thickness::symmetric(12.0, 0.0))?; + let log = log.on_selection_changed(scope, { + let selection_label = selection_label.clone(); + move |args| { + let added = args.added_items_count().unwrap_or(0); + let removed = args.removed_items_count().unwrap_or(0); + let _ = selection_label + .set_text(format!("Selection: +{added} item(s), -{removed} item(s)")); + } + })?; + + // Wave P payload: RangeBase.ValueChanged carries the old/new pair as fields. + let slider_label = TextBlock::new()? + .text("Slider: 0")? + .margin(Thickness::symmetric(12.0, 0.0))?; + let slider = Slider::new()? + .margin(Thickness::symmetric(12.0, 4.0))? + .minimum(0.0)? + .maximum(100.0)? + .value(0.0)? + .on_value_changed(scope, { + let slider_label = slider_label.clone(); + move |args| { + let _ = slider_label.set_text(format!("Slider: {:.0}", args.new_value)); + } + })?; + + let increment = Button::new()? + .content(Some(&TextBlock::new()?.text("Increment")?))? + .margin(Thickness::uniform(4.0))? + .on_click(scope, { + let count = Arc::clone(&count); + let count_label = count_label.clone(); + let log = log.clone(); + move |_| { + let value = count.fetch_add(1, Ordering::Relaxed) + 1; + let _ = count_label.set_text(value.to_string()); + if let Ok(row) = TextBlock::new().and_then(|row| row.text(format!("Count {value}"))) + { + if let Ok(items) = log.items() { + let _ = items.add(row); + } + } + } + })?; + + let reset = Button::new()? + .content(Some(&TextBlock::new()?.text("Reset")?))? + .margin(Thickness::uniform(4.0))? + .on_click(scope, { + let count = Arc::clone(&count); + let count_label = count_label.clone(); + let log = log.clone(); + move |_| { + count.store(0, Ordering::Relaxed); + let _ = count_label.set_text("0"); + if let Ok(items) = log.items() { + let _ = items.clear(); + } + } + })?; + + let buttons = StackPanel::new()? + .orientation(Orientation::Horizontal)? + .horizontal_alignment(HorizontalAlignment::Center)?; + buttons.children()?.add(increment)?; + buttons.children()?.add(reset)?; + + let echo = TextBlock::new()?.margin(Thickness::symmetric(12.0, 4.0))?; + echo.set_text("Echo: ")?; + + let input = TextBox::new()? + .margin(Thickness::symmetric(12.0, 4.0))? + .placeholder_text("Type here")?; + let input_reader = input.clone(); + let input = input.on_text_changed(scope, { + let echo = echo.clone(); + move |_| { + let text = input_reader + .get_text() + .unwrap_or_default() + .unwrap_or_default(); + let _ = echo.set_text(format!("Echo: {text}")); + } + })?; + + let root = StackPanel::new()? + .orientation(Orientation::Vertical)? + .spacing(4.0)?; + root.set_background(Brush::solid(Color::new(255, 245, 245, 250)))?; + let children = root.children()?; + children.add(heading)?; + children.add(count_label)?; + children.add(buttons)?; + children.add(input)?; + children.add(echo)?; + children.add(slider)?; + children.add(slider_label)?; + children.add(log)?; + children.add(selection_label)?; + + let window = Window::new()? + .title("Imperative counter")? + .width(420.0)? + .height(680.0)?; + window.set_content(Some(&root))?; + scope.mount(window)?; + Ok(()) +} diff --git a/rust/avalonia/src/.avalonia-bindgen.owned.json b/rust/avalonia/src/.avalonia-bindgen.owned.json index 3462b37..20eb2f6 100644 --- a/rust/avalonia/src/.avalonia-bindgen.owned.json +++ b/rust/avalonia/src/.avalonia-bindgen.owned.json @@ -3,7 +3,7 @@ "files": [ { "path": "generated.rs", - "sha256": "3643b834ab6d191e860b0ea1cfe32f5707e12152f1eb354169d54040ea675585" + "sha256": "bd35d862b4e6e36073083a55c1bc469a32c01ad3fc9a4e35ce261241966018c6" } ] } diff --git a/rust/avalonia/src/generated.rs b/rust/avalonia/src/generated.rs index 543d959..e8770d5 100644 --- a/rust/avalonia/src/generated.rs +++ b/rust/avalonia/src/generated.rs @@ -1802,6 +1802,28 @@ pub mod key_modifiers { pub const META: i32 = 8; } +#[repr(i32)] +#[derive(Clone, Copy, Debug, PartialEq, Eq)] +pub enum NavigationMethod { + Unspecified = 0, + Tab = 1, + Directional = 2, + Pointer = 3, +} + +impl TryFrom for NavigationMethod { + type Error = crate::Error; + fn try_from(value: i32) -> Result { + match value { + 0 => Ok(Self::Unspecified), + 1 => Ok(Self::Tab), + 2 => Ok(Self::Directional), + 3 => Ok(Self::Pointer), + _ => Err(crate::Error::InvalidEnumValue(value)), + } + } +} + #[repr(i32)] #[derive(Clone, Copy, Debug, PartialEq, Eq)] pub enum PhysicalKey { @@ -2617,12 +2639,16 @@ pub use sys::IAvnCalendarDatePickerSelectedDateChangedArgs; pub use sys::ContextMenuOpeningEventArgs; pub use sys::ContextMenuClosingEventArgs; pub use sys::ControlSizeChangedEventArgs; +pub use sys::ControlGotFocusEventArgs; pub use sys::ControlKeyDownEventArgs; +pub use sys::ControlKeyUpEventArgs; pub use sys::DatePickerSelectedDateChangedEventArgs; pub use sys::ExpanderCollapsingEventArgs; pub use sys::ExpanderExpandingEventArgs; pub use sys::NumericUpDownSpinnedEventArgs; pub use sys::PopupFlyoutBaseClosingEventArgs; +pub use sys::RangeBaseValueChangedEventArgs; +pub use sys::IAvnSelectingItemsControlSelectionChangedArgs; pub use sys::ThumbDragStartedEventArgs; pub use sys::ThumbDragDeltaEventArgs; pub use sys::ThumbDragCompletedEventArgs; @@ -2631,6 +2657,7 @@ pub use sys::SplitViewPaneClosingEventArgs; pub use sys::SplitViewPaneOpeningEventArgs; pub use sys::TimePickerSelectedTimeChangedEventArgs; pub use sys::TransitioningContentControlTransitionCompletedEventArgs; +pub use sys::IAvnTreeViewSelectionChangedArgs; pub use sys::WindowClosingEventArgs; #[derive(Clone, Debug)] @@ -3090,6 +3117,30 @@ impl AutoCompleteBox { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -3101,6 +3152,17 @@ impl AutoCompleteBox { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -3889,6 +3951,30 @@ impl Border { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -3900,6 +3986,17 @@ impl Border { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -4318,6 +4415,30 @@ impl Button { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -4329,6 +4450,17 @@ impl Button { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -4930,6 +5062,30 @@ impl ButtonSpinner { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -4941,6 +5097,17 @@ impl ButtonSpinner { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -5505,6 +5672,30 @@ impl Calendar { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -5516,6 +5707,17 @@ impl Calendar { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -6153,6 +6355,30 @@ impl CalendarDatePicker { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -6164,6 +6390,17 @@ impl CalendarDatePicker { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -6866,6 +7103,30 @@ impl Canvas { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -6877,6 +7138,17 @@ impl Canvas { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -7261,6 +7533,30 @@ impl Carousel { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -7272,6 +7568,17 @@ impl Carousel { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -7537,16 +7844,14 @@ impl Carousel { self.set_wrap_selection(value)?; Ok(self) } - pub fn subscribe_selection_changed(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::selecting_items_control_selection_changed_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_selection_changed(&self, callback: impl FnMut(&mut sys::ComPtr) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::selecting_items_control_selection_changed_handler(move |args| { callback(args); Ok(()) }); let subscription_id = self.raw.advise_selection_changed(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_selection_changed(subscription_id))) } - pub fn on_selection_changed(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_selection_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut sys::ComPtr) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_selection_changed(callback)?); Ok(self) } @@ -7873,6 +8178,30 @@ impl CheckBox { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -7884,6 +8213,17 @@ impl CheckBox { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -8514,6 +8854,30 @@ impl ComboBox { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -8525,6 +8889,17 @@ impl ComboBox { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -8790,16 +9165,14 @@ impl ComboBox { self.set_wrap_selection(value)?; Ok(self) } - pub fn subscribe_selection_changed(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::selecting_items_control_selection_changed_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_selection_changed(&self, callback: impl FnMut(&mut sys::ComPtr) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::selecting_items_control_selection_changed_handler(move |args| { callback(args); Ok(()) }); let subscription_id = self.raw.advise_selection_changed(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_selection_changed(subscription_id))) } - pub fn on_selection_changed(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_selection_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut sys::ComPtr) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_selection_changed(callback)?); Ok(self) } @@ -9204,6 +9577,30 @@ impl ComboBoxItem { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -9215,6 +9612,17 @@ impl ComboBoxItem { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -9741,6 +10149,30 @@ impl CommandBar { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -9752,6 +10184,17 @@ impl CommandBar { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -10388,6 +10831,30 @@ impl CommandBarButton { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -10399,6 +10866,17 @@ impl CommandBarButton { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -11057,6 +11535,30 @@ impl CommandBarSeparator { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -11068,6 +11570,17 @@ impl CommandBarSeparator { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -11559,6 +12072,30 @@ impl CommandBarToggleButton { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -11570,6 +12107,17 @@ impl CommandBarToggleButton { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -12257,6 +12805,30 @@ impl ContentControl { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -12268,6 +12840,17 @@ impl ContentControl { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -12786,6 +13369,30 @@ impl ContextMenu { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -12797,6 +13404,17 @@ impl ContextMenu { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -13062,16 +13680,14 @@ impl ContextMenu { self.set_wrap_selection(value)?; Ok(self) } - pub fn subscribe_selection_changed(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::selecting_items_control_selection_changed_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_selection_changed(&self, callback: impl FnMut(&mut sys::ComPtr) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::selecting_items_control_selection_changed_handler(move |args| { callback(args); Ok(()) }); let subscription_id = self.raw.advise_selection_changed(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_selection_changed(subscription_id))) } - pub fn on_selection_changed(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_selection_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut sys::ComPtr) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_selection_changed(callback)?); Ok(self) } @@ -13524,6 +14140,30 @@ impl Control { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -13535,6 +14175,17 @@ impl Control { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -13865,6 +14516,30 @@ impl DatePicker { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -13876,6 +14551,17 @@ impl DatePicker { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -14464,6 +15150,30 @@ impl Decorator { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -14475,6 +15185,17 @@ impl Decorator { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -14826,6 +15547,30 @@ impl DockPanel { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -14837,6 +15582,17 @@ impl DockPanel { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -15218,6 +15974,30 @@ impl DropDownButton { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -15229,6 +16009,17 @@ impl DropDownButton { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -15830,6 +16621,30 @@ impl Expander { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -15841,6 +16656,17 @@ impl Expander { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -16447,6 +17273,30 @@ impl FlexPanel { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -16458,6 +17308,17 @@ impl FlexPanel { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -17075,6 +17936,30 @@ impl Grid { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -17086,6 +17971,17 @@ impl Grid { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -17525,6 +18421,30 @@ impl GridSplitter { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -17536,6 +18456,17 @@ impl GridSplitter { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -18090,6 +19021,30 @@ impl GroupBox { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -18101,6 +19056,17 @@ impl GroupBox { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -18640,6 +19606,30 @@ impl HyperlinkButton { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -18651,6 +19641,17 @@ impl HyperlinkButton { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -19267,6 +20268,30 @@ impl IconElement { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -19278,6 +20303,17 @@ impl IconElement { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -19753,6 +20789,30 @@ impl Image { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -19764,6 +20824,17 @@ impl Image { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -20138,6 +21209,30 @@ impl ItemsControl { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -20149,6 +21244,17 @@ impl ItemsControl { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -20664,6 +21770,30 @@ impl Label { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -20675,6 +21805,17 @@ impl Label { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -21204,6 +22345,30 @@ impl LayoutTransformControl { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -21215,6 +22380,17 @@ impl LayoutTransformControl { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -21574,6 +22750,30 @@ impl ListBox { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -21585,6 +22785,17 @@ impl ListBox { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -21850,16 +23061,14 @@ impl ListBox { self.set_wrap_selection(value)?; Ok(self) } - pub fn subscribe_selection_changed(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::selecting_items_control_selection_changed_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_selection_changed(&self, callback: impl FnMut(&mut sys::ComPtr) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::selecting_items_control_selection_changed_handler(move |args| { callback(args); Ok(()) }); let subscription_id = self.raw.advise_selection_changed(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_selection_changed(subscription_id))) } - pub fn on_selection_changed(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_selection_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut sys::ComPtr) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_selection_changed(callback)?); Ok(self) } @@ -22177,6 +23386,30 @@ impl ListBoxItem { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -22188,6 +23421,17 @@ impl ListBoxItem { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -22714,6 +23958,30 @@ impl MaskedTextBox { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -22725,6 +23993,17 @@ impl MaskedTextBox { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -23635,6 +24914,30 @@ impl Menu { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -23646,6 +24949,17 @@ impl Menu { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -23911,16 +25225,14 @@ impl Menu { self.set_wrap_selection(value)?; Ok(self) } - pub fn subscribe_selection_changed(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::selecting_items_control_selection_changed_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_selection_changed(&self, callback: impl FnMut(&mut sys::ComPtr) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::selecting_items_control_selection_changed_handler(move |args| { callback(args); Ok(()) }); let subscription_id = self.raw.advise_selection_changed(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_selection_changed(subscription_id))) } - pub fn on_selection_changed(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_selection_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut sys::ComPtr) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_selection_changed(callback)?); Ok(self) } @@ -24253,6 +25565,30 @@ impl MenuBase { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -24264,6 +25600,17 @@ impl MenuBase { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -24529,16 +25876,14 @@ impl MenuBase { self.set_wrap_selection(value)?; Ok(self) } - pub fn subscribe_selection_changed(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::selecting_items_control_selection_changed_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_selection_changed(&self, callback: impl FnMut(&mut sys::ComPtr) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::selecting_items_control_selection_changed_handler(move |args| { callback(args); Ok(()) }); let subscription_id = self.raw.advise_selection_changed(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_selection_changed(subscription_id))) } - pub fn on_selection_changed(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_selection_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut sys::ComPtr) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_selection_changed(callback)?); Ok(self) } @@ -25079,6 +26424,30 @@ impl MenuItem { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -25090,6 +26459,17 @@ impl MenuItem { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -25355,16 +26735,14 @@ impl MenuItem { self.set_wrap_selection(value)?; Ok(self) } - pub fn subscribe_selection_changed(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::selecting_items_control_selection_changed_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_selection_changed(&self, callback: impl FnMut(&mut sys::ComPtr) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::selecting_items_control_selection_changed_handler(move |args| { callback(args); Ok(()) }); let subscription_id = self.raw.advise_selection_changed(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_selection_changed(subscription_id))) } - pub fn on_selection_changed(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_selection_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut sys::ComPtr) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_selection_changed(callback)?); Ok(self) } @@ -25831,6 +27209,30 @@ impl NotificationCard { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -25842,6 +27244,17 @@ impl NotificationCard { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -26394,6 +27807,30 @@ impl WindowNotificationManager { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -26405,6 +27842,17 @@ impl WindowNotificationManager { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -26904,6 +28352,30 @@ impl NumericUpDown { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -26915,6 +28387,17 @@ impl NumericUpDown { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -27600,6 +29083,30 @@ impl Panel { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -27611,6 +29118,17 @@ impl Panel { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -27959,6 +29477,30 @@ impl PathIcon { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -27970,6 +29512,17 @@ impl PathIcon { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -28456,6 +30009,30 @@ impl PipsPager { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -28467,6 +30044,17 @@ impl PipsPager { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -29057,6 +30645,30 @@ impl HeaderedContentControl { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -29068,6 +30680,17 @@ impl HeaderedContentControl { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -29607,6 +31230,30 @@ impl HeaderedItemsControl { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -29618,6 +31265,17 @@ impl HeaderedItemsControl { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -30154,6 +31812,30 @@ impl HeaderedSelectingItemsControl { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -30165,6 +31847,17 @@ impl HeaderedSelectingItemsControl { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -30430,16 +32123,14 @@ impl HeaderedSelectingItemsControl { self.set_wrap_selection(value)?; Ok(self) } - pub fn subscribe_selection_changed(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::selecting_items_control_selection_changed_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_selection_changed(&self, callback: impl FnMut(&mut sys::ComPtr) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::selecting_items_control_selection_changed_handler(move |args| { callback(args); Ok(()) }); let subscription_id = self.raw.advise_selection_changed(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_selection_changed(subscription_id))) } - pub fn on_selection_changed(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_selection_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut sys::ComPtr) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_selection_changed(callback)?); Ok(self) } @@ -30768,6 +32459,30 @@ impl Popup { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -30779,6 +32494,17 @@ impl Popup { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -31476,6 +33202,30 @@ impl RangeBase { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -31487,6 +33237,17 @@ impl RangeBase { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -31698,16 +33459,14 @@ impl RangeBase { self.set_large_change(value)?; Ok(self) } - pub fn subscribe_value_changed(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::range_base_value_changed_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_value_changed(&self, callback: impl FnMut(&mut RangeBaseValueChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::range_base_value_changed_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_value_changed(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_value_changed(subscription_id))) } - pub fn on_value_changed(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_value_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut RangeBaseValueChangedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_value_changed(callback)?); Ok(self) } @@ -32015,6 +33774,30 @@ impl SelectingItemsControl { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -32026,6 +33809,17 @@ impl SelectingItemsControl { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -32291,16 +34085,14 @@ impl SelectingItemsControl { self.set_wrap_selection(value)?; Ok(self) } - pub fn subscribe_selection_changed(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::selecting_items_control_selection_changed_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_selection_changed(&self, callback: impl FnMut(&mut sys::ComPtr) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::selecting_items_control_selection_changed_handler(move |args| { callback(args); Ok(()) }); let subscription_id = self.raw.advise_selection_changed(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_selection_changed(subscription_id))) } - pub fn on_selection_changed(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_selection_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut sys::ComPtr) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_selection_changed(callback)?); Ok(self) } @@ -32608,6 +34400,30 @@ impl TemplatedControl { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -32619,6 +34435,17 @@ impl TemplatedControl { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -33094,6 +34921,30 @@ impl Thumb { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -33105,6 +34956,17 @@ impl Thumb { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -33613,6 +35475,30 @@ impl ToggleButton { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -33624,6 +35510,17 @@ impl ToggleButton { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -34254,6 +36151,30 @@ impl UniformGrid { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -34265,6 +36186,17 @@ impl UniformGrid { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -34653,6 +36585,30 @@ impl ProgressBar { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -34664,6 +36620,17 @@ impl ProgressBar { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -34875,16 +36842,14 @@ impl ProgressBar { self.set_large_change(value)?; Ok(self) } - pub fn subscribe_value_changed(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::range_base_value_changed_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_value_changed(&self, callback: impl FnMut(&mut RangeBaseValueChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::range_base_value_changed_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_value_changed(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_value_changed(subscription_id))) } - pub fn on_value_changed(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_value_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut RangeBaseValueChangedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_value_changed(callback)?); Ok(self) } @@ -35231,6 +37196,30 @@ impl RadioButton { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -35242,6 +37231,17 @@ impl RadioButton { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -35883,6 +37883,30 @@ impl RefreshContainer { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -35894,6 +37918,17 @@ impl RefreshContainer { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -36445,6 +38480,30 @@ impl RelativePanel { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -36456,6 +38515,17 @@ impl RelativePanel { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -36858,6 +38928,30 @@ impl RepeatButton { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -36869,6 +38963,17 @@ impl RepeatButton { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -37486,6 +39591,30 @@ impl ScrollViewer { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -37497,6 +39626,17 @@ impl ScrollViewer { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -38181,6 +40321,30 @@ impl SelectableTextBlock { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -38192,6 +40356,17 @@ impl SelectableTextBlock { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -38759,6 +40934,30 @@ impl Separator { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -38770,6 +40969,17 @@ impl Separator { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -39245,6 +41455,30 @@ impl Arc { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -39256,6 +41490,17 @@ impl Arc { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -39692,6 +41937,30 @@ impl Ellipse { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -39703,6 +41972,17 @@ impl Ellipse { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -40123,6 +42403,30 @@ impl Line { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -40134,6 +42438,17 @@ impl Line { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -40574,6 +42889,30 @@ impl Path { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -40585,6 +42924,17 @@ impl Path { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -41016,6 +43366,30 @@ impl Polygon { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -41027,6 +43401,17 @@ impl Polygon { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -41469,6 +43854,30 @@ impl Polyline { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -41480,6 +43889,17 @@ impl Polyline { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -41922,6 +44342,30 @@ impl Rectangle { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -41933,6 +44377,17 @@ impl Rectangle { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -42369,6 +44824,30 @@ impl Sector { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -42380,6 +44859,17 @@ impl Sector { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -42812,6 +45302,30 @@ impl Shape { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -42823,6 +45337,17 @@ impl Shape { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -43243,6 +45768,30 @@ impl Slider { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -43254,6 +45803,17 @@ impl Slider { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -43465,16 +46025,14 @@ impl Slider { self.set_large_change(value)?; Ok(self) } - pub fn subscribe_value_changed(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::range_base_value_changed_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_value_changed(&self, callback: impl FnMut(&mut RangeBaseValueChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::range_base_value_changed_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_value_changed(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_value_changed(subscription_id))) } - pub fn on_value_changed(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_value_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut RangeBaseValueChangedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_value_changed(callback)?); Ok(self) } @@ -43835,6 +46393,30 @@ impl Spinner { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -43846,6 +46428,17 @@ impl Spinner { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -44383,6 +46976,30 @@ impl SplitButton { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -44394,6 +47011,17 @@ impl SplitButton { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -44967,6 +47595,30 @@ impl SplitView { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -44978,6 +47630,17 @@ impl SplitView { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -45630,6 +48293,30 @@ impl StackPanel { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -45641,6 +48328,17 @@ impl StackPanel { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -46024,6 +48722,30 @@ impl TabControl { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -46035,6 +48757,17 @@ impl TabControl { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -46300,16 +49033,14 @@ impl TabControl { self.set_wrap_selection(value)?; Ok(self) } - pub fn subscribe_selection_changed(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::selecting_items_control_selection_changed_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_selection_changed(&self, callback: impl FnMut(&mut sys::ComPtr) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::selecting_items_control_selection_changed_handler(move |args| { callback(args); Ok(()) }); let subscription_id = self.raw.advise_selection_changed(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_selection_changed(subscription_id))) } - pub fn on_selection_changed(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_selection_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut sys::ComPtr) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_selection_changed(callback)?); Ok(self) } @@ -46676,6 +49407,30 @@ impl TabItem { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -46687,6 +49442,17 @@ impl TabItem { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -47268,6 +50034,30 @@ impl TableView { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -47279,6 +50069,17 @@ impl TableView { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -47544,16 +50345,14 @@ impl TableView { self.set_wrap_selection(value)?; Ok(self) } - pub fn subscribe_selection_changed(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::selecting_items_control_selection_changed_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_selection_changed(&self, callback: impl FnMut(&mut sys::ComPtr) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::selecting_items_control_selection_changed_handler(move |args| { callback(args); Ok(()) }); let subscription_id = self.raw.advise_selection_changed(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_selection_changed(subscription_id))) } - pub fn on_selection_changed(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_selection_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut sys::ComPtr) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_selection_changed(callback)?); Ok(self) } @@ -47889,6 +50688,30 @@ impl TableViewCell { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -47900,6 +50723,17 @@ impl TableViewCell { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -48621,6 +51455,30 @@ impl TableViewRow { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -48632,6 +51490,17 @@ impl TableViewRow { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -49158,6 +52027,30 @@ impl TextBlock { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -49169,6 +52062,17 @@ impl TextBlock { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -49678,6 +52582,30 @@ impl TextBox { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -49689,6 +52617,17 @@ impl TextBox { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -50546,6 +53485,30 @@ impl ThemeVariantScope { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -50557,6 +53520,17 @@ impl ThemeVariantScope { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -50919,6 +53893,30 @@ impl TimePicker { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -50930,6 +53928,17 @@ impl TimePicker { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -51474,6 +54483,30 @@ impl ToggleSplitButton { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -51485,6 +54518,17 @@ impl ToggleSplitButton { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -52079,6 +55123,30 @@ impl ToggleSwitch { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -52090,6 +55158,17 @@ impl ToggleSwitch { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -52762,6 +55841,30 @@ impl ToolTip { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -52773,6 +55876,17 @@ impl ToolTip { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -53373,6 +56487,30 @@ impl TransitioningContentControl { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -53384,6 +56522,17 @@ impl TransitioningContentControl { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -53998,6 +57147,30 @@ impl TreeView { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -54009,6 +57182,17 @@ impl TreeView { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -54266,16 +57450,14 @@ impl TreeView { let container = container.as_control()?; Ok(Variant::from_abi(self.raw.tree_item_from_container_with_control(&container)?)) } - pub fn subscribe_selection_changed(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::tree_view_selection_changed_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_selection_changed(&self, callback: impl FnMut(&mut sys::ComPtr) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::tree_view_selection_changed_handler(move |args| { callback(args); Ok(()) }); let subscription_id = self.raw.advise_selection_changed(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_selection_changed(subscription_id))) } - pub fn on_selection_changed(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_selection_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut sys::ComPtr) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_selection_changed(callback)?); Ok(self) } @@ -54583,6 +57765,30 @@ impl TreeViewItem { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -54594,6 +57800,17 @@ impl TreeViewItem { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -55173,6 +58390,30 @@ impl UserControl { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -55184,6 +58425,17 @@ impl UserControl { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -55702,6 +58954,30 @@ impl Viewbox { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -55713,6 +58989,17 @@ impl Viewbox { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -56076,6 +59363,30 @@ impl Window { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -56087,6 +59398,17 @@ impl Window { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); @@ -56769,6 +60091,30 @@ impl WrapPanel { scope.retain_subscription(self.subscribe_size_changed(callback)?); Ok(self) } + pub fn subscribe_got_focus(&self, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_got_focus_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_got_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_got_focus(subscription_id))) + } + pub fn on_got_focus(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlGotFocusEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_got_focus(callback)?); + Ok(self) + } + pub fn subscribe_lost_focus(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_lost_focus_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_lost_focus(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_lost_focus(subscription_id))) + } + pub fn on_lost_focus(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_lost_focus(callback)?); + Ok(self) + } pub fn subscribe_key_down(&self, callback: impl FnMut(&mut ControlKeyDownEventArgs) + Send + 'static) -> Result { let mut callback = callback; let handler = sys::control_key_down_handler(move |event| { callback(event); Ok(()) }); @@ -56780,6 +60126,17 @@ impl WrapPanel { scope.retain_subscription(self.subscribe_key_down(callback)?); Ok(self) } + pub fn subscribe_key_up(&self, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_key_up_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_key_up(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_key_up(subscription_id))) + } + pub fn on_key_up(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlKeyUpEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_key_up(callback)?); + Ok(self) + } pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_pointer_entered_handler(move || { callback(()); diff --git a/rust/projection.ir.json b/rust/projection.ir.json index 3bfb4fd..c747778 100644 --- a/rust/projection.ir.json +++ b/rust/projection.ir.json @@ -47,8 +47,8 @@ "name": "IAvnAutoCompleteBox", "fullName": "Avalonia.Host.Com.IAvnAutoCompleteBox", "kind": "Class", - "iid": "92CEFC39-4E40-5193-893F-F3E2C77ED24C", - "abiVersion": 16, + "iid": "86643B56-B59D-5EE3-8A9B-D44F7DA909E7", + "abiVersion": 17, "baseFullName": "Avalonia.Host.Com.IAvnTemplatedControl", "managedFullName": "Avalonia.Controls.AutoCompleteBox", "isConstructible": true, @@ -421,8 +421,8 @@ "name": "IAvnBorder", "fullName": "Avalonia.Host.Com.IAvnBorder", "kind": "Class", - "iid": "80C1079E-AFDF-5483-A560-2DDB475CF894", - "abiVersion": 12, + "iid": "DFE5487A-B7C3-5DD1-A6EF-0CC9B9E6FC9C", + "abiVersion": 13, "baseFullName": "Avalonia.Host.Com.IAvnDecorator", "managedFullName": "Avalonia.Controls.Border", "isConstructible": true, @@ -503,8 +503,8 @@ "name": "IAvnButton", "fullName": "Avalonia.Host.Com.IAvnButton", "kind": "Class", - "iid": "62D66949-2173-5007-9613-1F4B3E7C144E", - "abiVersion": 16, + "iid": "39E10286-7BB7-511B-8885-733B3AB380F6", + "abiVersion": 17, "baseFullName": "Avalonia.Host.Com.IAvnContentControl", "managedFullName": "Avalonia.Controls.Button", "isConstructible": true, @@ -601,8 +601,8 @@ "name": "IAvnButtonSpinner", "fullName": "Avalonia.Host.Com.IAvnButtonSpinner", "kind": "Class", - "iid": "046C4736-CECE-5455-98A8-F2DD3C84C846", - "abiVersion": 9, + "iid": "121045E2-0F99-5036-A5F8-373B15BC6449", + "abiVersion": 10, "baseFullName": "Avalonia.Host.Com.IAvnSpinner", "managedFullName": "Avalonia.Controls.ButtonSpinner", "isConstructible": true, @@ -642,8 +642,8 @@ "name": "IAvnCalendar", "fullName": "Avalonia.Host.Com.IAvnCalendar", "kind": "Class", - "iid": "F1D659B7-93E5-5093-9D16-C480F7520E14", - "abiVersion": 12, + "iid": "D1959E20-E08E-5A66-A63B-4BD714E609D7", + "abiVersion": 13, "baseFullName": "Avalonia.Host.Com.IAvnTemplatedControl", "managedFullName": "Avalonia.Controls.Calendar", "isConstructible": true, @@ -871,8 +871,8 @@ "name": "IAvnCalendarDatePicker", "fullName": "Avalonia.Host.Com.IAvnCalendarDatePicker", "kind": "Class", - "iid": "DC5958DB-F3AD-5B9F-9C86-7B66DD3D2429", - "abiVersion": 11, + "iid": "52B3592A-D20D-5C93-8D31-E0552A7445FE", + "abiVersion": 12, "baseFullName": "Avalonia.Host.Com.IAvnTemplatedControl", "managedFullName": "Avalonia.Controls.CalendarDatePicker", "isConstructible": true, @@ -1134,8 +1134,8 @@ "name": "IAvnCanvas", "fullName": "Avalonia.Host.Com.IAvnCanvas", "kind": "Class", - "iid": "D9F89602-BD30-55F3-84C5-69EF65A6D0DA", - "abiVersion": 11, + "iid": "CE4E710B-D3A5-5021-A343-758FA078E791", + "abiVersion": 12, "baseFullName": "Avalonia.Host.Com.IAvnPanel", "managedFullName": "Avalonia.Controls.Canvas", "isConstructible": true, @@ -1147,8 +1147,8 @@ "name": "IAvnCarousel", "fullName": "Avalonia.Host.Com.IAvnCarousel", "kind": "Class", - "iid": "14D0DA2B-D8DF-5816-8B51-455DCF738DF0", - "abiVersion": 13, + "iid": "B496C390-157D-54E1-8415-E487E93DAF7D", + "abiVersion": 14, "baseFullName": "Avalonia.Host.Com.IAvnSelectingItemsControl", "managedFullName": "Avalonia.Controls.Carousel", "isConstructible": true, @@ -1203,8 +1203,8 @@ "name": "IAvnCheckBox", "fullName": "Avalonia.Host.Com.IAvnCheckBox", "kind": "Class", - "iid": "2D002AFC-AAFB-5C2D-B747-D08DF78AC852", - "abiVersion": 16, + "iid": "AACDB973-AF3D-5BA5-A094-635178EF2C2E", + "abiVersion": 17, "baseFullName": "Avalonia.Host.Com.IAvnToggleButton", "managedFullName": "Avalonia.Controls.CheckBox", "isConstructible": true, @@ -1216,8 +1216,8 @@ "name": "IAvnComboBox", "fullName": "Avalonia.Host.Com.IAvnComboBox", "kind": "Class", - "iid": "86CA773B-56AB-521C-BA29-D2579C59F7F3", - "abiVersion": 17, + "iid": "C05FA67D-1BEE-51A8-9367-0300AA1CAE23", + "abiVersion": 18, "baseFullName": "Avalonia.Host.Com.IAvnSelectingItemsControl", "managedFullName": "Avalonia.Controls.ComboBox", "isConstructible": true, @@ -1332,8 +1332,8 @@ "name": "IAvnComboBoxItem", "fullName": "Avalonia.Host.Com.IAvnComboBoxItem", "kind": "Class", - "iid": "2B9D2E17-500A-56F0-A0DB-14B92FF28CCB", - "abiVersion": 15, + "iid": "4AF5334E-4FEC-5F97-84F0-CD61FD0C6B88", + "abiVersion": 16, "baseFullName": "Avalonia.Host.Com.IAvnListBoxItem", "managedFullName": "Avalonia.Controls.ComboBoxItem", "isConstructible": true, @@ -1345,8 +1345,8 @@ "name": "IAvnCommandBar", "fullName": "Avalonia.Host.Com.IAvnCommandBar", "kind": "Class", - "iid": "1A9B7C3D-4D24-5330-9F8F-D9D0BC712695", - "abiVersion": 12, + "iid": "355E12ED-4932-5C4C-8AC1-AA74B666B584", + "abiVersion": 13, "baseFullName": "Avalonia.Host.Com.IAvnTemplatedControl", "managedFullName": "Avalonia.Controls.CommandBar", "isConstructible": true, @@ -1552,8 +1552,8 @@ "name": "IAvnCommandBarButton", "fullName": "Avalonia.Host.Com.IAvnCommandBarButton", "kind": "Class", - "iid": "427EE3EA-2EA0-5FF8-B413-7D989D892604", - "abiVersion": 11, + "iid": "3A7F177E-FB8E-5893-B574-99ACD4CBC8B5", + "abiVersion": 12, "baseFullName": "Avalonia.Host.Com.IAvnButton", "managedFullName": "Avalonia.Controls.CommandBarButton", "isConstructible": true, @@ -1620,8 +1620,8 @@ "name": "IAvnCommandBarSeparator", "fullName": "Avalonia.Host.Com.IAvnCommandBarSeparator", "kind": "Class", - "iid": "3D86A39E-0EC3-58FA-BE17-2F3CE4E95021", - "abiVersion": 9, + "iid": "21D4AA3D-ADFF-5CC6-9E76-EA1FBBD11C33", + "abiVersion": 10, "baseFullName": "Avalonia.Host.Com.IAvnSeparator", "managedFullName": "Avalonia.Controls.CommandBarSeparator", "isConstructible": true, @@ -1652,8 +1652,8 @@ "name": "IAvnCommandBarToggleButton", "fullName": "Avalonia.Host.Com.IAvnCommandBarToggleButton", "kind": "Class", - "iid": "7E7CC18B-4E66-5650-8FE4-1ACA445FA907", - "abiVersion": 11, + "iid": "28AA86DE-6253-5D07-964D-23785552FB86", + "abiVersion": 12, "baseFullName": "Avalonia.Host.Com.IAvnToggleButton", "managedFullName": "Avalonia.Controls.CommandBarToggleButton", "isConstructible": true, @@ -1720,8 +1720,8 @@ "name": "IAvnContentControl", "fullName": "Avalonia.Host.Com.IAvnContentControl", "kind": "Class", - "iid": "F3CE3FB2-CD2D-5839-81C7-3DF70C3AD2F5", - "abiVersion": 13, + "iid": "71FA5ADD-9F62-5918-84D4-4B300B8EA192", + "abiVersion": 14, "baseFullName": "Avalonia.Host.Com.IAvnTemplatedControl", "managedFullName": "Avalonia.Controls.ContentControl", "isConstructible": true, @@ -1772,8 +1772,8 @@ "name": "IAvnContextMenu", "fullName": "Avalonia.Host.Com.IAvnContextMenu", "kind": "Class", - "iid": "A5BAC0B5-5163-5500-8C58-629BE7DE3037", - "abiVersion": 15, + "iid": "770B19A7-FB74-5BCA-B1DD-9E0EF124EFEE", + "abiVersion": 16, "baseFullName": "Avalonia.Host.Com.IAvnMenuBase", "managedFullName": "Avalonia.Controls.ContextMenu", "isConstructible": true, @@ -1930,8 +1930,8 @@ "name": "IAvnControl", "fullName": "Avalonia.Host.Com.IAvnControl", "kind": "Class", - "iid": "06D79016-63D8-5035-B293-19969F0BB3C6", - "abiVersion": 8, + "iid": "ABDFF81D-DB26-5BB7-9ACA-18353E6DB4D4", + "abiVersion": 9, "baseFullName": "Avalonia.Host.Com.IAvnStyledElement", "managedFullName": "Avalonia.Controls.Control", "isConstructible": true, @@ -2127,6 +2127,39 @@ } ] }, + { + "name": "GotFocus", + "handlerInterfaceName": "Avalonia.Host.Com.IAvnControlGotFocusHandler", + "handlerInterfaceIid": "6621A073-4D3B-54C6-A32E-5701CDB745AD", + "handlerInterfaceAbiVersion": 1, + "payloadKind": "Fields", + "managedHandlerTypeName": "System.EventHandler\u003CAvalonia.Input.FocusChangedEventArgs\u003E", + "parameters": [ + { + "name": "NavigationMethod", + "kind": "I32", + "direction": "In", + "managedTypeName": "Avalonia.Input.NavigationMethod", + "isNullable": false + }, + { + "name": "KeyModifiers", + "kind": "I32", + "direction": "In", + "managedTypeName": "Avalonia.Input.KeyModifiers", + "isNullable": false + } + ] + }, + { + "name": "LostFocus", + "handlerInterfaceName": "Avalonia.Host.Com.IAvnControlLostFocusHandler", + "handlerInterfaceIid": "BB0FBAD2-DB37-56AE-A3C2-73BC2030BD06", + "handlerInterfaceAbiVersion": 1, + "payloadKind": "None", + "managedHandlerTypeName": "System.EventHandler\u003CAvalonia.Input.FocusChangedEventArgs\u003E", + "parameters": [] + }, { "name": "KeyDown", "handlerInterfaceName": "Avalonia.Host.Com.IAvnControlKeyDownHandler", @@ -2172,6 +2205,51 @@ } ] }, + { + "name": "KeyUp", + "handlerInterfaceName": "Avalonia.Host.Com.IAvnControlKeyUpHandler", + "handlerInterfaceIid": "B4FC3B9A-CF71-5EBB-9852-A46AEC80C6FE", + "handlerInterfaceAbiVersion": 1, + "payloadKind": "Fields", + "managedHandlerTypeName": "System.EventHandler\u003CAvalonia.Input.KeyEventArgs\u003E", + "parameters": [ + { + "name": "Key", + "kind": "I32", + "direction": "In", + "managedTypeName": "Avalonia.Input.Key", + "isNullable": false + }, + { + "name": "PhysicalKey", + "kind": "I32", + "direction": "In", + "managedTypeName": "Avalonia.Input.PhysicalKey", + "isNullable": false + }, + { + "name": "KeyModifiers", + "kind": "I32", + "direction": "In", + "managedTypeName": "Avalonia.Input.KeyModifiers", + "isNullable": false + }, + { + "name": "KeySymbol", + "kind": "StringUtf16", + "direction": "In", + "managedTypeName": "System.String", + "isNullable": true + }, + { + "name": "Handled", + "kind": "Bool", + "direction": "InOut", + "managedTypeName": "System.Boolean", + "isNullable": false + } + ] + }, { "name": "PointerEntered", "handlerInterfaceName": "Avalonia.Host.Com.IAvnControlPointerEnteredHandler", @@ -2196,8 +2274,8 @@ "name": "IAvnDatePicker", "fullName": "Avalonia.Host.Com.IAvnDatePicker", "kind": "Class", - "iid": "5C7D5B90-EC20-5621-BE13-EADAB8A0701B", - "abiVersion": 11, + "iid": "1441AD02-88FD-5BCE-9A23-18607667FAA3", + "abiVersion": 12, "baseFullName": "Avalonia.Host.Com.IAvnTemplatedControl", "managedFullName": "Avalonia.Controls.DatePicker", "isConstructible": true, @@ -2336,8 +2414,8 @@ "name": "IAvnDecorator", "fullName": "Avalonia.Host.Com.IAvnDecorator", "kind": "Class", - "iid": "57E09C6B-A22C-5F01-B65C-E54C3DD55E6C", - "abiVersion": 10, + "iid": "73D7A8D4-2B75-5F19-958F-DE0D15AC3079", + "abiVersion": 11, "baseFullName": "Avalonia.Host.Com.IAvnControl", "managedFullName": "Avalonia.Controls.Decorator", "isConstructible": true, @@ -2369,8 +2447,8 @@ "name": "IAvnDockPanel", "fullName": "Avalonia.Host.Com.IAvnDockPanel", "kind": "Class", - "iid": "F0C3E239-81CB-544D-9CEF-73B1D04C1FB3", - "abiVersion": 11, + "iid": "36376ACD-9F74-59B8-ADCA-CAE96F5E70B9", + "abiVersion": 12, "baseFullName": "Avalonia.Host.Com.IAvnPanel", "managedFullName": "Avalonia.Controls.DockPanel", "isConstructible": true, @@ -2410,8 +2488,8 @@ "name": "IAvnDropDownButton", "fullName": "Avalonia.Host.Com.IAvnDropDownButton", "kind": "Class", - "iid": "7CDEF76D-7FD4-5552-B591-2D98140A7A63", - "abiVersion": 11, + "iid": "85F27971-CEB0-528D-8D3B-C0AB62E11FDA", + "abiVersion": 12, "baseFullName": "Avalonia.Host.Com.IAvnButton", "managedFullName": "Avalonia.Controls.DropDownButton", "isConstructible": true, @@ -2423,8 +2501,8 @@ "name": "IAvnExpander", "fullName": "Avalonia.Host.Com.IAvnExpander", "kind": "Class", - "iid": "24CFAB36-1C9D-5E25-AE07-E91DA6B3A21C", - "abiVersion": 13, + "iid": "5655BDB3-EF10-56D0-BE24-59FC88350939", + "abiVersion": 14, "baseFullName": "Avalonia.Host.Com.IAvnHeaderedContentControl", "managedFullName": "Avalonia.Controls.Expander", "isConstructible": true, @@ -2508,8 +2586,8 @@ "name": "IAvnFlexPanel", "fullName": "Avalonia.Host.Com.IAvnFlexPanel", "kind": "Class", - "iid": "299F0D1D-2C19-5531-A4C9-327C784B297D", - "abiVersion": 8, + "iid": "5E186F8A-D1FB-5989-A496-63982A999752", + "abiVersion": 9, "baseFullName": "Avalonia.Host.Com.IAvnPanel", "managedFullName": "Avalonia.Controls.FlexPanel", "isConstructible": true, @@ -2619,8 +2697,8 @@ "name": "IAvnGrid", "fullName": "Avalonia.Host.Com.IAvnGrid", "kind": "Class", - "iid": "55E75D4C-FC75-51A9-BA87-6D28704EAFC8", - "abiVersion": 12, + "iid": "63034BE5-179A-5196-8338-F10785C6DDDD", + "abiVersion": 13, "baseFullName": "Avalonia.Host.Com.IAvnPanel", "managedFullName": "Avalonia.Controls.Grid", "isConstructible": true, @@ -2678,8 +2756,8 @@ "name": "IAvnGridSplitter", "fullName": "Avalonia.Host.Com.IAvnGridSplitter", "kind": "Class", - "iid": "DBCA4F68-AFEE-5885-938A-194E7DE5C551", - "abiVersion": 10, + "iid": "93629BF6-E409-5BF3-BB49-454A884550E3", + "abiVersion": 11, "baseFullName": "Avalonia.Host.Com.IAvnThumb", "managedFullName": "Avalonia.Controls.GridSplitter", "isConstructible": true, @@ -2737,8 +2815,8 @@ "name": "IAvnGroupBox", "fullName": "Avalonia.Host.Com.IAvnGroupBox", "kind": "Class", - "iid": "48EE658E-57F1-5550-AEB5-766477C616BD", - "abiVersion": 9, + "iid": "B2A2A0DC-533F-50D6-B486-8AFB44B0E82D", + "abiVersion": 10, "baseFullName": "Avalonia.Host.Com.IAvnHeaderedContentControl", "managedFullName": "Avalonia.Controls.GroupBox", "isConstructible": true, @@ -2750,8 +2828,8 @@ "name": "IAvnHyperlinkButton", "fullName": "Avalonia.Host.Com.IAvnHyperlinkButton", "kind": "Class", - "iid": "BA5D6CE2-B42B-5ED0-B288-9775606E1802", - "abiVersion": 11, + "iid": "CCCE2078-E616-51A8-A55F-77D316F2C9AB", + "abiVersion": 12, "baseFullName": "Avalonia.Host.Com.IAvnButton", "managedFullName": "Avalonia.Controls.HyperlinkButton", "isConstructible": true, @@ -2783,8 +2861,8 @@ "name": "IAvnIconElement", "fullName": "Avalonia.Host.Com.IAvnIconElement", "kind": "Class", - "iid": "27129D51-9086-5E87-97F2-A7B30B2F7A32", - "abiVersion": 9, + "iid": "0A1BCD24-9DC9-55DB-B2AA-930041185E3B", + "abiVersion": 10, "baseFullName": "Avalonia.Host.Com.IAvnTemplatedControl", "managedFullName": "Avalonia.Controls.IconElement", "isConstructible": false, @@ -2796,8 +2874,8 @@ "name": "IAvnImage", "fullName": "Avalonia.Host.Com.IAvnImage", "kind": "Class", - "iid": "ACC338F6-8C35-57F4-BB82-4A3F397B130F", - "abiVersion": 8, + "iid": "4A556F2B-827F-5748-B7CD-C48452727A29", + "abiVersion": 9, "baseFullName": "Avalonia.Host.Com.IAvnControl", "managedFullName": "Avalonia.Controls.Image", "isConstructible": true, @@ -2847,8 +2925,8 @@ "name": "IAvnItemsControl", "fullName": "Avalonia.Host.Com.IAvnItemsControl", "kind": "Class", - "iid": "D985D274-6EFC-5423-B74F-7A73133992FC", - "abiVersion": 15, + "iid": "B656735C-EECA-50CC-A87D-B4362F7E045A", + "abiVersion": 16, "baseFullName": "Avalonia.Host.Com.IAvnTemplatedControl", "managedFullName": "Avalonia.Controls.ItemsControl", "isConstructible": true, @@ -3029,8 +3107,8 @@ "name": "IAvnLabel", "fullName": "Avalonia.Host.Com.IAvnLabel", "kind": "Class", - "iid": "621B0405-7E33-56EE-8FF0-E1CA604209BD", - "abiVersion": 10, + "iid": "A1ACC10D-5788-5CFF-9D99-798770898E14", + "abiVersion": 11, "baseFullName": "Avalonia.Host.Com.IAvnContentControl", "managedFullName": "Avalonia.Controls.Label", "isConstructible": true, @@ -3053,8 +3131,8 @@ "name": "IAvnLayoutTransformControl", "fullName": "Avalonia.Host.Com.IAvnLayoutTransformControl", "kind": "Class", - "iid": "39D82382-98B4-510A-AE62-19E9BBA13698", - "abiVersion": 8, + "iid": "5295C33E-5E49-5425-B06D-D0A37D4AAE68", + "abiVersion": 9, "baseFullName": "Avalonia.Host.Com.IAvnDecorator", "managedFullName": "Avalonia.Controls.LayoutTransformControl", "isConstructible": true, @@ -3076,8 +3154,8 @@ "name": "IAvnListBox", "fullName": "Avalonia.Host.Com.IAvnListBox", "kind": "Class", - "iid": "B5B6A7D1-B302-56BB-93A9-D53237708632", - "abiVersion": 16, + "iid": "6D07BC84-D7C4-5226-A69E-AAF3EE1663A9", + "abiVersion": 17, "baseFullName": "Avalonia.Host.Com.IAvnSelectingItemsControl", "managedFullName": "Avalonia.Controls.ListBox", "isConstructible": true, @@ -3114,8 +3192,8 @@ "name": "IAvnListBoxItem", "fullName": "Avalonia.Host.Com.IAvnListBoxItem", "kind": "Class", - "iid": "19A8B0AF-1926-5DE4-B6EC-5E2F026831B6", - "abiVersion": 15, + "iid": "4BB2FF76-E252-53F1-8AE0-E32A2C1BBE76", + "abiVersion": 16, "baseFullName": "Avalonia.Host.Com.IAvnContentControl", "managedFullName": "Avalonia.Controls.ListBoxItem", "isConstructible": true, @@ -3137,8 +3215,8 @@ "name": "IAvnMaskedTextBox", "fullName": "Avalonia.Host.Com.IAvnMaskedTextBox", "kind": "Class", - "iid": "C7B40FDD-3EBA-55CF-84BF-5FAD22229908", - "abiVersion": 15, + "iid": "E621C745-A587-5BDD-A1C5-8F498B8636C5", + "abiVersion": 16, "baseFullName": "Avalonia.Host.Com.IAvnTextBox", "managedFullName": "Avalonia.Controls.MaskedTextBox", "isConstructible": true, @@ -3223,8 +3301,8 @@ "name": "IAvnMenu", "fullName": "Avalonia.Host.Com.IAvnMenu", "kind": "Class", - "iid": "E97435D8-8BC7-5A16-B1D1-4B976008F341", - "abiVersion": 12, + "iid": "0220FC0F-FA60-5173-9E8B-AD96351B3C6D", + "abiVersion": 13, "baseFullName": "Avalonia.Host.Com.IAvnMenuBase", "managedFullName": "Avalonia.Controls.Menu", "isConstructible": true, @@ -3236,8 +3314,8 @@ "name": "IAvnMenuBase", "fullName": "Avalonia.Host.Com.IAvnMenuBase", "kind": "Class", - "iid": "BAB46325-4D7E-54C4-B8E0-69A647E2BFC6", - "abiVersion": 12, + "iid": "3B780634-1A42-576F-A587-EE11F0B5C8E8", + "abiVersion": 13, "baseFullName": "Avalonia.Host.Com.IAvnSelectingItemsControl", "managedFullName": "Avalonia.Controls.MenuBase", "isConstructible": false, @@ -3343,8 +3421,8 @@ "name": "IAvnMenuItem", "fullName": "Avalonia.Host.Com.IAvnMenuItem", "kind": "Class", - "iid": "1A9E2536-7437-553C-AFB6-681CF15021FF", - "abiVersion": 15, + "iid": "B08CE5EB-F84F-5466-BB66-986E0971333B", + "abiVersion": 16, "baseFullName": "Avalonia.Host.Com.IAvnHeaderedSelectingItemsControl", "managedFullName": "Avalonia.Controls.MenuItem", "isConstructible": true, @@ -3510,8 +3588,8 @@ "name": "IAvnNotificationCard", "fullName": "Avalonia.Host.Com.IAvnNotificationCard", "kind": "Class", - "iid": "DF540B6A-58F6-59F6-B3DB-F8FD04665402", - "abiVersion": 10, + "iid": "9E575724-617A-54E5-BF78-B6C68E5F4343", + "abiVersion": 11, "baseFullName": "Avalonia.Host.Com.IAvnContentControl", "managedFullName": "Avalonia.Controls.Notifications.NotificationCard", "isConstructible": true, @@ -3569,8 +3647,8 @@ "name": "IAvnWindowNotificationManager", "fullName": "Avalonia.Host.Com.IAvnWindowNotificationManager", "kind": "Class", - "iid": "D4C37646-AAD1-5B56-A260-D0AB8CFE0936", - "abiVersion": 10, + "iid": "7C085288-6201-58A3-BD39-14F23696504B", + "abiVersion": 11, "baseFullName": "Avalonia.Host.Com.IAvnTemplatedControl", "managedFullName": "Avalonia.Controls.Notifications.WindowNotificationManager", "isConstructible": true, @@ -3671,8 +3749,8 @@ "name": "IAvnNumericUpDown", "fullName": "Avalonia.Host.Com.IAvnNumericUpDown", "kind": "Class", - "iid": "5F487A30-39D1-524A-9A6E-01E584452E03", - "abiVersion": 10, + "iid": "63426B0F-1A76-51A9-9E98-343D2E69C156", + "abiVersion": 11, "baseFullName": "Avalonia.Host.Com.IAvnTemplatedControl", "managedFullName": "Avalonia.Controls.NumericUpDown", "isConstructible": true, @@ -3889,8 +3967,8 @@ "name": "IAvnPanel", "fullName": "Avalonia.Host.Com.IAvnPanel", "kind": "Class", - "iid": "79DAA937-B232-5B99-84FB-E3D64124EDA5", - "abiVersion": 11, + "iid": "96AD03DD-F271-537E-A933-B7C75D63AC0C", + "abiVersion": 12, "baseFullName": "Avalonia.Host.Com.IAvnControl", "managedFullName": "Avalonia.Controls.Panel", "isConstructible": true, @@ -3927,8 +4005,8 @@ "name": "IAvnPathIcon", "fullName": "Avalonia.Host.Com.IAvnPathIcon", "kind": "Class", - "iid": "F220C58A-4D65-5882-8D9D-EBE5F0A1D9A4", - "abiVersion": 9, + "iid": "885577A3-AC29-51D9-ACB5-D30ABBB484FC", + "abiVersion": 10, "baseFullName": "Avalonia.Host.Com.IAvnIconElement", "managedFullName": "Avalonia.Controls.PathIcon", "isConstructible": true, @@ -3951,8 +4029,8 @@ "name": "IAvnPipsPager", "fullName": "Avalonia.Host.Com.IAvnPipsPager", "kind": "Class", - "iid": "03DEC932-3B73-5A8C-9CE7-9E82F4FADE70", - "abiVersion": 10, + "iid": "6C3C0A8B-3237-50C1-8DF3-5171EDF2A1B8", + "abiVersion": 11, "baseFullName": "Avalonia.Host.Com.IAvnTemplatedControl", "managedFullName": "Avalonia.Controls.PipsPager", "isConstructible": true, @@ -4105,8 +4183,8 @@ "name": "IAvnHeaderedContentControl", "fullName": "Avalonia.Host.Com.IAvnHeaderedContentControl", "kind": "Class", - "iid": "326C8A38-FA42-51F4-9041-E7FD0FFFB696", - "abiVersion": 13, + "iid": "C1825F55-DE82-5447-93A8-4A55F63BA652", + "abiVersion": 14, "baseFullName": "Avalonia.Host.Com.IAvnContentControl", "managedFullName": "Avalonia.Controls.Primitives.HeaderedContentControl", "isConstructible": true, @@ -4139,8 +4217,8 @@ "name": "IAvnHeaderedItemsControl", "fullName": "Avalonia.Host.Com.IAvnHeaderedItemsControl", "kind": "Class", - "iid": "E4AB3702-5F01-59CF-9F5E-3C3DD281533F", - "abiVersion": 12, + "iid": "B6281359-24AB-5280-8B2C-762A53529C27", + "abiVersion": 13, "baseFullName": "Avalonia.Host.Com.IAvnItemsControl", "managedFullName": "Avalonia.Controls.Primitives.HeaderedItemsControl", "isConstructible": true, @@ -4173,8 +4251,8 @@ "name": "IAvnHeaderedSelectingItemsControl", "fullName": "Avalonia.Host.Com.IAvnHeaderedSelectingItemsControl", "kind": "Class", - "iid": "E0CB1C51-192B-5B9B-8A19-72EE4C68C27D", - "abiVersion": 12, + "iid": "8640C1BF-2502-5E21-B861-1ECBD1918FD1", + "abiVersion": 13, "baseFullName": "Avalonia.Host.Com.IAvnSelectingItemsControl", "managedFullName": "Avalonia.Controls.Primitives.HeaderedSelectingItemsControl", "isConstructible": true, @@ -4207,8 +4285,8 @@ "name": "IAvnPopup", "fullName": "Avalonia.Host.Com.IAvnPopup", "kind": "Class", - "iid": "4F10A2E5-D393-52F5-97CB-0DDA9411F6E4", - "abiVersion": 8, + "iid": "6CCB1B6A-EC3B-5625-A604-97B56FF5B86F", + "abiVersion": 9, "baseFullName": "Avalonia.Host.Com.IAvnControl", "managedFullName": "Avalonia.Controls.Primitives.Popup", "isConstructible": true, @@ -4615,8 +4693,8 @@ "name": "IAvnRangeBase", "fullName": "Avalonia.Host.Com.IAvnRangeBase", "kind": "Class", - "iid": "C2C5CCBC-F621-560A-B6F6-87A286DAB50B", - "abiVersion": 12, + "iid": "F1231250-DB6B-52E4-A42E-3C57E73C7023", + "abiVersion": 13, "baseFullName": "Avalonia.Host.Com.IAvnTemplatedControl", "managedFullName": "Avalonia.Controls.Primitives.RangeBase", "isConstructible": false, @@ -4672,11 +4750,26 @@ { "name": "ValueChanged", "handlerInterfaceName": "Avalonia.Host.Com.IAvnRangeBaseValueChangedHandler", - "handlerInterfaceIid": "DAEDA8F7-D1F6-54B6-900D-4AAB0B0C72BA", - "handlerInterfaceAbiVersion": 1, - "payloadKind": "None", + "handlerInterfaceIid": "D71E5403-7A7E-5C5A-8A48-4C89346F0179", + "handlerInterfaceAbiVersion": 2, + "payloadKind": "Fields", "managedHandlerTypeName": "System.EventHandler\u003CAvalonia.Controls.Primitives.RangeBaseValueChangedEventArgs\u003E", - "parameters": [] + "parameters": [ + { + "name": "OldValue", + "kind": "F64", + "direction": "In", + "managedTypeName": "System.Double", + "isNullable": false + }, + { + "name": "NewValue", + "kind": "F64", + "direction": "In", + "managedTypeName": "System.Double", + "isNullable": false + } + ] } ] }, @@ -4684,8 +4777,8 @@ "name": "IAvnSelectingItemsControl", "fullName": "Avalonia.Host.Com.IAvnSelectingItemsControl", "kind": "Class", - "iid": "B2D5F624-DE4C-5278-977F-9EB764DD6B2F", - "abiVersion": 15, + "iid": "56020FA9-D4A4-52B6-B5FC-EAEB6FD563C2", + "abiVersion": 16, "baseFullName": "Avalonia.Host.Com.IAvnItemsControl", "managedFullName": "Avalonia.Controls.Primitives.SelectingItemsControl", "isConstructible": true, @@ -4750,11 +4843,28 @@ { "name": "SelectionChanged", "handlerInterfaceName": "Avalonia.Host.Com.IAvnSelectingItemsControlSelectionChangedHandler", - "handlerInterfaceIid": "80E817ED-8F0E-5208-9EFD-ECBDEBC56A46", - "handlerInterfaceAbiVersion": 1, - "payloadKind": "None", + "handlerInterfaceIid": "D9AAACF6-E516-52AC-ABBE-3E0210379161", + "handlerInterfaceAbiVersion": 2, + "payloadKind": "Args", "managedHandlerTypeName": "System.EventHandler\u003CAvalonia.Controls.SelectionChangedEventArgs\u003E", - "parameters": [] + "argsInterfaceName": "Avalonia.Host.Com.IAvnSelectingItemsControlSelectionChangedArgs", + "argsInterfaceIid": "A5A998E3-805F-5BB9-BE35-4ACCDA82BD37", + "parameters": [ + { + "name": "AddedItems", + "kind": "Variant", + "direction": "In", + "managedTypeName": "System.Collections.IList", + "isNullable": false + }, + { + "name": "RemovedItems", + "kind": "Variant", + "direction": "In", + "managedTypeName": "System.Collections.IList", + "isNullable": false + } + ] } ] }, @@ -4762,8 +4872,8 @@ "name": "IAvnTemplatedControl", "fullName": "Avalonia.Host.Com.IAvnTemplatedControl", "kind": "Class", - "iid": "D71DF481-E9FE-5463-BDA3-7C0546C5716A", - "abiVersion": 12, + "iid": "E2867468-09D4-5D05-A956-F687A78DF51A", + "abiVersion": 13, "baseFullName": "Avalonia.Host.Com.IAvnControl", "managedFullName": "Avalonia.Controls.Primitives.TemplatedControl", "isConstructible": true, @@ -4909,8 +5019,8 @@ "name": "IAvnThumb", "fullName": "Avalonia.Host.Com.IAvnThumb", "kind": "Class", - "iid": "D4BA0A24-A5D3-56FE-B486-868C8C5A52B6", - "abiVersion": 10, + "iid": "B62C6C73-14C3-5E0D-A725-F5606107B454", + "abiVersion": 11, "baseFullName": "Avalonia.Host.Com.IAvnTemplatedControl", "managedFullName": "Avalonia.Controls.Primitives.Thumb", "isConstructible": true, @@ -4974,8 +5084,8 @@ "name": "IAvnToggleButton", "fullName": "Avalonia.Host.Com.IAvnToggleButton", "kind": "Class", - "iid": "978AD791-8ABE-5494-B9AB-B29937062870", - "abiVersion": 16, + "iid": "F9840045-23B2-5318-A7DA-EB7F3287FBD8", + "abiVersion": 17, "baseFullName": "Avalonia.Host.Com.IAvnButton", "managedFullName": "Avalonia.Controls.Primitives.ToggleButton", "isConstructible": true, @@ -5016,8 +5126,8 @@ "name": "IAvnUniformGrid", "fullName": "Avalonia.Host.Com.IAvnUniformGrid", "kind": "Class", - "iid": "B6DABE9A-7AED-5BCF-B889-A715EC08D5E4", - "abiVersion": 8, + "iid": "600B20CC-7AA7-5EC9-B773-A893B4376F95", + "abiVersion": 9, "baseFullName": "Avalonia.Host.Com.IAvnPanel", "managedFullName": "Avalonia.Controls.Primitives.UniformGrid", "isConstructible": true, @@ -5075,8 +5185,8 @@ "name": "IAvnProgressBar", "fullName": "Avalonia.Host.Com.IAvnProgressBar", "kind": "Class", - "iid": "54861122-E527-532B-A444-76CB502B041E", - "abiVersion": 13, + "iid": "A87F44AD-6E9D-5059-A355-CBC907AD0F45", + "abiVersion": 14, "baseFullName": "Avalonia.Host.Com.IAvnRangeBase", "managedFullName": "Avalonia.Controls.ProgressBar", "isConstructible": true, @@ -5134,8 +5244,8 @@ "name": "IAvnRadioButton", "fullName": "Avalonia.Host.Com.IAvnRadioButton", "kind": "Class", - "iid": "45D712D8-A144-589A-9053-4333B61428BF", - "abiVersion": 16, + "iid": "1D9D9433-E351-59FA-A65E-F78DF4223F1C", + "abiVersion": 17, "baseFullName": "Avalonia.Host.Com.IAvnToggleButton", "managedFullName": "Avalonia.Controls.RadioButton", "isConstructible": true, @@ -5157,8 +5267,8 @@ "name": "IAvnRefreshContainer", "fullName": "Avalonia.Host.Com.IAvnRefreshContainer", "kind": "Class", - "iid": "C83268B7-A9D2-51FA-B7C7-E9891E412A9B", - "abiVersion": 10, + "iid": "3693CF05-F784-5394-B7D2-6DF511F86F97", + "abiVersion": 11, "baseFullName": "Avalonia.Host.Com.IAvnContentControl", "managedFullName": "Avalonia.Controls.RefreshContainer", "isConstructible": true, @@ -5207,8 +5317,8 @@ "name": "IAvnRelativePanel", "fullName": "Avalonia.Host.Com.IAvnRelativePanel", "kind": "Class", - "iid": "4A52A408-9843-5FFA-B1CC-4575FA75B2D5", - "abiVersion": 8, + "iid": "0E550183-4D72-5357-8C3F-9F15E41BC976", + "abiVersion": 9, "baseFullName": "Avalonia.Host.Com.IAvnPanel", "managedFullName": "Avalonia.Controls.RelativePanel", "isConstructible": true, @@ -5220,8 +5330,8 @@ "name": "IAvnRepeatButton", "fullName": "Avalonia.Host.Com.IAvnRepeatButton", "kind": "Class", - "iid": "A0647C03-65F2-5FE4-A38E-B4A610F740A0", - "abiVersion": 11, + "iid": "E1023A87-3E17-5F1D-8671-36C4FD0D1CC3", + "abiVersion": 12, "baseFullName": "Avalonia.Host.Com.IAvnButton", "managedFullName": "Avalonia.Controls.RepeatButton", "isConstructible": true, @@ -5252,8 +5362,8 @@ "name": "IAvnScrollViewer", "fullName": "Avalonia.Host.Com.IAvnScrollViewer", "kind": "Class", - "iid": "597E4640-680B-5499-A4F0-D90B8F0539C7", - "abiVersion": 15, + "iid": "74E7350C-320E-5E2A-A8B9-CDD929B6B826", + "abiVersion": 16, "baseFullName": "Avalonia.Host.Com.IAvnContentControl", "managedFullName": "Avalonia.Controls.ScrollViewer", "isConstructible": true, @@ -5551,8 +5661,8 @@ "name": "IAvnSelectableTextBlock", "fullName": "Avalonia.Host.Com.IAvnSelectableTextBlock", "kind": "Class", - "iid": "4C1CFF48-0D3A-5934-A1DA-6939E75C5678", - "abiVersion": 11, + "iid": "843AC2A4-7FEF-5858-8A9A-F199BBA52638", + "abiVersion": 12, "baseFullName": "Avalonia.Host.Com.IAvnTextBlock", "managedFullName": "Avalonia.Controls.SelectableTextBlock", "isConstructible": true, @@ -5655,8 +5765,8 @@ "name": "IAvnSeparator", "fullName": "Avalonia.Host.Com.IAvnSeparator", "kind": "Class", - "iid": "FD4ADF2C-46AF-58ED-B8D1-2B813D56A4C0", - "abiVersion": 9, + "iid": "87BD59B4-CB85-5216-B757-72F95FCB49E3", + "abiVersion": 10, "baseFullName": "Avalonia.Host.Com.IAvnTemplatedControl", "managedFullName": "Avalonia.Controls.Separator", "isConstructible": true, @@ -5668,8 +5778,8 @@ "name": "IAvnArc", "fullName": "Avalonia.Host.Com.IAvnArc", "kind": "Class", - "iid": "80597080-EEDD-5CAA-B4F1-88D78CA23B79", - "abiVersion": 8, + "iid": "394ACB52-3BF3-52D6-97E8-4BF0C102F4BE", + "abiVersion": 9, "baseFullName": "Avalonia.Host.Com.IAvnShape", "managedFullName": "Avalonia.Controls.Shapes.Arc", "isConstructible": true, @@ -5700,8 +5810,8 @@ "name": "IAvnEllipse", "fullName": "Avalonia.Host.Com.IAvnEllipse", "kind": "Class", - "iid": "613206FF-5917-53D8-A928-1BDE309FB7F1", - "abiVersion": 8, + "iid": "2AA5065D-5B4C-542B-B6CC-A230A576E4F1", + "abiVersion": 9, "baseFullName": "Avalonia.Host.Com.IAvnShape", "managedFullName": "Avalonia.Controls.Shapes.Ellipse", "isConstructible": true, @@ -5713,8 +5823,8 @@ "name": "IAvnLine", "fullName": "Avalonia.Host.Com.IAvnLine", "kind": "Class", - "iid": "F302A345-5295-5A86-B520-224278B68EAB", - "abiVersion": 8, + "iid": "12A0F43A-9EAB-5F5B-96EF-D91E25F31B78", + "abiVersion": 9, "baseFullName": "Avalonia.Host.Com.IAvnShape", "managedFullName": "Avalonia.Controls.Shapes.Line", "isConstructible": true, @@ -5745,8 +5855,8 @@ "name": "IAvnPath", "fullName": "Avalonia.Host.Com.IAvnPath", "kind": "Class", - "iid": "4EC11C5B-9EAE-57CB-ACC2-EB2E609490AC", - "abiVersion": 8, + "iid": "E5A71060-50E1-5554-81B4-030898F293CF", + "abiVersion": 9, "baseFullName": "Avalonia.Host.Com.IAvnShape", "managedFullName": "Avalonia.Controls.Shapes.Path", "isConstructible": true, @@ -5769,8 +5879,8 @@ "name": "IAvnPolygon", "fullName": "Avalonia.Host.Com.IAvnPolygon", "kind": "Class", - "iid": "48E18C96-9363-5066-9A67-123E153A0919", - "abiVersion": 8, + "iid": "E706EC48-3CA1-5BEA-907E-460CA53B06BE", + "abiVersion": 9, "baseFullName": "Avalonia.Host.Com.IAvnShape", "managedFullName": "Avalonia.Controls.Shapes.Polygon", "isConstructible": true, @@ -5802,8 +5912,8 @@ "name": "IAvnPolyline", "fullName": "Avalonia.Host.Com.IAvnPolyline", "kind": "Class", - "iid": "9BACEFB3-B663-55EB-AF28-46001BA3A32B", - "abiVersion": 8, + "iid": "035DBEE9-DC4D-57B6-9140-DD59B208A9DC", + "abiVersion": 9, "baseFullName": "Avalonia.Host.Com.IAvnShape", "managedFullName": "Avalonia.Controls.Shapes.Polyline", "isConstructible": true, @@ -5835,8 +5945,8 @@ "name": "IAvnRectangle", "fullName": "Avalonia.Host.Com.IAvnRectangle", "kind": "Class", - "iid": "4C789DD6-03C9-5FC7-A38E-050060C28908", - "abiVersion": 8, + "iid": "E87D8C84-1090-5B7D-9DBA-9F122E19E333", + "abiVersion": 9, "baseFullName": "Avalonia.Host.Com.IAvnShape", "managedFullName": "Avalonia.Controls.Shapes.Rectangle", "isConstructible": true, @@ -5867,8 +5977,8 @@ "name": "IAvnSector", "fullName": "Avalonia.Host.Com.IAvnSector", "kind": "Class", - "iid": "BEB2012E-DE97-5F61-B066-1E1D924A192A", - "abiVersion": 8, + "iid": "5716DA45-6417-5758-89E7-303427808353", + "abiVersion": 9, "baseFullName": "Avalonia.Host.Com.IAvnShape", "managedFullName": "Avalonia.Controls.Shapes.Sector", "isConstructible": true, @@ -5899,8 +6009,8 @@ "name": "IAvnShape", "fullName": "Avalonia.Host.Com.IAvnShape", "kind": "Class", - "iid": "68C7A91F-DBEE-56E2-9A87-24B2B66D30AC", - "abiVersion": 8, + "iid": "5CB7105C-DAF9-5211-9659-62EAB03208FF", + "abiVersion": 9, "baseFullName": "Avalonia.Host.Com.IAvnControl", "managedFullName": "Avalonia.Controls.Shapes.Shape", "isConstructible": false, @@ -5999,8 +6109,8 @@ "name": "IAvnSlider", "fullName": "Avalonia.Host.Com.IAvnSlider", "kind": "Class", - "iid": "704B6BAF-7A44-5CFE-A14B-440A8471D0B9", - "abiVersion": 12, + "iid": "BF042391-AF5A-5DD4-B321-055CA9F70D23", + "abiVersion": 13, "baseFullName": "Avalonia.Host.Com.IAvnRangeBase", "managedFullName": "Avalonia.Controls.Slider", "isConstructible": true, @@ -6068,8 +6178,8 @@ "name": "IAvnSpinner", "fullName": "Avalonia.Host.Com.IAvnSpinner", "kind": "Class", - "iid": "6AAEEDDC-0307-57B2-9FA5-30A27DC1958E", - "abiVersion": 9, + "iid": "4A63E264-F914-5256-93AB-1268895B9073", + "abiVersion": 10, "baseFullName": "Avalonia.Host.Com.IAvnContentControl", "managedFullName": "Avalonia.Controls.Spinner", "isConstructible": false, @@ -6116,8 +6226,8 @@ "name": "IAvnSplitButton", "fullName": "Avalonia.Host.Com.IAvnSplitButton", "kind": "Class", - "iid": "1937A395-DF68-5F9F-94C1-07246380573C", - "abiVersion": 12, + "iid": "11D77809-48B6-5A29-B8D9-5D413BC96A85", + "abiVersion": 13, "baseFullName": "Avalonia.Host.Com.IAvnContentControl", "managedFullName": "Avalonia.Controls.SplitButton", "isConstructible": true, @@ -6178,8 +6288,8 @@ "name": "IAvnSplitView", "fullName": "Avalonia.Host.Com.IAvnSplitView", "kind": "Class", - "iid": "51ED3B0D-0AAB-5AA3-9C4E-501C6027E774", - "abiVersion": 9, + "iid": "048A7E1E-0539-5D4A-95D8-5C2E6D429202", + "abiVersion": 10, "baseFullName": "Avalonia.Host.Com.IAvnContentControl", "managedFullName": "Avalonia.Controls.SplitView", "isConstructible": true, @@ -6330,8 +6440,8 @@ "name": "IAvnStackPanel", "fullName": "Avalonia.Host.Com.IAvnStackPanel", "kind": "Class", - "iid": "2104EA3B-6DCB-5691-AE36-AB75B819F283", - "abiVersion": 12, + "iid": "17521479-DA81-5A88-9984-557EE08FF897", + "abiVersion": 13, "baseFullName": "Avalonia.Host.Com.IAvnPanel", "managedFullName": "Avalonia.Controls.StackPanel", "isConstructible": true, @@ -6380,8 +6490,8 @@ "name": "IAvnTabControl", "fullName": "Avalonia.Host.Com.IAvnTabControl", "kind": "Class", - "iid": "C4664936-3D85-52A7-B48C-4CC32CA9B3A1", - "abiVersion": 12, + "iid": "8F087347-637D-5F69-BABE-6D6ED30440C1", + "abiVersion": 13, "baseFullName": "Avalonia.Host.Com.IAvnSelectingItemsControl", "managedFullName": "Avalonia.Controls.TabControl", "isConstructible": true, @@ -6460,8 +6570,8 @@ "name": "IAvnTabItem", "fullName": "Avalonia.Host.Com.IAvnTabItem", "kind": "Class", - "iid": "F2FF8148-506B-5823-B99B-F10DD06AC7DE", - "abiVersion": 11, + "iid": "406B7990-01A7-533E-9A2A-7B70DDFCE8EC", + "abiVersion": 12, "baseFullName": "Avalonia.Host.Com.IAvnHeaderedContentControl", "managedFullName": "Avalonia.Controls.TabItem", "isConstructible": true, @@ -6522,8 +6632,8 @@ "name": "IAvnTableView", "fullName": "Avalonia.Host.Com.IAvnTableView", "kind": "Class", - "iid": "B0C8BD3E-D92C-542C-8E78-9020F9F5D0D8", - "abiVersion": 13, + "iid": "D4BE6E5C-B5DD-5BB0-A30F-3CC833767F7C", + "abiVersion": 14, "baseFullName": "Avalonia.Host.Com.IAvnListBox", "managedFullName": "Avalonia.Controls.TableView", "isConstructible": true, @@ -6559,8 +6669,8 @@ "name": "IAvnTableViewCell", "fullName": "Avalonia.Host.Com.IAvnTableViewCell", "kind": "Class", - "iid": "5FFBD394-21E2-5FA0-A738-F81CA24CA198", - "abiVersion": 11, + "iid": "7B4DC408-8142-5915-B1A7-15CE22062512", + "abiVersion": 12, "baseFullName": "Avalonia.Host.Com.IAvnContentControl", "managedFullName": "Avalonia.Controls.TableViewCell", "isConstructible": true, @@ -6678,8 +6788,8 @@ "name": "IAvnTableViewRow", "fullName": "Avalonia.Host.Com.IAvnTableViewRow", "kind": "Class", - "iid": "785207CE-7A58-5074-9CCD-5DFA0771DF61", - "abiVersion": 9, + "iid": "1A492B55-9FB8-5F66-986E-EF1DED34A38D", + "abiVersion": 10, "baseFullName": "Avalonia.Host.Com.IAvnListBoxItem", "managedFullName": "Avalonia.Controls.TableViewRow", "isConstructible": true, @@ -6691,8 +6801,8 @@ "name": "IAvnTextBlock", "fullName": "Avalonia.Host.Com.IAvnTextBlock", "kind": "Class", - "iid": "70059000-39BE-58FA-9621-50CB7BBF46B1", - "abiVersion": 14, + "iid": "06129468-B036-5F97-ACA3-6C51B845746D", + "abiVersion": 15, "baseFullName": "Avalonia.Host.Com.IAvnControl", "managedFullName": "Avalonia.Controls.TextBlock", "isConstructible": true, @@ -6873,8 +6983,8 @@ "name": "IAvnTextBox", "fullName": "Avalonia.Host.Com.IAvnTextBox", "kind": "Class", - "iid": "B1615F3B-C31D-56CC-A999-064FAC4EFDF8", - "abiVersion": 18, + "iid": "BCD740F5-7423-5B2D-AD5E-CB40072226F8", + "abiVersion": 19, "baseFullName": "Avalonia.Host.Com.IAvnTemplatedControl", "managedFullName": "Avalonia.Controls.TextBox", "isConstructible": true, @@ -7363,8 +7473,8 @@ "name": "IAvnThemeVariantScope", "fullName": "Avalonia.Host.Com.IAvnThemeVariantScope", "kind": "Class", - "iid": "F8DF5A10-5406-5E10-A614-F50B8A8BE5A6", - "abiVersion": 8, + "iid": "2E35671F-C418-50E8-86C1-ED858C036A8D", + "abiVersion": 9, "baseFullName": "Avalonia.Host.Com.IAvnDecorator", "managedFullName": "Avalonia.Controls.ThemeVariantScope", "isConstructible": true, @@ -7387,8 +7497,8 @@ "name": "IAvnTimePicker", "fullName": "Avalonia.Host.Com.IAvnTimePicker", "kind": "Class", - "iid": "512BDA86-7718-5F1E-B2DE-8BCC7534AA46", - "abiVersion": 11, + "iid": "9F3B7D7A-E290-5ADC-997C-213A25F20D3B", + "abiVersion": 12, "baseFullName": "Avalonia.Host.Com.IAvnTemplatedControl", "managedFullName": "Avalonia.Controls.TimePicker", "isConstructible": true, @@ -7489,8 +7599,8 @@ "name": "IAvnToggleSplitButton", "fullName": "Avalonia.Host.Com.IAvnToggleSplitButton", "kind": "Class", - "iid": "DD4F3760-D88D-5551-BD80-CA8721DEA1E9", - "abiVersion": 12, + "iid": "4FD7A582-1766-5CC7-B173-72F47FDF6BFF", + "abiVersion": 13, "baseFullName": "Avalonia.Host.Com.IAvnSplitButton", "managedFullName": "Avalonia.Controls.ToggleSplitButton", "isConstructible": true, @@ -7522,8 +7632,8 @@ "name": "IAvnToggleSwitch", "fullName": "Avalonia.Host.Com.IAvnToggleSwitch", "kind": "Class", - "iid": "D36D16B3-4A9B-5BD6-9258-7125ED95B433", - "abiVersion": 16, + "iid": "96F69492-4FBE-565F-8572-D7AEA40997E9", + "abiVersion": 17, "baseFullName": "Avalonia.Host.Com.IAvnToggleButton", "managedFullName": "Avalonia.Controls.ToggleSwitch", "isConstructible": true, @@ -7576,8 +7686,8 @@ "name": "IAvnToolTip", "fullName": "Avalonia.Host.Com.IAvnToolTip", "kind": "Class", - "iid": "25BC085F-0BDB-59F4-B689-A1F0A8489B19", - "abiVersion": 9, + "iid": "8158AEAF-B85C-59C4-BFCE-98DF20F4C2C9", + "abiVersion": 10, "baseFullName": "Avalonia.Host.Com.IAvnContentControl", "managedFullName": "Avalonia.Controls.ToolTip", "isConstructible": true, @@ -7589,8 +7699,8 @@ "name": "IAvnTransitioningContentControl", "fullName": "Avalonia.Host.Com.IAvnTransitioningContentControl", "kind": "Class", - "iid": "6A3336CC-B09A-5484-BB6B-3E74C762E577", - "abiVersion": 10, + "iid": "643AACDC-AB53-56DF-A197-28042BF4D69F", + "abiVersion": 11, "baseFullName": "Avalonia.Host.Com.IAvnContentControl", "managedFullName": "Avalonia.Controls.TransitioningContentControl", "isConstructible": true, @@ -7715,8 +7825,8 @@ "name": "IAvnTreeView", "fullName": "Avalonia.Host.Com.IAvnTreeView", "kind": "Class", - "iid": "AD4500EF-D3C0-5798-BF90-5E7515E85BEE", - "abiVersion": 12, + "iid": "E8A54D8B-7903-57AE-9BF8-F5A8055028FC", + "abiVersion": 13, "baseFullName": "Avalonia.Host.Com.IAvnItemsControl", "managedFullName": "Avalonia.Controls.TreeView", "isConstructible": true, @@ -7860,11 +7970,28 @@ { "name": "SelectionChanged", "handlerInterfaceName": "Avalonia.Host.Com.IAvnTreeViewSelectionChangedHandler", - "handlerInterfaceIid": "ED72A060-42CB-5648-804F-C5DCAB3CD87A", - "handlerInterfaceAbiVersion": 1, - "payloadKind": "None", + "handlerInterfaceIid": "9F8E36AD-6E33-5211-B570-EB8B0C949511", + "handlerInterfaceAbiVersion": 2, + "payloadKind": "Args", "managedHandlerTypeName": "System.EventHandler\u003CAvalonia.Controls.SelectionChangedEventArgs\u003E", - "parameters": [] + "argsInterfaceName": "Avalonia.Host.Com.IAvnTreeViewSelectionChangedArgs", + "argsInterfaceIid": "A29EDF0E-EBE4-5118-99EB-615AE00A6BD5", + "parameters": [ + { + "name": "AddedItems", + "kind": "Variant", + "direction": "In", + "managedTypeName": "System.Collections.IList", + "isNullable": false + }, + { + "name": "RemovedItems", + "kind": "Variant", + "direction": "In", + "managedTypeName": "System.Collections.IList", + "isNullable": false + } + ] } ] }, @@ -7872,8 +7999,8 @@ "name": "IAvnTreeViewItem", "fullName": "Avalonia.Host.Com.IAvnTreeViewItem", "kind": "Class", - "iid": "B4B4B178-BF7A-52CD-8B27-EFEDBEA8C60E", - "abiVersion": 12, + "iid": "CDD644B1-7E5B-5C32-9271-5A69CEE65005", + "abiVersion": 13, "baseFullName": "Avalonia.Host.Com.IAvnHeaderedItemsControl", "managedFullName": "Avalonia.Controls.TreeViewItem", "isConstructible": true, @@ -7932,8 +8059,8 @@ "name": "IAvnUserControl", "fullName": "Avalonia.Host.Com.IAvnUserControl", "kind": "Class", - "iid": "61A53A49-AD6E-58C8-88DF-DC3B769CF013", - "abiVersion": 9, + "iid": "E3ABA05B-DFF9-53C3-8885-CE2D78FEFFFC", + "abiVersion": 10, "baseFullName": "Avalonia.Host.Com.IAvnContentControl", "managedFullName": "Avalonia.Controls.UserControl", "isConstructible": true, @@ -7945,8 +8072,8 @@ "name": "IAvnViewbox", "fullName": "Avalonia.Host.Com.IAvnViewbox", "kind": "Class", - "iid": "4F61E1E8-F773-5195-B8BF-89EF6E8F6C44", - "abiVersion": 8, + "iid": "3140444B-2172-5105-B7AD-D810D5794C13", + "abiVersion": 9, "baseFullName": "Avalonia.Host.Com.IAvnControl", "managedFullName": "Avalonia.Controls.Viewbox", "isConstructible": true, @@ -7987,8 +8114,8 @@ "name": "IAvnWindow", "fullName": "Avalonia.Host.Com.IAvnWindow", "kind": "Class", - "iid": "BEAAC3C0-855F-5FC1-9750-80C538F7EE87", - "abiVersion": 18, + "iid": "29E3362E-B16E-5163-AED3-CF14D6B12784", + "abiVersion": 19, "baseFullName": "Avalonia.Host.Com.IAvnContentControl", "managedFullName": "Avalonia.Controls.Window", "isConstructible": true, @@ -8258,8 +8385,8 @@ "name": "IAvnWrapPanel", "fullName": "Avalonia.Host.Com.IAvnWrapPanel", "kind": "Class", - "iid": "92500527-364F-542C-8DF0-37F08036D83F", - "abiVersion": 8, + "iid": "802A39C5-57F6-5E1A-9DA8-02634571CF6D", + "abiVersion": 9, "baseFullName": "Avalonia.Host.Com.IAvnPanel", "managedFullName": "Avalonia.Controls.WrapPanel", "isConstructible": true, @@ -10443,6 +10570,29 @@ } ] }, + { + "name": "NavigationMethod", + "fullName": "Avalonia.Input.NavigationMethod", + "isFlags": false, + "values": [ + { + "name": "Unspecified", + "value": 0 + }, + { + "name": "Tab", + "value": 1 + }, + { + "name": "Directional", + "value": 2 + }, + { + "name": "Pointer", + "value": 3 + } + ] + }, { "name": "PhysicalKey", "fullName": "Avalonia.Input.PhysicalKey", diff --git a/rust/regenerate-and-build.ps1 b/rust/regenerate-and-build.ps1 index a6c343f..cb33bb1 100644 --- a/rust/regenerate-and-build.ps1 +++ b/rust/regenerate-and-build.ps1 @@ -6,6 +6,7 @@ param( [switch]$SkipManagedBuild, [switch]$Test, [switch]$ValidateTemplate, + [switch]$UpdateAbiBaseline, [string]$PackageRid ) @@ -39,6 +40,19 @@ try { exit $LASTEXITCODE } + + if ($UpdateAbiBaseline) + { + Write-Host "==> [1/4] Rewriting the released ABI baseline (intentional ABI wave)" + cargo run -p avalonia-bindgen -- --write-baseline ` + (Join-Path '.' 'projection.ir.json') ` + (Join-Path '.' 'avalonia-sys' 'include' 'avalonia-rust-abi.h') ` + (Join-Path '.' 'abi-baseline.json') + if ($LASTEXITCODE -ne 0) + { + exit $LASTEXITCODE + } + } } finally { diff --git a/tests/Avalonia.Projection.Generator.Tests/BrushMarshallingEmitterTests.cs b/tests/Avalonia.Projection.Generator.Tests/BrushMarshallingEmitterTests.cs index 7df41ad..c15cf5b 100644 --- a/tests/Avalonia.Projection.Generator.Tests/BrushMarshallingEmitterTests.cs +++ b/tests/Avalonia.Projection.Generator.Tests/BrushMarshallingEmitterTests.cs @@ -153,11 +153,11 @@ public void Emits_the_native_brush_vtable_and_the_chrome_slots() // Widened interfaces republish at version 4; the ones whose flattened vtable did not // move keep the version they already published. - Assert.Contains("#define I_AVN_BORDER_ABI_VERSION 12", header, StringComparison.Ordinal); - Assert.Contains("#define I_AVN_PANEL_ABI_VERSION 11", header, StringComparison.Ordinal); - Assert.Contains("#define I_AVN_TEXT_BLOCK_ABI_VERSION 14", header, StringComparison.Ordinal); - Assert.Contains("#define I_AVN_CONTROL_ABI_VERSION 8", header, StringComparison.Ordinal); - Assert.Contains("#define I_AVN_DECORATOR_ABI_VERSION 10", header, StringComparison.Ordinal); + Assert.Contains("#define I_AVN_BORDER_ABI_VERSION 13", header, StringComparison.Ordinal); + Assert.Contains("#define I_AVN_PANEL_ABI_VERSION 12", header, StringComparison.Ordinal); + Assert.Contains("#define I_AVN_TEXT_BLOCK_ABI_VERSION 15", header, StringComparison.Ordinal); + Assert.Contains("#define I_AVN_CONTROL_ABI_VERSION 9", header, StringComparison.Ordinal); + Assert.Contains("#define I_AVN_DECORATOR_ABI_VERSION 11", header, StringComparison.Ordinal); Assert.Contains( "#define I_AVN_AVALONIA_OBJECT_ABI_VERSION 2", header, diff --git a/tests/Avalonia.Projection.Generator.Tests/ComSourceEmitterTests.cs b/tests/Avalonia.Projection.Generator.Tests/ComSourceEmitterTests.cs index fbed032..3004df0 100644 --- a/tests/Avalonia.Projection.Generator.Tests/ComSourceEmitterTests.cs +++ b/tests/Avalonia.Projection.Generator.Tests/ComSourceEmitterTests.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.IO; using System.Linq; using Avalonia.Controls; @@ -630,7 +630,7 @@ public void Checked_in_ir_and_host_sources_match_generator() var buttonEnd = header.IndexOf("struct IAvnButton {", buttonStart, StringComparison.Ordinal); var buttonHeader = header[buttonStart..buttonEnd]; Assert.Contains("get_object_id", buttonHeader, StringComparison.Ordinal); - Assert.Contains("#define I_AVN_BUTTON_ABI_VERSION 16", header, StringComparison.Ordinal); + Assert.Contains("#define I_AVN_BUTTON_ABI_VERSION 17", header, StringComparison.Ordinal); Assert.True( buttonHeader.IndexOf("get_object_id", StringComparison.Ordinal) < buttonHeader.IndexOf("get_classes", StringComparison.Ordinal)); diff --git a/tests/Avalonia.Projection.Generator.Tests/GeometryMarshallingEmitterTests.cs b/tests/Avalonia.Projection.Generator.Tests/GeometryMarshallingEmitterTests.cs index 8b428ba..ac33c09 100644 --- a/tests/Avalonia.Projection.Generator.Tests/GeometryMarshallingEmitterTests.cs +++ b/tests/Avalonia.Projection.Generator.Tests/GeometryMarshallingEmitterTests.cs @@ -169,7 +169,7 @@ public void Kernel_header_publishes_the_geometry_structs_and_live_by_value_slots // Widening IAvnControl republishes it at version 3; IAvnAvaloniaObject projects no // members, so its vtable and version are untouched. - Assert.Contains("#define I_AVN_CONTROL_ABI_VERSION 8", header, StringComparison.Ordinal); + Assert.Contains("#define I_AVN_CONTROL_ABI_VERSION 9", header, StringComparison.Ordinal); Assert.Contains( "#define I_AVN_AVALONIA_OBJECT_ABI_VERSION 2", header, diff --git a/tests/Avalonia.Projection.Ir.Tests/ClrTypeExtractorTests.cs b/tests/Avalonia.Projection.Ir.Tests/ClrTypeExtractorTests.cs index 4908b1e..6a21ea2 100644 --- a/tests/Avalonia.Projection.Ir.Tests/ClrTypeExtractorTests.cs +++ b/tests/Avalonia.Projection.Ir.Tests/ClrTypeExtractorTests.cs @@ -170,7 +170,7 @@ public void Projects_kernel_types_properties_commands_and_nearest_bases() Assert.Equal(MarshallingKind.NullableBool, isChecked.Kind); var controlEvents = Type(ir, "IAvnControl").Events; - Assert.Equal(6, controlEvents.Count); + Assert.Equal(9, controlEvents.Count); var sizeChanged = controlEvents.Single(@event => @event.Name == "SizeChanged"); Assert.Equal(EventPayloadKind.Fields, sizeChanged.PayloadKind); Assert.Equal(2, sizeChanged.Parameters.Count); @@ -180,6 +180,20 @@ public void Projects_kernel_types_properties_commands_and_nearest_bases() Assert.Equal( ParameterDirection.InOut, keyDown.Parameters.Single(parameter => parameter.Name == "Handled").Direction); + // Wave P: KeyUp mirrors KeyDown; GotFocus carries the navigation context; LostFocus + // is a plain notification. + var keyUp = controlEvents.Single(@event => @event.Name == "KeyUp"); + Assert.Equal(EventPayloadKind.Fields, keyUp.PayloadKind); + Assert.Equal(5, keyUp.Parameters.Count); + Assert.Equal( + ParameterDirection.InOut, + keyUp.Parameters.Single(parameter => parameter.Name == "Handled").Direction); + var gotFocus = controlEvents.Single(@event => @event.Name == "GotFocus"); + Assert.Equal(EventPayloadKind.Fields, gotFocus.PayloadKind); + Assert.Equal(2, gotFocus.Parameters.Count); + Assert.Equal( + EventPayloadKind.None, + controlEvents.Single(@event => @event.Name == "LostFocus").PayloadKind); Assert.All( controlEvents.Where(@event => @event.Name.StartsWith("Pointer", StringComparison.Ordinal)), @event => Assert.Equal(EventPayloadKind.None, @event.PayloadKind)); @@ -283,11 +297,11 @@ public void Layout_members_keep_the_abi_version_of_the_interfaces_they_widened() // republishes with every Control growth plus its own; U19 grew ContentControl // above Decorator too. Assert.Equal(6, Type(ir, "IAvnStyledElement").AbiVersion); - Assert.Equal(8, Type(ir, "IAvnControl").AbiVersion); - Assert.Equal(10, Type(ir, "IAvnDecorator").AbiVersion); + Assert.Equal(9, Type(ir, "IAvnControl").AbiVersion); + Assert.Equal(11, Type(ir, "IAvnDecorator").AbiVersion); Assert.Equal( ClrTypeExtractor.CreateDeterministicIid( - Type(ir, "IAvnDecorator").FullName, 10), + Type(ir, "IAvnDecorator").FullName, 11), Type(ir, "IAvnDecorator").Iid); } @@ -300,9 +314,9 @@ public void Chrome_members_keep_the_abi_version_of_the_interfaces_they_widened() // so they stay on their version 4 IIDs. TemplatedControl and TextBlock moved in wave M. Assert.All( new[] { "IAvnPanel", "IAvnCanvas", "IAvnDockPanel" }, - name => { var type = Type(ir, name); Assert.Equal(11, type.AbiVersion); + name => { var type = Type(ir, name); Assert.Equal(12, type.AbiVersion); Assert.Equal( - ClrTypeExtractor.CreateDeterministicIid(type.FullName, 11), + ClrTypeExtractor.CreateDeterministicIid(type.FullName, 12), type.Iid); }); Assert.All( @@ -310,9 +324,9 @@ public void Chrome_members_keep_the_abi_version_of_the_interfaces_they_widened() name => { var type = Type(ir, name); - Assert.Equal(12, type.AbiVersion); + Assert.Equal(13, type.AbiVersion); Assert.Equal( - ClrTypeExtractor.CreateDeterministicIid(type.FullName, 12), + ClrTypeExtractor.CreateDeterministicIid(type.FullName, 13), type.Iid); }); @@ -332,9 +346,9 @@ public void Completeness_members_keep_the_abi_version_of_every_widened_interface // Grid is a Panel descendant, so it republishes with every Control/StyledElement // growth in addition to its own waves. - Assert.Equal(12, Type(ir, "IAvnGrid").AbiVersion); + Assert.Equal(13, Type(ir, "IAvnGrid").AbiVersion); Assert.Equal( - ClrTypeExtractor.CreateDeterministicIid(Type(ir, "IAvnGrid").FullName, 12), + ClrTypeExtractor.CreateDeterministicIid(Type(ir, "IAvnGrid").FullName, 13), Type(ir, "IAvnGrid").Iid); // Completeness-wave types sat at 5 until wave M grew TemplatedControl under them, @@ -345,9 +359,9 @@ public void Completeness_members_keep_the_abi_version_of_every_widened_interface name => { var type = Type(ir, name); - Assert.Equal(13, type.AbiVersion); + Assert.Equal(14, type.AbiVersion); Assert.Equal( - ClrTypeExtractor.CreateDeterministicIid(type.FullName, 13), + ClrTypeExtractor.CreateDeterministicIid(type.FullName, 14), type.Iid); }); Assert.All( @@ -355,16 +369,16 @@ public void Completeness_members_keep_the_abi_version_of_every_widened_interface name => { var type = Type(ir, name); - Assert.Equal(15, type.AbiVersion); + Assert.Equal(16, type.AbiVersion); Assert.Equal( - ClrTypeExtractor.CreateDeterministicIid(type.FullName, 15), + ClrTypeExtractor.CreateDeterministicIid(type.FullName, 16), type.Iid); }); var window = Type(ir, "IAvnWindow"); - Assert.Equal(18, window.AbiVersion); + Assert.Equal(19, window.AbiVersion); Assert.Equal( - ClrTypeExtractor.CreateDeterministicIid(window.FullName, 18), + ClrTypeExtractor.CreateDeterministicIid(window.FullName, 19), window.Iid); } @@ -375,17 +389,17 @@ public void Wave_a_controls_publish_new_interfaces_at_version_one() // Every wave A interface is brand new, so it publishes at version 1 rather than // inheriting the version its neighbours happen to sit on. - Assert.Equal(8, Type(ir, "IAvnImage").AbiVersion); + Assert.Equal(9, Type(ir, "IAvnImage").AbiVersion); // U17 republished TabItem with the items lineage; ToolTip was untouched. - Assert.Equal(11, Type(ir, "IAvnTabItem").AbiVersion); - Assert.Equal(9, Type(ir, "IAvnToolTip").AbiVersion); + Assert.Equal(12, Type(ir, "IAvnTabItem").AbiVersion); + Assert.Equal(10, Type(ir, "IAvnToolTip").AbiVersion); Assert.All( new[] { "IAvnHeaderedItemsControl", "IAvnTabControl", "IAvnTreeView", "IAvnTreeViewItem", }, - name => { var type = Type(ir, name); Assert.Equal(12, type.AbiVersion); + name => { var type = Type(ir, name); Assert.Equal(13, type.AbiVersion); }); // Wave M grew TemplatedControl, so every previously published interface below it @@ -394,12 +408,12 @@ public void Wave_a_controls_publish_new_interfaces_at_version_one() { ["IAvnAvaloniaObject"] = 2, ["IAvnStyledElement"] = 6, - ["IAvnControl"] = 8, - ["IAvnDecorator"] = 10, - ["IAvnItemsControl"] = 15, - ["IAvnSelectingItemsControl"] = 15, - ["IAvnContentControl"] = 13, - ["IAvnHeaderedContentControl"] = 13, + ["IAvnControl"] = 9, + ["IAvnDecorator"] = 11, + ["IAvnItemsControl"] = 16, + ["IAvnSelectingItemsControl"] = 16, + ["IAvnContentControl"] = 14, + ["IAvnHeaderedContentControl"] = 14, }; Assert.All(pinned, entry => { @@ -480,9 +494,13 @@ public void Projects_the_wave_a_controls_onto_the_types_that_declare_them() Assert.Equal("Avalonia.Host.Com.IAvnTreeViewItem", expand.Parameters.Single().InterfaceName); Assert.Contains(treeView.Methods, method => method.Name == nameof(TreeView.UnselectAll)); // TreeView declares its own SelectionChanged because it is not a SelectingItemsControl. + // Wave P: it carries the added/removed items on a host-implemented args interface. var treeSelectionChanged = treeView.Events.Single(); Assert.Equal("Avalonia.Host.Com.IAvnTreeViewSelectionChangedHandler", treeSelectionChanged.HandlerInterfaceName); - Assert.Equal(EventPayloadKind.None, treeSelectionChanged.PayloadKind); + Assert.Equal(EventPayloadKind.Args, treeSelectionChanged.PayloadKind); + Assert.Equal( + ["AddedItems", "RemovedItems"], + treeSelectionChanged.Parameters.Select(parameter => parameter.Name)); // TreeViewItem's Header comes from HeaderedItemsControl and crosses as a control, the // same shape HeaderedContentControl.Header already uses. @@ -520,9 +538,9 @@ public void Wave_b_controls_publish_new_interfaces_at_version_one() name => { var type = Type(ir, name); - Assert.Equal(9, type.AbiVersion); + Assert.Equal(10, type.AbiVersion); Assert.Equal( - ClrTypeExtractor.CreateDeterministicIid(type.FullName, 9), + ClrTypeExtractor.CreateDeterministicIid(type.FullName, 10), type.Iid); }); Assert.All( @@ -530,23 +548,23 @@ public void Wave_b_controls_publish_new_interfaces_at_version_one() name => { var type = Type(ir, name); - Assert.Equal(11, type.AbiVersion); + Assert.Equal(12, type.AbiVersion); Assert.Equal( - ClrTypeExtractor.CreateDeterministicIid(type.FullName, 11), + ClrTypeExtractor.CreateDeterministicIid(type.FullName, 12), type.Iid); }); Assert.All( - new[] { "IAvnMenuBase", "IAvnMenu", "IAvnHeaderedSelectingItemsControl" }, name => Assert.Equal(12, Type(ir, name).AbiVersion)); - Assert.Equal(15, Type(ir, "IAvnMenuItem").AbiVersion); + new[] { "IAvnMenuBase", "IAvnMenu", "IAvnHeaderedSelectingItemsControl" }, name => Assert.Equal(13, Type(ir, name).AbiVersion)); + Assert.Equal(16, Type(ir, "IAvnMenuItem").AbiVersion); var pinned = new Dictionary(StringComparer.Ordinal) { ["IAvnAvaloniaObject"] = 2, - ["IAvnControl"] = 8, - ["IAvnItemsControl"] = 15, - ["IAvnSelectingItemsControl"] = 15, - ["IAvnTemplatedControl"] = 12, - ["IAvnContentControl"] = 13, + ["IAvnControl"] = 9, + ["IAvnItemsControl"] = 16, + ["IAvnSelectingItemsControl"] = 16, + ["IAvnTemplatedControl"] = 13, + ["IAvnContentControl"] = 14, }; Assert.All(pinned, entry => { @@ -1141,9 +1159,9 @@ public void Wave_c_layout_panels_publish_new_interfaces_at_version_one() name => { var type = Type(ir, name); - Assert.Equal(8, type.AbiVersion); + Assert.Equal(9, type.AbiVersion); Assert.Equal( - ClrTypeExtractor.CreateDeterministicIid(type.FullName, 8), + ClrTypeExtractor.CreateDeterministicIid(type.FullName, 9), type.Iid); Assert.True(type.IsConstructible); }); @@ -1152,7 +1170,7 @@ public void Wave_c_layout_panels_publish_new_interfaces_at_version_one() name => { var type = Type(ir, name); - Assert.Equal(10, type.AbiVersion); + Assert.Equal(11, type.AbiVersion); Assert.True(type.IsConstructible); }); @@ -1251,14 +1269,14 @@ public void Wave_d_button_family_publishes_new_interfaces_at_version_one() var ir = ClrTypeExtractor.Extract(KernelTypes, AvaloniaProjectionProfiles.ObjectModelKernel); Assert.Equal(5, Type(ir, "IAvnMenuFlyout").AbiVersion); - Assert.Equal(15, Type(ir, "IAvnContextMenu").AbiVersion); + Assert.Equal(16, Type(ir, "IAvnContextMenu").AbiVersion); Assert.All( new[] { "IAvnRepeatButton", "IAvnDropDownButton", "IAvnHyperlinkButton", }, - name => { var type = Type(ir, name); Assert.Equal(11, type.AbiVersion); + name => { var type = Type(ir, name); Assert.Equal(12, type.AbiVersion); Assert.True(type.IsConstructible); }); Assert.All( @@ -1266,7 +1284,7 @@ public void Wave_d_button_family_publishes_new_interfaces_at_version_one() name => { var type = Type(ir, name); - Assert.Equal(12, type.AbiVersion); + Assert.Equal(13, type.AbiVersion); Assert.True(type.IsConstructible); }); @@ -1312,7 +1330,7 @@ public void Wave_e_input_controls_publish_new_interfaces_at_version_one() var ir = ClrTypeExtractor.Extract(KernelTypes, AvaloniaProjectionProfiles.ObjectModelKernel); var spinner = Type(ir, "IAvnSpinner"); - Assert.Equal(9, spinner.AbiVersion); + Assert.Equal(10, spinner.AbiVersion); Assert.False(spinner.IsConstructible); Assert.Equal("Avalonia.Host.Com.IAvnContentControl", spinner.BaseFullName); @@ -1321,14 +1339,14 @@ public void Wave_e_input_controls_publish_new_interfaces_at_version_one() name => { var type = Type(ir, name); - Assert.Equal(9, type.AbiVersion); + Assert.Equal(10, type.AbiVersion); Assert.True(type.IsConstructible); }); - Assert.Equal(11, Type(ir, "IAvnSelectableTextBlock").AbiVersion); + Assert.Equal(12, Type(ir, "IAvnSelectableTextBlock").AbiVersion); Assert.True(Type(ir, "IAvnSelectableTextBlock").IsConstructible); - Assert.Equal(10, Type(ir, "IAvnNumericUpDown").AbiVersion); - Assert.Equal(16, Type(ir, "IAvnAutoCompleteBox").AbiVersion); - Assert.Equal(15, Type(ir, "IAvnMaskedTextBox").AbiVersion); + Assert.Equal(11, Type(ir, "IAvnNumericUpDown").AbiVersion); + Assert.Equal(17, Type(ir, "IAvnAutoCompleteBox").AbiVersion); + Assert.Equal(16, Type(ir, "IAvnMaskedTextBox").AbiVersion); Assert.Equal("Avalonia.Host.Com.IAvnSpinner", Type(ir, "IAvnButtonSpinner").BaseFullName); Assert.Equal("Avalonia.Host.Com.IAvnTemplatedControl", Type(ir, "IAvnNumericUpDown").BaseFullName); @@ -1365,8 +1383,8 @@ public void Wave_f_calendar_family_publishes_new_interfaces_at_version_one() Assert.Equal("Avalonia.Host.Com.IAvnTemplatedControl", type.BaseFullName); }); // U17 grew Calendar alone (DisplayDateChanged); the picker did not move. - Assert.Equal(12, Type(ir, "IAvnCalendar").AbiVersion); - Assert.Equal(11, Type(ir, "IAvnCalendarDatePicker").AbiVersion); + Assert.Equal(13, Type(ir, "IAvnCalendar").AbiVersion); + Assert.Equal(12, Type(ir, "IAvnCalendarDatePicker").AbiVersion); var selected = Type(ir, "IAvnCalendar").Properties.Single(p => p.Name == "SelectedDate"); Assert.Equal(MarshallingKind.StringUtf16, selected.Kind); @@ -1398,7 +1416,7 @@ public void Wave_g_content_chrome_publishes_new_interfaces_at_version_one() Assert.Equal("Avalonia.Host.Com.IAvnSelectingItemsControl", Type(ir, "IAvnCarousel").BaseFullName); Assert.Equal("Avalonia.Host.Com.IAvnContentControl", Type(ir, "IAvnTransitioningContentControl").BaseFullName); Assert.Equal("Avalonia.Host.Com.IAvnContentControl", Type(ir, "IAvnLabel").BaseFullName); - Assert.Equal(10, Type(ir, "IAvnLabel").AbiVersion); + Assert.Equal(11, Type(ir, "IAvnLabel").AbiVersion); Assert.Equal("Avalonia.Host.Com.IAvnTemplatedControl", Type(ir, "IAvnSeparator").BaseFullName); Assert.Equal("Avalonia.Host.Com.IAvnHeaderedContentControl", Type(ir, "IAvnGroupBox").BaseFullName); Assert.Equal("Avalonia.Host.Com.IAvnContentControl", Type(ir, "IAvnUserControl").BaseFullName); @@ -1425,7 +1443,7 @@ public void Wave_h_shapes_publish_new_interfaces_at_version_one() var ir = ClrTypeExtractor.Extract(KernelTypes, AvaloniaProjectionProfiles.ObjectModelKernel); var shape = Type(ir, "IAvnShape"); - Assert.Equal(8, shape.AbiVersion); + Assert.Equal(9, shape.AbiVersion); Assert.False(shape.IsConstructible); Assert.Equal("Avalonia.Host.Com.IAvnControl", shape.BaseFullName); Assert.All( @@ -1440,7 +1458,7 @@ public void Wave_h_shapes_publish_new_interfaces_at_version_one() name => { var type = Type(ir, name); - Assert.Equal(8, type.AbiVersion); + Assert.Equal(9, type.AbiVersion); Assert.True(type.IsConstructible); Assert.Equal("Avalonia.Host.Com.IAvnShape", type.BaseFullName); }); @@ -1547,7 +1565,7 @@ public void Wave_l_window_chrome_bumps_only_window() { var ir = ClrTypeExtractor.Extract(KernelTypes, AvaloniaProjectionProfiles.ObjectModelKernel); var window = Type(ir, "IAvnWindow"); - Assert.Equal(18, window.AbiVersion); + Assert.Equal(19, window.AbiVersion); Assert.Contains(window.Methods, m => m.Name == "Hide"); Assert.All( new[] @@ -1572,7 +1590,7 @@ public void Wave_l_window_chrome_bumps_only_window() Assert.Contains(closing.Parameters, p => p.Name == "Cancel" && p.Direction == ParameterDirection.InOut); Assert.Contains(closing.Parameters, p => p.Name == "CloseReason" && p.Kind == MarshallingKind.I32); Assert.Contains(closing.Parameters, p => p.Name == "IsProgrammatic" && p.Kind == MarshallingKind.Bool); - Assert.Equal(13, Type(ir, "IAvnContentControl").AbiVersion); + Assert.Equal(14, Type(ir, "IAvnContentControl").AbiVersion); } [Fact] @@ -1581,7 +1599,7 @@ public void Wave_m_fonts_bump_templated_control_and_text_block() var ir = ClrTypeExtractor.Extract(KernelTypes, AvaloniaProjectionProfiles.ObjectModelKernel); var templated = Type(ir, "IAvnTemplatedControl"); - Assert.Equal(12, templated.AbiVersion); + Assert.Equal(13, templated.AbiVersion); Assert.All( new[] { "FontFamily", "FontStyle", "FontWeight", "FontStretch", "LetterSpacing", "Padding" }, name => Assert.Contains(templated.Properties, p => p.Name == name)); @@ -1591,14 +1609,14 @@ public void Wave_m_fonts_bump_templated_control_and_text_block() Assert.Null(fontFamily.StringConverterTypeName); var textBlock = Type(ir, "IAvnTextBlock"); - Assert.Equal(14, textBlock.AbiVersion); + Assert.Equal(15, textBlock.AbiVersion); Assert.All( new[] { "FontFamily", "FontStyle", "FontStretch", "Background", "LetterSpacing", "LineSpacing", "MaxLines", "TextWrapping" }, name => Assert.Contains(textBlock.Properties, p => p.Name == name)); - Assert.Equal(11, Type(ir, "IAvnSelectableTextBlock").AbiVersion); - Assert.Equal(12, Type(ir, "IAvnBorder").AbiVersion); + Assert.Equal(12, Type(ir, "IAvnSelectableTextBlock").AbiVersion); + Assert.Equal(13, Type(ir, "IAvnBorder").AbiVersion); var trimming = textBlock.Properties.Single(p => p.Name == "TextTrimming"); Assert.Equal(MarshallingKind.StringUtf16, trimming.Kind); Assert.Equal("Avalonia.Host.Com.AvnTextTrimming", trimming.StringConverterTypeName); @@ -1610,7 +1628,7 @@ public void Wave_n_textbox_remainder_bumps_only_textbox_and_masked_textbox() { var ir = ClrTypeExtractor.Extract(KernelTypes, AvaloniaProjectionProfiles.ObjectModelKernel); var textBox = Type(ir, "IAvnTextBox"); - Assert.Equal(18, textBox.AbiVersion); + Assert.Equal(19, textBox.AbiVersion); Assert.All( new[] { "SelectedText", "TextAlignment", "SelectionBrush", "InnerLeftContent", "UseFloatingPlaceholder", "PlaceholderForeground" }, @@ -1624,9 +1642,9 @@ public void Wave_n_textbox_remainder_bumps_only_textbox_and_masked_textbox() MarshallingKind.TimeSpanI64, textBox.Properties.Single(p => p.Name == "CaretBlinkInterval").Kind); Assert.DoesNotContain(textBox.Properties, p => p.Name == "Watermark"); - Assert.Equal(15, Type(ir, "IAvnMaskedTextBox").AbiVersion); + Assert.Equal(16, Type(ir, "IAvnMaskedTextBox").AbiVersion); Assert.Contains(Type(ir, "IAvnMaskedTextBox").Properties, p => p.Name == "MaskCompleted"); - Assert.Equal(12, Type(ir, "IAvnTemplatedControl").AbiVersion); + Assert.Equal(13, Type(ir, "IAvnTemplatedControl").AbiVersion); Assert.Equal(13, ir.FactoryAbiVersion); } @@ -1635,20 +1653,20 @@ public void Wave_o_combo_and_scroll_use_vector_and_size() { var ir = ClrTypeExtractor.Extract(KernelTypes, AvaloniaProjectionProfiles.ObjectModelKernel); var combo = Type(ir, "IAvnComboBox"); - Assert.Equal(17, combo.AbiVersion); + Assert.Equal(18, combo.AbiVersion); Assert.Contains(combo.Properties, p => p.Name == "Text"); Assert.Contains(combo.Methods, m => m.Name == "Clear"); Assert.Contains(combo.Events, e => e.Name == "DropDownOpened"); var scroll = Type(ir, "IAvnScrollViewer"); - Assert.Equal(15, scroll.AbiVersion); + Assert.Equal(16, scroll.AbiVersion); Assert.Equal(MarshallingKind.Size, scroll.Properties.Single(p => p.Name == "Extent").Kind); Assert.Equal(MarshallingKind.Vector, scroll.Properties.Single(p => p.Name == "Offset").Kind); Assert.Equal(MarshallingKind.Size, scroll.Properties.Single(p => p.Name == "Viewport").Kind); Assert.Equal(MarshallingKind.Vector, scroll.Properties.Single(p => p.Name == "ScrollBarMaximum").Kind); Assert.False(scroll.Properties.Single(p => p.Name == "Extent").CanWrite); Assert.True(scroll.Properties.Single(p => p.Name == "Offset").CanWrite); - Assert.Equal(13, Type(ir, "IAvnContentControl").AbiVersion); + Assert.Equal(14, Type(ir, "IAvnContentControl").AbiVersion); Assert.Equal(13, ir.FactoryAbiVersion); } @@ -1657,22 +1675,22 @@ public void Wave_p_projects_instance_flyout_and_menu_item_open() { var ir = ClrTypeExtractor.Extract(KernelTypes, AvaloniaProjectionProfiles.ObjectModelKernel); var button = Type(ir, "IAvnButton"); - Assert.Equal(16, button.AbiVersion); + Assert.Equal(17, button.AbiVersion); var flyout = button.Properties.Single(p => p.Name == "Flyout"); Assert.Equal(MarshallingKind.ComInterface, flyout.Kind); Assert.Equal("Avalonia.Host.Com.IAvnFlyoutBase", flyout.InterfaceName); Assert.True(flyout.IsNullable); var split = Type(ir, "IAvnSplitButton"); - Assert.Equal(12, split.AbiVersion); + Assert.Equal(13, split.AbiVersion); Assert.Contains(split.Properties, p => p.Name == "Flyout"); var menu = Type(ir, "IAvnMenuItem"); - Assert.Equal(15, menu.AbiVersion); + Assert.Equal(16, menu.AbiVersion); Assert.Contains(menu.Properties, p => p.Name == "HasSubMenu"); Assert.Contains(menu.Methods, m => m.Name == "Open"); Assert.Contains(menu.Methods, m => m.Name == "Close"); - Assert.Equal(13, Type(ir, "IAvnContentControl").AbiVersion); + Assert.Equal(14, Type(ir, "IAvnContentControl").AbiVersion); Assert.Equal(13, ir.FactoryAbiVersion); } @@ -1680,13 +1698,13 @@ public void Wave_p_projects_instance_flyout_and_menu_item_open() public void Wave_q_sweeps_leaf_input_scalars() { var ir = ClrTypeExtractor.Extract(KernelTypes, AvaloniaProjectionProfiles.ObjectModelKernel); - Assert.Equal(16, Type(ir, "IAvnAutoCompleteBox").AbiVersion); + Assert.Equal(17, Type(ir, "IAvnAutoCompleteBox").AbiVersion); Assert.Contains(Type(ir, "IAvnAutoCompleteBox").Properties, p => p.Name == "SearchText"); - Assert.Equal(12, Type(ir, "IAvnCalendar").AbiVersion); + Assert.Equal(13, Type(ir, "IAvnCalendar").AbiVersion); Assert.Contains(Type(ir, "IAvnCalendar").Properties, p => p.Name == "IsWeekNumberVisible"); - Assert.Equal(11, Type(ir, "IAvnCalendarDatePicker").AbiVersion); + Assert.Equal(12, Type(ir, "IAvnCalendarDatePicker").AbiVersion); Assert.Contains(Type(ir, "IAvnCalendarDatePicker").Methods, m => m.Name == "Clear"); - Assert.Equal(10, Type(ir, "IAvnNumericUpDown").AbiVersion); + Assert.Equal(11, Type(ir, "IAvnNumericUpDown").AbiVersion); Assert.Contains(Type(ir, "IAvnNumericUpDown").Properties, p => p.Name == "TextAlignment"); Assert.Equal(13, ir.FactoryAbiVersion); } @@ -1696,17 +1714,17 @@ public void Items_control_leftovers_keep_items_and_selection() { var ir = ClrTypeExtractor.Extract(KernelTypes, AvaloniaProjectionProfiles.ObjectModelKernel); var items = Type(ir, "IAvnItemsControl"); - Assert.Equal(15, items.AbiVersion); + Assert.Equal(16, items.AbiVersion); Assert.Contains(items.Properties, p => p.Name == "Items"); Assert.Contains(items.Properties, p => p.Name == "ItemCount"); Assert.Contains(items.Methods, m => m.ManagedName == "ScrollIntoView"); var selecting = Type(ir, "IAvnSelectingItemsControl"); - Assert.Equal(15, selecting.AbiVersion); + Assert.Equal(16, selecting.AbiVersion); Assert.Contains(selecting.Properties, p => p.Name == "SelectedIndex"); Assert.Contains(selecting.Events, e => e.Name == "SelectionChanged"); Assert.Contains(selecting.Properties, p => p.Name == "AutoScrollToSelectedItem"); - Assert.Equal(13, Type(ir, "IAvnContentControl").AbiVersion); - Assert.Equal(18, Type(ir, "IAvnWindow").AbiVersion); + Assert.Equal(14, Type(ir, "IAvnContentControl").AbiVersion); + Assert.Equal(19, Type(ir, "IAvnWindow").AbiVersion); Assert.Equal(13, ir.FactoryAbiVersion); } @@ -1715,24 +1733,24 @@ public void Text_leftovers_project_line_metrics_and_scroll_to_line() { var ir = ClrTypeExtractor.Extract(KernelTypes, AvaloniaProjectionProfiles.ObjectModelKernel); var textBlock = Type(ir, "IAvnTextBlock"); - Assert.Equal(14, textBlock.AbiVersion); + Assert.Equal(15, textBlock.AbiVersion); Assert.Contains(textBlock.Properties, p => p.Name == "LineHeight"); Assert.Contains(textBlock.Properties, p => p.Name == "BaselineOffset"); Assert.Contains(textBlock.Properties, p => p.Name == "TextTrimming"); var selectable = Type(ir, "IAvnSelectableTextBlock"); - Assert.Equal(11, selectable.AbiVersion); + Assert.Equal(12, selectable.AbiVersion); Assert.Contains(selectable.Properties, p => p.Name == "SelectionBrush"); Assert.Contains(selectable.Methods, m => m.Name == "SelectAll"); Assert.Contains(selectable.Events, e => e.Name == "CopyingToClipboard"); var textBox = Type(ir, "IAvnTextBox"); - Assert.Equal(18, textBox.AbiVersion); + Assert.Equal(19, textBox.AbiVersion); Assert.Contains(textBox.Methods, m => m.ManagedName == "ScrollToLine"); var lineCount = textBox.Methods.Single(m => m.ManagedName == "GetLineCount"); Assert.Contains(lineCount.Parameters, p => p.Name == "value" && p.Direction == ParameterDirection.Out); Assert.Equal(MarshallingKind.CharUtf16, textBox.Properties.Single(p => p.Name == "PasswordChar").Kind); - Assert.Equal(15, Type(ir, "IAvnMaskedTextBox").AbiVersion); + Assert.Equal(16, Type(ir, "IAvnMaskedTextBox").AbiVersion); Assert.Equal(13, ir.FactoryAbiVersion); } @@ -1740,19 +1758,19 @@ public void Text_leftovers_project_line_metrics_and_scroll_to_line() public void Leaf_leftovers_project_marshallable_scalars_and_commands() { var ir = ClrTypeExtractor.Extract(KernelTypes, AvaloniaProjectionProfiles.ObjectModelKernel); - Assert.Equal(12, Type(ir, "IAvnCommandBar").AbiVersion); + Assert.Equal(13, Type(ir, "IAvnCommandBar").AbiVersion); Assert.Contains(Type(ir, "IAvnCommandBar").Properties, p => p.Name == "HasSecondaryCommands"); Assert.Contains(Type(ir, "IAvnCommandBar").Events, e => e.Name == "Opened"); - Assert.Equal(13, Type(ir, "IAvnCarousel").AbiVersion); + Assert.Equal(14, Type(ir, "IAvnCarousel").AbiVersion); Assert.Contains(Type(ir, "IAvnCarousel").Methods, m => m.Name == "Next"); - Assert.Equal(17, Type(ir, "IAvnComboBox").AbiVersion); - Assert.Equal(11, Type(ir, "IAvnDatePicker").AbiVersion); + Assert.Equal(18, Type(ir, "IAvnComboBox").AbiVersion); + Assert.Equal(12, Type(ir, "IAvnDatePicker").AbiVersion); Assert.Contains(Type(ir, "IAvnDatePicker").Properties, p => p.Name == "VerticalContentAlignment"); - Assert.Equal(15, Type(ir, "IAvnContextMenu").AbiVersion); - Assert.Equal(13, Type(ir, "IAvnProgressBar").AbiVersion); + Assert.Equal(16, Type(ir, "IAvnContextMenu").AbiVersion); + Assert.Equal(14, Type(ir, "IAvnProgressBar").AbiVersion); Assert.Contains(Type(ir, "IAvnProgressBar").Properties, p => p.Name == "Percentage"); - Assert.Equal(12, Type(ir, "IAvnStackPanel").AbiVersion); - Assert.Equal(12, Type(ir, "IAvnBorder").AbiVersion); + Assert.Equal(13, Type(ir, "IAvnStackPanel").AbiVersion); + Assert.Equal(13, Type(ir, "IAvnBorder").AbiVersion); Assert.Contains(Type(ir, "IAvnBorder").Properties, p => p.Name == "ClipToBoundsRadius"); Assert.Equal(13, ir.FactoryAbiVersion); } @@ -1762,7 +1780,7 @@ public void Overlay_chrome_projects_popup_open_close_and_placement_target() { var ir = ClrTypeExtractor.Extract(KernelTypes, AvaloniaProjectionProfiles.ObjectModelKernel); var popup = Type(ir, "IAvnPopup"); - Assert.Equal(8, popup.AbiVersion); + Assert.Equal(9, popup.AbiVersion); Assert.Contains(popup.Methods, m => m.Name == "Open"); Assert.Contains(popup.Methods, m => m.Name == "Close"); Assert.Contains(popup.Events, e => e.Name == "Opened"); @@ -1779,7 +1797,7 @@ public void Overlay_chrome_projects_popup_open_close_and_placement_target() var popupProp = flyoutBase.Properties.Single(p => p.Name == "Popup"); Assert.Equal("Avalonia.Host.Com.IAvnPopup", popupProp.InterfaceName); - Assert.Equal(15, Type(ir, "IAvnContextMenu").AbiVersion); + Assert.Equal(16, Type(ir, "IAvnContextMenu").AbiVersion); Assert.Contains(Type(ir, "IAvnContextMenu").Properties, p => p.Name == "PlacementTarget"); var openWithControl = Type(ir, "IAvnContextMenu").Methods .Single(m => m.Name == "OpenWithControl"); @@ -1795,7 +1813,7 @@ public void Control_leftovers_project_context_menu_and_loaded() { var ir = ClrTypeExtractor.Extract(KernelTypes, AvaloniaProjectionProfiles.ObjectModelKernel); var control = Type(ir, "IAvnControl"); - Assert.Equal(8, control.AbiVersion); + Assert.Equal(9, control.AbiVersion); var menu = control.Properties.Single(p => p.Name == "ContextMenu"); Assert.Equal(MarshallingKind.ComInterface, menu.Kind); Assert.Equal("Avalonia.Host.Com.IAvnContextMenu", menu.InterfaceName); @@ -1806,7 +1824,7 @@ public void Control_leftovers_project_context_menu_and_loaded() Assert.Contains(control.Events, e => e.Name == "Loaded"); Assert.Contains(control.Events, e => e.Name == "Unloaded"); Assert.Equal(6, Type(ir, "IAvnStyledElement").AbiVersion); - Assert.Equal(16, Type(ir, "IAvnButton").AbiVersion); + Assert.Equal(17, Type(ir, "IAvnButton").AbiVersion); Assert.Equal(4, Type(ir, "IAvnFlyout").AbiVersion); Assert.Equal(13, ir.FactoryAbiVersion); } From 8d8089f02349445a03d25b7a9719cee6be105380 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Moreau?= Date: Thu, 10 Sep 2026 20:51:43 -0400 Subject: [PATCH 2/6] Wave Q: pointer event payloads with modifiers and wheel delta Extend the imperative surface with the pointer interactions the dogfood sample proved were missing from the event model: - Control.PointerEntered/PointerExited/Tapped now carry KeyModifiers as a Fields payload; DoubleTapped crosses as a notification (no payload members); PointerWheelChanged carries the scroll Delta as an AvnVector plus the modifiers. The host-typed members (IPointer, relative position) stay off the wire by design. - The advise slots change shape, so Control and every descendant republish under fresh IIDs (version bump via AbiVersions); the three new handler interfaces mint at version 1. The stale wave-P IIDs are recorded as retired in the sys ABI tests. - The imperative_counter example grows a wheel zone that renders the live delta, verified end to end over UI Automation. --- .../.avalonia-projection.owned.json | 208 +- host/Generated/ObjectModel/IAvnArc.g.cs | 168 +- .../ObjectModel/IAvnAutoCompleteBox.g.cs | 168 +- host/Generated/ObjectModel/IAvnBorder.g.cs | 168 +- host/Generated/ObjectModel/IAvnButton.g.cs | 168 +- .../ObjectModel/IAvnButtonSpinner.g.cs | 168 +- host/Generated/ObjectModel/IAvnCalendar.g.cs | 168 +- .../ObjectModel/IAvnCalendarDatePicker.g.cs | 168 +- host/Generated/ObjectModel/IAvnCanvas.g.cs | 168 +- host/Generated/ObjectModel/IAvnCarousel.g.cs | 168 +- host/Generated/ObjectModel/IAvnCheckBox.g.cs | 168 +- host/Generated/ObjectModel/IAvnComboBox.g.cs | 168 +- .../ObjectModel/IAvnComboBoxItem.g.cs | 168 +- .../Generated/ObjectModel/IAvnCommandBar.g.cs | 168 +- .../ObjectModel/IAvnCommandBarButton.g.cs | 168 +- .../ObjectModel/IAvnCommandBarSeparator.g.cs | 168 +- .../IAvnCommandBarToggleButton.g.cs | 168 +- .../ObjectModel/IAvnContentControl.g.cs | 168 +- .../ObjectModel/IAvnContextMenu.g.cs | 168 +- host/Generated/ObjectModel/IAvnControl.g.cs | 186 +- .../IAvnControlDoubleTappedHandler.g.cs | 14 + .../IAvnControlPointerEnteredHandler.g.cs | 2 +- .../IAvnControlPointerExitedHandler.g.cs | 2 +- ...IAvnControlPointerWheelChangedHandler.g.cs | 14 + .../ObjectModel/IAvnControlTappedHandler.g.cs | 14 + .../Generated/ObjectModel/IAvnDatePicker.g.cs | 168 +- host/Generated/ObjectModel/IAvnDecorator.g.cs | 168 +- host/Generated/ObjectModel/IAvnDockPanel.g.cs | 168 +- .../ObjectModel/IAvnDropDownButton.g.cs | 168 +- host/Generated/ObjectModel/IAvnEllipse.g.cs | 168 +- host/Generated/ObjectModel/IAvnExpander.g.cs | 168 +- host/Generated/ObjectModel/IAvnFlexPanel.g.cs | 168 +- host/Generated/ObjectModel/IAvnGrid.g.cs | 168 +- .../ObjectModel/IAvnGridSplitter.g.cs | 168 +- host/Generated/ObjectModel/IAvnGroupBox.g.cs | 168 +- .../IAvnHeaderedContentControl.g.cs | 168 +- .../ObjectModel/IAvnHeaderedItemsControl.g.cs | 168 +- .../IAvnHeaderedSelectingItemsControl.g.cs | 168 +- .../ObjectModel/IAvnHyperlinkButton.g.cs | 168 +- .../ObjectModel/IAvnIconElement.g.cs | 168 +- host/Generated/ObjectModel/IAvnImage.g.cs | 168 +- .../ObjectModel/IAvnItemsControl.g.cs | 168 +- host/Generated/ObjectModel/IAvnLabel.g.cs | 168 +- .../IAvnLayoutTransformControl.g.cs | 168 +- host/Generated/ObjectModel/IAvnLine.g.cs | 168 +- host/Generated/ObjectModel/IAvnListBox.g.cs | 168 +- .../ObjectModel/IAvnListBoxItem.g.cs | 168 +- .../ObjectModel/IAvnMaskedTextBox.g.cs | 168 +- host/Generated/ObjectModel/IAvnMenu.g.cs | 168 +- host/Generated/ObjectModel/IAvnMenuBase.g.cs | 168 +- host/Generated/ObjectModel/IAvnMenuItem.g.cs | 168 +- .../ObjectModel/IAvnNotificationCard.g.cs | 168 +- .../ObjectModel/IAvnNumericUpDown.g.cs | 168 +- host/Generated/ObjectModel/IAvnPanel.g.cs | 168 +- host/Generated/ObjectModel/IAvnPath.g.cs | 168 +- host/Generated/ObjectModel/IAvnPathIcon.g.cs | 168 +- host/Generated/ObjectModel/IAvnPipsPager.g.cs | 168 +- host/Generated/ObjectModel/IAvnPolygon.g.cs | 168 +- host/Generated/ObjectModel/IAvnPolyline.g.cs | 168 +- host/Generated/ObjectModel/IAvnPopup.g.cs | 168 +- .../ObjectModel/IAvnProgressBar.g.cs | 168 +- .../ObjectModel/IAvnRadioButton.g.cs | 168 +- host/Generated/ObjectModel/IAvnRangeBase.g.cs | 168 +- host/Generated/ObjectModel/IAvnRectangle.g.cs | 168 +- .../ObjectModel/IAvnRefreshContainer.g.cs | 168 +- .../ObjectModel/IAvnRelativePanel.g.cs | 168 +- .../ObjectModel/IAvnRepeatButton.g.cs | 168 +- .../ObjectModel/IAvnScrollViewer.g.cs | 168 +- host/Generated/ObjectModel/IAvnSector.g.cs | 168 +- .../ObjectModel/IAvnSelectableTextBlock.g.cs | 168 +- .../IAvnSelectingItemsControl.g.cs | 168 +- host/Generated/ObjectModel/IAvnSeparator.g.cs | 168 +- host/Generated/ObjectModel/IAvnShape.g.cs | 168 +- host/Generated/ObjectModel/IAvnSlider.g.cs | 168 +- host/Generated/ObjectModel/IAvnSpinner.g.cs | 168 +- .../ObjectModel/IAvnSplitButton.g.cs | 168 +- host/Generated/ObjectModel/IAvnSplitView.g.cs | 168 +- .../Generated/ObjectModel/IAvnStackPanel.g.cs | 168 +- .../Generated/ObjectModel/IAvnTabControl.g.cs | 168 +- host/Generated/ObjectModel/IAvnTabItem.g.cs | 168 +- host/Generated/ObjectModel/IAvnTableView.g.cs | 168 +- .../ObjectModel/IAvnTableViewCell.g.cs | 168 +- .../ObjectModel/IAvnTableViewRow.g.cs | 168 +- .../ObjectModel/IAvnTemplatedControl.g.cs | 168 +- host/Generated/ObjectModel/IAvnTextBlock.g.cs | 168 +- host/Generated/ObjectModel/IAvnTextBox.g.cs | 168 +- .../ObjectModel/IAvnThemeVariantScope.g.cs | 168 +- host/Generated/ObjectModel/IAvnThumb.g.cs | 168 +- .../Generated/ObjectModel/IAvnTimePicker.g.cs | 168 +- .../ObjectModel/IAvnToggleButton.g.cs | 168 +- .../ObjectModel/IAvnToggleSplitButton.g.cs | 168 +- .../ObjectModel/IAvnToggleSwitch.g.cs | 168 +- host/Generated/ObjectModel/IAvnToolTip.g.cs | 168 +- .../IAvnTransitioningContentControl.g.cs | 168 +- host/Generated/ObjectModel/IAvnTreeView.g.cs | 168 +- .../ObjectModel/IAvnTreeViewItem.g.cs | 168 +- .../ObjectModel/IAvnUniformGrid.g.cs | 168 +- .../ObjectModel/IAvnUserControl.g.cs | 168 +- host/Generated/ObjectModel/IAvnViewbox.g.cs | 168 +- host/Generated/ObjectModel/IAvnWindow.g.cs | 168 +- .../IAvnWindowNotificationManager.g.cs | 168 +- host/Generated/ObjectModel/IAvnWrapPanel.g.cs | 168 +- .../AvaloniaProjectionProfiles.cs | 226 +- rust/.avalonia-projection.owned.json | 2 +- rust/abi-baseline.json | 7451 +++++++----- .../include/.avalonia-projection.owned.json | 2 +- rust/avalonia-sys/include/avalonia-rust-abi.h | 10032 ++++++++-------- .../src/.avalonia-bindgen.owned.json | 2 +- rust/avalonia-sys/src/generated.rs | 4759 +++++++- rust/avalonia-sys/tests/brush_abi.rs | 16 +- rust/avalonia-sys/tests/control_abi.rs | 66 +- rust/avalonia-sys/tests/definitions_abi.rs | 28 +- rust/avalonia-sys/tests/layout_abi.rs | 12 +- .../tests/nativeaot_application.rs | 2 +- .../avalonia-sys/tests/nativeaot_clipboard.rs | 2 +- .../tests/nativeaot_desktop_files.rs | 2 +- rust/avalonia-sys/tests/nativeaot_fixture.rs | 2 +- rust/avalonia-sys/tests/wave_a_abi.rs | 36 +- rust/avalonia-sys/tests/wave_b_abi.rs | 36 +- rust/avalonia-sys/tests/wave_c_abi.rs | 24 +- rust/avalonia-sys/tests/wave_d_abi.rs | 14 +- rust/avalonia-sys/tests/wave_e_abi.rs | 8 +- rust/avalonia-sys/tests/wave_f_abi.rs | 4 +- rust/avalonia-sys/tests/wave_g_abi.rs | 4 +- rust/avalonia-sys/tests/wave_h_abi.rs | 2 +- rust/avalonia-sys/tests/wave_i_abi.rs | 2 +- rust/avalonia-sys/tests/wave_j_abi.rs | 4 +- rust/avalonia-sys/tests/wave_k_abi.rs | 4 +- rust/avalonia/examples/imperative_counter.rs | 25 +- .../avalonia/src/.avalonia-bindgen.owned.json | 2 +- rust/avalonia/src/generated.rs | 5284 ++++++-- rust/projection.ir.json | 456 +- .../BrushMarshallingEmitterTests.cs | 10 +- .../ComSourceEmitterTests.cs | 2 +- .../GeometryMarshallingEmitterTests.cs | 2 +- .../ClrTypeExtractorTests.cs | 209 +- 136 files changed, 35008 insertions(+), 10124 deletions(-) create mode 100644 host/Generated/ObjectModel/IAvnControlDoubleTappedHandler.g.cs create mode 100644 host/Generated/ObjectModel/IAvnControlPointerWheelChangedHandler.g.cs create mode 100644 host/Generated/ObjectModel/IAvnControlTappedHandler.g.cs diff --git a/host/Generated/ObjectModel/.avalonia-projection.owned.json b/host/Generated/ObjectModel/.avalonia-projection.owned.json index 6ff924d..f68fe2b 100644 --- a/host/Generated/ObjectModel/.avalonia-projection.owned.json +++ b/host/Generated/ObjectModel/.avalonia-projection.owned.json @@ -19,11 +19,11 @@ }, { "path": "IAvnArc.g.cs", - "sha256": "59d16dd626ffb007382e9d761d0e65860e116d659b0d9ed27a53946f3626a474" + "sha256": "d0d21649fda16dbf92ad11c905d4216d471934c9aa0a348b25189f7627582309" }, { "path": "IAvnAutoCompleteBox.g.cs", - "sha256": "6a1501a24d43e6b76b7dc12228b788d89c39d0f2aa46c00f01d38538281ed1da" + "sha256": "6c50d87d8db3a9a6af2a39d9ece46009a7cfae47c6ec13658571f6c10d2c0e45" }, { "path": "IAvnAutoCompleteBoxDropDownClosedHandler.g.cs", @@ -63,7 +63,7 @@ }, { "path": "IAvnBorder.g.cs", - "sha256": "5aa0f929ee0197060daee6517eed696548cc1c2c18112d25b4f624fcb7e89f0e" + "sha256": "40a45dcd57fa5f8734710efc44999541e78d36c804e9cfd532d25772cf59f7a6" }, { "path": "IAvnBrush.g.cs", @@ -71,7 +71,7 @@ }, { "path": "IAvnButton.g.cs", - "sha256": "8eac1d8864849741000d65bd68829d2e0ffbcb42ca3bad73896e2abeee2dd55f" + "sha256": "5800d43c1b0e6f5a89105e4426f0d12097ad29b542572e5174295f2eb40e003f" }, { "path": "IAvnButtonClickHandler.g.cs", @@ -79,15 +79,15 @@ }, { "path": "IAvnButtonSpinner.g.cs", - "sha256": "60a65cdb6d991b3e3ff58bf5db1cca56638a8a408a763e40512811dcf40306c8" + "sha256": "489d371f73a5f7de6e7fce2016588640841129c190da292de5338ab652265aa1" }, { "path": "IAvnCalendar.g.cs", - "sha256": "32cda70ad0e7d2089c29aa2c4148d973eb5d27064d551d87c90326726a84a089" + "sha256": "ab3ae8c4f97399647a21e6fd4f97e6ce1ae7aa68e25d1a929d69526e28099414" }, { "path": "IAvnCalendarDatePicker.g.cs", - "sha256": "af4e6c24be30782abdf0b46d889f5196263227c060cc8a9ae8bd5373fa542253" + "sha256": "6d0157bf5e3d10f9e78f5fd1d9bf3c318c6579c7de72443d716530e25b946310" }, { "path": "IAvnCalendarDatePickerCalendarClosedHandler.g.cs", @@ -119,7 +119,7 @@ }, { "path": "IAvnCanvas.g.cs", - "sha256": "e5df3c4724d5e955cd0f5c117ba849dd9ede906661f9a54bef8d8388ac506665" + "sha256": "485a9e56e000ee0d9e5c9479a58c26a84791ca88709451e7c430b3b5bb580b89" }, { "path": "IAvnCanvasStatics.g.cs", @@ -127,15 +127,15 @@ }, { "path": "IAvnCarousel.g.cs", - "sha256": "f7b4727ebd5e2fb8f2afc732b01f0cbf4c52a718db65a08745475be9dfbe3b85" + "sha256": "d684c435a77968cec2911a2eec59361d1086911335f9a66f52025ba2918270f5" }, { "path": "IAvnCheckBox.g.cs", - "sha256": "dd8c8c532d70da177ad9127fd31176579cf9eadc1c6be2594584a510483093b8" + "sha256": "279885f9960c5b97a9c3bbe67c16adfb099e58a3e912ecaf153d0acfb11239b0" }, { "path": "IAvnComboBox.g.cs", - "sha256": "ab6af3a65f4f08f81bf0e3558521ecd6e1f0d627dc32f5d2093f05f7f8a448fa" + "sha256": "26a915d4ea36d5b754722210f8962e77c7f3632d8c6702e78f962356c95e2434" }, { "path": "IAvnComboBoxDropDownClosedHandler.g.cs", @@ -147,7 +147,7 @@ }, { "path": "IAvnComboBoxItem.g.cs", - "sha256": "c7f80f04d06f78f495d94ec0a3d3e2ac9152187420f521d82e39b777bed7b3e8" + "sha256": "130c6fe5978fc0da3a68b6bfaf1141e3f5924e749f17e048f5e0de62b48a2749" }, { "path": "IAvnCommand.g.cs", @@ -155,11 +155,11 @@ }, { "path": "IAvnCommandBar.g.cs", - "sha256": "17d9616479700c1285736ee3c81f697ef329485ded59670e19ffec392852073d" + "sha256": "98c6d23b791ffb42a6f1eea25b109b15e6ba8c4b88fb57afeb1ce3cd6d4c069c" }, { "path": "IAvnCommandBarButton.g.cs", - "sha256": "6b59a0b13c171af10e621eee7f03b7a8f43b4a7abef4fae48cf64a3a69d131b6" + "sha256": "261b18f40be3b9002ae9ab1ebeba2c2dbb2fc8ab0b1d5f534e79e82747e0d1c9" }, { "path": "IAvnCommandBarClosedHandler.g.cs", @@ -179,19 +179,19 @@ }, { "path": "IAvnCommandBarSeparator.g.cs", - "sha256": "e6c8b7a045661a9a409b55c10ce226dd85b023afc8f4041aca22e132482c7534" + "sha256": "f9b7ecac60994a8663b5d03c1a1eedf8470dfe1aff97c8da2324dce09e0ee6f9" }, { "path": "IAvnCommandBarToggleButton.g.cs", - "sha256": "eaa6bc8a3dcb554b2b0a4631d8d13ec66292deec54b33720c0764ed55e631df3" + "sha256": "10a6259198d39f57cd64ad9732749bfe64500f540a5f58fb2c0375259bb53c0b" }, { "path": "IAvnContentControl.g.cs", - "sha256": "5e4ff7d86636b483e5a482b1e2cbb52e04bc337b10ba4eb2d8ab06282dba8cdd" + "sha256": "d0e76be71b953f835f4b9b809a013aea04a1a9343a1f164de8b227425d17b2d2" }, { "path": "IAvnContextMenu.g.cs", - "sha256": "24dc67e6541f36abe54ec0a479b6707555cdefa64475adba6a7a38eeae96b7a4" + "sha256": "c1a01ee264639e7df6204b35895278d58baf601c25733166888fda72e17753bd" }, { "path": "IAvnContextMenuClosingHandler.g.cs", @@ -203,7 +203,11 @@ }, { "path": "IAvnControl.g.cs", - "sha256": "8868cd2d509d95e146a94d60d57f8e08598e074922206172d78a41d8b7f1e1ab" + "sha256": "e966ed1662a5864009f89e61b2cc83a47b0a08bdc31d6c4c6133d069c48f89c9" + }, + { + "path": "IAvnControlDoubleTappedHandler.g.cs", + "sha256": "3910943c09f6a262602a5fa4b199e8513067ba9fc43857cb2f6dc75a0b6a31d8" }, { "path": "IAvnControlFactory.g.cs", @@ -235,16 +239,24 @@ }, { "path": "IAvnControlPointerEnteredHandler.g.cs", - "sha256": "fd84807be1efb7f5509b2c4ae9e456bd06d52c9fc8727fed4dd305540636fbb0" + "sha256": "b5d3ad5ab7d33cdb52a991a61afd3080788561168b64c8c4ce9166dee1fbe69c" }, { "path": "IAvnControlPointerExitedHandler.g.cs", - "sha256": "a86108c11b2bc1fce7052de8052a47320fac06fa01c30bbc9b4f9c200dae0fed" + "sha256": "fdcc1b4e2a736fd3a8486900000883469b18a2d3bda75c3e904e6a53f37e3b82" + }, + { + "path": "IAvnControlPointerWheelChangedHandler.g.cs", + "sha256": "264a6c18e6a73f73b61da627d62ce3c165c8d38ab2ee609d54918661906aa2a2" }, { "path": "IAvnControlSizeChangedHandler.g.cs", "sha256": "5f3f554e45973763235aad7350ad22b0c476e9643857b86a82b4b8b21fd89033" }, + { + "path": "IAvnControlTappedHandler.g.cs", + "sha256": "f6801edfac3857a990f1284eab945d7619cefe5ab6186255fc15dc95b47a2260" + }, { "path": "IAvnControlUnloadedHandler.g.cs", "sha256": "b154f456f0681a13c011d7ff99f5927815c63c24657cc21396ec5d40293ed482" @@ -255,7 +267,7 @@ }, { "path": "IAvnDatePicker.g.cs", - "sha256": "57596e1ee4edb79e3c4c48ba0d6327c286cc49fdb7409a6582a6a8efa327bcef" + "sha256": "ef435bbbb43d75d7731f29929894deb9c917924229a2f5f86ff170177b382297" }, { "path": "IAvnDatePickerSelectedDateChangedHandler.g.cs", @@ -267,11 +279,11 @@ }, { "path": "IAvnDecorator.g.cs", - "sha256": "d1567af9c1029e2f2d8fdfb678a6f92c424fd6637a0b780774774f6db7e4a82d" + "sha256": "1fbe8bc5c915b3b89aeef8e6c51e02354785ca9e8fe2a5349c1bc25314683d70" }, { "path": "IAvnDockPanel.g.cs", - "sha256": "8ce541a5ba44af31361e4e9348f91871120c15a93624c59f2614601160d09b5a" + "sha256": "30b97d9d62fd07931f3d5cee8e1ae318eac51572c4de0df4a481fcff108ccd5f" }, { "path": "IAvnDockPanelStatics.g.cs", @@ -279,15 +291,15 @@ }, { "path": "IAvnDropDownButton.g.cs", - "sha256": "ab8ab87dbe6cad7e7070216ba8464753a2cebf0aae9a2b2eca7957f6523c04a3" + "sha256": "eb935c724caeac2266e279cea4fc77e37cbb0b56449f1c1efb1da70fc975db72" }, { "path": "IAvnEllipse.g.cs", - "sha256": "bab25a06db466ed246ca1e428ced3c6027166b160fbfe4b0e8911d40b4dd61d4" + "sha256": "c5816cbc997a85df54a11eaf8ab40913883419ebe3ab96cc206b2f7741d6206f" }, { "path": "IAvnExpander.g.cs", - "sha256": "cf486379c64cd674b159c23f25b0906098832f102859ed93ef60d915b2db85a9" + "sha256": "7413f6b640f65ef29c16d28d23f66ae1708ae484e4906a660e86a8352871ac78" }, { "path": "IAvnExpanderCollapsedHandler.g.cs", @@ -307,7 +319,7 @@ }, { "path": "IAvnFlexPanel.g.cs", - "sha256": "bd71b4d1b7cc38956d39c7d3e77b85447707296231a9629a4280557b5e7230ce" + "sha256": "18e7f60d925a9ba10b81892a9f4b67090786df558eb770cbf422b1aff11d1e45" }, { "path": "IAvnFlyout.g.cs", @@ -327,11 +339,11 @@ }, { "path": "IAvnGrid.g.cs", - "sha256": "a5faa7a8fc98eb4839e03dd2d1eb8c9851a74cee3330ec3640e61120fdc37831" + "sha256": "d31d0ec5c5af40b9bc3bf1229b02c630e99f6f31c74b2631063eb39f7a74f0fc" }, { "path": "IAvnGridSplitter.g.cs", - "sha256": "1876f90e45a18f43c4195b398670134f7e79bfde2193e5946f4742f555d2d7cc" + "sha256": "3c3b6eb659edb52978aebef5a55ac7d93439bba687e23481876c54dc2ac2868e" }, { "path": "IAvnGridStatics.g.cs", @@ -339,31 +351,31 @@ }, { "path": "IAvnGroupBox.g.cs", - "sha256": "22572df2c63616bd8ab6124c805892bd86dd8c90e0b8555fb2a80a70b533f937" + "sha256": "06b2c600bd39b228ae40d64414f69eaf16276ead9cc8f67a143d31da36f0cbc2" }, { "path": "IAvnHeaderedContentControl.g.cs", - "sha256": "3e6eaf93327699196e21aeff52f637534355e46bc74e4806b9f666d35cec3db2" + "sha256": "2acb7dbccae029b70a87ccc6b9dd28a1b139dd443071c901b72b982af7eb4c29" }, { "path": "IAvnHeaderedItemsControl.g.cs", - "sha256": "f75d8d62c018a32c9c8f879767bc6267d02d4706e63769461234c2cd6399a427" + "sha256": "5818ee1eb926244dda30807062286e0f93ecd60a2817f14c625ed6d63a0fd28b" }, { "path": "IAvnHeaderedSelectingItemsControl.g.cs", - "sha256": "5bde4d7323596488226f56cfc737ea86020400a57101f59177aa749357f46930" + "sha256": "5d3c5f77afde6d2228f44a7297b4d200850764146bf9e8d057755bad00d3eb40" }, { "path": "IAvnHyperlinkButton.g.cs", - "sha256": "5c443423ea57a16709275476fb40959d7921b2630eb4204149e50ab138fab06b" + "sha256": "d2aa077ceed817f8721f0b67df7e0dcd69e657b1f482a4faebf09ce28b1abcc7" }, { "path": "IAvnIconElement.g.cs", - "sha256": "fcb3a64ff61fbe13d1c76e361d29e6640dab782c3ded197b03add7bb4ea1b6da" + "sha256": "ce174630bb8f8cbc6a956be4f7c3154f452702ac07a432d2d61a116724c8e2d6" }, { "path": "IAvnImage.g.cs", - "sha256": "6c04e891889857265f64f582dffb542093bebbaad0722dd31e13187fc22abc69" + "sha256": "851bc80e9eca2f3ceab53976c3415f1b80f91a47b9c7f4fa40273a462b5e1348" }, { "path": "IAvnItemList.g.cs", @@ -371,39 +383,39 @@ }, { "path": "IAvnItemsControl.g.cs", - "sha256": "43757e13e3d7464753b12931a04c3c4adcceea32bc64417384281bd9b8493afb" + "sha256": "aa723338af9bf331b79097ed4dbac1e0944332389b7b7229b0d39b8c32d68ac4" }, { "path": "IAvnLabel.g.cs", - "sha256": "780bf4bcccda4fb5e26632c653059c6c42417171d5f9c51c44e1e0a80a6542d2" + "sha256": "3466197f82acc8cdaa7992dfa9f1df42568089f676756d530db00fd9ad6dd095" }, { "path": "IAvnLayoutTransformControl.g.cs", - "sha256": "3c68a5b5e8852b2d13eb1af1df88e16cc2a02f8fc69a25d4c2659f53245ac7e0" + "sha256": "3caad460f8b12da1e67b31719aa67199939ef305f7aac2fca83e36cd7a306ed1" }, { "path": "IAvnLine.g.cs", - "sha256": "334299c6f645a0851caa39bf56bf0f355b2139094bb65d9cf0d14eead73da704" + "sha256": "3f506144cf7cfe2deb4bea64010978af268083dcc5f8dcbd0a6e8544e61e5be4" }, { "path": "IAvnListBox.g.cs", - "sha256": "a8487e7971d6ed17b90fab74cf8fbf729b33fccd37ae038b4d6bea0e9a0740dc" + "sha256": "4db73e83807d8fac2f931a54536e6977402b8f1f766e6b93c7bed74fe637d740" }, { "path": "IAvnListBoxItem.g.cs", - "sha256": "d7b612c31c4b38fe5446b479fffa8f5c1ca0d5c74e9bc3df8bfd85af4711db09" + "sha256": "351b5e42a890c4096a7e497bcfa6d485f7f3e540ccce9459a381f69f85e46466" }, { "path": "IAvnMaskedTextBox.g.cs", - "sha256": "33023bfeffdc9618496e2e53c70d3b1bba1f98f48d0624940be3fca426fc8ff3" + "sha256": "b1c63e850e630d1400c4bc671afc7ba6686d177553978784fdc395975b9dc18f" }, { "path": "IAvnMenu.g.cs", - "sha256": "71ae9d7dc5173eba1d27f73eae255049b156b92768dbe91a8c15d937e2658133" + "sha256": "76c655d5ec30b85ac45dfb39548b4ad0c2e7f26ad762bf47f6ba93bc943f97b4" }, { "path": "IAvnMenuBase.g.cs", - "sha256": "77512be5669e638d3cfa54faa157a69616a9bf1d1c3d60086f4e9aaddb69074c" + "sha256": "b47b3bd7c6c9f8059662ad1dea257854559327774c4a8d16768ea225cd3074cc" }, { "path": "IAvnMenuBaseClosedHandler.g.cs", @@ -419,7 +431,7 @@ }, { "path": "IAvnMenuItem.g.cs", - "sha256": "4a3aa400070e6e0d51752aa2693f0503be01ef666d6e8cf564f52eabaebd8f68" + "sha256": "3c3fc9bb507c92a1f0f003387eca278f498cf2936efc8d588ec352b872b3f4af" }, { "path": "IAvnMenuItemClickHandler.g.cs", @@ -435,7 +447,7 @@ }, { "path": "IAvnNotificationCard.g.cs", - "sha256": "3b9ffcb8d57cedcc80110cd5b6cc9044f5dbd9940683208a0da718bd94de2413" + "sha256": "530e4c5f4d35cff7ec89b9b180d43612ff9fcd15df66ed22d853a3b484a16403" }, { "path": "IAvnNotificationCardNotificationClosedHandler.g.cs", @@ -443,7 +455,7 @@ }, { "path": "IAvnNumericUpDown.g.cs", - "sha256": "56b9fb7415d54b67029a55475c2158aea6f167a22ab48b959c00ddfe36427031" + "sha256": "faf8e8a96f780712d59dd8a6a7ba03738dfc830ffa665d30530d8baf23569f59" }, { "path": "IAvnNumericUpDownSpinnedHandler.g.cs", @@ -455,19 +467,19 @@ }, { "path": "IAvnPanel.g.cs", - "sha256": "5afb8cb9dadfdd318d6dee1c777ed8611992ebef14ed58b18d0ba361bf7b388b" + "sha256": "cdaf43072f7e10b42187105d53adeec2deff102dd211cc8713eee1cd82e8f85b" }, { "path": "IAvnPath.g.cs", - "sha256": "cebf4a14ecfeb5c763afa60cda46c90aae6ebe8ab0e2c7f32eaba94bc4af4ad3" + "sha256": "b590472bc88323f22d45928e030e028b1de04e9ea52534f789005cfd9582e5a4" }, { "path": "IAvnPathIcon.g.cs", - "sha256": "6a6d6991ef17506049b1e5c38ccf0b988754346783ccf7202807135ff34f44dc" + "sha256": "e119f90b4228a80f92db9d5f91a59119692eadb0c671d45992f6d364faca22d5" }, { "path": "IAvnPipsPager.g.cs", - "sha256": "d786db945bd454f88ea36e4d8047a153d81a6d1b70bbce78a017f86c119557bf" + "sha256": "5149a676817b9295bb8a99c2ec1e5790b3ee9fd1c3c8782f823fbc38843cd285" }, { "path": "IAvnPipsPagerSelectedIndexChangedHandler.g.cs", @@ -475,15 +487,15 @@ }, { "path": "IAvnPolygon.g.cs", - "sha256": "5f50d77c6a93be787568e5c0fa281159bf58b8fc315a8fe18b8a3816a6bfa2f5" + "sha256": "ce891aa81bdb20131f66af4f78426a2ab0569dab5fcee76ca7be2153cf8bca66" }, { "path": "IAvnPolyline.g.cs", - "sha256": "fcb5e30a76fbb5d073d3961a89493d14b821e0c0a7f93684b00cf087d7b5e7e1" + "sha256": "5d427ca8b22bb75339ce957c4b1e5c7a962cbe47b4de7a54e569b6ba89e84d18" }, { "path": "IAvnPopup.g.cs", - "sha256": "3c8c920c3f904d56ac67f714248a57093e94711932dc8ddcc42c73f354a34f8e" + "sha256": "14af50db10a6b612c4cdd7c18e7bdf2b3783dd3311b9eeb6d707139dfef5a180" }, { "path": "IAvnPopupClosedHandler.g.cs", @@ -507,15 +519,15 @@ }, { "path": "IAvnProgressBar.g.cs", - "sha256": "912f79cd7d0fbc6dd994e6443f8d22360db050cf317eef02fe99837b4422964a" + "sha256": "afb9e9b99a2703b3bd4f567ebbcb6f6f22a72da54f7890f1b9a3c231811409e0" }, { "path": "IAvnRadioButton.g.cs", - "sha256": "6ae3f71064dbf16c16b9eea366bd0f1d2dc21bffaff2dbe7c1ba4150060f2717" + "sha256": "70e42d8168ec2df9420973cf8f2ebd3a93faa969ca90229467a4a02003cbabce" }, { "path": "IAvnRangeBase.g.cs", - "sha256": "ef9c0e3e8c5e4d0e9c753822ce42321ae0ee13071d6b0caf335aefa6e37c3064" + "sha256": "9fa2bbd184333da4d978a3891e93caf8cbba7edb5870fa437fe93d4150361f61" }, { "path": "IAvnRangeBaseValueChangedHandler.g.cs", @@ -523,11 +535,11 @@ }, { "path": "IAvnRectangle.g.cs", - "sha256": "96b104bd2f1d505c2daf5b0447b546de4bb7973f127cb8b9c8faf2afd51c57a7" + "sha256": "38bbba63f34c83d92e088d68a1859ccfe468e12397ad211dcf5b8fd71271f167" }, { "path": "IAvnRefreshContainer.g.cs", - "sha256": "5dd5ac6109b95f4c4a149a94aeb765be5e44409d7ba4a438a0a3ab7bdc2224b8" + "sha256": "826a55e8c64e552e0229f4a968c3c56ad1543995495cc35d22c6f8d016d2b701" }, { "path": "IAvnRefreshContainerRefreshRequestedHandler.g.cs", @@ -535,7 +547,7 @@ }, { "path": "IAvnRelativePanel.g.cs", - "sha256": "4a61c1a614967e958b313faddf84d7ac35996756d9de58db919b95ed421c96cd" + "sha256": "aedc6b17a2501bdbbe20b7eff386d5db0c0a3de79d24e86fd635a00a0e87282d" }, { "path": "IAvnRelativePanelStatics.g.cs", @@ -543,11 +555,11 @@ }, { "path": "IAvnRepeatButton.g.cs", - "sha256": "81e2a687e61a778c044e89e78e621c531fe1a766b2e14af930681a4970a94b61" + "sha256": "6ae1b2f4fc8552080c7701240700e0714d173664ebcc36b1fc1db6e1743e6a8d" }, { "path": "IAvnScrollViewer.g.cs", - "sha256": "e6a9416e7fd79588665ac3dbb11420a5ef9e230c7c6a3e36efc690a7969ea44c" + "sha256": "c6731f08d082232d8e63cad08e39e3d58e87011d3d1e518ece1e1791eb3ae0a4" }, { "path": "IAvnScrollViewerScrollChangedHandler.g.cs", @@ -555,11 +567,11 @@ }, { "path": "IAvnSector.g.cs", - "sha256": "f51a366187f746c101b316a9ef6f08a8ba9265ae07b6a8970faefbd0f9921715" + "sha256": "032999ec0e1e8eacf5653f8d359502e3e0e23e82ffe73b9ce4270b5af9a5d409" }, { "path": "IAvnSelectableTextBlock.g.cs", - "sha256": "a39f31c4f84484d2b1c7fff8a6a795492fc5d635292493984a0b0cca0ea03144" + "sha256": "f0836499f750580cbc3f160d84b268e7f09d7fb6f225d64a951233f9666a2425" }, { "path": "IAvnSelectableTextBlockCopyingToClipboardHandler.g.cs", @@ -571,7 +583,7 @@ }, { "path": "IAvnSelectingItemsControl.g.cs", - "sha256": "c43f40ef094f7e73f49053146233ac597732f2f497f1672b13b09ace4ebae2e1" + "sha256": "79c9c1469a8732899320a3d3d20f06813f0a23198264758ad0c05a33f9b01f4e" }, { "path": "IAvnSelectingItemsControlSelectionChangedHandler.g.cs", @@ -579,19 +591,19 @@ }, { "path": "IAvnSeparator.g.cs", - "sha256": "e1268b65e02236de2eb719d577baa6b6b421394cbd4b6df9c608c566f66e03ee" + "sha256": "2032d4d11fec8442f1173f63722b8bf316891bedb80643313a856a62d4142a46" }, { "path": "IAvnShape.g.cs", - "sha256": "fb36307b5076646d1337a42e36c4acc54962a700919296e10d44698287d967a0" + "sha256": "e442ba772fae1bd6c5f3c4e049eab69b931fadfc575dcb817dd38067c4d05bfb" }, { "path": "IAvnSlider.g.cs", - "sha256": "f357e303ba362e023d008f2622e866301546a38d0183707bbd65a714eda167f9" + "sha256": "2d79c718f0b6e2f45ea42dffde901140659133ec7df1bb32ac0e0f1a86f19971" }, { "path": "IAvnSpinner.g.cs", - "sha256": "c68e06f349b87b11e99a70e4b6ca44421686ae9140eef8177019827850721869" + "sha256": "8377b341f67fd827683364a72f331fca3bdf483bc864d7541aed41ae608af71a" }, { "path": "IAvnSpinnerSpinHandler.g.cs", @@ -599,7 +611,7 @@ }, { "path": "IAvnSplitButton.g.cs", - "sha256": "2c54885863c49f890cd6de799f469ad93de4c11b9ad7cf4f1d2271cd3fe847ad" + "sha256": "ed9702e19f846c7a5a98036a8e50a61045d2bb3c76197549ff1fbacf7d109a82" }, { "path": "IAvnSplitButtonClickHandler.g.cs", @@ -607,7 +619,7 @@ }, { "path": "IAvnSplitView.g.cs", - "sha256": "e1a2d61e71dd3b5ed70291a69970eb1c3dc416727f0766f1a819baea10e5aa5e" + "sha256": "e993a8d9a3286570fe82aabcb2f685cd886fb7d38c1b7abb7339722a9a649018" }, { "path": "IAvnSplitViewPaneClosedHandler.g.cs", @@ -627,7 +639,7 @@ }, { "path": "IAvnStackPanel.g.cs", - "sha256": "6c6aded90413454c6d1008edef403e1fbff3cb2a4b480c884bec8da853c7007a" + "sha256": "72c653c6f592caac83bd978c2c4a623f2659e67436cdb129b05ddcc6d360a139" }, { "path": "IAvnStringList.g.cs", @@ -663,19 +675,19 @@ }, { "path": "IAvnTabControl.g.cs", - "sha256": "44d06624e2e1dee2638d2f27583814a9d03b2f396accf68700ae9b5c13ca45ca" + "sha256": "a0747482fc29d542d1c3bc404c17caf3bdc3173760bc48567b3ada3ed11b4705" }, { "path": "IAvnTabItem.g.cs", - "sha256": "58185d2e0b14d4ccd9e1e279f087fd21f3b0b051688526c859d9723abf72e18c" + "sha256": "23d0b3bcf2c855358147d74d3c3c0c3d824f32f64d0908065c7fa0e2c8e0c3de" }, { "path": "IAvnTableView.g.cs", - "sha256": "c3f058752d43a8e8b71560c8e6b5207f653970aa11ccfc89dfd57d86f4ce1906" + "sha256": "02affd7228efe042aad1f07caddb6365ffc893caaac4cedda379bb688a64cac2" }, { "path": "IAvnTableViewCell.g.cs", - "sha256": "98a51aeb0f603ce1064a9bb10497d7a22bff5e049ca8d7c6c59344d6cc0e625f" + "sha256": "ebbaf2d989fdf18e134647ef6310e9dac84c3ab96de7232ced819d2a76983909" }, { "path": "IAvnTableViewColumn.g.cs", @@ -683,19 +695,19 @@ }, { "path": "IAvnTableViewRow.g.cs", - "sha256": "57e1a649f5a254a69dafb57c9332950cefff5ae2e08baffb3430334f429b2879" + "sha256": "f61ab48c7a8a42ee1460de4404eb7408eaefc8c99176021718f6be53e3fb3b30" }, { "path": "IAvnTemplatedControl.g.cs", - "sha256": "c90877cf2b322d8119c790b01a69460a0d40c82b95ff7f1e882b51f4d9acba68" + "sha256": "e6f9845d90ade71764dd591f101905c1e51bfc198ed8e11047af8cbe86790ce9" }, { "path": "IAvnTextBlock.g.cs", - "sha256": "bb71c04fe8a1609646768c9f4f662615b15ddb9a27640e5c22cd5abab2b87171" + "sha256": "b7bf490513603b3a609ea2829611c4ee616079c2e7bf31e57369223d3d634c36" }, { "path": "IAvnTextBox.g.cs", - "sha256": "fffea4d28dd44d8ed34ad63482855247f3b268148b003d12dca733e87823eaff" + "sha256": "994261279b1c866e278a2e61c241001bddb83f6d5a63afb33b56c4dcc7636b31" }, { "path": "IAvnTextBoxCopyingToClipboardHandler.g.cs", @@ -719,11 +731,11 @@ }, { "path": "IAvnThemeVariantScope.g.cs", - "sha256": "4fad267e51d834cd54f2f317470411d5de593ab90410fe3495bb9742ec152c58" + "sha256": "7576b71732f3fff420005753cd4b8007b6cf7f55207c70c1d68fc465ac921d08" }, { "path": "IAvnThumb.g.cs", - "sha256": "5137fccd10ccf41df2f3578fc3e3de875c4515ba4c671fe9ee5a65ef8252a67e" + "sha256": "7bf06f21c98b98302a8612059f3ab345112a131959d6c733f9bb1537b9085877" }, { "path": "IAvnThumbDragCompletedHandler.g.cs", @@ -739,7 +751,7 @@ }, { "path": "IAvnTimePicker.g.cs", - "sha256": "94453a248781c0a719389c8f5a38035fdb3a8099e8c2c45a399e3405d5f277c1" + "sha256": "b638d1734f2f606316167a28161e5b1557ebc247ac9055938cbfa686119f114a" }, { "path": "IAvnTimePickerSelectedTimeChangedHandler.g.cs", @@ -747,7 +759,7 @@ }, { "path": "IAvnToggleButton.g.cs", - "sha256": "74e5d55d8b8489caba80a6a0aec6ea8674672c3f3186c534d52e17eff31596c6" + "sha256": "392fcbc0ad4fb7647e22a81aef172c0c3d57972a97c6f4664574be8073ca0a4d" }, { "path": "IAvnToggleButtonIsCheckedChangedHandler.g.cs", @@ -755,7 +767,7 @@ }, { "path": "IAvnToggleSplitButton.g.cs", - "sha256": "0583cdafe4bbe5bf20e636fbb7669299d9108fe39c0b06ba64991697bfba0f09" + "sha256": "3c54dfbdf81a96e514af7c12490804e0a6ae3a68d684b84fa9cbd7a2aeeff671" }, { "path": "IAvnToggleSplitButtonIsCheckedChangedHandler.g.cs", @@ -763,11 +775,11 @@ }, { "path": "IAvnToggleSwitch.g.cs", - "sha256": "10d9cb54bb64b628df0c889370b46a0fb2d28f907217b933337245b5fce05c2a" + "sha256": "e0723954a2700d0d8881c11dd7660941268621da6d7f6454d6dc9a78c207a0d7" }, { "path": "IAvnToolTip.g.cs", - "sha256": "31de0fe541c3db5bdbe0aa3b05e472f3413291b12dda7d9fbbf67d9acc08cdf6" + "sha256": "aad27b820e3cd8c3338697b76de8da6aad136aa71772ed74bc4a20727e430229" }, { "path": "IAvnToolTipStatics.g.cs", @@ -775,7 +787,7 @@ }, { "path": "IAvnTransitioningContentControl.g.cs", - "sha256": "f83fb224bc40959d8f2948b90b3eaf412468e91b5559c4dd4497cb9d95bc4036" + "sha256": "e65e2fa8565401a7d05d9e695d2a56923f8f52e341b93cd737e2909baaf0a346" }, { "path": "IAvnTransitioningContentControlTransitionCompletedHandler.g.cs", @@ -791,11 +803,11 @@ }, { "path": "IAvnTreeView.g.cs", - "sha256": "078365e043f4e1ddd401b71ff0d940201d2174a4c657dd658d263246f1655218" + "sha256": "803b901021ffa4775394259c3797ff138e17c534dca4e3fee767ec76ba348723" }, { "path": "IAvnTreeViewItem.g.cs", - "sha256": "ed031cec7fc25722a7d18d5ede4e1874c37feb4250ada566fb65075f2c810f3a" + "sha256": "b304969befd2deb521893774cb0de4b23673e0ca5b9b99e374dd0ec4360a1764" }, { "path": "IAvnTreeViewItemCollapsedHandler.g.cs", @@ -811,11 +823,11 @@ }, { "path": "IAvnUniformGrid.g.cs", - "sha256": "c968432b9b147124a9a0df90e77bf6b4285aa1929b3005f74dd9af86d1e87cac" + "sha256": "d70ad15d41631f9f6f162746803ce77b6f0d97e6bbc4d660aa282d616d19b47a" }, { "path": "IAvnUserControl.g.cs", - "sha256": "9f736cb332a5f6b9ad5179f8f3134c6b6d9221b907aa002ff8975f47c52876bc" + "sha256": "f597ce354522e8f6f558fa8c2df97122915301a7b499ba5ba3ecafc238e1c0c3" }, { "path": "IAvnVariantList.g.cs", @@ -823,11 +835,11 @@ }, { "path": "IAvnViewbox.g.cs", - "sha256": "8a5f77d462f43b6e0c717b9af4f055e5e90f47d1d8224083e5982ed464d7749f" + "sha256": "e69a16c0004d473936454584c884bb24861637502ef89840256182d76120185a" }, { "path": "IAvnWindow.g.cs", - "sha256": "e04d2587efddd87c49151a851c83f843a7b054a0cb4dca0837c0ec2fb0b7b1a1" + "sha256": "b48244373b15a622348979359f639640d1400276ca9bebbe2656f023cf627d35" }, { "path": "IAvnWindowClosingHandler.g.cs", @@ -835,11 +847,11 @@ }, { "path": "IAvnWindowNotificationManager.g.cs", - "sha256": "daaf87696c241192b6e79a1a3a6cf708d69b15d6da0323811ff9dc6835264964" + "sha256": "ea3a229c8f32d9b706fd7338d85368278dff8794c44b74419a82f5dac2df5b63" }, { "path": "IAvnWrapPanel.g.cs", - "sha256": "a0308cdfdd093b2fd8705808cb6e7b8d3b8a18a594716ad0b80559f075c2f212" + "sha256": "eefe85243e35ad4e1a8b58f5e5a40f32207227966751e4bfce8aed0ff9725b77" }, { "path": "ProjectionAotRoots.g.cs", diff --git a/host/Generated/ObjectModel/IAvnArc.g.cs b/host/Generated/ObjectModel/IAvnArc.g.cs index f6cc7bf..2faf442 100644 --- a/host/Generated/ObjectModel/IAvnArc.g.cs +++ b/host/Generated/ObjectModel/IAvnArc.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("394ACB52-3BF3-52D6-97E8-4BF0C102F4BE")] +[Guid("D707907F-AF00-561A-9374-03A90DF55B83")] public partial interface IAvnArc : IAvnShape { [PreserveSig] @@ -59,6 +59,12 @@ public sealed partial class AvnArc : IAvnArc private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; internal AvnArc(global::Avalonia.Controls.Shapes.Arc value) { @@ -1334,7 +1340,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1380,7 +1386,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1414,6 +1420,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetFill(out IAvnBrush? value) { value = default; @@ -1847,5 +1991,23 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); } } diff --git a/host/Generated/ObjectModel/IAvnAutoCompleteBox.g.cs b/host/Generated/ObjectModel/IAvnAutoCompleteBox.g.cs index b8dfd02..c1103da 100644 --- a/host/Generated/ObjectModel/IAvnAutoCompleteBox.g.cs +++ b/host/Generated/ObjectModel/IAvnAutoCompleteBox.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("86643B56-B59D-5EE3-8A9B-D44F7DA909E7")] +[Guid("26FFE15E-6149-5898-93EB-55909338DC9A")] public partial interface IAvnAutoCompleteBox : IAvnTemplatedControl { [PreserveSig] @@ -233,6 +233,12 @@ public sealed partial class AvnAutoCompleteBox : IAvnAutoCompleteBox private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _textChangedSubscriptions = new(); private long _nextTextChangedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _populatingSubscriptions = new(); @@ -1524,7 +1530,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1570,7 +1576,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1604,6 +1610,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -3221,6 +3365,24 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); foreach (var subscription in _textChangedSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnBorder.g.cs b/host/Generated/ObjectModel/IAvnBorder.g.cs index 87316d2..164befc 100644 --- a/host/Generated/ObjectModel/IAvnBorder.g.cs +++ b/host/Generated/ObjectModel/IAvnBorder.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("DFE5487A-B7C3-5DD1-A6EF-0CC9B9E6FC9C")] +[Guid("DF677487-F79D-50DF-A474-0AF69F6A6C5B")] public partial interface IAvnBorder : IAvnDecorator { [PreserveSig] @@ -86,6 +86,12 @@ public sealed partial class AvnBorder : IAvnBorder private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; internal AvnBorder(global::Avalonia.Controls.Border value) { @@ -1361,7 +1367,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1407,7 +1413,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1441,6 +1447,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetChild(out IAvnControl? value) { value = default; @@ -1797,5 +1941,23 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); } } diff --git a/host/Generated/ObjectModel/IAvnButton.g.cs b/host/Generated/ObjectModel/IAvnButton.g.cs index b4989d3..6c2fb05 100644 --- a/host/Generated/ObjectModel/IAvnButton.g.cs +++ b/host/Generated/ObjectModel/IAvnButton.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("39E10286-7BB7-511B-8885-733B3AB380F6")] +[Guid("E66D2CD1-A3CD-538E-9607-B5E784669C89")] public partial interface IAvnButton : IAvnContentControl { [PreserveSig] @@ -98,6 +98,12 @@ public sealed partial class AvnButton : IAvnButton private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _clickSubscriptions = new(); private long _nextClickSubscriptionId; @@ -1375,7 +1381,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1421,7 +1427,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1455,6 +1461,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2384,6 +2528,24 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); foreach (var subscription in _clickSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnButtonSpinner.g.cs b/host/Generated/ObjectModel/IAvnButtonSpinner.g.cs index 341d034..99d6e78 100644 --- a/host/Generated/ObjectModel/IAvnButtonSpinner.g.cs +++ b/host/Generated/ObjectModel/IAvnButtonSpinner.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("121045E2-0F99-5036-A5F8-373B15BC6449")] +[Guid("BD9E8536-AD5B-51C7-B3E0-2DB521852F7C")] public partial interface IAvnButtonSpinner : IAvnSpinner { [PreserveSig] @@ -65,6 +65,12 @@ public sealed partial class AvnButtonSpinner : IAvnButtonSpinner private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _spinSubscriptions = new(); private long _nextSpinSubscriptionId; @@ -1342,7 +1348,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1388,7 +1394,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1422,6 +1428,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2242,6 +2386,24 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); foreach (var subscription in _spinSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnCalendar.g.cs b/host/Generated/ObjectModel/IAvnCalendar.g.cs index dd56e67..bb2aa3b 100644 --- a/host/Generated/ObjectModel/IAvnCalendar.g.cs +++ b/host/Generated/ObjectModel/IAvnCalendar.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("D1959E20-E08E-5A66-A63B-4BD714E609D7")] +[Guid("9FF3FEBD-5CC5-5DB1-94DA-E03D3D41D947")] public partial interface IAvnCalendar : IAvnTemplatedControl { [PreserveSig] @@ -143,6 +143,12 @@ public sealed partial class AvnCalendar : IAvnCalendar private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _selectedDatesChangedSubscriptions = new(); private long _nextSelectedDatesChangedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _displayDateChangedSubscriptions = new(); @@ -1424,7 +1430,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1470,7 +1476,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1504,6 +1510,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2574,6 +2718,24 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); foreach (var subscription in _selectedDatesChangedSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnCalendarDatePicker.g.cs b/host/Generated/ObjectModel/IAvnCalendarDatePicker.g.cs index 394a76f..38eff66 100644 --- a/host/Generated/ObjectModel/IAvnCalendarDatePicker.g.cs +++ b/host/Generated/ObjectModel/IAvnCalendarDatePicker.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("52B3592A-D20D-5C93-8D31-E0552A7445FE")] +[Guid("57923347-6143-59E6-BAFC-C745A8982164")] public partial interface IAvnCalendarDatePicker : IAvnTemplatedControl { [PreserveSig] @@ -179,6 +179,12 @@ public sealed partial class AvnCalendarDatePicker : IAvnCalendarDatePicker private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _calendarClosedSubscriptions = new(); private long _nextCalendarClosedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _calendarOpenedSubscriptions = new(); @@ -1462,7 +1468,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1508,7 +1514,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1542,6 +1548,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2814,6 +2958,24 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); foreach (var subscription in _calendarClosedSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnCanvas.g.cs b/host/Generated/ObjectModel/IAvnCanvas.g.cs index 4ddf3c1..80c5eec 100644 --- a/host/Generated/ObjectModel/IAvnCanvas.g.cs +++ b/host/Generated/ObjectModel/IAvnCanvas.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("CE4E710B-D3A5-5021-A343-758FA078E791")] +[Guid("C16EF1BD-5F4F-5C2C-A3EA-508C4B05BA3C")] public partial interface IAvnCanvas : IAvnPanel { } @@ -47,6 +47,12 @@ public sealed partial class AvnCanvas : IAvnCanvas private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; internal AvnCanvas(global::Avalonia.Controls.Canvas value) { @@ -1322,7 +1328,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1368,7 +1374,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1402,6 +1408,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetChildren(out IAvnControlList? value) { value = default; @@ -1541,5 +1685,23 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); } } diff --git a/host/Generated/ObjectModel/IAvnCarousel.g.cs b/host/Generated/ObjectModel/IAvnCarousel.g.cs index 288c26c..a827f5c 100644 --- a/host/Generated/ObjectModel/IAvnCarousel.g.cs +++ b/host/Generated/ObjectModel/IAvnCarousel.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("B496C390-157D-54E1-8415-E487E93DAF7D")] +[Guid("78C353C4-749B-55FC-A9EF-66608155B0DB")] public partial interface IAvnCarousel : IAvnSelectingItemsControl { [PreserveSig] @@ -68,6 +68,12 @@ public sealed partial class AvnCarousel : IAvnCarousel private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _selectionChangedSubscriptions = new(); private long _nextSelectionChangedSubscriptionId; @@ -1345,7 +1351,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1391,7 +1397,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1425,6 +1431,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2481,6 +2625,24 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); foreach (var subscription in _selectionChangedSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnCheckBox.g.cs b/host/Generated/ObjectModel/IAvnCheckBox.g.cs index 7062a3f..7b5b94f 100644 --- a/host/Generated/ObjectModel/IAvnCheckBox.g.cs +++ b/host/Generated/ObjectModel/IAvnCheckBox.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("AACDB973-AF3D-5BA5-A094-635178EF2C2E")] +[Guid("C4E191D8-29FB-5623-AF97-E3AAD950E27B")] public partial interface IAvnCheckBox : IAvnToggleButton { } @@ -47,6 +47,12 @@ public sealed partial class AvnCheckBox : IAvnCheckBox private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _clickSubscriptions = new(); private long _nextClickSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _isCheckedChangedSubscriptions = new(); @@ -1326,7 +1332,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1372,7 +1378,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1406,6 +1412,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2443,6 +2587,24 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); foreach (var subscription in _clickSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnComboBox.g.cs b/host/Generated/ObjectModel/IAvnComboBox.g.cs index 49a97ff..72f9a6f 100644 --- a/host/Generated/ObjectModel/IAvnComboBox.g.cs +++ b/host/Generated/ObjectModel/IAvnComboBox.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("C05FA67D-1BEE-51A8-9367-0300AA1CAE23")] +[Guid("EEBBD41C-3704-5BC1-BB31-E87EF407CB79")] public partial interface IAvnComboBox : IAvnSelectingItemsControl { [PreserveSig] @@ -107,6 +107,12 @@ public sealed partial class AvnComboBox : IAvnComboBox private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _selectionChangedSubscriptions = new(); private long _nextSelectionChangedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _dropDownClosedSubscriptions = new(); @@ -1388,7 +1394,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1434,7 +1440,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1468,6 +1474,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2756,6 +2900,24 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); foreach (var subscription in _selectionChangedSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnComboBoxItem.g.cs b/host/Generated/ObjectModel/IAvnComboBoxItem.g.cs index e6eada4..af197d4 100644 --- a/host/Generated/ObjectModel/IAvnComboBoxItem.g.cs +++ b/host/Generated/ObjectModel/IAvnComboBoxItem.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("4AF5334E-4FEC-5F97-84F0-CD61FD0C6B88")] +[Guid("66D70CA8-4E9B-5BD6-9583-82595161CB34")] public partial interface IAvnComboBoxItem : IAvnListBoxItem { } @@ -47,6 +47,12 @@ public sealed partial class AvnComboBoxItem : IAvnComboBoxItem private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; internal AvnComboBoxItem(global::Avalonia.Controls.ComboBoxItem value) { @@ -1322,7 +1328,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1368,7 +1374,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1402,6 +1408,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2083,5 +2227,23 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); } } diff --git a/host/Generated/ObjectModel/IAvnCommandBar.g.cs b/host/Generated/ObjectModel/IAvnCommandBar.g.cs index fa7fdf3..9ad9a49 100644 --- a/host/Generated/ObjectModel/IAvnCommandBar.g.cs +++ b/host/Generated/ObjectModel/IAvnCommandBar.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("355E12ED-4932-5C4C-8AC1-AA74B666B584")] +[Guid("180E1033-DD01-5433-A491-B2049D719449")] public partial interface IAvnCommandBar : IAvnTemplatedControl { [PreserveSig] @@ -149,6 +149,12 @@ public sealed partial class AvnCommandBar : IAvnCommandBar private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _openingSubscriptions = new(); private long _nextOpeningSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _openedSubscriptions = new(); @@ -1432,7 +1438,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1478,7 +1484,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1512,6 +1518,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2627,6 +2771,24 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); foreach (var subscription in _openingSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnCommandBarButton.g.cs b/host/Generated/ObjectModel/IAvnCommandBarButton.g.cs index f244741..d148e4a 100644 --- a/host/Generated/ObjectModel/IAvnCommandBarButton.g.cs +++ b/host/Generated/ObjectModel/IAvnCommandBarButton.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("3A7F177E-FB8E-5893-B574-99ACD4CBC8B5")] +[Guid("259356D2-8840-5531-9427-7FD0B9707AC7")] public partial interface IAvnCommandBarButton : IAvnButton { [PreserveSig] @@ -83,6 +83,12 @@ public sealed partial class AvnCommandBarButton : IAvnCommandBarButton private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _clickSubscriptions = new(); private long _nextClickSubscriptionId; @@ -1360,7 +1366,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1406,7 +1412,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1440,6 +1446,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2555,6 +2699,24 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); foreach (var subscription in _clickSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnCommandBarSeparator.g.cs b/host/Generated/ObjectModel/IAvnCommandBarSeparator.g.cs index 209bd86..1be8e4d 100644 --- a/host/Generated/ObjectModel/IAvnCommandBarSeparator.g.cs +++ b/host/Generated/ObjectModel/IAvnCommandBarSeparator.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("21D4AA3D-ADFF-5CC6-9E76-EA1FBBD11C33")] +[Guid("3438DF70-F2D1-5474-A288-D97CCEACC9F9")] public partial interface IAvnCommandBarSeparator : IAvnSeparator { [PreserveSig] @@ -59,6 +59,12 @@ public sealed partial class AvnCommandBarSeparator : IAvnCommandBarSeparator private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; internal AvnCommandBarSeparator(global::Avalonia.Controls.CommandBarSeparator value) { @@ -1334,7 +1340,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1380,7 +1386,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1414,6 +1420,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2002,5 +2146,23 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); } } diff --git a/host/Generated/ObjectModel/IAvnCommandBarToggleButton.g.cs b/host/Generated/ObjectModel/IAvnCommandBarToggleButton.g.cs index 04847f3..8d53fd4 100644 --- a/host/Generated/ObjectModel/IAvnCommandBarToggleButton.g.cs +++ b/host/Generated/ObjectModel/IAvnCommandBarToggleButton.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("28AA86DE-6253-5D07-964D-23785552FB86")] +[Guid("97BD5478-2731-5994-9427-4A6ECB9EE04B")] public partial interface IAvnCommandBarToggleButton : IAvnToggleButton { [PreserveSig] @@ -83,6 +83,12 @@ public sealed partial class AvnCommandBarToggleButton : IAvnCommandBarToggleButt private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _clickSubscriptions = new(); private long _nextClickSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _isCheckedChangedSubscriptions = new(); @@ -1362,7 +1368,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1408,7 +1414,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1442,6 +1448,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2665,6 +2809,24 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); foreach (var subscription in _clickSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnContentControl.g.cs b/host/Generated/ObjectModel/IAvnContentControl.g.cs index e30608c..18f63f4 100644 --- a/host/Generated/ObjectModel/IAvnContentControl.g.cs +++ b/host/Generated/ObjectModel/IAvnContentControl.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("71FA5ADD-9F62-5918-84D4-4B300B8EA192")] +[Guid("611A61DE-9AD0-5456-979A-EE525E5132CE")] public partial interface IAvnContentControl : IAvnTemplatedControl { [PreserveSig] @@ -71,6 +71,12 @@ public sealed partial class AvnContentControl : IAvnContentControl private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; internal AvnContentControl(global::Avalonia.Controls.ContentControl value) { @@ -1346,7 +1352,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1392,7 +1398,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1426,6 +1432,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2076,5 +2220,23 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); } } diff --git a/host/Generated/ObjectModel/IAvnContextMenu.g.cs b/host/Generated/ObjectModel/IAvnContextMenu.g.cs index de0d70a..d9ceb59 100644 --- a/host/Generated/ObjectModel/IAvnContextMenu.g.cs +++ b/host/Generated/ObjectModel/IAvnContextMenu.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("770B19A7-FB74-5BCA-B1DD-9E0EF124EFEE")] +[Guid("F63FBE8E-277B-531C-B3F5-E9A2CCEF11A8")] public partial interface IAvnContextMenu : IAvnMenuBase { [PreserveSig] @@ -122,6 +122,12 @@ public sealed partial class AvnContextMenu : IAvnContextMenu private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _selectionChangedSubscriptions = new(); private long _nextSelectionChangedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _openedSubscriptions = new(); @@ -1407,7 +1413,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1453,7 +1459,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1487,6 +1493,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2994,6 +3138,24 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); foreach (var subscription in _selectionChangedSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnControl.g.cs b/host/Generated/ObjectModel/IAvnControl.g.cs index 1965ce7..c2338bb 100644 --- a/host/Generated/ObjectModel/IAvnControl.g.cs +++ b/host/Generated/ObjectModel/IAvnControl.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("ABDFF81D-DB26-5BB7-9ACA-18353E6DB4D4")] +[Guid("E2F44292-89FA-5AFA-9294-FF2F26DB68CE")] public partial interface IAvnControl : IAvnStyledElement { [PreserveSig] @@ -157,6 +157,24 @@ public partial interface IAvnControl : IAvnStyledElement [PreserveSig] int UnadvisePointerExited(long subscriptionId); + [PreserveSig] + int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId); + + [PreserveSig] + int UnadvisePointerWheelChanged(long subscriptionId); + + [PreserveSig] + int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId); + + [PreserveSig] + int UnadviseTapped(long subscriptionId); + + [PreserveSig] + int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId); + + [PreserveSig] + int UnadviseDoubleTapped(long subscriptionId); + } [GeneratedComClass] @@ -194,6 +212,12 @@ public sealed partial class AvnControl : IAvnControl private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; internal AvnControl(global::Avalonia.Controls.Control value) { @@ -1469,7 +1493,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1515,7 +1539,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1549,6 +1573,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + private void ReleaseSubscriptions() { foreach (var subscription in _attachedToLogicalTreeSubscriptions.Values) @@ -1641,5 +1803,23 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); } } diff --git a/host/Generated/ObjectModel/IAvnControlDoubleTappedHandler.g.cs b/host/Generated/ObjectModel/IAvnControlDoubleTappedHandler.g.cs new file mode 100644 index 0000000..a2a5639 --- /dev/null +++ b/host/Generated/ObjectModel/IAvnControlDoubleTappedHandler.g.cs @@ -0,0 +1,14 @@ +// +#nullable enable +using System.Runtime.InteropServices; +using System.Runtime.InteropServices.Marshalling; + +namespace Avalonia.Host.Com; + +[GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] +[Guid("11D5E069-AEFD-566B-92CC-CDB483877C33")] +public partial interface IAvnControlDoubleTappedHandler +{ + [PreserveSig] + int Invoke(); +} diff --git a/host/Generated/ObjectModel/IAvnControlPointerEnteredHandler.g.cs b/host/Generated/ObjectModel/IAvnControlPointerEnteredHandler.g.cs index 4788397..c47215c 100644 --- a/host/Generated/ObjectModel/IAvnControlPointerEnteredHandler.g.cs +++ b/host/Generated/ObjectModel/IAvnControlPointerEnteredHandler.g.cs @@ -10,5 +10,5 @@ namespace Avalonia.Host.Com; public partial interface IAvnControlPointerEnteredHandler { [PreserveSig] - int Invoke(); + int Invoke(int KeyModifiers); } diff --git a/host/Generated/ObjectModel/IAvnControlPointerExitedHandler.g.cs b/host/Generated/ObjectModel/IAvnControlPointerExitedHandler.g.cs index b2accb1..9a49ab0 100644 --- a/host/Generated/ObjectModel/IAvnControlPointerExitedHandler.g.cs +++ b/host/Generated/ObjectModel/IAvnControlPointerExitedHandler.g.cs @@ -10,5 +10,5 @@ namespace Avalonia.Host.Com; public partial interface IAvnControlPointerExitedHandler { [PreserveSig] - int Invoke(); + int Invoke(int KeyModifiers); } diff --git a/host/Generated/ObjectModel/IAvnControlPointerWheelChangedHandler.g.cs b/host/Generated/ObjectModel/IAvnControlPointerWheelChangedHandler.g.cs new file mode 100644 index 0000000..cbe4a0a --- /dev/null +++ b/host/Generated/ObjectModel/IAvnControlPointerWheelChangedHandler.g.cs @@ -0,0 +1,14 @@ +// +#nullable enable +using System.Runtime.InteropServices; +using System.Runtime.InteropServices.Marshalling; + +namespace Avalonia.Host.Com; + +[GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] +[Guid("4318E60A-86C6-5142-8600-0D61AA20CE93")] +public partial interface IAvnControlPointerWheelChangedHandler +{ + [PreserveSig] + int Invoke(AvnVector Delta, int KeyModifiers); +} diff --git a/host/Generated/ObjectModel/IAvnControlTappedHandler.g.cs b/host/Generated/ObjectModel/IAvnControlTappedHandler.g.cs new file mode 100644 index 0000000..6eac2d3 --- /dev/null +++ b/host/Generated/ObjectModel/IAvnControlTappedHandler.g.cs @@ -0,0 +1,14 @@ +// +#nullable enable +using System.Runtime.InteropServices; +using System.Runtime.InteropServices.Marshalling; + +namespace Avalonia.Host.Com; + +[GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] +[Guid("7784D53F-FAEE-5089-8844-C9F5CC3E8632")] +public partial interface IAvnControlTappedHandler +{ + [PreserveSig] + int Invoke(int KeyModifiers); +} diff --git a/host/Generated/ObjectModel/IAvnDatePicker.g.cs b/host/Generated/ObjectModel/IAvnDatePicker.g.cs index fb8e18c..c760262 100644 --- a/host/Generated/ObjectModel/IAvnDatePicker.g.cs +++ b/host/Generated/ObjectModel/IAvnDatePicker.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("1441AD02-88FD-5BCE-9A23-18607667FAA3")] +[Guid("DF809CB0-67FA-58E8-920C-1B9574A7B369")] public partial interface IAvnDatePicker : IAvnTemplatedControl { [PreserveSig] @@ -116,6 +116,12 @@ public sealed partial class AvnDatePicker : IAvnDatePicker private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _selectedDateChangedSubscriptions = new(); private long _nextSelectedDateChangedSubscriptionId; @@ -1393,7 +1399,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1439,7 +1445,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1473,6 +1479,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2370,6 +2514,24 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); foreach (var subscription in _selectedDateChangedSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnDecorator.g.cs b/host/Generated/ObjectModel/IAvnDecorator.g.cs index 2b112fc..ada46d3 100644 --- a/host/Generated/ObjectModel/IAvnDecorator.g.cs +++ b/host/Generated/ObjectModel/IAvnDecorator.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("73D7A8D4-2B75-5F19-958F-DE0D15AC3079")] +[Guid("C3E4D085-4977-566E-B843-75D86B43C2C9")] public partial interface IAvnDecorator : IAvnControl { [PreserveSig] @@ -59,6 +59,12 @@ public sealed partial class AvnDecorator : IAvnDecorator private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; internal AvnDecorator(global::Avalonia.Controls.Decorator value) { @@ -1334,7 +1340,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1380,7 +1386,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1414,6 +1420,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetChild(out IAvnControl? value) { value = default; @@ -1568,5 +1712,23 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); } } diff --git a/host/Generated/ObjectModel/IAvnDockPanel.g.cs b/host/Generated/ObjectModel/IAvnDockPanel.g.cs index daf70b8..c2a577d 100644 --- a/host/Generated/ObjectModel/IAvnDockPanel.g.cs +++ b/host/Generated/ObjectModel/IAvnDockPanel.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("36376ACD-9F74-59B8-ADCA-CAE96F5E70B9")] +[Guid("8D7E3210-853F-5D42-AE5B-A5915BD53928")] public partial interface IAvnDockPanel : IAvnPanel { [PreserveSig] @@ -65,6 +65,12 @@ public sealed partial class AvnDockPanel : IAvnDockPanel private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; internal AvnDockPanel(global::Avalonia.Controls.DockPanel value) { @@ -1340,7 +1346,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1386,7 +1392,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1420,6 +1426,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetChildren(out IAvnControlList? value) { value = default; @@ -1652,5 +1796,23 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); } } diff --git a/host/Generated/ObjectModel/IAvnDropDownButton.g.cs b/host/Generated/ObjectModel/IAvnDropDownButton.g.cs index aa9d87d..6116251 100644 --- a/host/Generated/ObjectModel/IAvnDropDownButton.g.cs +++ b/host/Generated/ObjectModel/IAvnDropDownButton.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("85F27971-CEB0-528D-8D3B-C0AB62E11FDA")] +[Guid("BCBBD462-BE4D-517B-96B1-BDF762CA9B4B")] public partial interface IAvnDropDownButton : IAvnButton { } @@ -47,6 +47,12 @@ public sealed partial class AvnDropDownButton : IAvnDropDownButton private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _clickSubscriptions = new(); private long _nextClickSubscriptionId; @@ -1324,7 +1330,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1370,7 +1376,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1404,6 +1410,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2333,6 +2477,24 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); foreach (var subscription in _clickSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnEllipse.g.cs b/host/Generated/ObjectModel/IAvnEllipse.g.cs index f1646d0..dfa4228 100644 --- a/host/Generated/ObjectModel/IAvnEllipse.g.cs +++ b/host/Generated/ObjectModel/IAvnEllipse.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("2AA5065D-5B4C-542B-B6CC-A230A576E4F1")] +[Guid("ECCCD4F8-7656-5346-B562-E826C27E039E")] public partial interface IAvnEllipse : IAvnShape { } @@ -47,6 +47,12 @@ public sealed partial class AvnEllipse : IAvnEllipse private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; internal AvnEllipse(global::Avalonia.Controls.Shapes.Ellipse value) { @@ -1322,7 +1328,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1368,7 +1374,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1402,6 +1408,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetFill(out IAvnBrush? value) { value = default; @@ -1773,5 +1917,23 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); } } diff --git a/host/Generated/ObjectModel/IAvnExpander.g.cs b/host/Generated/ObjectModel/IAvnExpander.g.cs index 16be043..e5374d7 100644 --- a/host/Generated/ObjectModel/IAvnExpander.g.cs +++ b/host/Generated/ObjectModel/IAvnExpander.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("5655BDB3-EF10-56D0-BE24-59FC88350939")] +[Guid("DFCCCA83-1ADA-5620-8230-0C1D66507F12")] public partial interface IAvnExpander : IAvnHeaderedContentControl { [PreserveSig] @@ -83,6 +83,12 @@ public sealed partial class AvnExpander : IAvnExpander private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _collapsedSubscriptions = new(); private long _nextCollapsedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _collapsingSubscriptions = new(); @@ -1366,7 +1372,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1412,7 +1418,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1446,6 +1452,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2408,6 +2552,24 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); foreach (var subscription in _collapsedSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnFlexPanel.g.cs b/host/Generated/ObjectModel/IAvnFlexPanel.g.cs index 9c728ef..d88a319 100644 --- a/host/Generated/ObjectModel/IAvnFlexPanel.g.cs +++ b/host/Generated/ObjectModel/IAvnFlexPanel.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("5E186F8A-D1FB-5989-A496-63982A999752")] +[Guid("1CC87ECC-363C-5A07-9023-AEA80DBEF8B0")] public partial interface IAvnFlexPanel : IAvnPanel { [PreserveSig] @@ -89,6 +89,12 @@ public sealed partial class AvnFlexPanel : IAvnFlexPanel private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; internal AvnFlexPanel(global::Avalonia.Controls.FlexPanel value) { @@ -1364,7 +1370,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1410,7 +1416,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1444,6 +1450,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetChildren(out IAvnControlList? value) { value = default; @@ -1800,5 +1944,23 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); } } diff --git a/host/Generated/ObjectModel/IAvnGrid.g.cs b/host/Generated/ObjectModel/IAvnGrid.g.cs index 9e7fd84..c7c1a5e 100644 --- a/host/Generated/ObjectModel/IAvnGrid.g.cs +++ b/host/Generated/ObjectModel/IAvnGrid.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("63034BE5-179A-5196-8338-F10785C6DDDD")] +[Guid("887286EA-8097-52EB-9CEF-FA1DA7828D0F")] public partial interface IAvnGrid : IAvnPanel { [PreserveSig] @@ -77,6 +77,12 @@ public sealed partial class AvnGrid : IAvnGrid private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; internal AvnGrid(global::Avalonia.Controls.Grid value) { @@ -1352,7 +1358,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1398,7 +1404,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1432,6 +1438,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetChildren(out IAvnControlList? value) { value = default; @@ -1726,5 +1870,23 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); } } diff --git a/host/Generated/ObjectModel/IAvnGridSplitter.g.cs b/host/Generated/ObjectModel/IAvnGridSplitter.g.cs index 0a360f6..44ef041 100644 --- a/host/Generated/ObjectModel/IAvnGridSplitter.g.cs +++ b/host/Generated/ObjectModel/IAvnGridSplitter.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("93629BF6-E409-5BF3-BB49-454A884550E3")] +[Guid("9D81E579-275C-53A1-8C3B-91F10E2D8403")] public partial interface IAvnGridSplitter : IAvnThumb { [PreserveSig] @@ -77,6 +77,12 @@ public sealed partial class AvnGridSplitter : IAvnGridSplitter private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _dragStartedSubscriptions = new(); private long _nextDragStartedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _dragDeltaSubscriptions = new(); @@ -1358,7 +1364,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1404,7 +1410,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1438,6 +1444,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2257,6 +2401,24 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); foreach (var subscription in _dragStartedSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnGroupBox.g.cs b/host/Generated/ObjectModel/IAvnGroupBox.g.cs index 3a216f9..dc0d422 100644 --- a/host/Generated/ObjectModel/IAvnGroupBox.g.cs +++ b/host/Generated/ObjectModel/IAvnGroupBox.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("B2A2A0DC-533F-50D6-B486-8AFB44B0E82D")] +[Guid("F8356E2B-46EA-58CC-8074-789BA42F0C79")] public partial interface IAvnGroupBox : IAvnHeaderedContentControl { } @@ -47,6 +47,12 @@ public sealed partial class AvnGroupBox : IAvnGroupBox private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; internal AvnGroupBox(global::Avalonia.Controls.GroupBox value) { @@ -1322,7 +1328,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1368,7 +1374,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1402,6 +1408,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2114,5 +2258,23 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); } } diff --git a/host/Generated/ObjectModel/IAvnHeaderedContentControl.g.cs b/host/Generated/ObjectModel/IAvnHeaderedContentControl.g.cs index e9c4bf8..1b7080b 100644 --- a/host/Generated/ObjectModel/IAvnHeaderedContentControl.g.cs +++ b/host/Generated/ObjectModel/IAvnHeaderedContentControl.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("C1825F55-DE82-5447-93A8-4A55F63BA652")] +[Guid("D8948145-837B-5DC3-A685-14DF38167A93")] public partial interface IAvnHeaderedContentControl : IAvnContentControl { [PreserveSig] @@ -59,6 +59,12 @@ public sealed partial class AvnHeaderedContentControl : IAvnHeaderedContentContr private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; internal AvnHeaderedContentControl(global::Avalonia.Controls.Primitives.HeaderedContentControl value) { @@ -1334,7 +1340,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1380,7 +1386,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1414,6 +1420,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2126,5 +2270,23 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); } } diff --git a/host/Generated/ObjectModel/IAvnHeaderedItemsControl.g.cs b/host/Generated/ObjectModel/IAvnHeaderedItemsControl.g.cs index 6a03df2..7e9b69c 100644 --- a/host/Generated/ObjectModel/IAvnHeaderedItemsControl.g.cs +++ b/host/Generated/ObjectModel/IAvnHeaderedItemsControl.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("B6281359-24AB-5280-8B2C-762A53529C27")] +[Guid("D25B235E-D49F-55B2-ADF8-90A2BFCB96AB")] public partial interface IAvnHeaderedItemsControl : IAvnItemsControl { [PreserveSig] @@ -59,6 +59,12 @@ public sealed partial class AvnHeaderedItemsControl : IAvnHeaderedItemsControl private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; internal AvnHeaderedItemsControl(global::Avalonia.Controls.Primitives.HeaderedItemsControl value) { @@ -1334,7 +1340,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1380,7 +1386,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1414,6 +1420,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2190,5 +2334,23 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); } } diff --git a/host/Generated/ObjectModel/IAvnHeaderedSelectingItemsControl.g.cs b/host/Generated/ObjectModel/IAvnHeaderedSelectingItemsControl.g.cs index d73674a..8c0ed1c 100644 --- a/host/Generated/ObjectModel/IAvnHeaderedSelectingItemsControl.g.cs +++ b/host/Generated/ObjectModel/IAvnHeaderedSelectingItemsControl.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("8640C1BF-2502-5E21-B861-1ECBD1918FD1")] +[Guid("BA5CD52E-ECDF-5379-AC86-5897FA853C60")] public partial interface IAvnHeaderedSelectingItemsControl : IAvnSelectingItemsControl { [PreserveSig] @@ -59,6 +59,12 @@ public sealed partial class AvnHeaderedSelectingItemsControl : IAvnHeaderedSelec private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _selectionChangedSubscriptions = new(); private long _nextSelectionChangedSubscriptionId; @@ -1336,7 +1342,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1382,7 +1388,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1416,6 +1422,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2426,6 +2570,24 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); foreach (var subscription in _selectionChangedSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnHyperlinkButton.g.cs b/host/Generated/ObjectModel/IAvnHyperlinkButton.g.cs index 049efb3..5eb4737 100644 --- a/host/Generated/ObjectModel/IAvnHyperlinkButton.g.cs +++ b/host/Generated/ObjectModel/IAvnHyperlinkButton.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("CCCE2078-E616-51A8-A55F-77D316F2C9AB")] +[Guid("59F93515-012E-5F89-9998-87E5947034C1")] public partial interface IAvnHyperlinkButton : IAvnButton { [PreserveSig] @@ -59,6 +59,12 @@ public sealed partial class AvnHyperlinkButton : IAvnHyperlinkButton private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _clickSubscriptions = new(); private long _nextClickSubscriptionId; @@ -1336,7 +1342,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1382,7 +1388,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1416,6 +1422,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2407,6 +2551,24 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); foreach (var subscription in _clickSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnIconElement.g.cs b/host/Generated/ObjectModel/IAvnIconElement.g.cs index 36fcefc..3a82209 100644 --- a/host/Generated/ObjectModel/IAvnIconElement.g.cs +++ b/host/Generated/ObjectModel/IAvnIconElement.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("0A1BCD24-9DC9-55DB-B2AA-930041185E3B")] +[Guid("21137537-05A7-5CD9-8FED-59DACA086407")] public partial interface IAvnIconElement : IAvnTemplatedControl { } @@ -47,6 +47,12 @@ public sealed partial class AvnIconElement : IAvnIconElement private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; internal AvnIconElement(global::Avalonia.Controls.IconElement value) { @@ -1322,7 +1328,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1368,7 +1374,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1402,6 +1408,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -1928,5 +2072,23 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); } } diff --git a/host/Generated/ObjectModel/IAvnImage.g.cs b/host/Generated/ObjectModel/IAvnImage.g.cs index c285fe1..33c16fe 100644 --- a/host/Generated/ObjectModel/IAvnImage.g.cs +++ b/host/Generated/ObjectModel/IAvnImage.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("4A556F2B-827F-5748-B7CD-C48452727A29")] +[Guid("9CBC9E3A-098A-51D7-9647-E20615058287")] public partial interface IAvnImage : IAvnControl { [PreserveSig] @@ -71,6 +71,12 @@ public sealed partial class AvnImage : IAvnImage private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; internal AvnImage(global::Avalonia.Controls.Image value) { @@ -1346,7 +1352,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1392,7 +1398,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1426,6 +1432,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetSource(out string? value) { value = default; @@ -1642,5 +1786,23 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); } } diff --git a/host/Generated/ObjectModel/IAvnItemsControl.g.cs b/host/Generated/ObjectModel/IAvnItemsControl.g.cs index 9538344..6590fbf 100644 --- a/host/Generated/ObjectModel/IAvnItemsControl.g.cs +++ b/host/Generated/ObjectModel/IAvnItemsControl.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("B656735C-EECA-50CC-A87D-B4362F7E045A")] +[Guid("45705E13-A906-50E2-A0D8-DCC20585FDA6")] public partial interface IAvnItemsControl : IAvnTemplatedControl { [PreserveSig] @@ -83,6 +83,12 @@ public sealed partial class AvnItemsControl : IAvnItemsControl private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; internal AvnItemsControl(global::Avalonia.Controls.ItemsControl value) { @@ -1358,7 +1364,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1404,7 +1410,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1438,6 +1444,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2152,5 +2296,23 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); } } diff --git a/host/Generated/ObjectModel/IAvnLabel.g.cs b/host/Generated/ObjectModel/IAvnLabel.g.cs index 414e5b6..21842b7 100644 --- a/host/Generated/ObjectModel/IAvnLabel.g.cs +++ b/host/Generated/ObjectModel/IAvnLabel.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("A1ACC10D-5788-5CFF-9D99-798770898E14")] +[Guid("73C1CCE5-8DB6-5A69-B8FB-AC639528AE72")] public partial interface IAvnLabel : IAvnContentControl { [PreserveSig] @@ -53,6 +53,12 @@ public sealed partial class AvnLabel : IAvnLabel private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; internal AvnLabel(global::Avalonia.Controls.Label value) { @@ -1328,7 +1334,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1374,7 +1380,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1408,6 +1414,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2089,5 +2233,23 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); } } diff --git a/host/Generated/ObjectModel/IAvnLayoutTransformControl.g.cs b/host/Generated/ObjectModel/IAvnLayoutTransformControl.g.cs index 0730bba..88a51ab 100644 --- a/host/Generated/ObjectModel/IAvnLayoutTransformControl.g.cs +++ b/host/Generated/ObjectModel/IAvnLayoutTransformControl.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("5295C33E-5E49-5425-B06D-D0A37D4AAE68")] +[Guid("4CF77BF7-4ED9-59F6-98C0-AE9682B3ADFE")] public partial interface IAvnLayoutTransformControl : IAvnDecorator { [PreserveSig] @@ -53,6 +53,12 @@ public sealed partial class AvnLayoutTransformControl : IAvnLayoutTransformContr private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; internal AvnLayoutTransformControl(global::Avalonia.Controls.LayoutTransformControl value) { @@ -1328,7 +1334,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1374,7 +1380,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1408,6 +1414,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetChild(out IAvnControl? value) { value = default; @@ -1593,5 +1737,23 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); } } diff --git a/host/Generated/ObjectModel/IAvnLine.g.cs b/host/Generated/ObjectModel/IAvnLine.g.cs index 017f795..9fcc92c 100644 --- a/host/Generated/ObjectModel/IAvnLine.g.cs +++ b/host/Generated/ObjectModel/IAvnLine.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("12A0F43A-9EAB-5F5B-96EF-D91E25F31B78")] +[Guid("C3F76A13-4998-5B6B-AD06-EFB5E4B9EC61")] public partial interface IAvnLine : IAvnShape { [PreserveSig] @@ -59,6 +59,12 @@ public sealed partial class AvnLine : IAvnLine private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; internal AvnLine(global::Avalonia.Controls.Shapes.Line value) { @@ -1334,7 +1340,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1380,7 +1386,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1414,6 +1420,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetFill(out IAvnBrush? value) { value = default; @@ -1847,5 +1991,23 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); } } diff --git a/host/Generated/ObjectModel/IAvnListBox.g.cs b/host/Generated/ObjectModel/IAvnListBox.g.cs index de553f8..52c2a47 100644 --- a/host/Generated/ObjectModel/IAvnListBox.g.cs +++ b/host/Generated/ObjectModel/IAvnListBox.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("6D07BC84-D7C4-5226-A69E-AAF3EE1663A9")] +[Guid("C45989AF-4038-524F-885B-E57185B22159")] public partial interface IAvnListBox : IAvnSelectingItemsControl { [PreserveSig] @@ -59,6 +59,12 @@ public sealed partial class AvnListBox : IAvnListBox private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _selectionChangedSubscriptions = new(); private long _nextSelectionChangedSubscriptionId; @@ -1336,7 +1342,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1382,7 +1388,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1416,6 +1422,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2425,6 +2569,24 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); foreach (var subscription in _selectionChangedSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnListBoxItem.g.cs b/host/Generated/ObjectModel/IAvnListBoxItem.g.cs index b6ab853..c86e3de 100644 --- a/host/Generated/ObjectModel/IAvnListBoxItem.g.cs +++ b/host/Generated/ObjectModel/IAvnListBoxItem.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("4BB2FF76-E252-53F1-8AE0-E32A2C1BBE76")] +[Guid("D51DAD4D-C109-5ABD-84B4-F3C6007F6133")] public partial interface IAvnListBoxItem : IAvnContentControl { [PreserveSig] @@ -53,6 +53,12 @@ public sealed partial class AvnListBoxItem : IAvnListBoxItem private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; internal AvnListBoxItem(global::Avalonia.Controls.ListBoxItem value) { @@ -1328,7 +1334,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1374,7 +1380,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1408,6 +1414,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2089,5 +2233,23 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); } } diff --git a/host/Generated/ObjectModel/IAvnMaskedTextBox.g.cs b/host/Generated/ObjectModel/IAvnMaskedTextBox.g.cs index 3b705d3..41e0e8b 100644 --- a/host/Generated/ObjectModel/IAvnMaskedTextBox.g.cs +++ b/host/Generated/ObjectModel/IAvnMaskedTextBox.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("E621C745-A587-5BDD-A1C5-8F498B8636C5")] +[Guid("ACF377B4-D865-5245-8CFE-AE0461EF95FB")] public partial interface IAvnMaskedTextBox : IAvnTextBox { [PreserveSig] @@ -89,6 +89,12 @@ public sealed partial class AvnMaskedTextBox : IAvnMaskedTextBox private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _copyingToClipboardSubscriptions = new(); private long _nextCopyingToClipboardSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _cuttingToClipboardSubscriptions = new(); @@ -1374,7 +1380,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1420,7 +1426,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1454,6 +1460,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -3651,6 +3795,24 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); foreach (var subscription in _copyingToClipboardSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnMenu.g.cs b/host/Generated/ObjectModel/IAvnMenu.g.cs index c2f9d55..e39815d 100644 --- a/host/Generated/ObjectModel/IAvnMenu.g.cs +++ b/host/Generated/ObjectModel/IAvnMenu.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("0220FC0F-FA60-5173-9E8B-AD96351B3C6D")] +[Guid("71FC2F34-4C1D-591E-A567-AB3151C77785")] public partial interface IAvnMenu : IAvnMenuBase { } @@ -47,6 +47,12 @@ public sealed partial class AvnMenu : IAvnMenu private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _selectionChangedSubscriptions = new(); private long _nextSelectionChangedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _openedSubscriptions = new(); @@ -1328,7 +1334,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1374,7 +1380,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1408,6 +1414,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2494,6 +2638,24 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); foreach (var subscription in _selectionChangedSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnMenuBase.g.cs b/host/Generated/ObjectModel/IAvnMenuBase.g.cs index 698300c..0fdeb1b 100644 --- a/host/Generated/ObjectModel/IAvnMenuBase.g.cs +++ b/host/Generated/ObjectModel/IAvnMenuBase.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("3B780634-1A42-576F-A587-EE11F0B5C8E8")] +[Guid("1E92B6FA-9790-5135-8AC6-A566A0EAD414")] public partial interface IAvnMenuBase : IAvnSelectingItemsControl { [PreserveSig] @@ -68,6 +68,12 @@ public sealed partial class AvnMenuBase : IAvnMenuBase private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _selectionChangedSubscriptions = new(); private long _nextSelectionChangedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _openedSubscriptions = new(); @@ -1349,7 +1355,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1395,7 +1401,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1429,6 +1435,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2515,6 +2659,24 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); foreach (var subscription in _selectionChangedSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnMenuItem.g.cs b/host/Generated/ObjectModel/IAvnMenuItem.g.cs index 8ebd5e3..605f56f 100644 --- a/host/Generated/ObjectModel/IAvnMenuItem.g.cs +++ b/host/Generated/ObjectModel/IAvnMenuItem.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("B08CE5EB-F84F-5466-BB66-986E0971333B")] +[Guid("15CE4E5D-E0E7-5356-ACFF-D742B7280B97")] public partial interface IAvnMenuItem : IAvnHeaderedSelectingItemsControl { [PreserveSig] @@ -137,6 +137,12 @@ public sealed partial class AvnMenuItem : IAvnMenuItem private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _selectionChangedSubscriptions = new(); private long _nextSelectionChangedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _clickSubscriptions = new(); @@ -1418,7 +1424,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1464,7 +1470,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1498,6 +1504,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -3003,6 +3147,24 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); foreach (var subscription in _selectionChangedSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnNotificationCard.g.cs b/host/Generated/ObjectModel/IAvnNotificationCard.g.cs index e0204a7..af1386c 100644 --- a/host/Generated/ObjectModel/IAvnNotificationCard.g.cs +++ b/host/Generated/ObjectModel/IAvnNotificationCard.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("9E575724-617A-54E5-BF78-B6C68E5F4343")] +[Guid("DB52E2D8-CC48-5F72-B220-52BDF16BC055")] public partial interface IAvnNotificationCard : IAvnContentControl { [PreserveSig] @@ -71,6 +71,12 @@ public sealed partial class AvnNotificationCard : IAvnNotificationCard private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _notificationClosedSubscriptions = new(); private long _nextNotificationClosedSubscriptionId; @@ -1348,7 +1354,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1394,7 +1400,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1428,6 +1434,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2217,6 +2361,24 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); foreach (var subscription in _notificationClosedSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnNumericUpDown.g.cs b/host/Generated/ObjectModel/IAvnNumericUpDown.g.cs index ecf61cc..725af26 100644 --- a/host/Generated/ObjectModel/IAvnNumericUpDown.g.cs +++ b/host/Generated/ObjectModel/IAvnNumericUpDown.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("63426B0F-1A76-51A9-9E98-343D2E69C156")] +[Guid("1082FB46-8635-515E-822C-12629B6D25F8")] public partial interface IAvnNumericUpDown : IAvnTemplatedControl { [PreserveSig] @@ -167,6 +167,12 @@ public sealed partial class AvnNumericUpDown : IAvnNumericUpDown private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _spinnedSubscriptions = new(); private long _nextSpinnedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _valueChangedSubscriptions = new(); @@ -1446,7 +1452,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1492,7 +1498,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1526,6 +1532,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2702,6 +2846,24 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); foreach (var subscription in _spinnedSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnPanel.g.cs b/host/Generated/ObjectModel/IAvnPanel.g.cs index 8807412..a197906 100644 --- a/host/Generated/ObjectModel/IAvnPanel.g.cs +++ b/host/Generated/ObjectModel/IAvnPanel.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("96AD03DD-F271-537E-A933-B7C75D63AC0C")] +[Guid("E6C6B17E-9747-5739-B255-52E737A7A2A2")] public partial interface IAvnPanel : IAvnControl { [PreserveSig] @@ -56,6 +56,12 @@ public sealed partial class AvnPanel : IAvnPanel private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; internal AvnPanel(global::Avalonia.Controls.Panel value) { @@ -1331,7 +1337,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1377,7 +1383,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1411,6 +1417,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetChildren(out IAvnControlList? value) { value = default; @@ -1550,5 +1694,23 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); } } diff --git a/host/Generated/ObjectModel/IAvnPath.g.cs b/host/Generated/ObjectModel/IAvnPath.g.cs index 6eae677..b88cc46 100644 --- a/host/Generated/ObjectModel/IAvnPath.g.cs +++ b/host/Generated/ObjectModel/IAvnPath.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("E5A71060-50E1-5554-81B4-030898F293CF")] +[Guid("708CD7FD-817B-56CB-AE5C-C74F67CAD4F6")] public partial interface IAvnPath : IAvnShape { [PreserveSig] @@ -53,6 +53,12 @@ public sealed partial class AvnPath : IAvnPath private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; internal AvnPath(global::Avalonia.Controls.Shapes.Path value) { @@ -1328,7 +1334,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1374,7 +1380,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1408,6 +1414,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetFill(out IAvnBrush? value) { value = default; @@ -1810,5 +1954,23 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); } } diff --git a/host/Generated/ObjectModel/IAvnPathIcon.g.cs b/host/Generated/ObjectModel/IAvnPathIcon.g.cs index 9478a05..c8a2cda 100644 --- a/host/Generated/ObjectModel/IAvnPathIcon.g.cs +++ b/host/Generated/ObjectModel/IAvnPathIcon.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("885577A3-AC29-51D9-ACB5-D30ABBB484FC")] +[Guid("6D274452-1819-559D-BB43-52E68AB64E10")] public partial interface IAvnPathIcon : IAvnIconElement { [PreserveSig] @@ -53,6 +53,12 @@ public sealed partial class AvnPathIcon : IAvnPathIcon private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; internal AvnPathIcon(global::Avalonia.Controls.PathIcon value) { @@ -1328,7 +1334,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1374,7 +1380,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1408,6 +1414,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -1965,5 +2109,23 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); } } diff --git a/host/Generated/ObjectModel/IAvnPipsPager.g.cs b/host/Generated/ObjectModel/IAvnPipsPager.g.cs index 57f55c3..a328077 100644 --- a/host/Generated/ObjectModel/IAvnPipsPager.g.cs +++ b/host/Generated/ObjectModel/IAvnPipsPager.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("6C3C0A8B-3237-50C1-8DF3-5171EDF2A1B8")] +[Guid("FBFAC5E1-FD39-56C8-8208-7C0E0AFA68CD")] public partial interface IAvnPipsPager : IAvnTemplatedControl { [PreserveSig] @@ -89,6 +89,12 @@ public sealed partial class AvnPipsPager : IAvnPipsPager private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _selectedIndexChangedSubscriptions = new(); private long _nextSelectedIndexChangedSubscriptionId; @@ -1366,7 +1372,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1412,7 +1418,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1446,6 +1452,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2204,6 +2348,24 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); foreach (var subscription in _selectedIndexChangedSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnPolygon.g.cs b/host/Generated/ObjectModel/IAvnPolygon.g.cs index a7e4a46..720db37 100644 --- a/host/Generated/ObjectModel/IAvnPolygon.g.cs +++ b/host/Generated/ObjectModel/IAvnPolygon.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("E706EC48-3CA1-5BEA-907E-460CA53B06BE")] +[Guid("4F93F9D8-08E6-56F7-A51B-073928795D7D")] public partial interface IAvnPolygon : IAvnShape { [PreserveSig] @@ -59,6 +59,12 @@ public sealed partial class AvnPolygon : IAvnPolygon private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; internal AvnPolygon(global::Avalonia.Controls.Shapes.Polygon value) { @@ -1334,7 +1340,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1380,7 +1386,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1414,6 +1420,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetFill(out IAvnBrush? value) { value = default; @@ -1847,5 +1991,23 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); } } diff --git a/host/Generated/ObjectModel/IAvnPolyline.g.cs b/host/Generated/ObjectModel/IAvnPolyline.g.cs index f438f17..b4cb827 100644 --- a/host/Generated/ObjectModel/IAvnPolyline.g.cs +++ b/host/Generated/ObjectModel/IAvnPolyline.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("035DBEE9-DC4D-57B6-9140-DD59B208A9DC")] +[Guid("2DBA0D61-C35B-5D12-82A7-555EDA620BC5")] public partial interface IAvnPolyline : IAvnShape { [PreserveSig] @@ -59,6 +59,12 @@ public sealed partial class AvnPolyline : IAvnPolyline private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; internal AvnPolyline(global::Avalonia.Controls.Shapes.Polyline value) { @@ -1334,7 +1340,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1380,7 +1386,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1414,6 +1420,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetFill(out IAvnBrush? value) { value = default; @@ -1847,5 +1991,23 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); } } diff --git a/host/Generated/ObjectModel/IAvnPopup.g.cs b/host/Generated/ObjectModel/IAvnPopup.g.cs index 0541c7d..7e861ab 100644 --- a/host/Generated/ObjectModel/IAvnPopup.g.cs +++ b/host/Generated/ObjectModel/IAvnPopup.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("6CCB1B6A-EC3B-5625-A604-97B56FF5B86F")] +[Guid("30B75D6F-4E12-505C-8C73-E02A5FCDB356")] public partial interface IAvnPopup : IAvnControl { [PreserveSig] @@ -185,6 +185,12 @@ public sealed partial class AvnPopup : IAvnPopup private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _closedSubscriptions = new(); private long _nextClosedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _openedSubscriptions = new(); @@ -1464,7 +1470,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1510,7 +1516,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1544,6 +1550,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetWindowManagerAddShadowHint(out int value) { value = default; @@ -2379,6 +2523,24 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); foreach (var subscription in _closedSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnProgressBar.g.cs b/host/Generated/ObjectModel/IAvnProgressBar.g.cs index 7dbd03d..939d720 100644 --- a/host/Generated/ObjectModel/IAvnProgressBar.g.cs +++ b/host/Generated/ObjectModel/IAvnProgressBar.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("A87F44AD-6E9D-5059-A355-CBC907AD0F45")] +[Guid("5AD47222-012D-56C8-8459-42DD295B9DAF")] public partial interface IAvnProgressBar : IAvnRangeBase { [PreserveSig] @@ -74,6 +74,12 @@ public sealed partial class AvnProgressBar : IAvnProgressBar private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _valueChangedSubscriptions = new(); private long _nextValueChangedSubscriptionId; @@ -1351,7 +1357,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1397,7 +1403,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1431,6 +1437,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2298,6 +2442,24 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); foreach (var subscription in _valueChangedSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnRadioButton.g.cs b/host/Generated/ObjectModel/IAvnRadioButton.g.cs index f491d3b..5368d93 100644 --- a/host/Generated/ObjectModel/IAvnRadioButton.g.cs +++ b/host/Generated/ObjectModel/IAvnRadioButton.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("1D9D9433-E351-59FA-A65E-F78DF4223F1C")] +[Guid("A2E6518A-5B2E-5424-84FE-CFA325D93288")] public partial interface IAvnRadioButton : IAvnToggleButton { [PreserveSig] @@ -53,6 +53,12 @@ public sealed partial class AvnRadioButton : IAvnRadioButton private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _clickSubscriptions = new(); private long _nextClickSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _isCheckedChangedSubscriptions = new(); @@ -1332,7 +1338,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1378,7 +1384,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1412,6 +1418,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2480,6 +2624,24 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); foreach (var subscription in _clickSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnRangeBase.g.cs b/host/Generated/ObjectModel/IAvnRangeBase.g.cs index 96fce6f..baf9eaa 100644 --- a/host/Generated/ObjectModel/IAvnRangeBase.g.cs +++ b/host/Generated/ObjectModel/IAvnRangeBase.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("F1231250-DB6B-52E4-A42E-3C57E73C7023")] +[Guid("D910F3E2-CD14-547A-8E8C-BFEC9F4C926F")] public partial interface IAvnRangeBase : IAvnTemplatedControl { [PreserveSig] @@ -83,6 +83,12 @@ public sealed partial class AvnRangeBase : IAvnRangeBase private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _valueChangedSubscriptions = new(); private long _nextValueChangedSubscriptionId; @@ -1360,7 +1366,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1406,7 +1412,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1440,6 +1446,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2167,6 +2311,24 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); foreach (var subscription in _valueChangedSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnRectangle.g.cs b/host/Generated/ObjectModel/IAvnRectangle.g.cs index f3dd3e2..5ae41e1 100644 --- a/host/Generated/ObjectModel/IAvnRectangle.g.cs +++ b/host/Generated/ObjectModel/IAvnRectangle.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("E87D8C84-1090-5B7D-9DBA-9F122E19E333")] +[Guid("95D3D828-9CB6-536E-96D5-2D5D67C3463F")] public partial interface IAvnRectangle : IAvnShape { [PreserveSig] @@ -59,6 +59,12 @@ public sealed partial class AvnRectangle : IAvnRectangle private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; internal AvnRectangle(global::Avalonia.Controls.Shapes.Rectangle value) { @@ -1334,7 +1340,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1380,7 +1386,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1414,6 +1420,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetFill(out IAvnBrush? value) { value = default; @@ -1847,5 +1991,23 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); } } diff --git a/host/Generated/ObjectModel/IAvnRefreshContainer.g.cs b/host/Generated/ObjectModel/IAvnRefreshContainer.g.cs index c2cd601..5ebb12a 100644 --- a/host/Generated/ObjectModel/IAvnRefreshContainer.g.cs +++ b/host/Generated/ObjectModel/IAvnRefreshContainer.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("3693CF05-F784-5394-B7D2-6DF511F86F97")] +[Guid("95707491-9943-5B6C-BF2E-1A68A797A842")] public partial interface IAvnRefreshContainer : IAvnContentControl { [PreserveSig] @@ -68,6 +68,12 @@ public sealed partial class AvnRefreshContainer : IAvnRefreshContainer private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _refreshRequestedSubscriptions = new(); private long _nextRefreshRequestedSubscriptionId; @@ -1345,7 +1351,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1391,7 +1397,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1425,6 +1431,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2198,6 +2342,24 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); foreach (var subscription in _refreshRequestedSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnRelativePanel.g.cs b/host/Generated/ObjectModel/IAvnRelativePanel.g.cs index 18b5609..99a9bbc 100644 --- a/host/Generated/ObjectModel/IAvnRelativePanel.g.cs +++ b/host/Generated/ObjectModel/IAvnRelativePanel.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("0E550183-4D72-5357-8C3F-9F15E41BC976")] +[Guid("A52468AD-E31F-58F2-8A74-1AB7E73D66E6")] public partial interface IAvnRelativePanel : IAvnPanel { } @@ -47,6 +47,12 @@ public sealed partial class AvnRelativePanel : IAvnRelativePanel private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; internal AvnRelativePanel(global::Avalonia.Controls.RelativePanel value) { @@ -1322,7 +1328,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1368,7 +1374,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1402,6 +1408,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetChildren(out IAvnControlList? value) { value = default; @@ -1541,5 +1685,23 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); } } diff --git a/host/Generated/ObjectModel/IAvnRepeatButton.g.cs b/host/Generated/ObjectModel/IAvnRepeatButton.g.cs index 83ffa3a..3bc32ae 100644 --- a/host/Generated/ObjectModel/IAvnRepeatButton.g.cs +++ b/host/Generated/ObjectModel/IAvnRepeatButton.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("E1023A87-3E17-5F1D-8671-36C4FD0D1CC3")] +[Guid("DF355462-7926-5F77-B463-22B164C7A402")] public partial interface IAvnRepeatButton : IAvnButton { [PreserveSig] @@ -59,6 +59,12 @@ public sealed partial class AvnRepeatButton : IAvnRepeatButton private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _clickSubscriptions = new(); private long _nextClickSubscriptionId; @@ -1336,7 +1342,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1382,7 +1388,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1416,6 +1422,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2407,6 +2551,24 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); foreach (var subscription in _clickSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnScrollViewer.g.cs b/host/Generated/ObjectModel/IAvnScrollViewer.g.cs index 97fff80..4622bcc 100644 --- a/host/Generated/ObjectModel/IAvnScrollViewer.g.cs +++ b/host/Generated/ObjectModel/IAvnScrollViewer.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("74E7350C-320E-5E2A-A8B9-CDD929B6B826")] +[Guid("4CCB656E-34E8-5621-AF96-1C2AF4F1DAAE")] public partial interface IAvnScrollViewer : IAvnContentControl { [PreserveSig] @@ -182,6 +182,12 @@ public sealed partial class AvnScrollViewer : IAvnScrollViewer private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _scrollChangedSubscriptions = new(); private long _nextScrollChangedSubscriptionId; @@ -1459,7 +1465,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1505,7 +1511,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1539,6 +1545,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2899,6 +3043,24 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); foreach (var subscription in _scrollChangedSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnSector.g.cs b/host/Generated/ObjectModel/IAvnSector.g.cs index ef96c9e..8ed5c4a 100644 --- a/host/Generated/ObjectModel/IAvnSector.g.cs +++ b/host/Generated/ObjectModel/IAvnSector.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("5716DA45-6417-5758-89E7-303427808353")] +[Guid("A6E3E187-67DD-5603-93D8-7431B6449CD7")] public partial interface IAvnSector : IAvnShape { [PreserveSig] @@ -59,6 +59,12 @@ public sealed partial class AvnSector : IAvnSector private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; internal AvnSector(global::Avalonia.Controls.Shapes.Sector value) { @@ -1334,7 +1340,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1380,7 +1386,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1414,6 +1420,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetFill(out IAvnBrush? value) { value = default; @@ -1847,5 +1991,23 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); } } diff --git a/host/Generated/ObjectModel/IAvnSelectableTextBlock.g.cs b/host/Generated/ObjectModel/IAvnSelectableTextBlock.g.cs index 0381aed..b029aee 100644 --- a/host/Generated/ObjectModel/IAvnSelectableTextBlock.g.cs +++ b/host/Generated/ObjectModel/IAvnSelectableTextBlock.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("843AC2A4-7FEF-5858-8A9A-F199BBA52638")] +[Guid("8E36E51E-30AC-563D-A2D7-79335F5FAD8C")] public partial interface IAvnSelectableTextBlock : IAvnTextBlock { [PreserveSig] @@ -92,6 +92,12 @@ public sealed partial class AvnSelectableTextBlock : IAvnSelectableTextBlock private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _copyingToClipboardSubscriptions = new(); private long _nextCopyingToClipboardSubscriptionId; @@ -1369,7 +1375,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1415,7 +1421,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1449,6 +1455,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetPadding(out AvnThickness value) { value = default; @@ -2346,6 +2490,24 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); foreach (var subscription in _copyingToClipboardSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnSelectingItemsControl.g.cs b/host/Generated/ObjectModel/IAvnSelectingItemsControl.g.cs index c07d437..7cc6b9e 100644 --- a/host/Generated/ObjectModel/IAvnSelectingItemsControl.g.cs +++ b/host/Generated/ObjectModel/IAvnSelectingItemsControl.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("56020FA9-D4A4-52B6-B5FC-EAEB6FD563C2")] +[Guid("18B99B99-03A3-5C68-8471-D463C4ED1778")] public partial interface IAvnSelectingItemsControl : IAvnItemsControl { [PreserveSig] @@ -89,6 +89,12 @@ public sealed partial class AvnSelectingItemsControl : IAvnSelectingItemsControl private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _selectionChangedSubscriptions = new(); private long _nextSelectionChangedSubscriptionId; @@ -1366,7 +1372,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1412,7 +1418,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1446,6 +1452,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2394,6 +2538,24 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); foreach (var subscription in _selectionChangedSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnSeparator.g.cs b/host/Generated/ObjectModel/IAvnSeparator.g.cs index a35cfbc..a269d91 100644 --- a/host/Generated/ObjectModel/IAvnSeparator.g.cs +++ b/host/Generated/ObjectModel/IAvnSeparator.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("87BD59B4-CB85-5216-B757-72F95FCB49E3")] +[Guid("C97E1335-936C-5319-91B3-09E2E1607D5A")] public partial interface IAvnSeparator : IAvnTemplatedControl { } @@ -47,6 +47,12 @@ public sealed partial class AvnSeparator : IAvnSeparator private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; internal AvnSeparator(global::Avalonia.Controls.Separator value) { @@ -1322,7 +1328,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1368,7 +1374,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1402,6 +1408,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -1928,5 +2072,23 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); } } diff --git a/host/Generated/ObjectModel/IAvnShape.g.cs b/host/Generated/ObjectModel/IAvnShape.g.cs index dd33ac1..7fcc971 100644 --- a/host/Generated/ObjectModel/IAvnShape.g.cs +++ b/host/Generated/ObjectModel/IAvnShape.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("5CB7105C-DAF9-5211-9659-62EAB03208FF")] +[Guid("8C49AE37-0535-5DEF-926C-D0D6857CC216")] public partial interface IAvnShape : IAvnControl { [PreserveSig] @@ -101,6 +101,12 @@ public sealed partial class AvnShape : IAvnShape private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; internal AvnShape(global::Avalonia.Controls.Shapes.Shape value) { @@ -1376,7 +1382,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1422,7 +1428,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1456,6 +1462,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetFill(out IAvnBrush? value) { value = default; @@ -1827,5 +1971,23 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); } } diff --git a/host/Generated/ObjectModel/IAvnSlider.g.cs b/host/Generated/ObjectModel/IAvnSlider.g.cs index 036a5d2..d2abde3 100644 --- a/host/Generated/ObjectModel/IAvnSlider.g.cs +++ b/host/Generated/ObjectModel/IAvnSlider.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("BF042391-AF5A-5DD4-B321-055CA9F70D23")] +[Guid("8F19D970-60A0-5AA7-A9CF-DF7882B11E7A")] public partial interface IAvnSlider : IAvnRangeBase { [PreserveSig] @@ -83,6 +83,12 @@ public sealed partial class AvnSlider : IAvnSlider private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _valueChangedSubscriptions = new(); private long _nextValueChangedSubscriptionId; @@ -1360,7 +1366,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1406,7 +1412,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1440,6 +1446,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2353,6 +2497,24 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); foreach (var subscription in _valueChangedSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnSpinner.g.cs b/host/Generated/ObjectModel/IAvnSpinner.g.cs index 2a3d87b..b98c820 100644 --- a/host/Generated/ObjectModel/IAvnSpinner.g.cs +++ b/host/Generated/ObjectModel/IAvnSpinner.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("4A63E264-F914-5256-93AB-1268895B9073")] +[Guid("CF93246B-DA27-5FC8-8382-FE6000F83FA4")] public partial interface IAvnSpinner : IAvnContentControl { [PreserveSig] @@ -59,6 +59,12 @@ public sealed partial class AvnSpinner : IAvnSpinner private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _spinSubscriptions = new(); private long _nextSpinSubscriptionId; @@ -1336,7 +1342,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1382,7 +1388,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1416,6 +1422,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2143,6 +2287,24 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); foreach (var subscription in _spinSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnSplitButton.g.cs b/host/Generated/ObjectModel/IAvnSplitButton.g.cs index 8e4b446..3dc0a89 100644 --- a/host/Generated/ObjectModel/IAvnSplitButton.g.cs +++ b/host/Generated/ObjectModel/IAvnSplitButton.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("11D77809-48B6-5A29-B8D9-5D413BC96A85")] +[Guid("88415351-1718-57DE-98D6-5DEE1794029C")] public partial interface IAvnSplitButton : IAvnContentControl { [PreserveSig] @@ -77,6 +77,12 @@ public sealed partial class AvnSplitButton : IAvnSplitButton private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _clickSubscriptions = new(); private long _nextClickSubscriptionId; @@ -1354,7 +1360,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1400,7 +1406,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1434,6 +1440,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2254,6 +2398,24 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); foreach (var subscription in _clickSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnSplitView.g.cs b/host/Generated/ObjectModel/IAvnSplitView.g.cs index f7086d2..d7e2686 100644 --- a/host/Generated/ObjectModel/IAvnSplitView.g.cs +++ b/host/Generated/ObjectModel/IAvnSplitView.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("048A7E1E-0539-5D4A-95D8-5C2E6D429202")] +[Guid("CF2AF228-F18D-57E1-B362-6A692FEB7AC4")] public partial interface IAvnSplitView : IAvnContentControl { [PreserveSig] @@ -125,6 +125,12 @@ public sealed partial class AvnSplitView : IAvnSplitView private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _paneClosedSubscriptions = new(); private long _nextPaneClosedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _paneClosingSubscriptions = new(); @@ -1408,7 +1414,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1454,7 +1460,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1488,6 +1494,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2605,6 +2749,24 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); foreach (var subscription in _paneClosedSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnStackPanel.g.cs b/host/Generated/ObjectModel/IAvnStackPanel.g.cs index 84c2848..611f54f 100644 --- a/host/Generated/ObjectModel/IAvnStackPanel.g.cs +++ b/host/Generated/ObjectModel/IAvnStackPanel.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("17521479-DA81-5A88-9984-557EE08FF897")] +[Guid("41C138FB-C0C9-579F-A3B9-76080732A94C")] public partial interface IAvnStackPanel : IAvnPanel { [PreserveSig] @@ -71,6 +71,12 @@ public sealed partial class AvnStackPanel : IAvnStackPanel private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; internal AvnStackPanel(global::Avalonia.Controls.StackPanel value) { @@ -1346,7 +1352,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1392,7 +1398,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1426,6 +1432,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetChildren(out IAvnControlList? value) { value = default; @@ -1689,5 +1833,23 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); } } diff --git a/host/Generated/ObjectModel/IAvnTabControl.g.cs b/host/Generated/ObjectModel/IAvnTabControl.g.cs index 626cbad..285bd25 100644 --- a/host/Generated/ObjectModel/IAvnTabControl.g.cs +++ b/host/Generated/ObjectModel/IAvnTabControl.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("8F087347-637D-5F69-BABE-6D6ED30440C1")] +[Guid("27DF6FA4-888C-53C3-8612-186747FD07BF")] public partial interface IAvnTabControl : IAvnSelectingItemsControl { [PreserveSig] @@ -83,6 +83,12 @@ public sealed partial class AvnTabControl : IAvnTabControl private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _selectionChangedSubscriptions = new(); private long _nextSelectionChangedSubscriptionId; @@ -1360,7 +1366,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1406,7 +1412,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1440,6 +1446,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2575,6 +2719,24 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); foreach (var subscription in _selectionChangedSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnTabItem.g.cs b/host/Generated/ObjectModel/IAvnTabItem.g.cs index 373d27e..c462ab2 100644 --- a/host/Generated/ObjectModel/IAvnTabItem.g.cs +++ b/host/Generated/ObjectModel/IAvnTabItem.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("406B7990-01A7-533E-9A2A-7B70DDFCE8EC")] +[Guid("DED2B477-BC45-5613-BA24-CDBAB635D785")] public partial interface IAvnTabItem : IAvnHeaderedContentControl { [PreserveSig] @@ -74,6 +74,12 @@ public sealed partial class AvnTabItem : IAvnTabItem private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; internal AvnTabItem(global::Avalonia.Controls.TabItem value) { @@ -1349,7 +1355,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1395,7 +1401,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1429,6 +1435,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2281,5 +2425,23 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); } } diff --git a/host/Generated/ObjectModel/IAvnTableView.g.cs b/host/Generated/ObjectModel/IAvnTableView.g.cs index 2d744ce..83fffc8 100644 --- a/host/Generated/ObjectModel/IAvnTableView.g.cs +++ b/host/Generated/ObjectModel/IAvnTableView.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("D4BE6E5C-B5DD-5BB0-A30F-3CC833767F7C")] +[Guid("BA62A21B-C26D-587F-A41F-35E67E200B69")] public partial interface IAvnTableView : IAvnListBox { [PreserveSig] @@ -59,6 +59,12 @@ public sealed partial class AvnTableView : IAvnTableView private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _selectionChangedSubscriptions = new(); private long _nextSelectionChangedSubscriptionId; @@ -1336,7 +1342,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1382,7 +1388,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1416,6 +1422,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2487,6 +2631,24 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); foreach (var subscription in _selectionChangedSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnTableViewCell.g.cs b/host/Generated/ObjectModel/IAvnTableViewCell.g.cs index fa31d11..4f15c4e 100644 --- a/host/Generated/ObjectModel/IAvnTableViewCell.g.cs +++ b/host/Generated/ObjectModel/IAvnTableViewCell.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("7B4DC408-8142-5915-B1A7-15CE22062512")] +[Guid("2B1B1C38-97FD-59A3-8BCD-59ACBDC03368")] public partial interface IAvnTableViewCell : IAvnContentControl { } @@ -47,6 +47,12 @@ public sealed partial class AvnTableViewCell : IAvnTableViewCell private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; internal AvnTableViewCell(global::Avalonia.Controls.TableViewCell value) { @@ -1322,7 +1328,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1368,7 +1374,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1402,6 +1408,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2052,5 +2196,23 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); } } diff --git a/host/Generated/ObjectModel/IAvnTableViewRow.g.cs b/host/Generated/ObjectModel/IAvnTableViewRow.g.cs index 6fdce44..c7c1173 100644 --- a/host/Generated/ObjectModel/IAvnTableViewRow.g.cs +++ b/host/Generated/ObjectModel/IAvnTableViewRow.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("1A492B55-9FB8-5F66-986E-EF1DED34A38D")] +[Guid("8E3BA93D-D0BE-51D9-A007-2AF614AC6ADB")] public partial interface IAvnTableViewRow : IAvnListBoxItem { } @@ -47,6 +47,12 @@ public sealed partial class AvnTableViewRow : IAvnTableViewRow private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; internal AvnTableViewRow(global::Avalonia.Controls.TableViewRow value) { @@ -1322,7 +1328,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1368,7 +1374,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1402,6 +1408,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2083,5 +2227,23 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); } } diff --git a/host/Generated/ObjectModel/IAvnTemplatedControl.g.cs b/host/Generated/ObjectModel/IAvnTemplatedControl.g.cs index 137f6cc..11ef63d 100644 --- a/host/Generated/ObjectModel/IAvnTemplatedControl.g.cs +++ b/host/Generated/ObjectModel/IAvnTemplatedControl.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("E2867468-09D4-5D05-A956-F687A78DF51A")] +[Guid("6E80826C-F337-5A4D-A5BB-1C0DF436B6D0")] public partial interface IAvnTemplatedControl : IAvnControl { [PreserveSig] @@ -131,6 +131,12 @@ public sealed partial class AvnTemplatedControl : IAvnTemplatedControl private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; internal AvnTemplatedControl(global::Avalonia.Controls.Primitives.TemplatedControl value) { @@ -1406,7 +1412,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1452,7 +1458,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1486,6 +1492,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2012,5 +2156,23 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); } } diff --git a/host/Generated/ObjectModel/IAvnTextBlock.g.cs b/host/Generated/ObjectModel/IAvnTextBlock.g.cs index 612e28b..de65f09 100644 --- a/host/Generated/ObjectModel/IAvnTextBlock.g.cs +++ b/host/Generated/ObjectModel/IAvnTextBlock.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("06129468-B036-5F97-ACA3-6C51B845746D")] +[Guid("199AE412-EE08-5BDE-A498-66AE0231AA3F")] public partial interface IAvnTextBlock : IAvnControl { [PreserveSig] @@ -155,6 +155,12 @@ public sealed partial class AvnTextBlock : IAvnTextBlock private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; internal AvnTextBlock(global::Avalonia.Controls.TextBlock value) { @@ -1430,7 +1436,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1476,7 +1482,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1510,6 +1516,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetPadding(out AvnThickness value) { value = default; @@ -2160,5 +2304,23 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); } } diff --git a/host/Generated/ObjectModel/IAvnTextBox.g.cs b/host/Generated/ObjectModel/IAvnTextBox.g.cs index a0e40c4..994fb6d 100644 --- a/host/Generated/ObjectModel/IAvnTextBox.g.cs +++ b/host/Generated/ObjectModel/IAvnTextBox.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("BCD740F5-7423-5B2D-AD5E-CB40072226F8")] +[Guid("55D76247-3F6A-5F45-AC3C-33B34A38329A")] public partial interface IAvnTextBox : IAvnTemplatedControl { [PreserveSig] @@ -314,6 +314,12 @@ public sealed partial class AvnTextBox : IAvnTextBox private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _copyingToClipboardSubscriptions = new(); private long _nextCopyingToClipboardSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _cuttingToClipboardSubscriptions = new(); @@ -1599,7 +1605,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1645,7 +1651,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1679,6 +1685,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -3658,6 +3802,24 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); foreach (var subscription in _copyingToClipboardSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnThemeVariantScope.g.cs b/host/Generated/ObjectModel/IAvnThemeVariantScope.g.cs index 2098bf0..227d0f0 100644 --- a/host/Generated/ObjectModel/IAvnThemeVariantScope.g.cs +++ b/host/Generated/ObjectModel/IAvnThemeVariantScope.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("2E35671F-C418-50E8-86C1-ED858C036A8D")] +[Guid("FF6B43AB-B89D-5574-BBDE-9ACACD23DBA4")] public partial interface IAvnThemeVariantScope : IAvnDecorator { [PreserveSig] @@ -53,6 +53,12 @@ public sealed partial class AvnThemeVariantScope : IAvnThemeVariantScope private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; internal AvnThemeVariantScope(global::Avalonia.Controls.ThemeVariantScope value) { @@ -1328,7 +1334,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1374,7 +1380,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1408,6 +1414,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetChild(out IAvnControl? value) { value = default; @@ -1593,5 +1737,23 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); } } diff --git a/host/Generated/ObjectModel/IAvnThumb.g.cs b/host/Generated/ObjectModel/IAvnThumb.g.cs index c9d7712..bb85d28 100644 --- a/host/Generated/ObjectModel/IAvnThumb.g.cs +++ b/host/Generated/ObjectModel/IAvnThumb.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("B62C6C73-14C3-5E0D-A725-F5606107B454")] +[Guid("A9A96FDF-BFCF-5E37-A11E-4B653CE36C00")] public partial interface IAvnThumb : IAvnTemplatedControl { [PreserveSig] @@ -65,6 +65,12 @@ public sealed partial class AvnThumb : IAvnThumb private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _dragStartedSubscriptions = new(); private long _nextDragStartedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _dragDeltaSubscriptions = new(); @@ -1346,7 +1352,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1392,7 +1398,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1426,6 +1432,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2090,6 +2234,24 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); foreach (var subscription in _dragStartedSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnTimePicker.g.cs b/host/Generated/ObjectModel/IAvnTimePicker.g.cs index 89798a4..ed9ae30 100644 --- a/host/Generated/ObjectModel/IAvnTimePicker.g.cs +++ b/host/Generated/ObjectModel/IAvnTimePicker.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("9F3B7D7A-E290-5ADC-997C-213A25F20D3B")] +[Guid("5E7CE65A-FE53-551C-9F5A-2344EE09E002")] public partial interface IAvnTimePicker : IAvnTemplatedControl { [PreserveSig] @@ -92,6 +92,12 @@ public sealed partial class AvnTimePicker : IAvnTimePicker private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _selectedTimeChangedSubscriptions = new(); private long _nextSelectedTimeChangedSubscriptionId; @@ -1369,7 +1375,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1415,7 +1421,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1449,6 +1455,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2222,6 +2366,24 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); foreach (var subscription in _selectedTimeChangedSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnToggleButton.g.cs b/host/Generated/ObjectModel/IAvnToggleButton.g.cs index af8ac73..1489fe6 100644 --- a/host/Generated/ObjectModel/IAvnToggleButton.g.cs +++ b/host/Generated/ObjectModel/IAvnToggleButton.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("F9840045-23B2-5318-A7DA-EB7F3287FBD8")] +[Guid("23A7F6FB-AFEF-5E4D-8A9A-94F4EFCF6B12")] public partial interface IAvnToggleButton : IAvnButton { [PreserveSig] @@ -65,6 +65,12 @@ public sealed partial class AvnToggleButton : IAvnToggleButton private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _clickSubscriptions = new(); private long _nextClickSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _isCheckedChangedSubscriptions = new(); @@ -1344,7 +1350,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1390,7 +1396,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1424,6 +1430,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2461,6 +2605,24 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); foreach (var subscription in _clickSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnToggleSplitButton.g.cs b/host/Generated/ObjectModel/IAvnToggleSplitButton.g.cs index bc1cd08..7633580 100644 --- a/host/Generated/ObjectModel/IAvnToggleSplitButton.g.cs +++ b/host/Generated/ObjectModel/IAvnToggleSplitButton.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("4FD7A582-1766-5CC7-B173-72F47FDF6BFF")] +[Guid("0057E49B-BB54-516F-8FDA-B1E646A1C897")] public partial interface IAvnToggleSplitButton : IAvnSplitButton { [PreserveSig] @@ -59,6 +59,12 @@ public sealed partial class AvnToggleSplitButton : IAvnToggleSplitButton private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _clickSubscriptions = new(); private long _nextClickSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _isCheckedChangedSubscriptions = new(); @@ -1338,7 +1344,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1384,7 +1390,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1418,6 +1424,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2315,6 +2459,24 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); foreach (var subscription in _clickSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnToggleSwitch.g.cs b/host/Generated/ObjectModel/IAvnToggleSwitch.g.cs index 65c3a63..1e79777 100644 --- a/host/Generated/ObjectModel/IAvnToggleSwitch.g.cs +++ b/host/Generated/ObjectModel/IAvnToggleSwitch.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("96F69492-4FBE-565F-8572-D7AEA40997E9")] +[Guid("B022C6CE-8A5D-5700-B341-114A6A4FBCA0")] public partial interface IAvnToggleSwitch : IAvnToggleButton { [PreserveSig] @@ -71,6 +71,12 @@ public sealed partial class AvnToggleSwitch : IAvnToggleSwitch private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _clickSubscriptions = new(); private long _nextClickSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _isCheckedChangedSubscriptions = new(); @@ -1350,7 +1356,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1396,7 +1402,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1430,6 +1436,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2591,6 +2735,24 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); foreach (var subscription in _clickSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnToolTip.g.cs b/host/Generated/ObjectModel/IAvnToolTip.g.cs index b26dbbc..d7421a8 100644 --- a/host/Generated/ObjectModel/IAvnToolTip.g.cs +++ b/host/Generated/ObjectModel/IAvnToolTip.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("8158AEAF-B85C-59C4-BFCE-98DF20F4C2C9")] +[Guid("2B78EA6B-FE62-5508-AB5F-586C3523C5A1")] public partial interface IAvnToolTip : IAvnContentControl { } @@ -47,6 +47,12 @@ public sealed partial class AvnToolTip : IAvnToolTip private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; internal AvnToolTip(global::Avalonia.Controls.ToolTip value) { @@ -1322,7 +1328,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1368,7 +1374,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1402,6 +1408,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2052,5 +2196,23 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); } } diff --git a/host/Generated/ObjectModel/IAvnTransitioningContentControl.g.cs b/host/Generated/ObjectModel/IAvnTransitioningContentControl.g.cs index 22dd950..07d48cc 100644 --- a/host/Generated/ObjectModel/IAvnTransitioningContentControl.g.cs +++ b/host/Generated/ObjectModel/IAvnTransitioningContentControl.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("643AACDC-AB53-56DF-A197-28042BF4D69F")] +[Guid("FD0EB25C-585B-5EDA-B1ED-F629A765B5A9")] public partial interface IAvnTransitioningContentControl : IAvnContentControl { [PreserveSig] @@ -59,6 +59,12 @@ public sealed partial class AvnTransitioningContentControl : IAvnTransitioningCo private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _transitionCompletedSubscriptions = new(); private long _nextTransitionCompletedSubscriptionId; @@ -1336,7 +1342,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1382,7 +1388,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1416,6 +1422,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2143,6 +2287,24 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); foreach (var subscription in _transitionCompletedSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnTreeView.g.cs b/host/Generated/ObjectModel/IAvnTreeView.g.cs index 71bcc81..b486703 100644 --- a/host/Generated/ObjectModel/IAvnTreeView.g.cs +++ b/host/Generated/ObjectModel/IAvnTreeView.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("E8A54D8B-7903-57AE-9BF8-F5A8055028FC")] +[Guid("0B60003F-EC3F-5F72-9763-04C3C4FFE8DD")] public partial interface IAvnTreeView : IAvnItemsControl { [PreserveSig] @@ -95,6 +95,12 @@ public sealed partial class AvnTreeView : IAvnTreeView private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _selectionChangedSubscriptions = new(); private long _nextSelectionChangedSubscriptionId; @@ -1372,7 +1378,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1418,7 +1424,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1452,6 +1458,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2430,6 +2574,24 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); foreach (var subscription in _selectionChangedSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnTreeViewItem.g.cs b/host/Generated/ObjectModel/IAvnTreeViewItem.g.cs index 3a6d698..fc89e6b 100644 --- a/host/Generated/ObjectModel/IAvnTreeViewItem.g.cs +++ b/host/Generated/ObjectModel/IAvnTreeViewItem.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("CDD644B1-7E5B-5C32-9271-5A69CEE65005")] +[Guid("F173219D-C63C-5669-BE7D-98E98BF1C54B")] public partial interface IAvnTreeViewItem : IAvnHeaderedItemsControl { [PreserveSig] @@ -74,6 +74,12 @@ public sealed partial class AvnTreeViewItem : IAvnTreeViewItem private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _expandedSubscriptions = new(); private long _nextExpandedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _collapsedSubscriptions = new(); @@ -1353,7 +1359,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1399,7 +1405,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1433,6 +1439,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2379,6 +2523,24 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); foreach (var subscription in _expandedSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnUniformGrid.g.cs b/host/Generated/ObjectModel/IAvnUniformGrid.g.cs index 0ddcf19..6b1ae87 100644 --- a/host/Generated/ObjectModel/IAvnUniformGrid.g.cs +++ b/host/Generated/ObjectModel/IAvnUniformGrid.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("600B20CC-7AA7-5EC9-B773-A893B4376F95")] +[Guid("061A5BD1-9360-53D2-BEF6-7EB9ECAEA493")] public partial interface IAvnUniformGrid : IAvnPanel { [PreserveSig] @@ -77,6 +77,12 @@ public sealed partial class AvnUniformGrid : IAvnUniformGrid private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; internal AvnUniformGrid(global::Avalonia.Controls.Primitives.UniformGrid value) { @@ -1352,7 +1358,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1398,7 +1404,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1432,6 +1438,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetChildren(out IAvnControlList? value) { value = default; @@ -1726,5 +1870,23 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); } } diff --git a/host/Generated/ObjectModel/IAvnUserControl.g.cs b/host/Generated/ObjectModel/IAvnUserControl.g.cs index 23858ea..126fd4f 100644 --- a/host/Generated/ObjectModel/IAvnUserControl.g.cs +++ b/host/Generated/ObjectModel/IAvnUserControl.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("E3ABA05B-DFF9-53C3-8885-CE2D78FEFFFC")] +[Guid("0BFF79AB-0D63-5654-8F44-DBBDA630FA30")] public partial interface IAvnUserControl : IAvnContentControl { } @@ -47,6 +47,12 @@ public sealed partial class AvnUserControl : IAvnUserControl private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; internal AvnUserControl(global::Avalonia.Controls.UserControl value) { @@ -1322,7 +1328,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1368,7 +1374,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1402,6 +1408,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2052,5 +2196,23 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); } } diff --git a/host/Generated/ObjectModel/IAvnViewbox.g.cs b/host/Generated/ObjectModel/IAvnViewbox.g.cs index 19471e9..a0dafbf 100644 --- a/host/Generated/ObjectModel/IAvnViewbox.g.cs +++ b/host/Generated/ObjectModel/IAvnViewbox.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("3140444B-2172-5105-B7AD-D810D5794C13")] +[Guid("159B2487-78B8-5C1A-932D-A67C6E2E7420")] public partial interface IAvnViewbox : IAvnControl { [PreserveSig] @@ -65,6 +65,12 @@ public sealed partial class AvnViewbox : IAvnViewbox private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; internal AvnViewbox(global::Avalonia.Controls.Viewbox value) { @@ -1340,7 +1346,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1386,7 +1392,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1420,6 +1426,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetStretch(out int value) { value = default; @@ -1605,5 +1749,23 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); } } diff --git a/host/Generated/ObjectModel/IAvnWindow.g.cs b/host/Generated/ObjectModel/IAvnWindow.g.cs index f9b7497..f25720a 100644 --- a/host/Generated/ObjectModel/IAvnWindow.g.cs +++ b/host/Generated/ObjectModel/IAvnWindow.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("29E3362E-B16E-5163-AED3-CF14D6B12784")] +[Guid("BF221569-8214-5478-9505-0B21A2663545")] public partial interface IAvnWindow : IAvnContentControl { [PreserveSig] @@ -170,6 +170,12 @@ public sealed partial class AvnWindow : IAvnWindow private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _closingSubscriptions = new(); private long _nextClosingSubscriptionId; @@ -1447,7 +1453,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1493,7 +1499,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1527,6 +1533,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2829,6 +2973,24 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); foreach (var subscription in _closingSubscriptions.Values) { subscription.Unsubscribe(); diff --git a/host/Generated/ObjectModel/IAvnWindowNotificationManager.g.cs b/host/Generated/ObjectModel/IAvnWindowNotificationManager.g.cs index 7970813..cae78cc 100644 --- a/host/Generated/ObjectModel/IAvnWindowNotificationManager.g.cs +++ b/host/Generated/ObjectModel/IAvnWindowNotificationManager.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("7C085288-6201-58A3-BD39-14F23696504B")] +[Guid("2EECEA93-798A-57D8-9ED9-91C4EA6D282F")] public partial interface IAvnWindowNotificationManager : IAvnTemplatedControl { [PreserveSig] @@ -74,6 +74,12 @@ public sealed partial class AvnWindowNotificationManager : IAvnWindowNotificatio private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; internal AvnWindowNotificationManager(global::Avalonia.Controls.Notifications.WindowNotificationManager value) { @@ -1349,7 +1355,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1395,7 +1401,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1429,6 +1435,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetBackground(out IAvnBrush? value) { value = default; @@ -2092,5 +2236,23 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); } } diff --git a/host/Generated/ObjectModel/IAvnWrapPanel.g.cs b/host/Generated/ObjectModel/IAvnWrapPanel.g.cs index 24908e1..d73a84a 100644 --- a/host/Generated/ObjectModel/IAvnWrapPanel.g.cs +++ b/host/Generated/ObjectModel/IAvnWrapPanel.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("802A39C5-57F6-5E1A-9DA8-02634571CF6D")] +[Guid("FE3C3653-52AA-529D-8ACE-7F54E7D74387")] public partial interface IAvnWrapPanel : IAvnPanel { [PreserveSig] @@ -83,6 +83,12 @@ public sealed partial class AvnWrapPanel : IAvnWrapPanel private long _nextPointerEnteredSubscriptionId; private readonly global::System.Collections.Generic.Dictionary _pointerExitedSubscriptions = new(); private long _nextPointerExitedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _pointerWheelChangedSubscriptions = new(); + private long _nextPointerWheelChangedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _tappedSubscriptions = new(); + private long _nextTappedSubscriptionId; + private readonly global::System.Collections.Generic.Dictionary _doubleTappedSubscriptions = new(); + private long _nextDoubleTappedSubscriptionId; internal AvnWrapPanel(global::Avalonia.Controls.WrapPanel value) { @@ -1358,7 +1364,7 @@ public int AdvisePointerEntered(IAvnControlPointerEnteredHandler? handler, out l var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1404,7 +1410,7 @@ public int AdvisePointerExited(IAvnControlPointerExitedHandler? handler, out lon var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke((int)eventArgs.KeyModifiers); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); @@ -1438,6 +1444,144 @@ public int UnadvisePointerExited(long subscriptionId) } } + public int AdvisePointerWheelChanged(IAvnControlPointerWheelChangedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(AvnVector.FromAvalonia(eventArgs.Delta), (int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.PointerWheelChanged += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextPointerWheelChangedSubscriptionId); + _pointerWheelChangedSubscriptions.Add(subscriptionId, (handler, () => eventSource.PointerWheelChanged -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadvisePointerWheelChanged(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_pointerWheelChangedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseTapped(IAvnControlTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke((int)eventArgs.KeyModifiers); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.Tapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextTappedSubscriptionId); + _tappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.Tapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_tappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int AdviseDoubleTapped(IAvnControlDoubleTappedHandler? handler, out long subscriptionId) + { + subscriptionId = 0; + if (handler is null) + return global::Avalonia.Host.HResults.E_POINTER; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + var eventSource = _value; + var callback = new global::System.EventHandler((_, eventArgs) => + { + var hr = handler.Invoke(); + if (hr < 0) + global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); + }); + eventSource.DoubleTapped += callback; + subscriptionId = global::System.Threading.Interlocked.Increment(ref _nextDoubleTappedSubscriptionId); + _doubleTappedSubscriptions.Add(subscriptionId, (handler, () => eventSource.DoubleTapped -= callback)); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionAdded(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int UnadviseDoubleTapped(long subscriptionId) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + if (!_doubleTappedSubscriptions.Remove(subscriptionId, out var subscription)) + return global::Avalonia.Host.HResults.E_INVALIDARG; + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetChildren(out IAvnControlList? value) { value = default; @@ -1763,5 +1907,23 @@ private void ReleaseSubscriptions() global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); } _pointerExitedSubscriptions.Clear(); + foreach (var subscription in _pointerWheelChangedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _pointerWheelChangedSubscriptions.Clear(); + foreach (var subscription in _tappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _tappedSubscriptions.Clear(); + foreach (var subscription in _doubleTappedSubscriptions.Values) + { + subscription.Unsubscribe(); + global::Avalonia.Host.ProjectionDiagnostics.SubscriptionRemoved(); + } + _doubleTappedSubscriptions.Clear(); } } diff --git a/projection/Avalonia.Projection.Ir/AvaloniaProjectionProfiles.cs b/projection/Avalonia.Projection.Ir/AvaloniaProjectionProfiles.cs index 057c0e1..1067182 100644 --- a/projection/Avalonia.Projection.Ir/AvaloniaProjectionProfiles.cs +++ b/projection/Avalonia.Projection.Ir/AvaloniaProjectionProfiles.cs @@ -18,98 +18,98 @@ public static class AvaloniaProjectionProfiles // Loaded/Unloaded, so Control and every descendant republish. // StyledElement gains ActualThemeVariant in U27, so it and every descendant republish. ["Avalonia.Host.Com.IAvnStyledElement"] = 6, - ["Avalonia.Host.Com.IAvnControl"] = 9, - ["Avalonia.Host.Com.IAvnDecorator"] = 11, + ["Avalonia.Host.Com.IAvnControl"] = 10, + ["Avalonia.Host.Com.IAvnDecorator"] = 12, // Everything the completeness wave left alone. None of these sits below // ContentControl, Button, ToggleButton, ListBox, ComboBox or Grid, so their // flattened vtables are byte-identical to version 4. - ["Avalonia.Host.Com.IAvnBorder"] = 13, + ["Avalonia.Host.Com.IAvnBorder"] = 14, ["Avalonia.Host.Com.IAvnTableViewColumn"] = 7, - ["Avalonia.Host.Com.IAvnPanel"] = 12, - ["Avalonia.Host.Com.IAvnCanvas"] = 12, - ["Avalonia.Host.Com.IAvnDockPanel"] = 12, - ["Avalonia.Host.Com.IAvnStackPanel"] = 13, + ["Avalonia.Host.Com.IAvnPanel"] = 13, + ["Avalonia.Host.Com.IAvnCanvas"] = 13, + ["Avalonia.Host.Com.IAvnDockPanel"] = 13, + ["Avalonia.Host.Com.IAvnStackPanel"] = 14, // Wave M grew TemplatedControl (fonts/padding) and TextBlock (fonts/wrapping). // Nano-COM vtables are flattened, so every interface below TemplatedControl // republishes. TextBlock is not under TemplatedControl; SelectableTextBlock is. - ["Avalonia.Host.Com.IAvnTextBlock"] = 15, - ["Avalonia.Host.Com.IAvnSelectableTextBlock"] = 12, - ["Avalonia.Host.Com.IAvnTemplatedControl"] = 13, - ["Avalonia.Host.Com.IAvnItemsControl"] = 16, - ["Avalonia.Host.Com.IAvnSelectingItemsControl"] = 16, - ["Avalonia.Host.Com.IAvnTextBox"] = 19, - ["Avalonia.Host.Com.IAvnRangeBase"] = 13, - ["Avalonia.Host.Com.IAvnSlider"] = 13, - ["Avalonia.Host.Com.IAvnProgressBar"] = 14, - ["Avalonia.Host.Com.IAvnContentControl"] = 14, - ["Avalonia.Host.Com.IAvnHeaderedContentControl"] = 14, - ["Avalonia.Host.Com.IAvnExpander"] = 14, - ["Avalonia.Host.Com.IAvnButton"] = 17, - ["Avalonia.Host.Com.IAvnToggleButton"] = 17, - ["Avalonia.Host.Com.IAvnCheckBox"] = 17, - ["Avalonia.Host.Com.IAvnRadioButton"] = 17, - ["Avalonia.Host.Com.IAvnToggleSwitch"] = 17, - ["Avalonia.Host.Com.IAvnListBox"] = 17, - ["Avalonia.Host.Com.IAvnComboBox"] = 18, - ["Avalonia.Host.Com.IAvnListBoxItem"] = 16, - ["Avalonia.Host.Com.IAvnComboBoxItem"] = 16, - ["Avalonia.Host.Com.IAvnScrollViewer"] = 16, - ["Avalonia.Host.Com.IAvnWindow"] = 19, - ["Avalonia.Host.Com.IAvnGrid"] = 13, + ["Avalonia.Host.Com.IAvnTextBlock"] = 16, + ["Avalonia.Host.Com.IAvnSelectableTextBlock"] = 13, + ["Avalonia.Host.Com.IAvnTemplatedControl"] = 14, + ["Avalonia.Host.Com.IAvnItemsControl"] = 17, + ["Avalonia.Host.Com.IAvnSelectingItemsControl"] = 17, + ["Avalonia.Host.Com.IAvnTextBox"] = 20, + ["Avalonia.Host.Com.IAvnRangeBase"] = 14, + ["Avalonia.Host.Com.IAvnSlider"] = 14, + ["Avalonia.Host.Com.IAvnProgressBar"] = 15, + ["Avalonia.Host.Com.IAvnContentControl"] = 15, + ["Avalonia.Host.Com.IAvnHeaderedContentControl"] = 15, + ["Avalonia.Host.Com.IAvnExpander"] = 15, + ["Avalonia.Host.Com.IAvnButton"] = 18, + ["Avalonia.Host.Com.IAvnToggleButton"] = 18, + ["Avalonia.Host.Com.IAvnCheckBox"] = 18, + ["Avalonia.Host.Com.IAvnRadioButton"] = 18, + ["Avalonia.Host.Com.IAvnToggleSwitch"] = 18, + ["Avalonia.Host.Com.IAvnListBox"] = 18, + ["Avalonia.Host.Com.IAvnComboBox"] = 19, + ["Avalonia.Host.Com.IAvnListBoxItem"] = 17, + ["Avalonia.Host.Com.IAvnComboBoxItem"] = 17, + ["Avalonia.Host.Com.IAvnScrollViewer"] = 17, + ["Avalonia.Host.Com.IAvnWindow"] = 20, + ["Avalonia.Host.Com.IAvnGrid"] = 14, // Previously version-1 templated types inherit the TemplatedControl bump. - ["Avalonia.Host.Com.IAvnAutoCompleteBox"] = 17, - ["Avalonia.Host.Com.IAvnButtonSpinner"] = 10, - ["Avalonia.Host.Com.IAvnCalendar"] = 13, - ["Avalonia.Host.Com.IAvnCalendarDatePicker"] = 12, - ["Avalonia.Host.Com.IAvnCarousel"] = 14, - ["Avalonia.Host.Com.IAvnCommandBar"] = 13, + ["Avalonia.Host.Com.IAvnAutoCompleteBox"] = 18, + ["Avalonia.Host.Com.IAvnButtonSpinner"] = 11, + ["Avalonia.Host.Com.IAvnCalendar"] = 14, + ["Avalonia.Host.Com.IAvnCalendarDatePicker"] = 13, + ["Avalonia.Host.Com.IAvnCarousel"] = 15, + ["Avalonia.Host.Com.IAvnCommandBar"] = 14, ["Avalonia.Host.Com.IAvnCommand"] = 2, - ["Avalonia.Host.Com.IAvnCommandBarButton"] = 12, - ["Avalonia.Host.Com.IAvnCommandBarSeparator"] = 10, - ["Avalonia.Host.Com.IAvnCommandBarToggleButton"] = 12, - ["Avalonia.Host.Com.IAvnContextMenu"] = 16, - ["Avalonia.Host.Com.IAvnPopup"] = 9, + ["Avalonia.Host.Com.IAvnCommandBarButton"] = 13, + ["Avalonia.Host.Com.IAvnCommandBarSeparator"] = 11, + ["Avalonia.Host.Com.IAvnCommandBarToggleButton"] = 13, + ["Avalonia.Host.Com.IAvnContextMenu"] = 17, + ["Avalonia.Host.Com.IAvnPopup"] = 10, ["Avalonia.Host.Com.IAvnTrayIcon"] = 3, ["Avalonia.Host.Com.IAvnPopupFlyoutBase"] = 6, ["Avalonia.Host.Com.IAvnFlyout"] = 4, ["Avalonia.Host.Com.IAvnMenuFlyout"] = 5, - ["Avalonia.Host.Com.IAvnDatePicker"] = 12, - ["Avalonia.Host.Com.IAvnDropDownButton"] = 12, - ["Avalonia.Host.Com.IAvnGridSplitter"] = 11, - ["Avalonia.Host.Com.IAvnGroupBox"] = 10, - ["Avalonia.Host.Com.IAvnHeaderedItemsControl"] = 13, - ["Avalonia.Host.Com.IAvnHeaderedSelectingItemsControl"] = 13, - ["Avalonia.Host.Com.IAvnHyperlinkButton"] = 12, - ["Avalonia.Host.Com.IAvnIconElement"] = 10, - ["Avalonia.Host.Com.IAvnLabel"] = 11, - ["Avalonia.Host.Com.IAvnMaskedTextBox"] = 16, - ["Avalonia.Host.Com.IAvnMenu"] = 13, - ["Avalonia.Host.Com.IAvnMenuBase"] = 13, - ["Avalonia.Host.Com.IAvnMenuItem"] = 16, - ["Avalonia.Host.Com.IAvnNotificationCard"] = 11, - ["Avalonia.Host.Com.IAvnNumericUpDown"] = 11, - ["Avalonia.Host.Com.IAvnPathIcon"] = 10, - ["Avalonia.Host.Com.IAvnPipsPager"] = 11, - ["Avalonia.Host.Com.IAvnRefreshContainer"] = 11, - ["Avalonia.Host.Com.IAvnRepeatButton"] = 12, - ["Avalonia.Host.Com.IAvnSeparator"] = 10, - ["Avalonia.Host.Com.IAvnSpinner"] = 10, - ["Avalonia.Host.Com.IAvnSplitButton"] = 13, - ["Avalonia.Host.Com.IAvnSplitView"] = 10, - ["Avalonia.Host.Com.IAvnTabControl"] = 13, - ["Avalonia.Host.Com.IAvnTabItem"] = 12, - ["Avalonia.Host.Com.IAvnTableView"] = 14, - ["Avalonia.Host.Com.IAvnTableViewCell"] = 12, - ["Avalonia.Host.Com.IAvnTableViewRow"] = 10, - ["Avalonia.Host.Com.IAvnThumb"] = 11, - ["Avalonia.Host.Com.IAvnTimePicker"] = 12, - ["Avalonia.Host.Com.IAvnToggleSplitButton"] = 13, - ["Avalonia.Host.Com.IAvnToolTip"] = 10, - ["Avalonia.Host.Com.IAvnTransitioningContentControl"] = 11, - ["Avalonia.Host.Com.IAvnTreeView"] = 13, - ["Avalonia.Host.Com.IAvnTreeViewItem"] = 13, - ["Avalonia.Host.Com.IAvnUserControl"] = 10, - ["Avalonia.Host.Com.IAvnWindowNotificationManager"] = 11, + ["Avalonia.Host.Com.IAvnDatePicker"] = 13, + ["Avalonia.Host.Com.IAvnDropDownButton"] = 13, + ["Avalonia.Host.Com.IAvnGridSplitter"] = 12, + ["Avalonia.Host.Com.IAvnGroupBox"] = 11, + ["Avalonia.Host.Com.IAvnHeaderedItemsControl"] = 14, + ["Avalonia.Host.Com.IAvnHeaderedSelectingItemsControl"] = 14, + ["Avalonia.Host.Com.IAvnHyperlinkButton"] = 13, + ["Avalonia.Host.Com.IAvnIconElement"] = 11, + ["Avalonia.Host.Com.IAvnLabel"] = 12, + ["Avalonia.Host.Com.IAvnMaskedTextBox"] = 17, + ["Avalonia.Host.Com.IAvnMenu"] = 14, + ["Avalonia.Host.Com.IAvnMenuBase"] = 14, + ["Avalonia.Host.Com.IAvnMenuItem"] = 17, + ["Avalonia.Host.Com.IAvnNotificationCard"] = 12, + ["Avalonia.Host.Com.IAvnNumericUpDown"] = 12, + ["Avalonia.Host.Com.IAvnPathIcon"] = 11, + ["Avalonia.Host.Com.IAvnPipsPager"] = 12, + ["Avalonia.Host.Com.IAvnRefreshContainer"] = 12, + ["Avalonia.Host.Com.IAvnRepeatButton"] = 13, + ["Avalonia.Host.Com.IAvnSeparator"] = 11, + ["Avalonia.Host.Com.IAvnSpinner"] = 11, + ["Avalonia.Host.Com.IAvnSplitButton"] = 14, + ["Avalonia.Host.Com.IAvnSplitView"] = 11, + ["Avalonia.Host.Com.IAvnTabControl"] = 14, + ["Avalonia.Host.Com.IAvnTabItem"] = 13, + ["Avalonia.Host.Com.IAvnTableView"] = 15, + ["Avalonia.Host.Com.IAvnTableViewCell"] = 13, + ["Avalonia.Host.Com.IAvnTableViewRow"] = 11, + ["Avalonia.Host.Com.IAvnThumb"] = 12, + ["Avalonia.Host.Com.IAvnTimePicker"] = 13, + ["Avalonia.Host.Com.IAvnToggleSplitButton"] = 14, + ["Avalonia.Host.Com.IAvnToolTip"] = 11, + ["Avalonia.Host.Com.IAvnTransitioningContentControl"] = 12, + ["Avalonia.Host.Com.IAvnTreeView"] = 14, + ["Avalonia.Host.Com.IAvnTreeViewItem"] = 14, + ["Avalonia.Host.Com.IAvnUserControl"] = 11, + ["Avalonia.Host.Com.IAvnWindowNotificationManager"] = 12, // Wave A's seven new interfaces publish at the default version 1 and nothing they // sit under moved, so they need no entry here. Waves B, C and D do the same. // The factory is the only interface these waves move: wave A gave it a creator per @@ -120,23 +120,23 @@ public static class AvaloniaProjectionProfiles // (Calendar, CalendarDatePicker) so 8, wave G seven more so 9, and wave H // eight constructible shapes (Shape is abstract) so 10, wave I five more so 11, // and wave J six more so 12, and wave K five constructible (IconElement abstract) so 13. - ["Avalonia.Host.Com.IAvnImage"] = 9, - ["Avalonia.Host.Com.IAvnWrapPanel"] = 9, - ["Avalonia.Host.Com.IAvnUniformGrid"] = 9, - ["Avalonia.Host.Com.IAvnRelativePanel"] = 9, - ["Avalonia.Host.Com.IAvnViewbox"] = 9, - ["Avalonia.Host.Com.IAvnFlexPanel"] = 9, - ["Avalonia.Host.Com.IAvnShape"] = 9, - ["Avalonia.Host.Com.IAvnRectangle"] = 9, - ["Avalonia.Host.Com.IAvnEllipse"] = 9, - ["Avalonia.Host.Com.IAvnLine"] = 9, - ["Avalonia.Host.Com.IAvnPath"] = 9, - ["Avalonia.Host.Com.IAvnPolygon"] = 9, - ["Avalonia.Host.Com.IAvnPolyline"] = 9, - ["Avalonia.Host.Com.IAvnArc"] = 9, - ["Avalonia.Host.Com.IAvnSector"] = 9, - ["Avalonia.Host.Com.IAvnLayoutTransformControl"] = 9, - ["Avalonia.Host.Com.IAvnThemeVariantScope"] = 9, + ["Avalonia.Host.Com.IAvnImage"] = 10, + ["Avalonia.Host.Com.IAvnWrapPanel"] = 10, + ["Avalonia.Host.Com.IAvnUniformGrid"] = 10, + ["Avalonia.Host.Com.IAvnRelativePanel"] = 10, + ["Avalonia.Host.Com.IAvnViewbox"] = 10, + ["Avalonia.Host.Com.IAvnFlexPanel"] = 10, + ["Avalonia.Host.Com.IAvnShape"] = 10, + ["Avalonia.Host.Com.IAvnRectangle"] = 10, + ["Avalonia.Host.Com.IAvnEllipse"] = 10, + ["Avalonia.Host.Com.IAvnLine"] = 10, + ["Avalonia.Host.Com.IAvnPath"] = 10, + ["Avalonia.Host.Com.IAvnPolygon"] = 10, + ["Avalonia.Host.Com.IAvnPolyline"] = 10, + ["Avalonia.Host.Com.IAvnArc"] = 10, + ["Avalonia.Host.Com.IAvnSector"] = 10, + ["Avalonia.Host.Com.IAvnLayoutTransformControl"] = 10, + ["Avalonia.Host.Com.IAvnThemeVariantScope"] = 10, ["Avalonia.Host.Com.IAvnControlFactory"] = 13, // Wave P. Payload-carrying replacements for the previously payload-less // handlers: the handler Invoke slots change shape, so each handler mints a @@ -292,7 +292,8 @@ public static class AvaloniaProjectionProfiles "Width", "Height", "MinWidth", "MinHeight", "MaxWidth", "MaxHeight", "Margin", "HorizontalAlignment", "VerticalAlignment", "IsVisible", "Opacity", "IsEnabled", "KeyDown", "KeyUp", "GotFocus", "LostFocus", - "PointerEntered", "PointerExited", + "PointerEntered", "PointerExited", "Tapped", "DoubleTapped", + "PointerWheelChanged", "ContextMenu", "ContextFlyout", "IsLoaded", "Loaded", "Unloaded", "SizeChanged", "Tag", ], @@ -1828,13 +1829,18 @@ public static class AvaloniaProjectionProfiles { PayloadKind = EventPayloadKind.None, }, + // Wave Q: PointerEventArgs is a routed-event args type whose host-typed members + // (IPointer, the relative position) stay off the wire; the device-independent + // scalars cross as fields. ["Avalonia.Controls.Control.PointerEntered"] = new() { - PayloadKind = EventPayloadKind.None, + PayloadKind = EventPayloadKind.Fields, + Parameters = [new() { Name = "KeyModifiers" }], }, ["Avalonia.Controls.Control.PointerExited"] = new() { - PayloadKind = EventPayloadKind.None, + PayloadKind = EventPayloadKind.Fields, + Parameters = [new() { Name = "KeyModifiers" }], }, ["Avalonia.Controls.Control.Loaded"] = new() { @@ -1844,6 +1850,28 @@ public static class AvaloniaProjectionProfiles { PayloadKind = EventPayloadKind.None, }, + // Wave Q: TappedEventArgs carries the tap as a KeyModifiers field. DoubleTapped + // has no payload members of its own, so it crosses as a notification. + ["Avalonia.Controls.Control.Tapped"] = new() + { + PayloadKind = EventPayloadKind.Fields, + Parameters = [new() { Name = "KeyModifiers" }], + }, + ["Avalonia.Controls.Control.DoubleTapped"] = new() + { + PayloadKind = EventPayloadKind.None, + }, + // Wave Q: PointerWheelEventArgs carries the scroll delta as an AvnVector and + // the modifiers at the time of the wheel tick. + ["Avalonia.Controls.Control.PointerWheelChanged"] = new() + { + PayloadKind = EventPayloadKind.Fields, + Parameters = + [ + new() { Name = "Delta" }, + new() { Name = "KeyModifiers" }, + ], + }, }, AttachedProperties = new Dictionary>(StringComparer.Ordinal) { diff --git a/rust/.avalonia-projection.owned.json b/rust/.avalonia-projection.owned.json index 58aa565..b8b7d16 100644 --- a/rust/.avalonia-projection.owned.json +++ b/rust/.avalonia-projection.owned.json @@ -7,7 +7,7 @@ }, { "path": "projection.ir.json", - "sha256": "9c0025aa0dcac4d3d1bd944e3d39c6c88690c76f825162f86f72c6674f8b9826" + "sha256": "21c2c271f4f18e9f2be997ef462ffe10a49936d8bb2762ff3e2a48911d7679fd" } ] } diff --git a/rust/abi-baseline.json b/rust/abi-baseline.json index a1a8479..4799e5c 100644 --- a/rust/abi-baseline.json +++ b/rust/abi-baseline.json @@ -652,6 +652,40 @@ } ] }, + { + "name": "invoke", + "callingConvention": "AVN_CALL", + "returnType": "AvnHResult", + "parameters": [ + { + "type": "$self", + "name": "self" + }, + { + "type": "int32_t", + "name": "key_modifiers" + } + ] + }, + { + "name": "invoke", + "callingConvention": "AVN_CALL", + "returnType": "AvnHResult", + "parameters": [ + { + "type": "$self", + "name": "self" + }, + { + "type": "AvnVector", + "name": "delta" + }, + { + "type": "int32_t", + "name": "key_modifiers" + } + ] + }, { "name": "invoke", "callingConvention": "AVN_CALL", @@ -2631,6 +2665,108 @@ } ] }, + { + "name": "advise_pointer_wheel_changed", + "callingConvention": "AVN_CALL", + "returnType": "AvnHResult", + "parameters": [ + { + "type": "$self", + "name": "self" + }, + { + "type": "IAvnControlPointerWheelChangedHandler*", + "name": "handler" + }, + { + "type": "int64_t*", + "name": "subscription_id" + } + ] + }, + { + "name": "unadvise_pointer_wheel_changed", + "callingConvention": "AVN_CALL", + "returnType": "AvnHResult", + "parameters": [ + { + "type": "$self", + "name": "self" + }, + { + "type": "int64_t", + "name": "subscription_id" + } + ] + }, + { + "name": "advise_tapped", + "callingConvention": "AVN_CALL", + "returnType": "AvnHResult", + "parameters": [ + { + "type": "$self", + "name": "self" + }, + { + "type": "IAvnControlTappedHandler*", + "name": "handler" + }, + { + "type": "int64_t*", + "name": "subscription_id" + } + ] + }, + { + "name": "unadvise_tapped", + "callingConvention": "AVN_CALL", + "returnType": "AvnHResult", + "parameters": [ + { + "type": "$self", + "name": "self" + }, + { + "type": "int64_t", + "name": "subscription_id" + } + ] + }, + { + "name": "advise_double_tapped", + "callingConvention": "AVN_CALL", + "returnType": "AvnHResult", + "parameters": [ + { + "type": "$self", + "name": "self" + }, + { + "type": "IAvnControlDoubleTappedHandler*", + "name": "handler" + }, + { + "type": "int64_t*", + "name": "subscription_id" + } + ] + }, + { + "name": "unadvise_double_tapped", + "callingConvention": "AVN_CALL", + "returnType": "AvnHResult", + "parameters": [ + { + "type": "$self", + "name": "self" + }, + { + "type": "int64_t", + "name": "subscription_id" + } + ] + }, { "name": "get_fill", "callingConvention": "AVN_CALL", @@ -17661,8 +17797,11 @@ "IAvnControl.E.LostFocus:None:", "IAvnControl.E.KeyDown:Fields:Key:I32:In:0,PhysicalKey:I32:In:0,KeyModifiers:I32:In:0,KeySymbol:StringUtf16:In:1,Handled:Bool:InOut:0", "IAvnControl.E.KeyUp:Fields:Key:I32:In:0,PhysicalKey:I32:In:0,KeyModifiers:I32:In:0,KeySymbol:StringUtf16:In:1,Handled:Bool:InOut:0", - "IAvnControl.E.PointerEntered:None:", - "IAvnControl.E.PointerExited:None:", + "IAvnControl.E.PointerEntered:Fields:KeyModifiers:I32:In:0", + "IAvnControl.E.PointerExited:Fields:KeyModifiers:I32:In:0", + "IAvnControl.E.PointerWheelChanged:Fields:Delta:Vector:In:0,KeyModifiers:I32:In:0", + "IAvnControl.E.Tapped:Fields:KeyModifiers:I32:In:0", + "IAvnControl.E.DoubleTapped:None:", "IAvnShape.P.Fill:Brush:1:1:1:", "IAvnShape.P.Stretch:I32:0:1:1:", "IAvnShape.P.Stroke:Brush:1:1:1:", @@ -18325,15 +18464,13 @@ "interfaces": [ { "name": "IAvnArc", - "iid": "394ACB52-3BF3-52D6-97E8-4BF0C102F4BE", + "iid": "D707907F-AF00-561A-9374-03A90DF55B83", "iidConstant": "I_AVN_ARC_IID", - "abiVersion": 9, + "abiVersion": 10, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -18357,9 +18494,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -18425,7 +18562,15 @@ 156, 157, 158, - 159 + 159, + 160, + 161, + 162, + 163, + 164, + 165, + 166, + 167 ], "irBases": [ "IAvnAvaloniaObject", @@ -18483,7 +18628,10 @@ 45, 46, 47, - 48 + 48, + 49, + 50, + 51 ] }, { @@ -18495,7 +18643,7 @@ 0, 1, 2, - 45 + 47 ] }, { @@ -18507,20 +18655,18 @@ 0, 1, 2, - 44 + 46 ] }, { "name": "IAvnAutoCompleteBox", - "iid": "86643B56-B59D-5EE3-8A9B-D44F7DA909E7", + "iid": "26FFE15E-6149-5898-93EB-55909338DC9A", "iidConstant": "I_AVN_AUTO_COMPLETE_BOX_IID", - "abiVersion": 17, + "abiVersion": 18, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -18544,9 +18690,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -18591,14 +18737,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -18680,7 +18826,15 @@ 246, 247, 248, - 249 + 249, + 250, + 251, + 252, + 253, + 254, + 255, + 256, + 257 ], "irBases": [ "IAvnAvaloniaObject", @@ -18728,9 +18882,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -18773,7 +18927,10 @@ 91, 92, 93, - 94 + 94, + 95, + 96, + 97 ] }, { @@ -18909,8 +19066,8 @@ 0, 1, 2, - 67, - 68 + 69, + 70 ], "irBases": [ "IAvnAvaloniaObject" @@ -18918,15 +19075,13 @@ }, { "name": "IAvnBorder", - "iid": "DFE5487A-B7C3-5DD1-A6EF-0CC9B9E6FC9C", + "iid": "DF677487-F79D-50DF-A474-0AF69F6A6C5B", "iidConstant": "I_AVN_BORDER_IID", - "abiVersion": 13, + "abiVersion": 14, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -18950,9 +19105,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -18997,23 +19152,31 @@ 135, 136, 137, - 250, - 251, - 186, - 187, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 258, + 259, + 194, + 195, 168, 169, - 252, - 253, - 254 + 170, + 171, + 172, + 173, + 174, + 175, + 176, + 177, + 260, + 261, + 262 ], "irBases": [ "IAvnAvaloniaObject", @@ -19061,15 +19224,18 @@ 35, 36, 37, - 95, - 96, - 97, + 38, + 39, + 40, 98, 99, 100, 101, 102, - 103 + 103, + 104, + 105, + 106 ] }, { @@ -19081,21 +19247,19 @@ 0, 1, 2, - 31, - 32 + 33, + 34 ] }, { "name": "IAvnButton", - "iid": "39E10286-7BB7-511B-8885-733B3AB380F6", + "iid": "E66D2CD1-A3CD-538E-9607-B5E784669C89", "iidConstant": "I_AVN_BUTTON_IID", - "abiVersion": 17, + "abiVersion": 18, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -19119,9 +19283,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -19166,14 +19330,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -19194,14 +19358,14 @@ 185, 186, 187, - 255, - 256, - 257, - 258, - 259, - 260, - 261, - 262, + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, 263, 264, 265, @@ -19218,7 +19382,15 @@ 276, 277, 278, - 279 + 279, + 280, + 281, + 282, + 283, + 284, + 285, + 286, + 287 ], "irBases": [ "IAvnAvaloniaObject", @@ -19267,9 +19439,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -19281,9 +19453,9 @@ 60, 61, 62, - 104, - 105, - 106, + 63, + 64, + 65, 107, 108, 109, @@ -19293,7 +19465,10 @@ 113, 114, 115, - 116 + 116, + 117, + 118, + 119 ] }, { @@ -19310,15 +19485,13 @@ }, { "name": "IAvnButtonSpinner", - "iid": "121045E2-0F99-5036-A5F8-373B15BC6449", + "iid": "BD9E8536-AD5B-51C7-B3E0-2DB521852F7C", "iidConstant": "I_AVN_BUTTON_SPINNER_IID", - "abiVersion": 10, + "abiVersion": 11, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -19342,9 +19515,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -19389,14 +19562,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -19417,24 +19590,32 @@ 185, 186, 187, - 255, - 256, - 257, - 258, - 259, - 260, - 261, - 262, - 280, - 281, - 282, - 283, - 284, - 285, - 286, - 287, + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, + 263, + 264, + 265, + 266, + 267, + 268, + 269, + 270, 288, - 289 + 289, + 290, + 291, + 292, + 293, + 294, + 295, + 296, + 297 ], "irBases": [ "IAvnAvaloniaObject", @@ -19484,9 +19665,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -19498,28 +19679,29 @@ 60, 61, 62, - 104, - 105, - 106, + 63, + 64, + 65, 107, - 117, - 118, - 119, + 108, + 109, + 110, 120, - 121 + 121, + 122, + 123, + 124 ] }, { "name": "IAvnCalendar", - "iid": "D1959E20-E08E-5A66-A63B-4BD714E609D7", + "iid": "9FF3FEBD-5CC5-5DB1-94DA-E03D3D41D947", "iidConstant": "I_AVN_CALENDAR_IID", - "abiVersion": 13, + "abiVersion": 14, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -19543,9 +19725,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -19590,14 +19772,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -19618,14 +19800,14 @@ 185, 186, 187, - 290, - 291, - 292, - 293, - 294, - 295, - 296, - 297, + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, 298, 299, 300, @@ -19649,7 +19831,15 @@ 318, 319, 320, - 321 + 321, + 322, + 323, + 324, + 325, + 326, + 327, + 328, + 329 ], "irBases": [ "IAvnAvaloniaObject", @@ -19697,9 +19887,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -19711,9 +19901,9 @@ 60, 61, 62, - 122, - 123, - 124, + 63, + 64, + 65, 125, 126, 127, @@ -19727,20 +19917,21 @@ 135, 136, 137, - 138 + 138, + 139, + 140, + 141 ] }, { "name": "IAvnCalendarDatePicker", - "iid": "52B3592A-D20D-5C93-8D31-E0552A7445FE", + "iid": "57923347-6143-59E6-BAFC-C745A8982164", "iidConstant": "I_AVN_CALENDAR_DATE_PICKER_IID", - "abiVersion": 12, + "abiVersion": 13, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -19764,9 +19955,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -19811,14 +20002,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -19839,50 +20030,58 @@ 185, 186, 187, - 313, - 309, - 310, - 311, - 312, - 314, - 315, - 290, - 291, - 200, - 201, - 292, - 293, - 306, - 307, + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, + 321, + 317, + 318, + 319, + 320, 322, 323, - 324, - 325, - 206, - 207, - 211, - 212, - 326, - 327, - 213, - 214, - 259, - 260, - 261, - 262, - 296, - 297, 298, 299, - 57, - 328, - 329, + 208, + 209, + 300, + 301, + 314, + 315, 330, 331, 332, 333, + 214, + 215, + 219, + 220, 334, - 335 + 335, + 221, + 222, + 267, + 268, + 269, + 270, + 304, + 305, + 306, + 307, + 59, + 336, + 337, + 338, + 339, + 340, + 341, + 342, + 343 ], "irBases": [ "IAvnAvaloniaObject", @@ -19930,9 +20129,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -19944,9 +20143,9 @@ 60, 61, 62, - 139, - 140, - 141, + 63, + 64, + 65, 142, 143, 144, @@ -19966,7 +20165,10 @@ 158, 159, 160, - 161 + 161, + 162, + 163, + 164 ] }, { @@ -20085,15 +20287,13 @@ }, { "name": "IAvnCanvas", - "iid": "CE4E710B-D3A5-5021-A343-758FA078E791", + "iid": "C16EF1BD-5F4F-5C2C-A3EA-508C4B05BA3C", "iidConstant": "I_AVN_CANVAS_IID", - "abiVersion": 12, + "abiVersion": 13, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -20117,9 +20317,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -20164,9 +20364,17 @@ 135, 136, 137, - 336, - 160, - 161 + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 344, + 168, + 169 ], "irBases": [ "IAvnAvaloniaObject", @@ -20214,8 +20422,11 @@ 35, 36, 37, - 162, - 163 + 38, + 39, + 40, + 165, + 166 ] }, { @@ -20227,27 +20438,25 @@ 0, 1, 2, - 957, - 958, - 959, - 960, - 961, - 962, - 963, - 964 + 965, + 966, + 967, + 968, + 969, + 970, + 971, + 972 ] }, { "name": "IAvnCarousel", - "iid": "B496C390-157D-54E1-8415-E487E93DAF7D", + "iid": "78C353C4-749B-55FC-A9EF-66608155B0DB", "iidConstant": "I_AVN_CAROUSEL_IID", - "abiVersion": 14, + "abiVersion": 15, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -20271,9 +20480,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -20318,14 +20527,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -20346,24 +20555,22 @@ 185, 186, 187, - 337, - 338, - 225, - 226, + 188, + 189, + 190, + 191, + 192, + 193, 194, 195, - 339, - 340, - 341, - 342, - 343, - 344, 345, 346, + 233, + 234, + 202, + 203, 347, 348, - 204, - 205, 349, 350, 351, @@ -20371,14 +20578,24 @@ 353, 354, 355, - 249, 356, + 212, + 213, 357, 358, 359, 360, 361, - 362 + 362, + 363, + 257, + 364, + 365, + 366, + 367, + 368, + 369, + 370 ], "irBases": [ "IAvnAvaloniaObject", @@ -20428,9 +20645,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -20442,9 +20659,9 @@ 60, 61, 62, - 164, - 165, - 166, + 63, + 64, + 65, 167, 168, 169, @@ -20463,20 +20680,21 @@ 182, 183, 184, - 185 + 185, + 186, + 187, + 188 ] }, { "name": "IAvnCheckBox", - "iid": "AACDB973-AF3D-5BA5-A094-635178EF2C2E", + "iid": "C4E191D8-29FB-5623-AF97-E3AAD950E27B", "iidConstant": "I_AVN_CHECK_BOX_IID", - "abiVersion": 17, + "abiVersion": 18, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -20500,9 +20718,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -20547,14 +20765,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -20575,14 +20793,14 @@ 185, 186, 187, - 255, - 256, - 257, - 258, - 259, - 260, - 261, - 262, + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, 263, 264, 265, @@ -20600,12 +20818,20 @@ 277, 278, 279, - 363, - 364, - 365, - 366, - 367, - 368 + 280, + 281, + 282, + 283, + 284, + 285, + 286, + 287, + 371, + 372, + 373, + 374, + 375, + 376 ], "irBases": [ "IAvnAvaloniaObject", @@ -20656,9 +20882,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -20670,9 +20896,9 @@ 60, 61, 62, - 104, - 105, - 106, + 63, + 64, + 65, 107, 108, 109, @@ -20683,22 +20909,23 @@ 114, 115, 116, - 186, - 187, - 188 + 117, + 118, + 119, + 189, + 190, + 191 ] }, { "name": "IAvnComboBox", - "iid": "C05FA67D-1BEE-51A8-9367-0300AA1CAE23", + "iid": "EEBBD41C-3704-5BC1-BB31-E87EF407CB79", "iidConstant": "I_AVN_COMBO_BOX_IID", - "abiVersion": 18, + "abiVersion": 19, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -20722,9 +20949,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -20769,14 +20996,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -20797,24 +21024,22 @@ 185, 186, 187, - 337, - 338, - 225, - 226, + 188, + 189, + 190, + 191, + 192, + 193, 194, 195, - 339, - 340, - 341, - 342, - 343, - 344, 345, 346, + 233, + 234, + 202, + 203, 347, 348, - 204, - 205, 349, 350, 351, @@ -20822,27 +21047,37 @@ 353, 354, 355, - 249, - 200, - 201, - 369, - 370, - 198, - 199, - 371, - 211, + 356, 212, 213, - 214, - 372, - 373, + 357, + 358, + 359, + 360, + 361, + 362, + 363, + 257, + 208, + 209, + 377, + 378, 206, 207, - 57, - 374, - 247, - 375, - 243 + 379, + 219, + 220, + 221, + 222, + 380, + 381, + 214, + 215, + 59, + 382, + 255, + 383, + 251 ], "irBases": [ "IAvnAvaloniaObject", @@ -20892,9 +21127,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -20906,9 +21141,9 @@ 60, 61, 62, - 164, - 165, - 166, + 63, + 64, + 65, 167, 168, 169, @@ -20923,9 +21158,9 @@ 178, 179, 180, - 189, - 190, - 191, + 181, + 182, + 183, 192, 193, 194, @@ -20933,7 +21168,10 @@ 196, 197, 198, - 199 + 199, + 200, + 201, + 202 ] }, { @@ -20962,15 +21200,13 @@ }, { "name": "IAvnComboBoxItem", - "iid": "4AF5334E-4FEC-5F97-84F0-CD61FD0C6B88", + "iid": "66D70CA8-4E9B-5BD6-9583-82595161CB34", "iidConstant": "I_AVN_COMBO_BOX_ITEM_IID", - "abiVersion": 16, + "abiVersion": 17, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -20994,9 +21230,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -21041,14 +21277,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -21069,16 +21305,24 @@ 185, 186, 187, - 255, - 256, - 257, - 258, - 259, - 260, - 261, - 262, - 376, - 377 + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, + 263, + 264, + 265, + 266, + 267, + 268, + 269, + 270, + 384, + 385 ], "irBases": [ "IAvnAvaloniaObject", @@ -21128,9 +21372,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -21142,11 +21386,14 @@ 60, 61, 62, - 104, - 105, - 106, + 63, + 64, + 65, 107, - 200 + 108, + 109, + 110, + 203 ] }, { @@ -21158,23 +21405,21 @@ 0, 1, 2, - 33, - 34, 35, - 36 + 36, + 37, + 38 ] }, { "name": "IAvnCommandBar", - "iid": "355E12ED-4932-5C4C-8AC1-AA74B666B584", + "iid": "180E1033-DD01-5433-A491-B2049D719449", "iidConstant": "I_AVN_COMMAND_BAR_IID", - "abiVersion": 13, + "abiVersion": 14, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -21198,9 +21443,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -21245,14 +21490,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -21273,22 +21518,22 @@ 185, 186, 187, - 378, - 379, - 380, - 381, - 382, - 383, - 255, - 256, - 384, - 385, + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, 386, 387, 388, 389, 390, 391, + 263, + 264, 392, 393, 394, @@ -21306,7 +21551,15 @@ 406, 407, 408, - 409 + 409, + 410, + 411, + 412, + 413, + 414, + 415, + 416, + 417 ], "irBases": [ "IAvnAvaloniaObject", @@ -21354,9 +21607,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -21368,9 +21621,9 @@ 60, 61, 62, - 201, - 202, - 203, + 63, + 64, + 65, 204, 205, 206, @@ -21386,20 +21639,21 @@ 216, 217, 218, - 219 + 219, + 220, + 221, + 222 ] }, { "name": "IAvnCommandBarButton", - "iid": "3A7F177E-FB8E-5893-B574-99ACD4CBC8B5", + "iid": "259356D2-8840-5531-9427-7FD0B9707AC7", "iidConstant": "I_AVN_COMMAND_BAR_BUTTON_IID", - "abiVersion": 12, + "abiVersion": 13, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -21423,9 +21677,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -21470,14 +21724,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -21498,14 +21752,14 @@ 185, 186, 187, - 255, - 256, - 257, - 258, - 259, - 260, - 261, - 262, + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, 263, 264, 265, @@ -21523,18 +21777,26 @@ 277, 278, 279, - 410, - 411, - 412, - 413, - 414, - 415, - 416, - 417, + 280, + 281, + 282, + 283, + 284, + 285, + 286, + 287, 418, 419, 420, - 421 + 421, + 422, + 423, + 424, + 425, + 426, + 427, + 428, + 429 ], "irBases": [ "IAvnAvaloniaObject", @@ -21584,9 +21846,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -21598,9 +21860,9 @@ 60, 61, 62, - 104, - 105, - 106, + 63, + 64, + 65, 107, 108, 109, @@ -21611,12 +21873,15 @@ 114, 115, 116, - 220, - 221, - 222, + 117, + 118, + 119, 223, 224, - 225 + 225, + 226, + 227, + 228 ] }, { @@ -21669,15 +21934,13 @@ }, { "name": "IAvnCommandBarSeparator", - "iid": "21D4AA3D-ADFF-5CC6-9E76-EA1FBBD11C33", + "iid": "3438DF70-F2D1-5474-A288-D97CCEACC9F9", "iidConstant": "I_AVN_COMMAND_BAR_SEPARATOR_IID", - "abiVersion": 10, + "abiVersion": 11, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -21701,9 +21964,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -21748,14 +22011,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -21776,10 +22039,18 @@ 185, 186, 187, - 414, - 415, - 420, - 421 + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, + 422, + 423, + 428, + 429 ], "irBases": [ "IAvnAvaloniaObject", @@ -21828,9 +22099,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -21842,21 +22113,22 @@ 60, 61, 62, - 226, - 227 + 63, + 64, + 65, + 229, + 230 ] }, { "name": "IAvnCommandBarToggleButton", - "iid": "28AA86DE-6253-5D07-964D-23785552FB86", + "iid": "97BD5478-2731-5994-9427-4A6ECB9EE04B", "iidConstant": "I_AVN_COMMAND_BAR_TOGGLE_BUTTON_IID", - "abiVersion": 12, + "abiVersion": 13, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -21880,9 +22152,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -21927,14 +22199,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -21955,14 +22227,14 @@ 185, 186, 187, - 255, - 256, - 257, - 258, - 259, - 260, - 261, - 262, + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, 263, 264, 265, @@ -21980,24 +22252,32 @@ 277, 278, 279, - 363, - 364, - 365, - 366, - 367, - 368, - 410, - 411, - 412, - 413, - 414, - 415, - 416, - 417, + 280, + 281, + 282, + 283, + 284, + 285, + 286, + 287, + 371, + 372, + 373, + 374, + 375, + 376, 418, 419, 420, - 421 + 421, + 422, + 423, + 424, + 425, + 426, + 427, + 428, + 429 ], "irBases": [ "IAvnAvaloniaObject", @@ -22048,9 +22328,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -22062,9 +22342,9 @@ 60, 61, 62, - 104, - 105, - 106, + 63, + 64, + 65, 107, 108, 109, @@ -22075,15 +22355,18 @@ 114, 115, 116, - 186, - 187, - 188, - 228, - 229, - 230, + 117, + 118, + 119, + 189, + 190, + 191, 231, 232, - 233 + 233, + 234, + 235, + 236 ] }, { @@ -22100,15 +22383,13 @@ }, { "name": "IAvnContentControl", - "iid": "71FA5ADD-9F62-5918-84D4-4B300B8EA192", + "iid": "611A61DE-9AD0-5456-979A-EE525E5132CE", "iidConstant": "I_AVN_CONTENT_CONTROL_IID", - "abiVersion": 14, + "abiVersion": 15, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -22132,9 +22413,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -22179,14 +22460,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -22207,14 +22488,22 @@ 185, 186, 187, - 255, - 256, - 257, - 258, - 259, - 260, - 261, - 262 + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, + 263, + 264, + 265, + 266, + 267, + 268, + 269, + 270 ], "irBases": [ "IAvnAvaloniaObject", @@ -22262,9 +22551,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -22276,23 +22565,24 @@ 60, 61, 62, - 104, - 105, - 106, - 107 + 63, + 64, + 65, + 107, + 108, + 109, + 110 ] }, { "name": "IAvnContextMenu", - "iid": "770B19A7-FB74-5BCA-B1DD-9E0EF124EFEE", + "iid": "F63FBE8E-277B-531C-B3F5-E9A2CCEF11A8", "iidConstant": "I_AVN_CONTEXT_MENU_IID", - "abiVersion": 16, + "abiVersion": 17, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -22316,12 +22606,12 @@ 89, 90, 91, - 32, 92, 93, - 422, + 34, + 94, 95, - 96, + 430, 97, 98, 99, @@ -22363,14 +22653,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -22391,24 +22681,22 @@ 185, 186, 187, - 337, - 338, - 225, - 226, + 188, + 189, + 190, + 191, + 192, + 193, 194, 195, - 339, - 340, - 341, - 342, - 343, - 344, 345, 346, + 233, + 234, + 202, + 203, 347, 348, - 204, - 205, 349, 350, 351, @@ -22416,22 +22704,24 @@ 353, 354, 355, - 249, - 390, - 423, - 424, - 425, - 405, - 426, - 409, - 427, - 428, - 429, - 430, + 356, + 212, + 213, + 357, + 358, + 359, + 360, + 361, + 362, + 363, + 257, + 398, 431, 432, 433, + 413, 434, + 417, 435, 436, 437, @@ -22446,9 +22736,17 @@ 446, 447, 448, - 403, 449, - 407 + 450, + 451, + 452, + 453, + 454, + 455, + 456, + 411, + 457, + 415 ], "irBases": [ "IAvnAvaloniaObject", @@ -22499,9 +22797,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -22513,9 +22811,9 @@ 60, 61, 62, - 164, - 165, - 166, + 63, + 64, + 65, 167, 168, 169, @@ -22530,9 +22828,9 @@ 178, 179, 180, - 234, - 235, - 236, + 181, + 182, + 183, 237, 238, 239, @@ -22547,7 +22845,10 @@ 248, 249, 250, - 251 + 251, + 252, + 253, + 254 ] }, { @@ -22576,15 +22877,13 @@ }, { "name": "IAvnControl", - "iid": "ABDFF81D-DB26-5BB7-9ACA-18353E6DB4D4", + "iid": "E2F44292-89FA-5AFA-9294-FF2F26DB68CE", "iidConstant": "I_AVN_CONTROL_IID", - "abiVersion": 9, + "abiVersion": 10, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -22608,9 +22907,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -22654,7 +22953,15 @@ 134, 135, 136, - 137 + 137, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145 ], "irBases": [ "IAvnAvaloniaObject", @@ -22699,7 +23006,22 @@ 34, 35, 36, - 37 + 37, + 38, + 39, + 40 + ] + }, + { + "name": "IAvnControlDoubleTappedHandler", + "iid": "11D5E069-AEFD-566B-92CC-CDB483877C33", + "iidConstant": "I_AVN_CONTROL_DOUBLE_TAPPED_HANDLER_IID", + "abiVersion": 1, + "slots": [ + 0, + 1, + 2, + 3 ] }, { @@ -22711,14 +23033,6 @@ 0, 1, 2, - 1007, - 1008, - 1009, - 1010, - 1011, - 1012, - 1013, - 1014, 1015, 1016, 1017, @@ -22813,7 +23127,15 @@ 1106, 1107, 1108, - 1109 + 1109, + 1110, + 1111, + 1112, + 1113, + 1114, + 1115, + 1116, + 1117 ] }, { @@ -22861,12 +23183,12 @@ 0, 1, 2, - 52, - 53, 54, 55, 56, - 57 + 57, + 58, + 59 ] }, { @@ -22902,7 +23224,7 @@ 0, 1, 2, - 3 + 21 ] }, { @@ -22914,7 +23236,19 @@ 0, 1, 2, - 3 + 21 + ] + }, + { + "name": "IAvnControlPointerWheelChangedHandler", + "iid": "4318E60A-86C6-5142-8600-0D61AA20CE93", + "iidConstant": "I_AVN_CONTROL_POINTER_WHEEL_CHANGED_HANDLER_IID", + "abiVersion": 1, + "slots": [ + 0, + 1, + 2, + 22 ] }, { @@ -22922,6 +23256,18 @@ "iid": "415D0DCB-CC4B-5047-ACA3-C148750F8B46", "iidConstant": "I_AVN_CONTROL_SIZE_CHANGED_HANDLER_IID", "abiVersion": 1, + "slots": [ + 0, + 1, + 2, + 23 + ] + }, + { + "name": "IAvnControlTappedHandler", + "iid": "7784D53F-FAEE-5089-8844-C9F5CC3E8632", + "iidConstant": "I_AVN_CONTROL_TAPPED_HANDLER_IID", + "abiVersion": 1, "slots": [ 0, 1, @@ -22950,21 +23296,19 @@ 0, 1, 2, - 37, - 38 + 39, + 40 ] }, { "name": "IAvnDatePicker", - "iid": "1441AD02-88FD-5BCE-9A23-18607667FAA3", + "iid": "DF809CB0-67FA-58E8-920C-1B9574A7B369", "iidConstant": "I_AVN_DATE_PICKER_IID", - "abiVersion": 12, + "abiVersion": 13, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -22988,9 +23332,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -23035,14 +23379,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -23063,16 +23407,16 @@ 185, 186, 187, - 261, - 262, - 450, - 451, - 452, - 453, - 454, - 455, - 456, - 457, + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, + 269, + 270, 458, 459, 460, @@ -23081,11 +23425,19 @@ 463, 464, 465, - 306, - 307, - 57, 466, - 335 + 467, + 468, + 469, + 470, + 471, + 472, + 473, + 314, + 315, + 59, + 474, + 343 ], "irBases": [ "IAvnAvaloniaObject", @@ -23133,9 +23485,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -23147,9 +23499,9 @@ 60, 61, 62, - 252, - 253, - 254, + 63, + 64, + 65, 255, 256, 257, @@ -23158,7 +23510,10 @@ 260, 261, 262, - 263 + 263, + 264, + 265, + 266 ] }, { @@ -23170,7 +23525,7 @@ 0, 1, 2, - 22 + 24 ] }, { @@ -23182,25 +23537,23 @@ 0, 1, 2, - 52, - 58, - 59, + 54, 60, - 56, - 57 + 61, + 62, + 58, + 59 ] }, { "name": "IAvnDecorator", - "iid": "73D7A8D4-2B75-5F19-958F-DE0D15AC3079", + "iid": "C3E4D085-4977-566E-B843-75D86B43C2C9", "iidConstant": "I_AVN_DECORATOR_IID", - "abiVersion": 11, + "abiVersion": 12, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -23224,9 +23577,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -23271,10 +23624,18 @@ 135, 136, 137, - 250, - 251, - 186, - 187 + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 258, + 259, + 194, + 195 ], "irBases": [ "IAvnAvaloniaObject", @@ -23321,21 +23682,22 @@ 35, 36, 37, - 95, - 96 + 38, + 39, + 40, + 98, + 99 ] }, { "name": "IAvnDockPanel", - "iid": "36376ACD-9F74-59B8-ADCA-CAE96F5E70B9", + "iid": "8D7E3210-853F-5D42-AE5B-A5915BD53928", "iidConstant": "I_AVN_DOCK_PANEL_IID", - "abiVersion": 12, + "abiVersion": 13, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -23359,9 +23721,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -23406,15 +23768,23 @@ 135, 136, 137, - 336, - 160, - 161, - 467, - 468, - 469, - 470, - 471, - 472 + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 344, + 168, + 169, + 475, + 476, + 477, + 478, + 479, + 480 ], "irBases": [ "IAvnAvaloniaObject", @@ -23462,11 +23832,14 @@ 35, 36, 37, - 162, - 163, - 264, - 265, - 266 + 38, + 39, + 40, + 165, + 166, + 267, + 268, + 269 ] }, { @@ -23478,21 +23851,19 @@ 0, 1, 2, - 965, - 966 + 973, + 974 ] }, { "name": "IAvnDropDownButton", - "iid": "85F27971-CEB0-528D-8D3B-C0AB62E11FDA", + "iid": "BCBBD462-BE4D-517B-96B1-BDF762CA9B4B", "iidConstant": "I_AVN_DROP_DOWN_BUTTON_IID", - "abiVersion": 12, + "abiVersion": 13, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -23516,9 +23887,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -23563,14 +23934,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -23591,14 +23962,14 @@ 185, 186, 187, - 255, - 256, - 257, - 258, - 259, - 260, - 261, - 262, + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, 263, 264, 265, @@ -23615,7 +23986,15 @@ 276, 277, 278, - 279 + 279, + 280, + 281, + 282, + 283, + 284, + 285, + 286, + 287 ], "irBases": [ "IAvnAvaloniaObject", @@ -23665,9 +24044,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -23679,9 +24058,9 @@ 60, 61, 62, - 104, - 105, - 106, + 63, + 64, + 65, 107, 108, 109, @@ -23691,20 +24070,21 @@ 113, 114, 115, - 116 + 116, + 117, + 118, + 119 ] }, { "name": "IAvnEllipse", - "iid": "2AA5065D-5B4C-542B-B6CC-A230A576E4F1", + "iid": "ECCCD4F8-7656-5346-B562-E826C27E039E", "iidConstant": "I_AVN_ELLIPSE_IID", - "abiVersion": 9, + "abiVersion": 10, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -23728,9 +24108,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -23792,7 +24172,15 @@ 152, 153, 154, - 155 + 155, + 156, + 157, + 158, + 159, + 160, + 161, + 162, + 163 ], "irBases": [ "IAvnAvaloniaObject", @@ -23848,20 +24236,21 @@ 43, 44, 45, - 46 + 46, + 47, + 48, + 49 ] }, { "name": "IAvnExpander", - "iid": "5655BDB3-EF10-56D0-BE24-59FC88350939", + "iid": "DFCCCA83-1ADA-5620-8230-0C1D66507F12", "iidConstant": "I_AVN_EXPANDER_IID", - "abiVersion": 14, + "abiVersion": 15, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -23885,9 +24274,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -23932,14 +24321,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -23960,22 +24349,22 @@ 185, 186, 187, - 255, - 256, - 257, - 258, - 259, - 260, - 261, - 262, - 473, - 474, - 475, - 476, - 477, - 478, - 479, - 480, + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, + 263, + 264, + 265, + 266, + 267, + 268, + 269, + 270, 481, 482, 483, @@ -23983,7 +24372,15 @@ 485, 486, 487, - 488 + 488, + 489, + 490, + 491, + 492, + 493, + 494, + 495, + 496 ], "irBases": [ "IAvnAvaloniaObject", @@ -24033,9 +24430,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -24047,18 +24444,21 @@ 60, 61, 62, - 104, - 105, - 106, + 63, + 64, + 65, 107, - 267, - 268, - 269, + 108, + 109, + 110, 270, 271, 272, 273, - 274 + 274, + 275, + 276, + 277 ] }, { @@ -24111,15 +24511,13 @@ }, { "name": "IAvnFlexPanel", - "iid": "5E186F8A-D1FB-5989-A496-63982A999752", + "iid": "1CC87ECC-363C-5A07-9023-AEA80DBEF8B0", "iidConstant": "I_AVN_FLEX_PANEL_IID", - "abiVersion": 9, + "abiVersion": 10, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -24143,9 +24541,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -24190,23 +24588,31 @@ 135, 136, 137, - 336, - 160, - 161, - 489, - 490, - 491, - 492, - 493, - 494, - 495, - 496, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 344, + 168, + 169, 497, 498, 499, 500, 501, - 502 + 502, + 503, + 504, + 505, + 506, + 507, + 508, + 509, + 510 ], "irBases": [ "IAvnAvaloniaObject", @@ -24254,15 +24660,18 @@ 35, 36, 37, - 162, - 163, - 275, - 276, - 277, + 38, + 39, + 40, + 165, + 166, 278, 279, 280, - 281 + 281, + 282, + 283, + 284 ] }, { @@ -24274,47 +24683,47 @@ 0, 1, 2, - 67, - 68, - 390, - 391, - 503, - 504, - 505, - 506, - 405, - 507, - 409, - 508, - 437, - 438, - 435, - 436, - 431, - 432, - 427, - 428, - 429, - 430, - 445, - 446, - 509, - 510, + 69, + 70, + 398, + 399, 511, 512, 513, 514, - 433, - 434, + 413, 515, + 417, 516, - 407, + 445, + 446, + 443, + 444, + 439, + 440, + 435, + 436, + 437, + 438, + 453, + 454, 517, - 403, - 255, - 256, - 257, - 258 + 518, + 519, + 520, + 521, + 522, + 441, + 442, + 523, + 524, + 415, + 525, + 411, + 263, + 264, + 265, + 266 ], "irBases": [ "IAvnAvaloniaObject", @@ -24323,9 +24732,6 @@ "IAvnFlyout" ], "irMembers": [ - 282, - 283, - 284, 285, 286, 287, @@ -24344,7 +24750,10 @@ 300, 301, 302, - 303 + 303, + 304, + 305, + 306 ] }, { @@ -24356,29 +24765,29 @@ 0, 1, 2, - 67, - 68, - 390, - 391, - 503, - 504, - 505, - 506, - 405, - 507, - 409 + 69, + 70, + 398, + 399, + 511, + 512, + 513, + 514, + 413, + 515, + 417 ], "irBases": [ "IAvnAvaloniaObject", "IAvnFlyoutBase" ], "irMembers": [ - 282, - 283, - 284, 285, 286, - 287 + 287, + 288, + 289, + 290 ] }, { @@ -24407,15 +24816,13 @@ }, { "name": "IAvnGrid", - "iid": "63034BE5-179A-5196-8338-F10785C6DDDD", + "iid": "887286EA-8097-52EB-9CEF-FA1DA7828D0F", "iidConstant": "I_AVN_GRID_IID", - "abiVersion": 13, + "abiVersion": 14, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -24439,9 +24846,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -24486,19 +24893,27 @@ 135, 136, 137, - 336, - 160, - 161, - 518, - 519, - 501, - 502, - 499, - 500, - 520, - 521, - 522, - 523 + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 344, + 168, + 169, + 526, + 527, + 509, + 510, + 507, + 508, + 528, + 529, + 530, + 531 ], "irBases": [ "IAvnAvaloniaObject", @@ -24546,26 +24961,27 @@ 35, 36, 37, - 162, - 163, - 304, - 305, - 306, + 38, + 39, + 40, + 165, + 166, 307, - 308 + 308, + 309, + 310, + 311 ] }, { "name": "IAvnGridSplitter", - "iid": "93629BF6-E409-5BF3-BB49-454A884550E3", + "iid": "9D81E579-275C-53A1-8C3B-91F10E2D8403", "iidConstant": "I_AVN_GRID_SPLITTER_IID", - "abiVersion": 11, + "abiVersion": 12, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -24589,9 +25005,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -24636,14 +25052,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -24664,14 +25080,14 @@ 185, 186, 187, - 524, - 525, - 526, - 527, - 528, - 529, - 530, - 531, + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, 532, 533, 534, @@ -24679,7 +25095,15 @@ 536, 537, 538, - 539 + 539, + 540, + 541, + 542, + 543, + 544, + 545, + 546, + 547 ], "irBases": [ "IAvnAvaloniaObject", @@ -24728,9 +25152,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -24742,14 +25166,17 @@ 60, 61, 62, - 309, - 310, - 311, + 63, + 64, + 65, 312, 313, 314, 315, - 316 + 316, + 317, + 318, + 319 ] }, { @@ -24761,29 +25188,27 @@ 0, 1, 2, - 967, - 968, - 969, - 970, - 971, - 972, - 973, - 974, 975, - 976 + 976, + 977, + 978, + 979, + 980, + 981, + 982, + 983, + 984 ] }, { "name": "IAvnGroupBox", - "iid": "B2A2A0DC-533F-50D6-B486-8AFB44B0E82D", + "iid": "F8356E2B-46EA-58CC-8074-789BA42F0C79", "iidConstant": "I_AVN_GROUP_BOX_IID", - "abiVersion": 10, + "abiVersion": 11, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -24807,9 +25232,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -24854,14 +25279,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -24882,18 +25307,26 @@ 185, 186, 187, - 255, - 256, - 257, - 258, - 259, - 260, - 261, - 262, - 473, - 474, - 475, - 476 + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, + 263, + 264, + 265, + 266, + 267, + 268, + 269, + 270, + 481, + 482, + 483, + 484 ], "irBases": [ "IAvnAvaloniaObject", @@ -24943,9 +25376,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -24957,25 +25390,26 @@ 60, 61, 62, - 104, - 105, - 106, + 63, + 64, + 65, 107, - 267, - 268 + 108, + 109, + 110, + 270, + 271 ] }, { "name": "IAvnHeaderedContentControl", - "iid": "C1825F55-DE82-5447-93A8-4A55F63BA652", + "iid": "D8948145-837B-5DC3-A685-14DF38167A93", "iidConstant": "I_AVN_HEADERED_CONTENT_CONTROL_IID", - "abiVersion": 14, + "abiVersion": 15, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -24999,9 +25433,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -25046,14 +25480,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -25074,18 +25508,26 @@ 185, 186, 187, - 255, - 256, - 257, - 258, - 259, - 260, - 261, - 262, - 473, - 474, - 475, - 476 + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, + 263, + 264, + 265, + 266, + 267, + 268, + 269, + 270, + 481, + 482, + 483, + 484 ], "irBases": [ "IAvnAvaloniaObject", @@ -25134,9 +25576,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -25148,25 +25590,26 @@ 60, 61, 62, - 104, - 105, - 106, + 63, + 64, + 65, 107, - 267, - 268 + 108, + 109, + 110, + 270, + 271 ] }, { "name": "IAvnHeaderedItemsControl", - "iid": "B6281359-24AB-5280-8B2C-762A53529C27", + "iid": "D25B235E-D49F-55B2-ADF8-90A2BFCB96AB", "iidConstant": "I_AVN_HEADERED_ITEMS_CONTROL_IID", - "abiVersion": 13, + "abiVersion": 14, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -25190,9 +25633,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -25237,14 +25680,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -25265,22 +25708,30 @@ 185, 186, 187, - 337, - 338, - 225, - 226, + 188, + 189, + 190, + 191, + 192, + 193, 194, 195, - 339, - 340, - 341, - 342, - 343, - 344, - 473, - 474, - 475, - 476 + 345, + 346, + 233, + 234, + 202, + 203, + 347, + 348, + 349, + 350, + 351, + 352, + 481, + 482, + 483, + 484 ], "irBases": [ "IAvnAvaloniaObject", @@ -25329,9 +25780,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -25343,9 +25794,9 @@ 60, 61, 62, - 164, - 165, - 166, + 63, + 64, + 65, 167, 168, 169, @@ -25353,21 +25804,22 @@ 171, 172, 173, - 317, - 318 + 174, + 175, + 176, + 320, + 321 ] }, { "name": "IAvnHeaderedSelectingItemsControl", - "iid": "8640C1BF-2502-5E21-B861-1ECBD1918FD1", + "iid": "BA5CD52E-ECDF-5379-AC86-5897FA853C60", "iidConstant": "I_AVN_HEADERED_SELECTING_ITEMS_CONTROL_IID", - "abiVersion": 13, + "abiVersion": 14, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -25391,9 +25843,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -25438,14 +25890,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -25466,24 +25918,22 @@ 185, 186, 187, - 337, - 338, - 225, - 226, + 188, + 189, + 190, + 191, + 192, + 193, 194, 195, - 339, - 340, - 341, - 342, - 343, - 344, 345, 346, + 233, + 234, + 202, + 203, 347, 348, - 204, - 205, 349, 350, 351, @@ -25491,11 +25941,21 @@ 353, 354, 355, - 249, - 473, - 474, - 475, - 476 + 356, + 212, + 213, + 357, + 358, + 359, + 360, + 361, + 362, + 363, + 257, + 481, + 482, + 483, + 484 ], "irBases": [ "IAvnAvaloniaObject", @@ -25545,9 +26005,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -25559,9 +26019,9 @@ 60, 61, 62, - 164, - 165, - 166, + 63, + 64, + 65, 167, 168, 169, @@ -25576,21 +26036,22 @@ 178, 179, 180, - 319, - 320 + 181, + 182, + 183, + 322, + 323 ] }, { "name": "IAvnHyperlinkButton", - "iid": "CCCE2078-E616-51A8-A55F-77D316F2C9AB", + "iid": "59F93515-012E-5F89-9998-87E5947034C1", "iidConstant": "I_AVN_HYPERLINK_BUTTON_IID", - "abiVersion": 12, + "abiVersion": 13, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -25614,9 +26075,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -25661,14 +26122,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -25689,14 +26150,14 @@ 185, 186, 187, - 255, - 256, - 257, - 258, - 259, - 260, - 261, - 262, + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, 263, 264, 265, @@ -25714,10 +26175,18 @@ 277, 278, 279, - 540, - 541, - 542, - 543 + 280, + 281, + 282, + 283, + 284, + 285, + 286, + 287, + 548, + 549, + 550, + 551 ], "irBases": [ "IAvnAvaloniaObject", @@ -25767,9 +26236,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -25781,9 +26250,9 @@ 60, 61, 62, - 104, - 105, - 106, + 63, + 64, + 65, 107, 108, 109, @@ -25794,21 +26263,22 @@ 114, 115, 116, - 321, - 322 + 117, + 118, + 119, + 324, + 325 ] }, { "name": "IAvnIconElement", - "iid": "0A1BCD24-9DC9-55DB-B2AA-930041185E3B", + "iid": "21137537-05A7-5CD9-8FED-59DACA086407", "iidConstant": "I_AVN_ICON_ELEMENT_IID", - "abiVersion": 10, + "abiVersion": 11, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -25832,9 +26302,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -25879,14 +26349,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -25906,7 +26376,15 @@ 184, 185, 186, - 187 + 187, + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195 ], "irBases": [ "IAvnAvaloniaObject", @@ -25954,9 +26432,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -25967,20 +26445,21 @@ 59, 60, 61, - 62 + 62, + 63, + 64, + 65 ] }, { "name": "IAvnImage", - "iid": "4A556F2B-827F-5748-B7CD-C48452727A29", + "iid": "9CBC9E3A-098A-51D7-9647-E20615058287", "iidConstant": "I_AVN_IMAGE_IID", - "abiVersion": 9, + "abiVersion": 10, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -26004,9 +26483,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -26051,14 +26530,22 @@ 135, 136, 137, - 544, - 545, - 546, - 547, + 138, + 139, 140, 141, - 548, - 549 + 142, + 143, + 144, + 145, + 552, + 553, + 554, + 555, + 148, + 149, + 556, + 557 ], "irBases": [ "IAvnAvaloniaObject", @@ -26105,10 +26592,13 @@ 35, 36, 37, - 323, - 324, - 325, - 326 + 38, + 39, + 40, + 326, + 327, + 328, + 329 ] }, { @@ -26120,7 +26610,7 @@ 0, 1, 2, - 39 + 41 ] }, { @@ -26132,12 +26622,12 @@ 0, 1, 2, - 52, - 53, 54, 55, 56, - 57 + 57, + 58, + 59 ] }, { @@ -26149,20 +26639,18 @@ 0, 1, 2, - 41 + 43 ] }, { "name": "IAvnItemsControl", - "iid": "B656735C-EECA-50CC-A87D-B4362F7E045A", + "iid": "45705E13-A906-50E2-A0D8-DCC20585FDA6", "iidConstant": "I_AVN_ITEMS_CONTROL_IID", - "abiVersion": 16, + "abiVersion": 17, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -26186,9 +26674,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -26233,14 +26721,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -26261,18 +26749,26 @@ 185, 186, 187, - 337, - 338, - 225, - 226, + 188, + 189, + 190, + 191, + 192, + 193, 194, 195, - 339, - 340, - 341, - 342, - 343, - 344 + 345, + 346, + 233, + 234, + 202, + 203, + 347, + 348, + 349, + 350, + 351, + 352 ], "irBases": [ "IAvnAvaloniaObject", @@ -26320,9 +26816,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -26334,29 +26830,30 @@ 60, 61, 62, - 164, - 165, - 166, + 63, + 64, + 65, 167, 168, 169, 170, 171, 172, - 173 + 173, + 174, + 175, + 176 ] }, { "name": "IAvnLabel", - "iid": "A1ACC10D-5788-5CFF-9D99-798770898E14", + "iid": "73C1CCE5-8DB6-5A69-B8FB-AC639528AE72", "iidConstant": "I_AVN_LABEL_IID", - "abiVersion": 11, + "abiVersion": 12, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -26380,9 +26877,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -26427,14 +26924,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -26455,16 +26952,24 @@ 185, 186, 187, - 255, - 256, - 257, - 258, - 259, - 260, - 261, - 262, - 503, - 550 + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, + 263, + 264, + 265, + 266, + 267, + 268, + 269, + 270, + 511, + 558 ], "irBases": [ "IAvnAvaloniaObject", @@ -26513,9 +27018,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -26527,24 +27032,25 @@ 60, 61, 62, - 104, - 105, - 106, + 63, + 64, + 65, 107, - 327 + 108, + 109, + 110, + 330 ] }, { "name": "IAvnLayoutTransformControl", - "iid": "5295C33E-5E49-5425-B06D-D0A37D4AAE68", + "iid": "4CF77BF7-4ED9-59F6-98C0-AE9682B3ADFE", "iidConstant": "I_AVN_LAYOUT_TRANSFORM_CONTROL_IID", - "abiVersion": 9, + "abiVersion": 10, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -26568,9 +27074,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -26615,12 +27121,20 @@ 135, 136, 137, - 250, - 251, - 186, - 187, - 551, - 552 + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 258, + 259, + 194, + 195, + 559, + 560 ], "irBases": [ "IAvnAvaloniaObject", @@ -26668,22 +27182,23 @@ 35, 36, 37, - 95, - 96, - 328 + 38, + 39, + 40, + 98, + 99, + 331 ] }, { "name": "IAvnLine", - "iid": "12A0F43A-9EAB-5F5B-96EF-D91E25F31B78", + "iid": "C3F76A13-4998-5B6B-AD06-EFB5E4B9EC61", "iidConstant": "I_AVN_LINE_IID", - "abiVersion": 9, + "abiVersion": 10, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -26707,9 +27222,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -26772,10 +27287,18 @@ 153, 154, 155, - 553, - 554, - 555, - 556 + 156, + 157, + 158, + 159, + 160, + 161, + 162, + 163, + 561, + 562, + 563, + 564 ], "irBases": [ "IAvnAvaloniaObject", @@ -26832,21 +27355,22 @@ 44, 45, 46, - 329, - 330 + 47, + 48, + 49, + 332, + 333 ] }, { "name": "IAvnListBox", - "iid": "6D07BC84-D7C4-5226-A69E-AAF3EE1663A9", + "iid": "C45989AF-4038-524F-885B-E57185B22159", "iidConstant": "I_AVN_LIST_BOX_IID", - "abiVersion": 17, + "abiVersion": 18, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -26870,9 +27394,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -26917,14 +27441,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -26945,24 +27469,22 @@ 185, 186, 187, - 337, - 338, - 225, - 226, + 188, + 189, + 190, + 191, + 192, + 193, 194, 195, - 339, - 340, - 341, - 342, - 343, - 344, 345, 346, + 233, + 234, + 202, + 203, 347, 348, - 204, - 205, 349, 350, 351, @@ -26970,11 +27492,21 @@ 353, 354, 355, - 249, - 302, - 303, - 557, - 558 + 356, + 212, + 213, + 357, + 358, + 359, + 360, + 361, + 362, + 363, + 257, + 310, + 311, + 565, + 566 ], "irBases": [ "IAvnAvaloniaObject", @@ -27024,9 +27556,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -27038,9 +27570,9 @@ 60, 61, 62, - 164, - 165, - 166, + 63, + 64, + 65, 167, 168, 169, @@ -27055,22 +27587,23 @@ 178, 179, 180, - 331, - 332, - 333 + 181, + 182, + 183, + 334, + 335, + 336 ] }, { "name": "IAvnListBoxItem", - "iid": "4BB2FF76-E252-53F1-8AE0-E32A2C1BBE76", + "iid": "D51DAD4D-C109-5ABD-84B4-F3C6007F6133", "iidConstant": "I_AVN_LIST_BOX_ITEM_IID", - "abiVersion": 16, + "abiVersion": 17, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -27094,9 +27627,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -27141,14 +27674,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -27169,16 +27702,24 @@ 185, 186, 187, - 255, - 256, - 257, - 258, - 259, - 260, - 261, - 262, - 376, - 377 + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, + 263, + 264, + 265, + 266, + 267, + 268, + 269, + 270, + 384, + 385 ], "irBases": [ "IAvnAvaloniaObject", @@ -27227,9 +27768,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -27241,24 +27782,25 @@ 60, 61, 62, - 104, - 105, - 106, + 63, + 64, + 65, 107, - 200 + 108, + 109, + 110, + 203 ] }, { "name": "IAvnMaskedTextBox", - "iid": "E621C745-A587-5BDD-A1C5-8F498B8636C5", + "iid": "ACF377B4-D865-5245-8CFE-AE0461EF95FB", "iidConstant": "I_AVN_MASKED_TEXT_BOX_IID", - "abiVersion": 16, + "abiVersion": 17, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -27282,9 +27824,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -27329,14 +27871,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -27357,24 +27899,24 @@ 185, 186, 187, - 559, - 560, - 202, - 203, - 561, - 562, - 563, - 564, 188, 189, - 565, - 566, + 190, + 191, + 192, + 193, + 194, + 195, 567, 568, + 210, + 211, 569, 570, 571, 572, + 196, + 197, 573, 574, 575, @@ -27383,42 +27925,42 @@ 578, 579, 580, - 227, - 228, 581, 582, 583, 584, 585, 586, - 206, - 207, 587, 588, - 259, - 260, - 261, - 262, + 235, + 236, 589, 590, - 211, - 212, - 326, - 327, - 213, - 214, - 229, - 230, - 231, - 232, 591, 592, 593, 594, + 214, + 215, 595, 596, + 267, + 268, + 269, + 270, 597, 598, + 219, + 220, + 334, + 335, + 221, + 222, + 237, + 238, + 239, + 240, 599, 600, 601, @@ -27431,9 +27973,7 @@ 608, 609, 610, - 57, 611, - 557, 612, 613, 614, @@ -27441,9 +27981,10 @@ 616, 617, 618, + 59, 619, + 565, 620, - 235, 621, 622, 623, @@ -27452,6 +27993,7 @@ 626, 627, 628, + 243, 629, 630, 631, @@ -27459,7 +28001,15 @@ 633, 634, 635, - 636 + 636, + 637, + 638, + 639, + 640, + 641, + 642, + 643, + 644 ], "irBases": [ "IAvnAvaloniaObject", @@ -27508,9 +28058,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -27522,9 +28072,9 @@ 60, 61, 62, - 334, - 335, - 336, + 63, + 64, + 65, 337, 338, 339, @@ -27581,20 +28131,21 @@ 390, 391, 392, - 393 + 393, + 394, + 395, + 396 ] }, { "name": "IAvnMenu", - "iid": "0220FC0F-FA60-5173-9E8B-AD96351B3C6D", + "iid": "71FC2F34-4C1D-591E-A567-AB3151C77785", "iidConstant": "I_AVN_MENU_IID", - "abiVersion": 13, + "abiVersion": 14, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -27618,9 +28169,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -27665,14 +28216,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -27693,24 +28244,22 @@ 185, 186, 187, - 337, - 338, - 225, - 226, + 188, + 189, + 190, + 191, + 192, + 193, 194, 195, - 339, - 340, - 341, - 342, - 343, - 344, 345, 346, + 233, + 234, + 202, + 203, 347, 348, - 204, - 205, 349, 350, 351, @@ -27718,14 +28267,24 @@ 353, 354, 355, - 249, - 390, - 423, - 424, - 425, - 405, - 426, - 409 + 356, + 212, + 213, + 357, + 358, + 359, + 360, + 361, + 362, + 363, + 257, + 398, + 431, + 432, + 433, + 413, + 434, + 417 ], "irBases": [ "IAvnAvaloniaObject", @@ -27776,9 +28335,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -27790,9 +28349,9 @@ 60, 61, 62, - 164, - 165, - 166, + 63, + 64, + 65, 167, 168, 169, @@ -27807,24 +28366,25 @@ 178, 179, 180, - 234, - 235, - 236, + 181, + 182, + 183, 237, - 238 + 238, + 239, + 240, + 241 ] }, { "name": "IAvnMenuBase", - "iid": "3B780634-1A42-576F-A587-EE11F0B5C8E8", + "iid": "1E92B6FA-9790-5135-8AC6-A566A0EAD414", "iidConstant": "I_AVN_MENU_BASE_IID", - "abiVersion": 13, + "abiVersion": 14, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -27848,9 +28408,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -27895,14 +28455,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -27923,24 +28483,22 @@ 185, 186, 187, - 337, - 338, - 225, - 226, + 188, + 189, + 190, + 191, + 192, + 193, 194, 195, - 339, - 340, - 341, - 342, - 343, - 344, 345, 346, + 233, + 234, + 202, + 203, 347, 348, - 204, - 205, 349, 350, 351, @@ -27948,14 +28506,24 @@ 353, 354, 355, - 249, - 390, - 423, - 424, - 425, - 405, - 426, - 409 + 356, + 212, + 213, + 357, + 358, + 359, + 360, + 361, + 362, + 363, + 257, + 398, + 431, + 432, + 433, + 413, + 434, + 417 ], "irBases": [ "IAvnAvaloniaObject", @@ -28005,9 +28573,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -28019,9 +28587,9 @@ 60, 61, 62, - 164, - 165, - 166, + 63, + 64, + 65, 167, 168, 169, @@ -28036,11 +28604,14 @@ 178, 179, 180, - 234, - 235, - 236, + 181, + 182, + 183, 237, - 238 + 238, + 239, + 240, + 241 ] }, { @@ -28076,48 +28647,48 @@ 0, 1, 2, - 67, - 68, - 390, - 391, - 503, - 504, - 505, - 506, - 405, - 507, - 409, - 508, - 437, - 438, - 435, - 436, - 431, - 432, - 427, - 428, - 429, - 430, - 445, - 446, - 509, - 510, + 69, + 70, + 398, + 399, 511, 512, 513, 514, - 433, - 434, + 413, 515, + 417, 516, - 407, + 445, + 446, + 443, + 444, + 439, + 440, + 435, + 436, + 437, + 438, + 453, + 454, 517, - 403, - 337, - 225, - 226, - 194, - 195 + 518, + 519, + 520, + 521, + 522, + 441, + 442, + 523, + 524, + 415, + 525, + 411, + 345, + 233, + 234, + 202, + 203 ], "irBases": [ "IAvnAvaloniaObject", @@ -28126,9 +28697,6 @@ "IAvnMenuFlyout" ], "irMembers": [ - 282, - 283, - 284, 285, 286, 287, @@ -28146,22 +28714,23 @@ 299, 300, 301, - 394, - 395, - 396 + 302, + 303, + 304, + 397, + 398, + 399 ] }, { "name": "IAvnMenuItem", - "iid": "B08CE5EB-F84F-5466-BB66-986E0971333B", + "iid": "15CE4E5D-E0E7-5356-ACFF-D742B7280B97", "iidConstant": "I_AVN_MENU_ITEM_IID", - "abiVersion": 16, + "abiVersion": 17, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -28185,9 +28754,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -28232,14 +28801,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -28260,24 +28829,22 @@ 185, 186, 187, - 337, - 338, - 225, - 226, + 188, + 189, + 190, + 191, + 192, + 193, 194, 195, - 339, - 340, - 341, - 342, - 343, - 344, 345, 346, + 233, + 234, + 202, + 203, 347, 348, - 204, - 205, 349, 350, 351, @@ -28285,41 +28852,51 @@ 353, 354, 355, - 249, - 473, - 474, - 475, - 476, - 265, - 266, - 267, - 268, - 269, - 270, - 637, - 638, - 639, - 640, - 376, - 377, - 641, - 642, - 643, - 644, + 356, + 212, + 213, + 357, + 358, + 359, + 360, + 361, + 362, + 363, + 257, + 481, + 482, + 483, + 484, + 273, + 274, + 275, + 276, + 277, + 278, 645, 646, - 363, - 364, 647, 648, + 384, + 385, 649, 650, - 424, - 423, 651, - 279, 652, - 653 + 653, + 654, + 371, + 372, + 655, + 656, + 657, + 658, + 432, + 431, + 659, + 287, + 660, + 661 ], "irBases": [ "IAvnAvaloniaObject", @@ -28370,9 +28947,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -28384,9 +28961,9 @@ 60, 61, 62, - 164, - 165, - 166, + 63, + 64, + 65, 167, 168, 169, @@ -28401,11 +28978,11 @@ 178, 179, 180, - 319, - 320, - 397, - 398, - 399, + 181, + 182, + 183, + 322, + 323, 400, 401, 402, @@ -28419,7 +28996,10 @@ 410, 411, 412, - 413 + 413, + 414, + 415, + 416 ] }, { @@ -28455,12 +29035,12 @@ 0, 1, 2, - 46, - 47, 48, 49, 50, - 51 + 51, + 52, + 53 ] }, { @@ -28477,15 +29057,13 @@ }, { "name": "IAvnNotificationCard", - "iid": "9E575724-617A-54E5-BF78-B6C68E5F4343", + "iid": "DB52E2D8-CC48-5F72-B220-52BDF16BC055", "iidConstant": "I_AVN_NOTIFICATION_CARD_IID", - "abiVersion": 11, + "abiVersion": 12, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -28509,9 +29087,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -28556,14 +29134,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -28584,22 +29162,30 @@ 185, 186, 187, - 255, - 256, - 257, - 258, - 259, - 260, - 261, - 262, - 654, - 655, - 656, - 657, - 658, - 423, - 659, - 660 + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, + 263, + 264, + 265, + 266, + 267, + 268, + 269, + 270, + 662, + 663, + 664, + 665, + 666, + 431, + 667, + 668 ], "irBases": [ "IAvnAvaloniaObject", @@ -28648,9 +29234,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -28662,15 +29248,18 @@ 60, 61, 62, - 104, - 105, - 106, + 63, + 64, + 65, 107, - 414, - 415, - 416, + 108, + 109, + 110, 417, - 418 + 418, + 419, + 420, + 421 ] }, { @@ -28687,15 +29276,13 @@ }, { "name": "IAvnNumericUpDown", - "iid": "63426B0F-1A76-51A9-9E98-343D2E69C156", + "iid": "1082FB46-8635-515E-822C-12629B6D25F8", "iidConstant": "I_AVN_NUMERIC_UP_DOWN_IID", - "abiVersion": 11, + "abiVersion": 12, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -28719,9 +29306,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -28766,14 +29353,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -28794,46 +29381,54 @@ 185, 186, 187, - 284, - 285, - 288, - 289, - 286, - 287, - 661, - 662, - 663, - 664, - 665, - 666, - 565, - 566, - 667, - 668, + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, + 292, + 293, + 296, + 297, + 294, + 295, 669, 670, - 206, - 207, 671, 672, - 211, - 212, - 213, - 214, - 259, - 260, - 261, - 262, - 589, - 590, - 229, - 230, - 231, - 232, 673, 674, + 573, + 574, 675, - 676 + 676, + 677, + 678, + 214, + 215, + 679, + 680, + 219, + 220, + 221, + 222, + 267, + 268, + 269, + 270, + 597, + 598, + 237, + 238, + 239, + 240, + 681, + 682, + 683, + 684 ], "irBases": [ "IAvnAvaloniaObject", @@ -28881,9 +29476,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -28895,9 +29490,9 @@ 60, 61, 62, - 419, - 420, - 421, + 63, + 64, + 65, 422, 423, 424, @@ -28914,7 +29509,10 @@ 435, 436, 437, - 438 + 438, + 439, + 440, + 441 ] }, { @@ -28926,7 +29524,7 @@ 0, 1, 2, - 23 + 25 ] }, { @@ -28943,15 +29541,13 @@ }, { "name": "IAvnPanel", - "iid": "96AD03DD-F271-537E-A933-B7C75D63AC0C", + "iid": "E6C6B17E-9747-5739-B255-52E737A7A2A2", "iidConstant": "I_AVN_PANEL_IID", - "abiVersion": 12, + "abiVersion": 13, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -28975,9 +29571,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -29022,9 +29618,17 @@ 135, 136, 137, - 336, - 160, - 161 + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 344, + 168, + 169 ], "irBases": [ "IAvnAvaloniaObject", @@ -29071,21 +29675,22 @@ 35, 36, 37, - 162, - 163 + 38, + 39, + 40, + 165, + 166 ] }, { "name": "IAvnPath", - "iid": "E5A71060-50E1-5554-81B4-030898F293CF", + "iid": "708CD7FD-817B-56CB-AE5C-C74F67CAD4F6", "iidConstant": "I_AVN_PATH_IID", - "abiVersion": 9, + "abiVersion": 10, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -29109,9 +29714,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -29174,8 +29779,16 @@ 153, 154, 155, - 677, - 678 + 156, + 157, + 158, + 159, + 160, + 161, + 162, + 163, + 685, + 686 ], "irBases": [ "IAvnAvaloniaObject", @@ -29232,20 +29845,21 @@ 44, 45, 46, - 439 + 47, + 48, + 49, + 442 ] }, { "name": "IAvnPathIcon", - "iid": "885577A3-AC29-51D9-ACB5-D30ABBB484FC", + "iid": "6D274452-1819-559D-BB43-52E68AB64E10", "iidConstant": "I_AVN_PATH_ICON_IID", - "abiVersion": 10, + "abiVersion": 11, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -29269,9 +29883,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -29316,14 +29930,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -29344,8 +29958,16 @@ 185, 186, 187, - 677, - 678 + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, + 685, + 686 ], "irBases": [ "IAvnAvaloniaObject", @@ -29394,9 +30016,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -29408,20 +30030,21 @@ 60, 61, 62, - 440 + 63, + 64, + 65, + 443 ] }, { "name": "IAvnPipsPager", - "iid": "6C3C0A8B-3237-50C1-8DF3-5171EDF2A1B8", + "iid": "FBFAC5E1-FD39-56C8-8208-7C0E0AFA68CD", "iidConstant": "I_AVN_PIPS_PAGER_IID", - "abiVersion": 11, + "abiVersion": 12, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -29445,9 +30068,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -29492,14 +30115,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -29520,20 +30143,28 @@ 185, 186, 187, - 679, - 680, - 681, - 682, - 683, - 684, - 685, - 686, + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, 687, 688, 689, 690, 691, - 692 + 692, + 693, + 694, + 695, + 696, + 697, + 698, + 699, + 700 ], "irBases": [ "IAvnAvaloniaObject", @@ -29581,9 +30212,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -29595,13 +30226,16 @@ 60, 61, 62, - 441, - 442, - 443, + 63, + 64, + 65, 444, 445, 446, - 447 + 447, + 448, + 449, + 450 ] }, { @@ -29618,15 +30252,13 @@ }, { "name": "IAvnPolygon", - "iid": "E706EC48-3CA1-5BEA-907E-460CA53B06BE", + "iid": "4F93F9D8-08E6-56F7-A51B-073928795D7D", "iidConstant": "I_AVN_POLYGON_IID", - "abiVersion": 9, + "abiVersion": 10, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -29650,9 +30282,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -29715,10 +30347,18 @@ 153, 154, 155, - 693, - 694, - 695, - 696 + 156, + 157, + 158, + 159, + 160, + 161, + 162, + 163, + 701, + 702, + 703, + 704 ], "irBases": [ "IAvnAvaloniaObject", @@ -29775,21 +30415,22 @@ 44, 45, 46, - 448, - 449 + 47, + 48, + 49, + 451, + 452 ] }, { "name": "IAvnPolyline", - "iid": "035DBEE9-DC4D-57B6-9140-DD59B208A9DC", + "iid": "2DBA0D61-C35B-5D12-82A7-555EDA620BC5", "iidConstant": "I_AVN_POLYLINE_IID", - "abiVersion": 9, + "abiVersion": 10, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -29813,9 +30454,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -29878,10 +30519,18 @@ 153, 154, 155, - 693, - 694, - 695, - 696 + 156, + 157, + 158, + 159, + 160, + 161, + 162, + 163, + 701, + 702, + 703, + 704 ], "irBases": [ "IAvnAvaloniaObject", @@ -29938,21 +30587,22 @@ 44, 45, 46, - 450, - 451 + 47, + 48, + 49, + 453, + 454 ] }, { "name": "IAvnPopup", - "iid": "6CCB1B6A-EC3B-5625-A604-97B56FF5B86F", + "iid": "30B75D6F-4E12-505C-8C73-E02A5FCDB356", "iidConstant": "I_AVN_POPUP_IID", - "abiVersion": 9, + "abiVersion": 10, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -29976,9 +30626,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -30023,52 +30673,60 @@ 135, 136, 137, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 447, + 448, + 258, + 259, + 705, + 706, + 707, + 708, + 398, + 399, 439, 440, - 250, - 251, - 697, - 698, - 699, - 700, - 390, - 391, - 431, - 432, - 433, - 434, - 435, - 436, - 437, - 438, 441, 442, 443, 444, 445, 446, - 511, - 512, - 513, - 514, - 427, - 428, - 429, - 430, - 701, - 702, - 703, - 704, - 705, - 706, - 707, - 708, - 424, - 423, + 449, + 450, + 451, + 452, + 453, + 454, + 519, + 520, + 521, + 522, + 435, + 436, + 437, + 438, 709, - 409, 710, - 405 + 711, + 712, + 713, + 714, + 715, + 716, + 432, + 431, + 717, + 417, + 718, + 413 ], "irBases": [ "IAvnAvaloniaObject", @@ -30115,9 +30773,9 @@ 35, 36, 37, - 452, - 453, - 454, + 38, + 39, + 40, 455, 456, 457, @@ -30139,7 +30797,10 @@ 473, 474, 475, - 476 + 476, + 477, + 478, + 479 ] }, { @@ -30163,43 +30824,43 @@ 0, 1, 2, - 67, - 68, - 390, - 391, - 503, - 504, - 505, - 506, - 405, - 507, - 409, - 508, - 437, - 438, - 435, - 436, - 431, - 432, - 427, - 428, - 429, - 430, - 445, - 446, - 509, - 510, + 69, + 70, + 398, + 399, 511, 512, 513, 514, - 433, - 434, + 413, 515, + 417, 516, - 407, + 445, + 446, + 443, + 444, + 439, + 440, + 435, + 436, + 437, + 438, + 453, + 454, 517, - 403 + 518, + 519, + 520, + 521, + 522, + 441, + 442, + 523, + 524, + 415, + 525, + 411 ], "irBases": [ "IAvnAvaloniaObject", @@ -30207,9 +30868,6 @@ "IAvnPopupFlyoutBase" ], "irMembers": [ - 282, - 283, - 284, 285, 286, 287, @@ -30226,7 +30884,10 @@ 298, 299, 300, - 301 + 301, + 302, + 303, + 304 ] }, { @@ -30274,20 +30935,18 @@ 0, 1, 2, - 43 + 45 ] }, { "name": "IAvnProgressBar", - "iid": "A87F44AD-6E9D-5059-A355-CBC907AD0F45", + "iid": "5AD47222-012D-56C8-8459-42DD295B9DAF", "iidConstant": "I_AVN_PROGRESS_BAR_IID", - "abiVersion": 14, + "abiVersion": 15, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -30311,9 +30970,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -30358,14 +31017,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -30386,18 +31045,17 @@ 185, 186, 187, - 711, - 712, - 713, - 714, - 715, - 716, - 717, - 718, + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, 719, 720, 721, - 676, 722, 723, 724, @@ -30405,8 +31063,17 @@ 726, 727, 728, - 685, - 686 + 729, + 684, + 730, + 731, + 732, + 733, + 734, + 735, + 736, + 693, + 694 ], "irBases": [ "IAvnAvaloniaObject", @@ -30455,9 +31122,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -30469,9 +31136,9 @@ 60, 61, 62, - 477, - 478, - 479, + 63, + 64, + 65, 480, 481, 482, @@ -30479,20 +31146,21 @@ 484, 485, 486, - 487 + 487, + 488, + 489, + 490 ] }, { "name": "IAvnRadioButton", - "iid": "1D9D9433-E351-59FA-A65E-F78DF4223F1C", + "iid": "A2E6518A-5B2E-5424-84FE-CFA325D93288", "iidConstant": "I_AVN_RADIO_BUTTON_IID", - "abiVersion": 17, + "abiVersion": 18, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -30516,9 +31184,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -30563,14 +31231,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -30591,14 +31259,14 @@ 185, 186, 187, - 255, - 256, - 257, - 258, - 259, - 260, - 261, - 262, + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, 263, 264, 265, @@ -30616,14 +31284,22 @@ 277, 278, 279, - 363, - 364, - 365, - 366, - 367, - 368, - 647, - 648 + 280, + 281, + 282, + 283, + 284, + 285, + 286, + 287, + 371, + 372, + 373, + 374, + 375, + 376, + 655, + 656 ], "irBases": [ "IAvnAvaloniaObject", @@ -30674,9 +31350,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -30688,9 +31364,9 @@ 60, 61, 62, - 104, - 105, - 106, + 63, + 64, + 65, 107, 108, 109, @@ -30701,23 +31377,24 @@ 114, 115, 116, - 186, - 187, - 188, - 488 + 117, + 118, + 119, + 189, + 190, + 191, + 491 ] }, { "name": "IAvnRangeBase", - "iid": "F1231250-DB6B-52E4-A42E-3C57E73C7023", + "iid": "D910F3E2-CD14-547A-8E8C-BFEC9F4C926F", "iidConstant": "I_AVN_RANGE_BASE_IID", - "abiVersion": 13, + "abiVersion": 14, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -30741,9 +31418,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -30788,14 +31465,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -30816,18 +31493,26 @@ 185, 186, 187, - 711, - 712, - 713, - 714, - 715, - 716, - 717, - 718, + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, 719, 720, 721, - 676 + 722, + 723, + 724, + 725, + 726, + 727, + 728, + 729, + 684 ], "irBases": [ "IAvnAvaloniaObject", @@ -30875,9 +31560,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -30889,12 +31574,15 @@ 60, 61, 62, - 477, - 478, - 479, + 63, + 64, + 65, 480, 481, - 482 + 482, + 483, + 484, + 485 ] }, { @@ -30906,20 +31594,18 @@ 0, 1, 2, - 24 + 26 ] }, { "name": "IAvnRectangle", - "iid": "E87D8C84-1090-5B7D-9DBA-9F122E19E333", + "iid": "95D3D828-9CB6-536E-96D5-2D5D67C3463F", "iidConstant": "I_AVN_RECTANGLE_IID", - "abiVersion": 9, + "abiVersion": 10, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -30943,9 +31629,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -31008,10 +31694,18 @@ 153, 154, 155, - 729, - 730, - 731, - 732 + 156, + 157, + 158, + 159, + 160, + 161, + 162, + 163, + 737, + 738, + 739, + 740 ], "irBases": [ "IAvnAvaloniaObject", @@ -31068,21 +31762,22 @@ 44, 45, 46, - 489, - 490 + 47, + 48, + 49, + 492, + 493 ] }, { "name": "IAvnRefreshContainer", - "iid": "3693CF05-F784-5394-B7D2-6DF511F86F97", + "iid": "95707491-9943-5B6C-BF2E-1A68A797A842", "iidConstant": "I_AVN_REFRESH_CONTAINER_IID", - "abiVersion": 11, + "abiVersion": 12, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -31106,9 +31801,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -31153,14 +31848,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -31181,21 +31876,29 @@ 185, 186, 187, - 255, - 256, - 257, - 258, - 259, - 260, - 261, - 262, - 733, - 734, - 735, - 736, - 737, - 738, - 739 + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, + 263, + 264, + 265, + 266, + 267, + 268, + 269, + 270, + 741, + 742, + 743, + 744, + 745, + 746, + 747 ], "irBases": [ "IAvnAvaloniaObject", @@ -31244,9 +31947,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -31258,14 +31961,17 @@ 60, 61, 62, - 104, - 105, - 106, + 63, + 64, + 65, 107, - 491, - 492, - 493, - 494 + 108, + 109, + 110, + 494, + 495, + 496, + 497 ] }, { @@ -31282,15 +31988,13 @@ }, { "name": "IAvnRelativePanel", - "iid": "0E550183-4D72-5357-8C3F-9F15E41BC976", + "iid": "A52468AD-E31F-58F2-8A74-1AB7E73D66E6", "iidConstant": "I_AVN_RELATIVE_PANEL_IID", - "abiVersion": 9, + "abiVersion": 10, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -31314,9 +32018,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -31361,9 +32065,17 @@ 135, 136, 137, - 336, - 160, - 161 + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 344, + 168, + 169 ], "irBases": [ "IAvnAvaloniaObject", @@ -31411,8 +32123,11 @@ 35, 36, 37, - 162, - 163 + 38, + 39, + 40, + 165, + 166 ] }, { @@ -31424,31 +32139,29 @@ 0, 1, 2, - 977, - 978, - 979, - 980, - 981, - 982, - 983, - 984, 985, 986, 987, - 988 + 988, + 989, + 990, + 991, + 992, + 993, + 994, + 995, + 996 ] }, { "name": "IAvnRepeatButton", - "iid": "E1023A87-3E17-5F1D-8671-36C4FD0D1CC3", + "iid": "DF355462-7926-5F77-B463-22B164C7A402", "iidConstant": "I_AVN_REPEAT_BUTTON_IID", - "abiVersion": 12, + "abiVersion": 13, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -31472,9 +32185,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -31519,14 +32232,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -31547,14 +32260,14 @@ 185, 186, 187, - 255, - 256, - 257, - 258, - 259, - 260, - 261, - 262, + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, 263, 264, 265, @@ -31572,10 +32285,18 @@ 277, 278, 279, - 740, - 741, - 742, - 743 + 280, + 281, + 282, + 283, + 284, + 285, + 286, + 287, + 748, + 749, + 750, + 751 ], "irBases": [ "IAvnAvaloniaObject", @@ -31625,9 +32346,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -31639,9 +32360,9 @@ 60, 61, 62, - 104, - 105, - 106, + 63, + 64, + 65, 107, 108, 109, @@ -31652,21 +32373,22 @@ 114, 115, 116, - 495, - 496 + 117, + 118, + 119, + 498, + 499 ] }, { "name": "IAvnScrollViewer", - "iid": "74E7350C-320E-5E2A-A8B9-CDD929B6B826", + "iid": "4CCB656E-34E8-5621-AF96-1C2AF4F1DAAE", "iidConstant": "I_AVN_SCROLL_VIEWER_IID", - "abiVersion": 16, + "abiVersion": 17, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -31690,9 +32412,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -31737,14 +32459,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -31765,29 +32487,28 @@ 185, 186, 187, - 255, - 256, - 257, - 258, - 259, - 260, - 261, - 262, - 744, - 745, - 746, - 747, - 748, - 749, - 750, - 751, + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, + 263, + 264, + 265, + 266, + 267, + 268, + 269, + 270, 752, 753, 754, 755, 756, 757, - 479, 758, 759, 760, @@ -31796,6 +32517,7 @@ 763, 764, 765, + 487, 766, 767, 768, @@ -31817,7 +32539,15 @@ 784, 785, 786, - 787 + 787, + 788, + 789, + 790, + 791, + 792, + 793, + 794, + 795 ], "irBases": [ "IAvnAvaloniaObject", @@ -31866,9 +32596,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -31880,13 +32610,13 @@ 60, 61, 62, - 104, - 105, - 106, + 63, + 64, + 65, 107, - 497, - 498, - 499, + 108, + 109, + 110, 500, 501, 502, @@ -31915,7 +32645,10 @@ 525, 526, 527, - 528 + 528, + 529, + 530, + 531 ] }, { @@ -31932,15 +32665,13 @@ }, { "name": "IAvnSector", - "iid": "5716DA45-6417-5758-89E7-303427808353", + "iid": "A6E3E187-67DD-5603-93D8-7431B6449CD7", "iidConstant": "I_AVN_SECTOR_IID", - "abiVersion": 9, + "abiVersion": 10, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -31964,9 +32695,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -32032,7 +32763,15 @@ 156, 157, 158, - 159 + 159, + 160, + 161, + 162, + 163, + 164, + 165, + 166, + 167 ], "irBases": [ "IAvnAvaloniaObject", @@ -32089,21 +32828,22 @@ 44, 45, 46, - 529, - 530 + 47, + 48, + 49, + 532, + 533 ] }, { "name": "IAvnSelectableTextBlock", - "iid": "843AC2A4-7FEF-5858-8A9A-F199BBA52638", + "iid": "8E36E51E-30AC-563D-A2D7-79335F5FAD8C", "iidConstant": "I_AVN_SELECTABLE_TEXT_BLOCK_IID", - "abiVersion": 12, + "abiVersion": 13, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -32127,9 +32867,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -32174,57 +32914,65 @@ 135, 136, 137, - 186, - 187, - 160, - 161, - 206, - 207, - 170, - 171, - 174, - 175, - 176, - 177, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 194, + 195, + 168, + 169, + 214, + 215, 178, 179, - 180, - 181, 182, 183, - 585, - 586, - 788, - 789, 184, 185, - 581, - 582, + 186, + 187, + 188, + 189, + 190, + 191, 593, 594, - 790, - 791, + 796, + 797, + 192, + 193, 589, 590, - 172, - 173, - 792, - 793, - 569, - 570, - 571, - 572, + 601, + 602, + 798, + 799, + 597, + 598, + 180, + 181, + 800, + 801, 577, 578, 579, 580, + 585, + 586, 587, - 598, - 609, - 557, + 588, + 595, 606, - 794, - 615 + 617, + 565, + 614, + 802, + 623 ], "irBases": [ "IAvnAvaloniaObject", @@ -32272,9 +33020,9 @@ 35, 36, 37, - 531, - 532, - 533, + 38, + 39, + 40, 534, 535, 536, @@ -32299,7 +33047,10 @@ 555, 556, 557, - 558 + 558, + 559, + 560, + 561 ] }, { @@ -32323,25 +33074,23 @@ 0, 1, 2, - 52, - 61, - 62, + 54, 63, - 56, - 57 + 64, + 65, + 58, + 59 ] }, { "name": "IAvnSelectingItemsControl", - "iid": "56020FA9-D4A4-52B6-B5FC-EAEB6FD563C2", + "iid": "18B99B99-03A3-5C68-8471-D463C4ED1778", "iidConstant": "I_AVN_SELECTING_ITEMS_CONTROL_IID", - "abiVersion": 16, + "abiVersion": 17, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -32365,9 +33114,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -32412,14 +33161,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -32440,24 +33189,22 @@ 185, 186, 187, - 337, - 338, - 225, - 226, + 188, + 189, + 190, + 191, + 192, + 193, 194, 195, - 339, - 340, - 341, - 342, - 343, - 344, 345, 346, + 233, + 234, + 202, + 203, 347, 348, - 204, - 205, 349, 350, 351, @@ -32465,7 +33212,17 @@ 353, 354, 355, - 249 + 356, + 212, + 213, + 357, + 358, + 359, + 360, + 361, + 362, + 363, + 257 ], "irBases": [ "IAvnAvaloniaObject", @@ -32514,9 +33271,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -32528,9 +33285,9 @@ 60, 61, 62, - 164, - 165, - 166, + 63, + 64, + 65, 167, 168, 169, @@ -32544,7 +33301,10 @@ 177, 178, 179, - 180 + 180, + 181, + 182, + 183 ] }, { @@ -32571,20 +33331,18 @@ 0, 1, 2, - 25 + 27 ] }, { "name": "IAvnSeparator", - "iid": "87BD59B4-CB85-5216-B757-72F95FCB49E3", + "iid": "C97E1335-936C-5319-91B3-09E2E1607D5A", "iidConstant": "I_AVN_SEPARATOR_IID", - "abiVersion": 10, + "abiVersion": 11, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -32608,9 +33366,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -32655,14 +33413,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -32682,7 +33440,15 @@ 184, 185, 186, - 187 + 187, + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195 ], "irBases": [ "IAvnAvaloniaObject", @@ -32730,9 +33496,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -32743,20 +33509,21 @@ 59, 60, 61, - 62 + 62, + 63, + 64, + 65 ] }, { "name": "IAvnShape", - "iid": "5CB7105C-DAF9-5211-9659-62EAB03208FF", + "iid": "8C49AE37-0535-5DEF-926C-D0D6857CC216", "iidConstant": "I_AVN_SHAPE_IID", - "abiVersion": 9, + "abiVersion": 10, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -32780,9 +33547,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -32844,7 +33611,15 @@ 152, 153, 154, - 155 + 155, + 156, + 157, + 158, + 159, + 160, + 161, + 162, + 163 ], "irBases": [ "IAvnAvaloniaObject", @@ -32899,20 +33674,21 @@ 43, 44, 45, - 46 + 46, + 47, + 48, + 49 ] }, { "name": "IAvnSlider", - "iid": "BF042391-AF5A-5DD4-B321-055CA9F70D23", + "iid": "8F19D970-60A0-5AA7-A9CF-DF7882B11E7A", "iidConstant": "I_AVN_SLIDER_IID", - "abiVersion": 13, + "abiVersion": 14, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -32936,9 +33712,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -32983,14 +33759,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -33011,30 +33787,38 @@ 185, 186, 187, - 711, - 712, - 713, - 714, - 715, - 716, - 717, - 718, + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, 719, 720, 721, - 676, - 795, - 796, - 685, - 686, - 797, - 798, - 799, - 800, - 801, - 802, + 722, + 723, + 724, + 725, + 726, + 727, + 728, + 729, + 684, 803, - 804 + 804, + 693, + 694, + 805, + 806, + 807, + 808, + 809, + 810, + 811, + 812 ], "irBases": [ "IAvnAvaloniaObject", @@ -33083,9 +33867,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -33097,31 +33881,32 @@ 60, 61, 62, - 477, - 478, - 479, + 63, + 64, + 65, 480, 481, 482, - 559, - 560, - 561, + 483, + 484, + 485, 562, 563, - 564 + 564, + 565, + 566, + 567 ] }, { "name": "IAvnSpinner", - "iid": "4A63E264-F914-5256-93AB-1268895B9073", + "iid": "CF93246B-DA27-5FC8-8382-FE6000F83FA4", "iidConstant": "I_AVN_SPINNER_IID", - "abiVersion": 10, + "abiVersion": 11, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -33145,9 +33930,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -33192,14 +33977,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -33220,18 +34005,26 @@ 185, 186, 187, - 255, - 256, - 257, - 258, - 259, - 260, - 261, - 262, - 280, - 281, - 282, - 283 + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, + 263, + 264, + 265, + 266, + 267, + 268, + 269, + 270, + 288, + 289, + 290, + 291 ], "irBases": [ "IAvnAvaloniaObject", @@ -33280,9 +34073,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -33294,12 +34087,15 @@ 60, 61, 62, - 104, - 105, - 106, + 63, + 64, + 65, 107, - 117, - 118 + 108, + 109, + 110, + 120, + 121 ] }, { @@ -33311,20 +34107,18 @@ 0, 1, 2, - 23 + 25 ] }, { "name": "IAvnSplitButton", - "iid": "11D77809-48B6-5A29-B8D9-5D413BC96A85", + "iid": "88415351-1718-57DE-98D6-5DEE1794029C", "iidConstant": "I_AVN_SPLIT_BUTTON_IID", - "abiVersion": 13, + "abiVersion": 14, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -33348,9 +34142,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -33395,14 +34189,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -33423,24 +34217,32 @@ 185, 186, 187, - 255, - 256, - 257, - 258, - 259, - 260, - 261, - 262, + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, + 263, + 264, 265, 266, + 267, + 268, 269, 270, - 276, + 273, + 274, 277, - 267, - 268, - 805, - 279 + 278, + 284, + 285, + 275, + 276, + 813, + 287 ], "irBases": [ "IAvnAvaloniaObject", @@ -33489,9 +34291,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -33503,15 +34305,18 @@ 60, 61, 62, - 104, - 105, - 106, + 63, + 64, + 65, 107, - 565, - 566, - 567, + 108, + 109, + 110, 568, - 569 + 569, + 570, + 571, + 572 ] }, { @@ -33528,15 +34333,13 @@ }, { "name": "IAvnSplitView", - "iid": "048A7E1E-0539-5D4A-95D8-5C2E6D429202", + "iid": "CF2AF228-F18D-57E1-B362-6A692FEB7AC4", "iidConstant": "I_AVN_SPLIT_VIEW_IID", - "abiVersion": 10, + "abiVersion": 11, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -33560,9 +34363,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -33607,14 +34410,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -33635,26 +34438,26 @@ 185, 186, 187, - 255, - 256, - 257, - 258, - 259, - 260, - 261, - 262, - 806, - 807, - 300, - 301, - 808, - 809, - 810, - 811, - 812, - 813, + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, + 263, + 264, + 265, + 266, + 267, + 268, + 269, + 270, 814, 815, + 308, + 309, 816, 817, 818, @@ -33668,7 +34471,15 @@ 826, 827, 828, - 829 + 829, + 830, + 831, + 832, + 833, + 834, + 835, + 836, + 837 ], "irBases": [ "IAvnAvaloniaObject", @@ -33717,9 +34528,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -33731,13 +34542,13 @@ 60, 61, 62, - 104, - 105, - 106, + 63, + 64, + 65, 107, - 570, - 571, - 572, + 108, + 109, + 110, 573, 574, 575, @@ -33747,7 +34558,10 @@ 579, 580, 581, - 582 + 582, + 583, + 584, + 585 ] }, { @@ -33800,15 +34614,13 @@ }, { "name": "IAvnStackPanel", - "iid": "17521479-DA81-5A88-9984-557EE08FF897", + "iid": "41C138FB-C0C9-579F-A3B9-76080732A94C", "iidConstant": "I_AVN_STACK_PANEL_IID", - "abiVersion": 13, + "abiVersion": 14, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -33832,9 +34644,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -33879,17 +34691,25 @@ 135, 136, 137, - 336, - 160, - 161, - 830, - 831, - 685, - 686, - 832, - 833, - 834, - 835 + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 344, + 168, + 169, + 838, + 839, + 693, + 694, + 840, + 841, + 842, + 843 ], "irBases": [ "IAvnAvaloniaObject", @@ -33937,12 +34757,15 @@ 35, 36, 37, - 162, - 163, - 583, - 584, - 585, - 586 + 38, + 39, + 40, + 165, + 166, + 586, + 587, + 588, + 589 ] }, { @@ -33954,12 +34777,12 @@ 0, 1, 2, - 52, - 64, - 65, + 54, 66, - 56, - 57 + 67, + 68, + 58, + 59 ] }, { @@ -33971,8 +34794,6 @@ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -33993,7 +34814,9 @@ 86, 87, 88, - 89 + 89, + 90, + 91 ], "irBases": [ "IAvnAvaloniaObject", @@ -34089,15 +34912,13 @@ }, { "name": "IAvnTabControl", - "iid": "8F087347-637D-5F69-BABE-6D6ED30440C1", + "iid": "27DF6FA4-888C-53C3-8612-186747FD07BF", "iidConstant": "I_AVN_TAB_CONTROL_IID", - "abiVersion": 13, + "abiVersion": 14, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -34121,9 +34942,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -34168,14 +34989,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -34196,24 +35017,22 @@ 185, 186, 187, - 337, - 338, - 225, - 226, + 188, + 189, + 190, + 191, + 192, + 193, 194, 195, - 339, - 340, - 341, - 342, - 343, - 344, 345, 346, + 233, + 234, + 202, + 203, 347, 348, - 204, - 205, 349, 350, 351, @@ -34221,19 +35040,29 @@ 353, 354, 355, - 249, - 259, - 260, - 261, - 262, - 836, - 837, + 356, + 212, + 213, + 357, + 358, + 359, + 360, + 361, + 362, + 363, 257, - 258, - 838, - 839, - 840, - 841 + 267, + 268, + 269, + 270, + 844, + 845, + 265, + 266, + 846, + 847, + 848, + 849 ], "irBases": [ "IAvnAvaloniaObject", @@ -34283,9 +35112,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -34297,9 +35126,9 @@ 60, 61, 62, - 164, - 165, - 166, + 63, + 64, + 65, 167, 168, 169, @@ -34314,26 +35143,27 @@ 178, 179, 180, - 587, - 588, - 589, + 181, + 182, + 183, 590, 591, 592, - 593 + 593, + 594, + 595, + 596 ] }, { "name": "IAvnTabItem", - "iid": "406B7990-01A7-533E-9A2A-7B70DDFCE8EC", + "iid": "DED2B477-BC45-5613-BA24-CDBAB635D785", "iidConstant": "I_AVN_TAB_ITEM_IID", - "abiVersion": 12, + "abiVersion": 13, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -34357,9 +35187,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -34404,14 +35234,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -34432,27 +35262,35 @@ 185, 186, 187, - 255, - 256, - 257, - 258, - 259, - 260, - 261, - 262, - 473, - 474, - 475, - 476, - 842, - 376, - 377, - 412, - 413, - 843, - 844, - 840, - 841 + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, + 263, + 264, + 265, + 266, + 267, + 268, + 269, + 270, + 481, + 482, + 483, + 484, + 850, + 384, + 385, + 420, + 421, + 851, + 852, + 848, + 849 ], "irBases": [ "IAvnAvaloniaObject", @@ -34502,9 +35340,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -34516,30 +35354,31 @@ 60, 61, 62, - 104, - 105, - 106, + 63, + 64, + 65, 107, - 267, - 268, - 594, - 595, - 596, + 108, + 109, + 110, + 270, + 271, 597, - 598 + 598, + 599, + 600, + 601 ] }, { "name": "IAvnTableView", - "iid": "D4BE6E5C-B5DD-5BB0-A30F-3CC833767F7C", + "iid": "BA62A21B-C26D-587F-A41F-35E67E200B69", "iidConstant": "I_AVN_TABLE_VIEW_IID", - "abiVersion": 14, + "abiVersion": 15, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -34563,9 +35402,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -34610,14 +35449,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -34638,24 +35477,22 @@ 185, 186, 187, - 337, - 338, - 225, - 226, + 188, + 189, + 190, + 191, + 192, + 193, 194, 195, - 339, - 340, - 341, - 342, - 343, - 344, 345, 346, + 233, + 234, + 202, + 203, 347, 348, - 204, - 205, 349, 350, 351, @@ -34663,15 +35500,25 @@ 353, 354, 355, - 249, - 302, - 303, - 557, - 558, - 845, - 846, - 847, - 848 + 356, + 212, + 213, + 357, + 358, + 359, + 360, + 361, + 362, + 363, + 257, + 310, + 311, + 565, + 566, + 853, + 854, + 855, + 856 ], "irBases": [ "IAvnAvaloniaObject", @@ -34722,9 +35569,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -34736,9 +35583,9 @@ 60, 61, 62, - 164, - 165, - 166, + 63, + 64, + 65, 167, 168, 169, @@ -34753,24 +35600,25 @@ 178, 179, 180, - 331, - 332, - 333, - 599, - 600 + 181, + 182, + 183, + 334, + 335, + 336, + 602, + 603 ] }, { "name": "IAvnTableViewCell", - "iid": "7B4DC408-8142-5915-B1A7-15CE22062512", + "iid": "2B1B1C38-97FD-59A3-8BCD-59ACBDC03368", "iidConstant": "I_AVN_TABLE_VIEW_CELL_IID", - "abiVersion": 12, + "abiVersion": 13, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -34794,9 +35642,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -34841,14 +35689,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -34869,14 +35717,22 @@ 185, 186, 187, - 255, - 256, - 257, - 258, - 259, - 260, - 261, - 262 + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, + 263, + 264, + 265, + 266, + 267, + 268, + 269, + 270 ], "irBases": [ "IAvnAvaloniaObject", @@ -34925,9 +35781,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -34939,10 +35795,13 @@ 60, 61, 62, - 104, - 105, - 106, - 107 + 63, + 64, + 65, + 107, + 108, + 109, + 110 ] }, { @@ -34954,8 +35813,6 @@ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -34977,24 +35834,26 @@ 87, 88, 89, - 475, - 476, - 473, - 474, - 849, - 850, - 104, - 105, - 106, - 107, 90, 91, - 851, - 852, - 259, - 260, - 853, - 854 + 483, + 484, + 481, + 482, + 857, + 858, + 106, + 107, + 108, + 109, + 92, + 93, + 859, + 860, + 267, + 268, + 861, + 862 ], "irBases": [ "IAvnAvaloniaObject", @@ -35015,29 +35874,27 @@ 10, 11, 12, - 601, - 602, - 603, 604, 605, 606, 607, 608, 609, - 610 + 610, + 611, + 612, + 613 ] }, { "name": "IAvnTableViewRow", - "iid": "1A492B55-9FB8-5F66-986E-EF1DED34A38D", + "iid": "8E3BA93D-D0BE-51D9-A007-2AF614AC6ADB", "iidConstant": "I_AVN_TABLE_VIEW_ROW_IID", - "abiVersion": 10, + "abiVersion": 11, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -35061,9 +35918,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -35108,14 +35965,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -35136,16 +35993,24 @@ 185, 186, 187, - 255, - 256, - 257, - 258, - 259, - 260, - 261, - 262, - 376, - 377 + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, + 263, + 264, + 265, + 266, + 267, + 268, + 269, + 270, + 384, + 385 ], "irBases": [ "IAvnAvaloniaObject", @@ -35195,9 +36060,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -35209,24 +36074,25 @@ 60, 61, 62, - 104, - 105, - 106, + 63, + 64, + 65, 107, - 200 + 108, + 109, + 110, + 203 ] }, { "name": "IAvnTemplatedControl", - "iid": "E2867468-09D4-5D05-A956-F687A78DF51A", + "iid": "6E80826C-F337-5A4D-A5BB-1C0DF436B6D0", "iidConstant": "I_AVN_TEMPLATED_CONTROL_IID", - "abiVersion": 13, + "abiVersion": 14, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -35250,9 +36116,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -35297,14 +36163,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -35324,7 +36190,15 @@ 184, 185, 186, - 187 + 187, + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195 ], "irBases": [ "IAvnAvaloniaObject", @@ -35371,9 +36245,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -35384,20 +36258,21 @@ 59, 60, 61, - 62 + 62, + 63, + 64, + 65 ] }, { "name": "IAvnTextBlock", - "iid": "06129468-B036-5F97-ACA3-6C51B845746D", + "iid": "199AE412-EE08-5BDE-A498-66AE0231AA3F", "iidConstant": "I_AVN_TEXT_BLOCK_IID", - "abiVersion": 15, + "abiVersion": 16, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -35421,9 +36296,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -35468,42 +36343,50 @@ 135, 136, 137, - 186, - 187, - 160, - 161, - 206, - 207, - 170, - 171, - 174, - 175, - 176, - 177, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 194, + 195, + 168, + 169, + 214, + 215, 178, 179, - 180, - 181, 182, 183, - 585, - 586, - 788, - 789, 184, 185, - 581, - 582, + 186, + 187, + 188, + 189, + 190, + 191, 593, 594, - 790, - 791, + 796, + 797, + 192, + 193, 589, 590, - 172, - 173, - 792, - 793 + 601, + 602, + 798, + 799, + 597, + 598, + 180, + 181, + 800, + 801 ], "irBases": [ "IAvnAvaloniaObject", @@ -35550,9 +36433,9 @@ 35, 36, 37, - 531, - 532, - 533, + 38, + 39, + 40, 534, 535, 536, @@ -35567,20 +36450,21 @@ 545, 546, 547, - 548 + 548, + 549, + 550, + 551 ] }, { "name": "IAvnTextBox", - "iid": "BCD740F5-7423-5B2D-AD5E-CB40072226F8", + "iid": "55D76247-3F6A-5F45-AC3C-33B34A38329A", "iidConstant": "I_AVN_TEXT_BOX_IID", - "abiVersion": 19, + "abiVersion": 20, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -35604,9 +36488,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -35651,14 +36535,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -35679,24 +36563,24 @@ 185, 186, 187, - 559, - 560, - 202, - 203, - 561, - 562, - 563, - 564, 188, 189, - 565, - 566, + 190, + 191, + 192, + 193, + 194, + 195, 567, 568, + 210, + 211, 569, 570, 571, 572, + 196, + 197, 573, 574, 575, @@ -35705,42 +36589,42 @@ 578, 579, 580, - 227, - 228, 581, 582, 583, 584, 585, 586, - 206, - 207, 587, 588, - 259, - 260, - 261, - 262, + 235, + 236, 589, 590, - 211, - 212, - 326, - 327, - 213, - 214, - 229, - 230, - 231, - 232, 591, 592, 593, 594, + 214, + 215, 595, 596, + 267, + 268, + 269, + 270, 597, 598, + 219, + 220, + 334, + 335, + 221, + 222, + 237, + 238, + 239, + 240, 599, 600, 601, @@ -35753,9 +36637,7 @@ 608, 609, 610, - 57, 611, - 557, 612, 613, 614, @@ -35763,11 +36645,21 @@ 616, 617, 618, + 59, 619, + 565, 620, - 235, 621, - 622 + 622, + 623, + 624, + 625, + 626, + 627, + 628, + 243, + 629, + 630 ], "irBases": [ "IAvnAvaloniaObject", @@ -35815,9 +36707,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -35829,9 +36721,9 @@ 60, 61, 62, - 334, - 335, - 336, + 63, + 64, + 65, 337, 338, 339, @@ -35880,7 +36772,10 @@ 382, 383, 384, - 385 + 385, + 386, + 387, + 388 ] }, { @@ -35952,7 +36847,7 @@ 0, 1, 2, - 40 + 42 ] }, { @@ -35964,20 +36859,18 @@ 0, 1, 2, - 42 + 44 ] }, { "name": "IAvnThemeVariantScope", - "iid": "2E35671F-C418-50E8-86C1-ED858C036A8D", + "iid": "FF6B43AB-B89D-5574-BBDE-9ACACD23DBA4", "iidConstant": "I_AVN_THEME_VARIANT_SCOPE_IID", - "abiVersion": 9, + "abiVersion": 10, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -36001,9 +36894,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -36048,12 +36941,20 @@ 135, 136, 137, - 250, - 251, - 186, - 187, - 855, - 856 + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 258, + 259, + 194, + 195, + 863, + 864 ], "irBases": [ "IAvnAvaloniaObject", @@ -36101,22 +37002,23 @@ 35, 36, 37, - 95, - 96, - 611 + 38, + 39, + 40, + 98, + 99, + 614 ] }, { "name": "IAvnThumb", - "iid": "B62C6C73-14C3-5E0D-A725-F5606107B454", + "iid": "A9A96FDF-BFCF-5E37-A11E-4B653CE36C00", "iidConstant": "I_AVN_THUMB_IID", - "abiVersion": 11, + "abiVersion": 12, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -36140,9 +37042,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -36187,14 +37089,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -36215,12 +37117,20 @@ 185, 186, 187, - 524, - 525, - 526, - 527, - 528, - 529 + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, + 532, + 533, + 534, + 535, + 536, + 537 ], "irBases": [ "IAvnAvaloniaObject", @@ -36268,9 +37178,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -36282,9 +37192,12 @@ 60, 61, 62, - 309, - 310, - 311 + 63, + 64, + 65, + 312, + 313, + 314 ] }, { @@ -36296,7 +37209,7 @@ 0, 1, 2, - 26 + 28 ] }, { @@ -36308,7 +37221,7 @@ 0, 1, 2, - 26 + 28 ] }, { @@ -36320,20 +37233,18 @@ 0, 1, 2, - 26 + 28 ] }, { "name": "IAvnTimePicker", - "iid": "9F3B7D7A-E290-5ADC-997C-213A25F20D3B", + "iid": "5E7CE65A-FE53-551C-9F5A-2344EE09E002", "iidConstant": "I_AVN_TIME_PICKER_IID", - "abiVersion": 12, + "abiVersion": 13, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -36357,9 +37268,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -36404,14 +37315,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -36432,21 +37343,29 @@ 185, 186, 187, - 261, - 262, - 857, - 858, - 859, - 860, - 861, - 862, - 863, - 864, + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, + 269, + 270, 865, 866, - 57, 867, - 868 + 868, + 869, + 870, + 871, + 872, + 873, + 874, + 59, + 875, + 876 ], "irBases": [ "IAvnAvaloniaObject", @@ -36494,9 +37413,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -36508,14 +37427,17 @@ 60, 61, 62, - 612, - 613, - 614, + 63, + 64, + 65, 615, 616, 617, 618, - 619 + 619, + 620, + 621, + 622 ] }, { @@ -36527,20 +37449,18 @@ 0, 1, 2, - 27 + 29 ] }, { "name": "IAvnToggleButton", - "iid": "F9840045-23B2-5318-A7DA-EB7F3287FBD8", + "iid": "23A7F6FB-AFEF-5E4D-8A9A-94F4EFCF6B12", "iidConstant": "I_AVN_TOGGLE_BUTTON_IID", - "abiVersion": 17, + "abiVersion": 18, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -36564,9 +37484,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -36611,14 +37531,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -36639,14 +37559,14 @@ 185, 186, 187, - 255, - 256, - 257, - 258, - 259, - 260, - 261, - 262, + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, 263, 264, 265, @@ -36664,12 +37584,20 @@ 277, 278, 279, - 363, - 364, - 365, - 366, - 367, - 368 + 280, + 281, + 282, + 283, + 284, + 285, + 286, + 287, + 371, + 372, + 373, + 374, + 375, + 376 ], "irBases": [ "IAvnAvaloniaObject", @@ -36719,9 +37647,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -36733,9 +37661,9 @@ 60, 61, 62, - 104, - 105, - 106, + 63, + 64, + 65, 107, 108, 109, @@ -36746,9 +37674,12 @@ 114, 115, 116, - 186, - 187, - 188 + 117, + 118, + 119, + 189, + 190, + 191 ] }, { @@ -36765,15 +37696,13 @@ }, { "name": "IAvnToggleSplitButton", - "iid": "4FD7A582-1766-5CC7-B173-72F47FDF6BFF", + "iid": "0057E49B-BB54-516F-8FDA-B1E646A1C897", "iidConstant": "I_AVN_TOGGLE_SPLIT_BUTTON_IID", - "abiVersion": 13, + "abiVersion": 14, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -36797,9 +37726,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -36844,14 +37773,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -36872,28 +37801,36 @@ 185, 186, 187, - 255, - 256, - 257, - 258, - 259, - 260, - 261, - 262, + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, + 263, + 264, 265, 266, + 267, + 268, 269, 270, - 276, + 273, + 274, 277, - 267, - 268, - 805, - 279, - 363, - 364, - 869, - 368 + 278, + 284, + 285, + 275, + 276, + 813, + 287, + 371, + 372, + 877, + 376 ], "irBases": [ "IAvnAvaloniaObject", @@ -36943,9 +37880,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -36957,17 +37894,20 @@ 60, 61, 62, - 104, - 105, - 106, + 63, + 64, + 65, 107, - 565, - 566, - 567, + 108, + 109, + 110, 568, 569, - 620, - 621 + 570, + 571, + 572, + 623, + 624 ] }, { @@ -36984,15 +37924,13 @@ }, { "name": "IAvnToggleSwitch", - "iid": "96F69492-4FBE-565F-8572-D7AEA40997E9", + "iid": "B022C6CE-8A5D-5700-B341-114A6A4FBCA0", "iidConstant": "I_AVN_TOGGLE_SWITCH_IID", - "abiVersion": 17, + "abiVersion": 18, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -37016,9 +37954,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -37063,14 +38001,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -37091,14 +38029,14 @@ 185, 186, 187, - 255, - 256, - 257, - 258, - 259, - 260, - 261, - 262, + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, 263, 264, 265, @@ -37116,20 +38054,28 @@ 277, 278, 279, - 363, - 364, - 365, - 366, - 367, - 368, - 870, - 871, - 872, - 873, - 874, - 875, - 876, - 877 + 280, + 281, + 282, + 283, + 284, + 285, + 286, + 287, + 371, + 372, + 373, + 374, + 375, + 376, + 878, + 879, + 880, + 881, + 882, + 883, + 884, + 885 ], "irBases": [ "IAvnAvaloniaObject", @@ -37180,9 +38126,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -37194,9 +38140,9 @@ 60, 61, 62, - 104, - 105, - 106, + 63, + 64, + 65, 107, 108, 109, @@ -37207,26 +38153,27 @@ 114, 115, 116, - 186, - 187, - 188, - 622, - 623, - 624, - 625 + 117, + 118, + 119, + 189, + 190, + 191, + 625, + 626, + 627, + 628 ] }, { "name": "IAvnToolTip", - "iid": "8158AEAF-B85C-59C4-BFCE-98DF20F4C2C9", + "iid": "2B78EA6B-FE62-5508-AB5F-586C3523C5A1", "iidConstant": "I_AVN_TOOL_TIP_IID", - "abiVersion": 10, + "abiVersion": 11, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -37250,9 +38197,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -37297,14 +38244,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -37325,14 +38272,22 @@ 185, 186, 187, - 255, - 256, - 257, - 258, - 259, - 260, - 261, - 262 + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, + 263, + 264, + 265, + 266, + 267, + 268, + 269, + 270 ], "irBases": [ "IAvnAvaloniaObject", @@ -37381,9 +38336,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -37395,10 +38350,13 @@ 60, 61, 62, - 104, - 105, - 106, - 107 + 63, + 64, + 65, + 107, + 108, + 109, + 110 ] }, { @@ -37410,14 +38368,6 @@ 0, 1, 2, - 989, - 990, - 991, - 992, - 993, - 994, - 995, - 996, 997, 998, 999, @@ -37427,20 +38377,26 @@ 1003, 1004, 1005, - 1006 + 1006, + 1007, + 1008, + 1009, + 1010, + 1011, + 1012, + 1013, + 1014 ] }, { "name": "IAvnTransitioningContentControl", - "iid": "643AACDC-AB53-56DF-A197-28042BF4D69F", + "iid": "FD0EB25C-585B-5EDA-B1ED-F629A765B5A9", "iidConstant": "I_AVN_TRANSITIONING_CONTENT_CONTROL_IID", - "abiVersion": 11, + "abiVersion": 12, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -37464,9 +38420,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -37511,14 +38467,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -37539,18 +38495,26 @@ 185, 186, 187, - 255, - 256, - 257, - 258, - 259, - 260, - 261, - 262, - 878, - 879, - 880, - 881 + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, + 263, + 264, + 265, + 266, + 267, + 268, + 269, + 270, + 886, + 887, + 888, + 889 ], "irBases": [ "IAvnAvaloniaObject", @@ -37599,9 +38563,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -37613,12 +38577,15 @@ 60, 61, 62, - 104, - 105, - 106, + 63, + 64, + 65, 107, - 626, - 627 + 108, + 109, + 110, + 629, + 630 ] }, { @@ -37630,7 +38597,7 @@ 0, 1, 2, - 28 + 30 ] }, { @@ -37642,32 +38609,32 @@ 0, 1, 2, - 67, - 68, - 265, - 266, - 269, - 270, - 882, - 883, - 884, - 885, - 90, - 91, - 886, - 887 + 69, + 70, + 273, + 274, + 277, + 278, + 890, + 891, + 892, + 893, + 92, + 93, + 894, + 895 ], "irBases": [ "IAvnAvaloniaObject", "IAvnTrayIcon" ], "irMembers": [ - 628, - 629, - 630, 631, 632, - 633 + 633, + 634, + 635, + 636 ] }, { @@ -37684,15 +38651,13 @@ }, { "name": "IAvnTreeView", - "iid": "E8A54D8B-7903-57AE-9BF8-F5A8055028FC", + "iid": "0B60003F-EC3F-5F72-9763-04C3C4FFE8DD", "iidConstant": "I_AVN_TREE_VIEW_IID", - "abiVersion": 13, + "abiVersion": 14, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -37716,9 +38681,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -37763,14 +38728,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -37791,34 +38756,42 @@ 185, 186, 187, - 337, - 338, - 225, - 226, + 188, + 189, + 190, + 191, + 192, + 193, 194, 195, - 339, - 340, - 341, - 342, - 343, - 344, 345, 346, - 302, - 303, - 204, - 205, - 888, - 889, - 890, - 891, - 557, - 558, - 892, - 893, - 894, - 249 + 233, + 234, + 202, + 203, + 347, + 348, + 349, + 350, + 351, + 352, + 353, + 354, + 310, + 311, + 212, + 213, + 896, + 897, + 898, + 899, + 565, + 566, + 900, + 901, + 902, + 257 ], "irBases": [ "IAvnAvaloniaObject", @@ -37867,9 +38840,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -37881,9 +38854,9 @@ 60, 61, 62, - 164, - 165, - 166, + 63, + 64, + 65, 167, 168, 169, @@ -37891,9 +38864,9 @@ 171, 172, 173, - 634, - 635, - 636, + 174, + 175, + 176, 637, 638, 639, @@ -37901,20 +38874,21 @@ 641, 642, 643, - 644 + 644, + 645, + 646, + 647 ] }, { "name": "IAvnTreeViewItem", - "iid": "CDD644B1-7E5B-5C32-9271-5A69CEE65005", + "iid": "F173219D-C63C-5669-BE7D-98E98BF1C54B", "iidConstant": "I_AVN_TREE_VIEW_ITEM_IID", - "abiVersion": 13, + "abiVersion": 14, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -37938,9 +38912,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -37985,14 +38959,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -38013,31 +38987,39 @@ 185, 186, 187, - 337, - 338, - 225, - 226, + 188, + 189, + 190, + 191, + 192, + 193, 194, 195, - 339, - 340, - 341, - 342, - 343, - 344, - 473, - 474, - 475, - 476, - 479, - 480, - 376, - 377, - 895, - 896, - 486, - 897, - 482 + 345, + 346, + 233, + 234, + 202, + 203, + 347, + 348, + 349, + 350, + 351, + 352, + 481, + 482, + 483, + 484, + 487, + 488, + 384, + 385, + 903, + 904, + 494, + 905, + 490 ], "irBases": [ "IAvnAvaloniaObject", @@ -38087,9 +39069,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -38101,9 +39083,9 @@ 60, 61, 62, - 164, - 165, - 166, + 63, + 64, + 65, 167, 168, 169, @@ -38111,13 +39093,16 @@ 171, 172, 173, - 317, - 318, - 645, - 646, - 647, + 174, + 175, + 176, + 320, + 321, 648, - 649 + 649, + 650, + 651, + 652 ] }, { @@ -38168,20 +39153,18 @@ 0, 1, 2, - 29 + 31 ] }, { "name": "IAvnUniformGrid", - "iid": "600B20CC-7AA7-5EC9-B773-A893B4376F95", + "iid": "061A5BD1-9360-53D2-BEF6-7EB9ECAEA493", "iidConstant": "I_AVN_UNIFORM_GRID_IID", - "abiVersion": 9, + "abiVersion": 10, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -38205,9 +39188,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -38252,19 +39235,27 @@ 135, 136, 137, - 336, - 160, - 161, - 898, - 899, - 900, - 901, - 902, - 903, - 501, - 502, - 499, - 500 + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 344, + 168, + 169, + 906, + 907, + 908, + 909, + 910, + 911, + 509, + 510, + 507, + 508 ], "irBases": [ "IAvnAvaloniaObject", @@ -38312,26 +39303,27 @@ 35, 36, 37, - 162, - 163, - 650, - 651, - 652, + 38, + 39, + 40, + 165, + 166, 653, - 654 + 654, + 655, + 656, + 657 ] }, { "name": "IAvnUserControl", - "iid": "E3ABA05B-DFF9-53C3-8885-CE2D78FEFFFC", + "iid": "0BFF79AB-0D63-5654-8F44-DBBDA630FA30", "iidConstant": "I_AVN_USER_CONTROL_IID", - "abiVersion": 10, + "abiVersion": 11, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -38355,9 +39347,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -38402,14 +39394,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -38430,14 +39422,22 @@ 185, 186, 187, - 255, - 256, - 257, - 258, - 259, - 260, - 261, - 262 + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, + 263, + 264, + 265, + 266, + 267, + 268, + 269, + 270 ], "irBases": [ "IAvnAvaloniaObject", @@ -38486,9 +39486,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -38500,10 +39500,13 @@ 60, 61, 62, - 104, - 105, - 106, - 107 + 63, + 64, + 65, + 107, + 108, + 109, + 110 ] }, { @@ -38515,25 +39518,23 @@ 0, 1, 2, - 52, - 61, - 62, + 54, 63, - 56, - 57 + 64, + 65, + 58, + 59 ] }, { "name": "IAvnViewbox", - "iid": "3140444B-2172-5105-B7AD-D810D5794C13", + "iid": "159B2487-78B8-5C1A-932D-A67C6E2E7420", "iidConstant": "I_AVN_VIEWBOX_IID", - "abiVersion": 9, + "abiVersion": 10, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -38557,9 +39558,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -38604,12 +39605,20 @@ 135, 136, 137, + 138, + 139, 140, 141, - 548, - 549, - 250, - 251 + 142, + 143, + 144, + 145, + 148, + 149, + 556, + 557, + 258, + 259 ], "irBases": [ "IAvnAvaloniaObject", @@ -38656,22 +39665,23 @@ 35, 36, 37, - 655, - 656, - 657 + 38, + 39, + 40, + 658, + 659, + 660 ] }, { "name": "IAvnWindow", - "iid": "29E3362E-B16E-5163-AED3-CF14D6B12784", + "iid": "BF221569-8214-5478-9505-0B21A2663545", "iidConstant": "I_AVN_WINDOW_IID", - "abiVersion": 19, + "abiVersion": 20, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -38695,9 +39705,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -38742,14 +39752,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -38770,22 +39780,22 @@ 185, 186, 187, - 255, - 256, - 257, - 258, - 259, - 260, - 261, - 262, - 904, - 905, - 906, - 907, - 908, - 909, - 910, - 911, + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, + 263, + 264, + 265, + 266, + 267, + 268, + 269, + 270, 912, 913, 914, @@ -38805,20 +39815,28 @@ 928, 929, 930, - 882, - 883, 931, 932, 933, 934, 935, - 423, 936, - 505, 937, 938, + 890, + 891, 939, - 407 + 940, + 941, + 942, + 943, + 431, + 944, + 513, + 945, + 946, + 947, + 415 ], "irBases": [ "IAvnAvaloniaObject", @@ -38867,9 +39885,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -38881,13 +39899,13 @@ 60, 61, 62, - 104, - 105, - 106, + 63, + 64, + 65, 107, - 658, - 659, - 660, + 108, + 109, + 110, 661, 662, 663, @@ -38909,7 +39927,10 @@ 679, 680, 681, - 682 + 682, + 683, + 684, + 685 ] }, { @@ -38921,20 +39942,18 @@ 0, 1, 2, - 30 + 32 ] }, { "name": "IAvnWindowNotificationManager", - "iid": "7C085288-6201-58A3-BD39-14F23696504B", + "iid": "2EECEA93-798A-57D8-9ED9-91C4EA6D282F", "iidConstant": "I_AVN_WINDOW_NOTIFICATION_MANAGER_IID", - "abiVersion": 11, + "abiVersion": 12, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -38958,9 +39977,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -39005,14 +40024,14 @@ 135, 136, 137, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, 168, 169, 170, @@ -39033,15 +40052,23 @@ 185, 186, 187, - 940, - 941, - 942, - 943, - 944, - 945, - 946, - 947, - 948 + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, + 948, + 949, + 950, + 951, + 952, + 953, + 954, + 955, + 956 ], "irBases": [ "IAvnAvaloniaObject", @@ -39089,9 +40116,9 @@ 35, 36, 37, - 49, - 50, - 51, + 38, + 39, + 40, 52, 53, 54, @@ -39103,26 +40130,27 @@ 60, 61, 62, - 683, - 684, - 685, + 63, + 64, + 65, 686, 687, 688, - 689 + 689, + 690, + 691, + 692 ] }, { "name": "IAvnWrapPanel", - "iid": "802A39C5-57F6-5E1A-9DA8-02634571CF6D", + "iid": "FE3C3653-52AA-529D-8ACE-7F54E7D74387", "iidConstant": "I_AVN_WRAP_PANEL_IID", - "abiVersion": 9, + "abiVersion": 10, "slots": [ 0, 1, 2, - 67, - 68, 69, 70, 71, @@ -39146,9 +40174,9 @@ 89, 90, 91, - 32, 92, 93, + 34, 94, 95, 96, @@ -39193,21 +40221,29 @@ 135, 136, 137, - 336, - 160, - 161, - 949, - 950, - 788, - 789, - 685, - 686, - 951, - 952, - 953, - 954, - 955, - 956 + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 344, + 168, + 169, + 957, + 958, + 796, + 797, + 693, + 694, + 959, + 960, + 961, + 962, + 963, + 964 ], "irBases": [ "IAvnAvaloniaObject", @@ -39255,14 +40291,17 @@ 35, 36, 37, - 162, - 163, - 690, - 691, - 692, + 38, + 39, + 40, + 165, + 166, 693, 694, - 695 + 695, + 696, + 697, + 698 ] } ] diff --git a/rust/avalonia-sys/include/.avalonia-projection.owned.json b/rust/avalonia-sys/include/.avalonia-projection.owned.json index 1d2116e..e01ddbd 100644 --- a/rust/avalonia-sys/include/.avalonia-projection.owned.json +++ b/rust/avalonia-sys/include/.avalonia-projection.owned.json @@ -3,7 +3,7 @@ "files": [ { "path": "avalonia-rust-abi.h", - "sha256": "6e2103f6ca4fe368bc48df572d82c6e5c6298713201d8231c39c4cd4409dcb7c" + "sha256": "5ee3b92aa457dbc862cb5d10e245780c57cb944a694543bcfb39e12c91ca61c1" } ] } diff --git a/rust/avalonia-sys/include/avalonia-rust-abi.h b/rust/avalonia-sys/include/avalonia-rust-abi.h index 3b8258e..aa346dc 100644 --- a/rust/avalonia-sys/include/avalonia-rust-abi.h +++ b/rust/avalonia-sys/include/avalonia-rust-abi.h @@ -238,6 +238,8 @@ typedef struct IAvnContextMenuOpeningHandler IAvnContextMenuOpeningHandler; typedef struct IAvnContextMenuOpeningHandlerVtbl IAvnContextMenuOpeningHandlerVtbl; typedef struct IAvnControl IAvnControl; typedef struct IAvnControlVtbl IAvnControlVtbl; +typedef struct IAvnControlDoubleTappedHandler IAvnControlDoubleTappedHandler; +typedef struct IAvnControlDoubleTappedHandlerVtbl IAvnControlDoubleTappedHandlerVtbl; typedef struct IAvnControlFactory IAvnControlFactory; typedef struct IAvnControlFactoryVtbl IAvnControlFactoryVtbl; typedef struct IAvnControlGotFocusHandler IAvnControlGotFocusHandler; @@ -256,8 +258,12 @@ typedef struct IAvnControlPointerEnteredHandler IAvnControlPointerEnteredHandler typedef struct IAvnControlPointerEnteredHandlerVtbl IAvnControlPointerEnteredHandlerVtbl; typedef struct IAvnControlPointerExitedHandler IAvnControlPointerExitedHandler; typedef struct IAvnControlPointerExitedHandlerVtbl IAvnControlPointerExitedHandlerVtbl; +typedef struct IAvnControlPointerWheelChangedHandler IAvnControlPointerWheelChangedHandler; +typedef struct IAvnControlPointerWheelChangedHandlerVtbl IAvnControlPointerWheelChangedHandlerVtbl; typedef struct IAvnControlSizeChangedHandler IAvnControlSizeChangedHandler; typedef struct IAvnControlSizeChangedHandlerVtbl IAvnControlSizeChangedHandlerVtbl; +typedef struct IAvnControlTappedHandler IAvnControlTappedHandler; +typedef struct IAvnControlTappedHandlerVtbl IAvnControlTappedHandlerVtbl; typedef struct IAvnControlUnloadedHandler IAvnControlUnloadedHandler; typedef struct IAvnControlUnloadedHandlerVtbl IAvnControlUnloadedHandlerVtbl; typedef struct IAvnDatePicker IAvnDatePicker; @@ -1015,6 +1021,22 @@ struct IAvnContextMenuOpeningHandlerVtbl { struct IAvnContextMenuOpeningHandler { const IAvnContextMenuOpeningHandlerVtbl* vtbl; }; #define I_AVN_CONTEXT_MENU_OPENING_HANDLER_VTABLE_SLOTS 4 +static const AvnGuid I_AVN_CONTROL_DOUBLE_TAPPED_HANDLER_IID = { + 0x11D5E069, + 0xAEFD, + 0x566B, + { 0x92, 0xCC, 0xCD, 0xB4, 0x83, 0x87, 0x7C, 0x33 } +}; +#define I_AVN_CONTROL_DOUBLE_TAPPED_HANDLER_ABI_VERSION 1 +struct IAvnControlDoubleTappedHandlerVtbl { + AvnHResult (AVN_CALL *query_interface)(IAvnControlDoubleTappedHandler* self, const AvnGuid* iid, void** result); /* slot 0 */ + uint32_t (AVN_CALL *add_ref)(IAvnControlDoubleTappedHandler* self); /* slot 1 */ + uint32_t (AVN_CALL *release)(IAvnControlDoubleTappedHandler* self); /* slot 2 */ + AvnHResult (AVN_CALL *invoke)(IAvnControlDoubleTappedHandler* self); /* slot 3 */ +}; +struct IAvnControlDoubleTappedHandler { const IAvnControlDoubleTappedHandlerVtbl* vtbl; }; +#define I_AVN_CONTROL_DOUBLE_TAPPED_HANDLER_VTABLE_SLOTS 4 + static const AvnGuid I_AVN_CONTROL_GOT_FOCUS_HANDLER_IID = { 0x6621A073, 0x4D3B, @@ -1106,7 +1128,7 @@ struct IAvnControlPointerEnteredHandlerVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnControlPointerEnteredHandler* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnControlPointerEnteredHandler* self); /* slot 1 */ uint32_t (AVN_CALL *release)(IAvnControlPointerEnteredHandler* self); /* slot 2 */ - AvnHResult (AVN_CALL *invoke)(IAvnControlPointerEnteredHandler* self); /* slot 3 */ + AvnHResult (AVN_CALL *invoke)(IAvnControlPointerEnteredHandler* self, int32_t key_modifiers); /* slot 3 */ }; struct IAvnControlPointerEnteredHandler { const IAvnControlPointerEnteredHandlerVtbl* vtbl; }; #define I_AVN_CONTROL_POINTER_ENTERED_HANDLER_VTABLE_SLOTS 4 @@ -1122,11 +1144,27 @@ struct IAvnControlPointerExitedHandlerVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnControlPointerExitedHandler* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnControlPointerExitedHandler* self); /* slot 1 */ uint32_t (AVN_CALL *release)(IAvnControlPointerExitedHandler* self); /* slot 2 */ - AvnHResult (AVN_CALL *invoke)(IAvnControlPointerExitedHandler* self); /* slot 3 */ + AvnHResult (AVN_CALL *invoke)(IAvnControlPointerExitedHandler* self, int32_t key_modifiers); /* slot 3 */ }; struct IAvnControlPointerExitedHandler { const IAvnControlPointerExitedHandlerVtbl* vtbl; }; #define I_AVN_CONTROL_POINTER_EXITED_HANDLER_VTABLE_SLOTS 4 +static const AvnGuid I_AVN_CONTROL_POINTER_WHEEL_CHANGED_HANDLER_IID = { + 0x4318E60A, + 0x86C6, + 0x5142, + { 0x86, 0x00, 0x0D, 0x61, 0xAA, 0x20, 0xCE, 0x93 } +}; +#define I_AVN_CONTROL_POINTER_WHEEL_CHANGED_HANDLER_ABI_VERSION 1 +struct IAvnControlPointerWheelChangedHandlerVtbl { + AvnHResult (AVN_CALL *query_interface)(IAvnControlPointerWheelChangedHandler* self, const AvnGuid* iid, void** result); /* slot 0 */ + uint32_t (AVN_CALL *add_ref)(IAvnControlPointerWheelChangedHandler* self); /* slot 1 */ + uint32_t (AVN_CALL *release)(IAvnControlPointerWheelChangedHandler* self); /* slot 2 */ + AvnHResult (AVN_CALL *invoke)(IAvnControlPointerWheelChangedHandler* self, AvnVector delta, int32_t key_modifiers); /* slot 3 */ +}; +struct IAvnControlPointerWheelChangedHandler { const IAvnControlPointerWheelChangedHandlerVtbl* vtbl; }; +#define I_AVN_CONTROL_POINTER_WHEEL_CHANGED_HANDLER_VTABLE_SLOTS 4 + static const AvnGuid I_AVN_CONTROL_SIZE_CHANGED_HANDLER_IID = { 0x415D0DCB, 0xCC4B, @@ -1143,6 +1181,22 @@ struct IAvnControlSizeChangedHandlerVtbl { struct IAvnControlSizeChangedHandler { const IAvnControlSizeChangedHandlerVtbl* vtbl; }; #define I_AVN_CONTROL_SIZE_CHANGED_HANDLER_VTABLE_SLOTS 4 +static const AvnGuid I_AVN_CONTROL_TAPPED_HANDLER_IID = { + 0x7784D53F, + 0xFAEE, + 0x5089, + { 0x88, 0x44, 0xC9, 0xF5, 0xCC, 0x3E, 0x86, 0x32 } +}; +#define I_AVN_CONTROL_TAPPED_HANDLER_ABI_VERSION 1 +struct IAvnControlTappedHandlerVtbl { + AvnHResult (AVN_CALL *query_interface)(IAvnControlTappedHandler* self, const AvnGuid* iid, void** result); /* slot 0 */ + uint32_t (AVN_CALL *add_ref)(IAvnControlTappedHandler* self); /* slot 1 */ + uint32_t (AVN_CALL *release)(IAvnControlTappedHandler* self); /* slot 2 */ + AvnHResult (AVN_CALL *invoke)(IAvnControlTappedHandler* self, int32_t key_modifiers); /* slot 3 */ +}; +struct IAvnControlTappedHandler { const IAvnControlTappedHandlerVtbl* vtbl; }; +#define I_AVN_CONTROL_TAPPED_HANDLER_VTABLE_SLOTS 4 + static const AvnGuid I_AVN_CONTROL_UNLOADED_HANDLER_IID = { 0x1118D172, 0x21C3, @@ -2390,12 +2444,12 @@ struct IAvnVariantList { const IAvnVariantListVtbl* vtbl; }; #define I_AVN_VARIANT_LIST_VTABLE_SLOTS 9 static const AvnGuid I_AVN_ARC_IID = { - 0x394ACB52, - 0x3BF3, - 0x52D6, - { 0x97, 0xE8, 0x4B, 0xF0, 0xC1, 0x02, 0xF4, 0xBE } + 0xD707907F, + 0xAF00, + 0x561A, + { 0x93, 0x74, 0x03, 0xA9, 0x0D, 0xF5, 0x5B, 0x83 } }; -#define I_AVN_ARC_ABI_VERSION 9 +#define I_AVN_ARC_ABI_VERSION 10 struct IAvnArcVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnArc* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnArc* self); /* slot 1 */ @@ -2472,39 +2526,45 @@ struct IAvnArcVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnArc* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnArc* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnArc* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_fill)(IAvnArc* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_fill)(IAvnArc* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_stretch)(IAvnArc* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_stretch)(IAvnArc* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_stroke)(IAvnArc* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_stroke)(IAvnArc* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_stroke_dash_array)(IAvnArc* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_stroke_dash_array)(IAvnArc* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_stroke_dash_offset)(IAvnArc* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_stroke_dash_offset)(IAvnArc* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_stroke_thickness)(IAvnArc* self, double* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_stroke_thickness)(IAvnArc* self, double value); /* slot 86 */ - AvnHResult (AVN_CALL *get_stroke_line_cap)(IAvnArc* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_stroke_line_cap)(IAvnArc* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_stroke_join)(IAvnArc* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_stroke_join)(IAvnArc* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_stroke_miter_limit)(IAvnArc* self, double* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_stroke_miter_limit)(IAvnArc* self, double value); /* slot 92 */ - AvnHResult (AVN_CALL *get_start_angle)(IAvnArc* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_start_angle)(IAvnArc* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_sweep_angle)(IAvnArc* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_sweep_angle)(IAvnArc* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnArc* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnArc* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnArc* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnArc* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnArc* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnArc* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_fill)(IAvnArc* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_fill)(IAvnArc* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_stretch)(IAvnArc* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_stretch)(IAvnArc* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_stroke)(IAvnArc* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_stroke)(IAvnArc* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_stroke_dash_array)(IAvnArc* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_stroke_dash_array)(IAvnArc* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_stroke_dash_offset)(IAvnArc* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_stroke_dash_offset)(IAvnArc* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_stroke_thickness)(IAvnArc* self, double* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_stroke_thickness)(IAvnArc* self, double value); /* slot 92 */ + AvnHResult (AVN_CALL *get_stroke_line_cap)(IAvnArc* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_stroke_line_cap)(IAvnArc* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_stroke_join)(IAvnArc* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_stroke_join)(IAvnArc* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_stroke_miter_limit)(IAvnArc* self, double* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_stroke_miter_limit)(IAvnArc* self, double value); /* slot 98 */ + AvnHResult (AVN_CALL *get_start_angle)(IAvnArc* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_start_angle)(IAvnArc* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_sweep_angle)(IAvnArc* self, double* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_sweep_angle)(IAvnArc* self, double value); /* slot 102 */ }; struct IAvnArc { const IAvnArcVtbl* vtbl; }; -#define I_AVN_ARC_VTABLE_SLOTS 97 +#define I_AVN_ARC_VTABLE_SLOTS 103 static const AvnGuid I_AVN_AUTO_COMPLETE_BOX_IID = { - 0x86643B56, - 0xB59D, - 0x5EE3, - { 0x8A, 0x9B, 0xD4, 0x4F, 0x7D, 0xA9, 0x09, 0xE7 } + 0x26FFE15E, + 0x6149, + 0x5898, + { 0x93, 0xEB, 0x55, 0x90, 0x93, 0x38, 0xDC, 0x9A } }; -#define I_AVN_AUTO_COMPLETE_BOX_ABI_VERSION 17 +#define I_AVN_AUTO_COMPLETE_BOX_ABI_VERSION 18 struct IAvnAutoCompleteBoxVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnAutoCompleteBox* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnAutoCompleteBox* self); /* slot 1 */ @@ -2581,99 +2641,105 @@ struct IAvnAutoCompleteBoxVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnAutoCompleteBox* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnAutoCompleteBox* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnAutoCompleteBox* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnAutoCompleteBox* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnAutoCompleteBox* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnAutoCompleteBox* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnAutoCompleteBox* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnAutoCompleteBox* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnAutoCompleteBox* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnAutoCompleteBox* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnAutoCompleteBox* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnAutoCompleteBox* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnAutoCompleteBox* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnAutoCompleteBox* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnAutoCompleteBox* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnAutoCompleteBox* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnAutoCompleteBox* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnAutoCompleteBox* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnAutoCompleteBox* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnAutoCompleteBox* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnAutoCompleteBox* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnAutoCompleteBox* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnAutoCompleteBox* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnAutoCompleteBox* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnAutoCompleteBox* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_caret_index)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_caret_index)(IAvnAutoCompleteBox* self, int32_t value); /* slot 104 */ - AvnHResult (AVN_CALL *get_minimum_prefix_length)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_minimum_prefix_length)(IAvnAutoCompleteBox* self, int32_t value); /* slot 106 */ - AvnHResult (AVN_CALL *get_is_text_completion_enabled)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_is_text_completion_enabled)(IAvnAutoCompleteBox* self, int32_t value); /* slot 108 */ - AvnHResult (AVN_CALL *get_item_template)(IAvnAutoCompleteBox* self, IAvnDataTemplate** value); /* slot 109 */ - AvnHResult (AVN_CALL *set_item_template)(IAvnAutoCompleteBox* self, IAvnDataTemplate* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_minimum_populate_delay)(IAvnAutoCompleteBox* self, int64_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_minimum_populate_delay)(IAvnAutoCompleteBox* self, int64_t value); /* slot 112 */ - AvnHResult (AVN_CALL *get_max_drop_down_height)(IAvnAutoCompleteBox* self, double* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_max_drop_down_height)(IAvnAutoCompleteBox* self, double value); /* slot 114 */ - AvnHResult (AVN_CALL *get_is_drop_down_open)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_is_drop_down_open)(IAvnAutoCompleteBox* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_clear_selection_on_lost_focus)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_clear_selection_on_lost_focus)(IAvnAutoCompleteBox* self, int32_t value); /* slot 118 */ - AvnHResult (AVN_CALL *get_selected_item)(IAvnAutoCompleteBox* self, AvnVariant* value); /* slot 119 */ - AvnHResult (AVN_CALL *set_selected_item)(IAvnAutoCompleteBox* self, AvnVariant value); /* slot 120 */ - AvnHResult (AVN_CALL *get_text)(IAvnAutoCompleteBox* self, uint16_t** value); /* slot 121 */ - AvnHResult (AVN_CALL *set_text)(IAvnAutoCompleteBox* self, const uint16_t* value); /* slot 122 */ - AvnHResult (AVN_CALL *get_search_text)(IAvnAutoCompleteBox* self, uint16_t** value); /* slot 123 */ - AvnHResult (AVN_CALL *get_filter_mode)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 124 */ - AvnHResult (AVN_CALL *set_filter_mode)(IAvnAutoCompleteBox* self, int32_t value); /* slot 125 */ - AvnHResult (AVN_CALL *get_placeholder_text)(IAvnAutoCompleteBox* self, uint16_t** value); /* slot 126 */ - AvnHResult (AVN_CALL *set_placeholder_text)(IAvnAutoCompleteBox* self, const uint16_t* value); /* slot 127 */ - AvnHResult (AVN_CALL *get_placeholder_foreground)(IAvnAutoCompleteBox* self, IAvnBrush** value); /* slot 128 */ - AvnHResult (AVN_CALL *set_placeholder_foreground)(IAvnAutoCompleteBox* self, IAvnBrush* value); /* slot 129 */ - AvnHResult (AVN_CALL *get_item_filter)(IAvnAutoCompleteBox* self, IAvnItemFilter** value); /* slot 130 */ - AvnHResult (AVN_CALL *set_item_filter)(IAvnAutoCompleteBox* self, IAvnItemFilter* value); /* slot 131 */ - AvnHResult (AVN_CALL *get_text_filter)(IAvnAutoCompleteBox* self, IAvnTextFilter** value); /* slot 132 */ - AvnHResult (AVN_CALL *set_text_filter)(IAvnAutoCompleteBox* self, IAvnTextFilter* value); /* slot 133 */ - AvnHResult (AVN_CALL *get_item_selector)(IAvnAutoCompleteBox* self, IAvnItemSelector** value); /* slot 134 */ - AvnHResult (AVN_CALL *set_item_selector)(IAvnAutoCompleteBox* self, IAvnItemSelector* value); /* slot 135 */ - AvnHResult (AVN_CALL *get_text_selector)(IAvnAutoCompleteBox* self, IAvnTextSelector** value); /* slot 136 */ - AvnHResult (AVN_CALL *set_text_selector)(IAvnAutoCompleteBox* self, IAvnTextSelector* value); /* slot 137 */ - AvnHResult (AVN_CALL *get_async_populator)(IAvnAutoCompleteBox* self, IAvnAsyncPopulator** value); /* slot 138 */ - AvnHResult (AVN_CALL *set_async_populator)(IAvnAutoCompleteBox* self, IAvnAsyncPopulator* value); /* slot 139 */ - AvnHResult (AVN_CALL *get_items_source)(IAvnAutoCompleteBox* self, IAvnVariantList** value); /* slot 140 */ - AvnHResult (AVN_CALL *set_items_source)(IAvnAutoCompleteBox* self, IAvnVariantList* value); /* slot 141 */ - AvnHResult (AVN_CALL *get_max_length)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 142 */ - AvnHResult (AVN_CALL *set_max_length)(IAvnAutoCompleteBox* self, int32_t value); /* slot 143 */ - AvnHResult (AVN_CALL *get_inner_left_content)(IAvnAutoCompleteBox* self, IAvnControl** value); /* slot 144 */ - AvnHResult (AVN_CALL *set_inner_left_content)(IAvnAutoCompleteBox* self, IAvnControl* value); /* slot 145 */ - AvnHResult (AVN_CALL *get_inner_right_content)(IAvnAutoCompleteBox* self, IAvnControl** value); /* slot 146 */ - AvnHResult (AVN_CALL *set_inner_right_content)(IAvnAutoCompleteBox* self, IAvnControl* value); /* slot 147 */ - AvnHResult (AVN_CALL *populate_complete)(IAvnAutoCompleteBox* self); /* slot 148 */ - AvnHResult (AVN_CALL *advise_text_changed)(IAvnAutoCompleteBox* self, IAvnAutoCompleteBoxTextChangedHandler* handler, int64_t* subscription_id); /* slot 149 */ - AvnHResult (AVN_CALL *unadvise_text_changed)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 150 */ - AvnHResult (AVN_CALL *advise_populating)(IAvnAutoCompleteBox* self, IAvnAutoCompleteBoxPopulatingHandler* handler, int64_t* subscription_id); /* slot 151 */ - AvnHResult (AVN_CALL *unadvise_populating)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 152 */ - AvnHResult (AVN_CALL *advise_populated)(IAvnAutoCompleteBox* self, IAvnAutoCompleteBoxPopulatedHandler* handler, int64_t* subscription_id); /* slot 153 */ - AvnHResult (AVN_CALL *unadvise_populated)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 154 */ - AvnHResult (AVN_CALL *advise_drop_down_opening)(IAvnAutoCompleteBox* self, IAvnAutoCompleteBoxDropDownOpeningHandler* handler, int64_t* subscription_id); /* slot 155 */ - AvnHResult (AVN_CALL *unadvise_drop_down_opening)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 156 */ - AvnHResult (AVN_CALL *advise_drop_down_opened)(IAvnAutoCompleteBox* self, IAvnAutoCompleteBoxDropDownOpenedHandler* handler, int64_t* subscription_id); /* slot 157 */ - AvnHResult (AVN_CALL *unadvise_drop_down_opened)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 158 */ - AvnHResult (AVN_CALL *advise_drop_down_closing)(IAvnAutoCompleteBox* self, IAvnAutoCompleteBoxDropDownClosingHandler* handler, int64_t* subscription_id); /* slot 159 */ - AvnHResult (AVN_CALL *unadvise_drop_down_closing)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 160 */ - AvnHResult (AVN_CALL *advise_drop_down_closed)(IAvnAutoCompleteBox* self, IAvnAutoCompleteBoxDropDownClosedHandler* handler, int64_t* subscription_id); /* slot 161 */ - AvnHResult (AVN_CALL *unadvise_drop_down_closed)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 162 */ - AvnHResult (AVN_CALL *advise_selection_changed)(IAvnAutoCompleteBox* self, IAvnAutoCompleteBoxSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 163 */ - AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 164 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnAutoCompleteBox* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnAutoCompleteBox* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnAutoCompleteBox* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnAutoCompleteBox* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnAutoCompleteBox* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnAutoCompleteBox* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnAutoCompleteBox* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnAutoCompleteBox* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnAutoCompleteBox* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnAutoCompleteBox* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnAutoCompleteBox* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnAutoCompleteBox* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnAutoCompleteBox* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnAutoCompleteBox* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnAutoCompleteBox* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnAutoCompleteBox* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnAutoCompleteBox* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnAutoCompleteBox* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnAutoCompleteBox* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnAutoCompleteBox* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnAutoCompleteBox* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnAutoCompleteBox* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnAutoCompleteBox* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnAutoCompleteBox* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnAutoCompleteBox* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnAutoCompleteBox* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnAutoCompleteBox* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_caret_index)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_caret_index)(IAvnAutoCompleteBox* self, int32_t value); /* slot 110 */ + AvnHResult (AVN_CALL *get_minimum_prefix_length)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 111 */ + AvnHResult (AVN_CALL *set_minimum_prefix_length)(IAvnAutoCompleteBox* self, int32_t value); /* slot 112 */ + AvnHResult (AVN_CALL *get_is_text_completion_enabled)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *set_is_text_completion_enabled)(IAvnAutoCompleteBox* self, int32_t value); /* slot 114 */ + AvnHResult (AVN_CALL *get_item_template)(IAvnAutoCompleteBox* self, IAvnDataTemplate** value); /* slot 115 */ + AvnHResult (AVN_CALL *set_item_template)(IAvnAutoCompleteBox* self, IAvnDataTemplate* value); /* slot 116 */ + AvnHResult (AVN_CALL *get_minimum_populate_delay)(IAvnAutoCompleteBox* self, int64_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_minimum_populate_delay)(IAvnAutoCompleteBox* self, int64_t value); /* slot 118 */ + AvnHResult (AVN_CALL *get_max_drop_down_height)(IAvnAutoCompleteBox* self, double* value); /* slot 119 */ + AvnHResult (AVN_CALL *set_max_drop_down_height)(IAvnAutoCompleteBox* self, double value); /* slot 120 */ + AvnHResult (AVN_CALL *get_is_drop_down_open)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 121 */ + AvnHResult (AVN_CALL *set_is_drop_down_open)(IAvnAutoCompleteBox* self, int32_t value); /* slot 122 */ + AvnHResult (AVN_CALL *get_clear_selection_on_lost_focus)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 123 */ + AvnHResult (AVN_CALL *set_clear_selection_on_lost_focus)(IAvnAutoCompleteBox* self, int32_t value); /* slot 124 */ + AvnHResult (AVN_CALL *get_selected_item)(IAvnAutoCompleteBox* self, AvnVariant* value); /* slot 125 */ + AvnHResult (AVN_CALL *set_selected_item)(IAvnAutoCompleteBox* self, AvnVariant value); /* slot 126 */ + AvnHResult (AVN_CALL *get_text)(IAvnAutoCompleteBox* self, uint16_t** value); /* slot 127 */ + AvnHResult (AVN_CALL *set_text)(IAvnAutoCompleteBox* self, const uint16_t* value); /* slot 128 */ + AvnHResult (AVN_CALL *get_search_text)(IAvnAutoCompleteBox* self, uint16_t** value); /* slot 129 */ + AvnHResult (AVN_CALL *get_filter_mode)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 130 */ + AvnHResult (AVN_CALL *set_filter_mode)(IAvnAutoCompleteBox* self, int32_t value); /* slot 131 */ + AvnHResult (AVN_CALL *get_placeholder_text)(IAvnAutoCompleteBox* self, uint16_t** value); /* slot 132 */ + AvnHResult (AVN_CALL *set_placeholder_text)(IAvnAutoCompleteBox* self, const uint16_t* value); /* slot 133 */ + AvnHResult (AVN_CALL *get_placeholder_foreground)(IAvnAutoCompleteBox* self, IAvnBrush** value); /* slot 134 */ + AvnHResult (AVN_CALL *set_placeholder_foreground)(IAvnAutoCompleteBox* self, IAvnBrush* value); /* slot 135 */ + AvnHResult (AVN_CALL *get_item_filter)(IAvnAutoCompleteBox* self, IAvnItemFilter** value); /* slot 136 */ + AvnHResult (AVN_CALL *set_item_filter)(IAvnAutoCompleteBox* self, IAvnItemFilter* value); /* slot 137 */ + AvnHResult (AVN_CALL *get_text_filter)(IAvnAutoCompleteBox* self, IAvnTextFilter** value); /* slot 138 */ + AvnHResult (AVN_CALL *set_text_filter)(IAvnAutoCompleteBox* self, IAvnTextFilter* value); /* slot 139 */ + AvnHResult (AVN_CALL *get_item_selector)(IAvnAutoCompleteBox* self, IAvnItemSelector** value); /* slot 140 */ + AvnHResult (AVN_CALL *set_item_selector)(IAvnAutoCompleteBox* self, IAvnItemSelector* value); /* slot 141 */ + AvnHResult (AVN_CALL *get_text_selector)(IAvnAutoCompleteBox* self, IAvnTextSelector** value); /* slot 142 */ + AvnHResult (AVN_CALL *set_text_selector)(IAvnAutoCompleteBox* self, IAvnTextSelector* value); /* slot 143 */ + AvnHResult (AVN_CALL *get_async_populator)(IAvnAutoCompleteBox* self, IAvnAsyncPopulator** value); /* slot 144 */ + AvnHResult (AVN_CALL *set_async_populator)(IAvnAutoCompleteBox* self, IAvnAsyncPopulator* value); /* slot 145 */ + AvnHResult (AVN_CALL *get_items_source)(IAvnAutoCompleteBox* self, IAvnVariantList** value); /* slot 146 */ + AvnHResult (AVN_CALL *set_items_source)(IAvnAutoCompleteBox* self, IAvnVariantList* value); /* slot 147 */ + AvnHResult (AVN_CALL *get_max_length)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 148 */ + AvnHResult (AVN_CALL *set_max_length)(IAvnAutoCompleteBox* self, int32_t value); /* slot 149 */ + AvnHResult (AVN_CALL *get_inner_left_content)(IAvnAutoCompleteBox* self, IAvnControl** value); /* slot 150 */ + AvnHResult (AVN_CALL *set_inner_left_content)(IAvnAutoCompleteBox* self, IAvnControl* value); /* slot 151 */ + AvnHResult (AVN_CALL *get_inner_right_content)(IAvnAutoCompleteBox* self, IAvnControl** value); /* slot 152 */ + AvnHResult (AVN_CALL *set_inner_right_content)(IAvnAutoCompleteBox* self, IAvnControl* value); /* slot 153 */ + AvnHResult (AVN_CALL *populate_complete)(IAvnAutoCompleteBox* self); /* slot 154 */ + AvnHResult (AVN_CALL *advise_text_changed)(IAvnAutoCompleteBox* self, IAvnAutoCompleteBoxTextChangedHandler* handler, int64_t* subscription_id); /* slot 155 */ + AvnHResult (AVN_CALL *unadvise_text_changed)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 156 */ + AvnHResult (AVN_CALL *advise_populating)(IAvnAutoCompleteBox* self, IAvnAutoCompleteBoxPopulatingHandler* handler, int64_t* subscription_id); /* slot 157 */ + AvnHResult (AVN_CALL *unadvise_populating)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 158 */ + AvnHResult (AVN_CALL *advise_populated)(IAvnAutoCompleteBox* self, IAvnAutoCompleteBoxPopulatedHandler* handler, int64_t* subscription_id); /* slot 159 */ + AvnHResult (AVN_CALL *unadvise_populated)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 160 */ + AvnHResult (AVN_CALL *advise_drop_down_opening)(IAvnAutoCompleteBox* self, IAvnAutoCompleteBoxDropDownOpeningHandler* handler, int64_t* subscription_id); /* slot 161 */ + AvnHResult (AVN_CALL *unadvise_drop_down_opening)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 162 */ + AvnHResult (AVN_CALL *advise_drop_down_opened)(IAvnAutoCompleteBox* self, IAvnAutoCompleteBoxDropDownOpenedHandler* handler, int64_t* subscription_id); /* slot 163 */ + AvnHResult (AVN_CALL *unadvise_drop_down_opened)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 164 */ + AvnHResult (AVN_CALL *advise_drop_down_closing)(IAvnAutoCompleteBox* self, IAvnAutoCompleteBoxDropDownClosingHandler* handler, int64_t* subscription_id); /* slot 165 */ + AvnHResult (AVN_CALL *unadvise_drop_down_closing)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 166 */ + AvnHResult (AVN_CALL *advise_drop_down_closed)(IAvnAutoCompleteBox* self, IAvnAutoCompleteBoxDropDownClosedHandler* handler, int64_t* subscription_id); /* slot 167 */ + AvnHResult (AVN_CALL *unadvise_drop_down_closed)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 168 */ + AvnHResult (AVN_CALL *advise_selection_changed)(IAvnAutoCompleteBox* self, IAvnAutoCompleteBoxSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 169 */ + AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 170 */ }; struct IAvnAutoCompleteBox { const IAvnAutoCompleteBoxVtbl* vtbl; }; -#define I_AVN_AUTO_COMPLETE_BOX_VTABLE_SLOTS 165 +#define I_AVN_AUTO_COMPLETE_BOX_VTABLE_SLOTS 171 static const AvnGuid I_AVN_AVALONIA_OBJECT_IID = { 0xFA7F2E03, @@ -2693,12 +2759,12 @@ struct IAvnAvaloniaObject { const IAvnAvaloniaObjectVtbl* vtbl; }; #define I_AVN_AVALONIA_OBJECT_VTABLE_SLOTS 5 static const AvnGuid I_AVN_BORDER_IID = { - 0xDFE5487A, - 0xB7C3, - 0x5DD1, - { 0xA6, 0xEF, 0x0C, 0xC9, 0xB9, 0xE6, 0xFC, 0x9C } + 0xDF677487, + 0xF79D, + 0x50DF, + { 0xA4, 0x74, 0x0A, 0xF6, 0x9F, 0x6A, 0x6C, 0x5B } }; -#define I_AVN_BORDER_ABI_VERSION 13 +#define I_AVN_BORDER_ABI_VERSION 14 struct IAvnBorderVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnBorder* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnBorder* self); /* slot 1 */ @@ -2775,34 +2841,40 @@ struct IAvnBorderVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnBorder* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnBorder* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnBorder* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_child)(IAvnBorder* self, IAvnControl** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_child)(IAvnBorder* self, IAvnControl* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_padding)(IAvnBorder* self, AvnThickness* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_padding)(IAvnBorder* self, AvnThickness value); /* slot 78 */ - AvnHResult (AVN_CALL *get_background)(IAvnBorder* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_background)(IAvnBorder* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnBorder* self, int32_t* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnBorder* self, int32_t value); /* slot 82 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnBorder* self, IAvnBrush** value); /* slot 83 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnBorder* self, IAvnBrush* value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnBorder* self, AvnThickness* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnBorder* self, AvnThickness value); /* slot 86 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnBorder* self, AvnCornerRadius* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnBorder* self, AvnCornerRadius value); /* slot 88 */ - AvnHResult (AVN_CALL *get_box_shadow)(IAvnBorder* self, uint16_t** value); /* slot 89 */ - AvnHResult (AVN_CALL *set_box_shadow)(IAvnBorder* self, const uint16_t* value); /* slot 90 */ - AvnHResult (AVN_CALL *get_clip_to_bounds_radius)(IAvnBorder* self, AvnCornerRadius* value); /* slot 91 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnBorder* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnBorder* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnBorder* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnBorder* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnBorder* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnBorder* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_child)(IAvnBorder* self, IAvnControl** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_child)(IAvnBorder* self, IAvnControl* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_padding)(IAvnBorder* self, AvnThickness* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_padding)(IAvnBorder* self, AvnThickness value); /* slot 84 */ + AvnHResult (AVN_CALL *get_background)(IAvnBorder* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_background)(IAvnBorder* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnBorder* self, int32_t* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnBorder* self, int32_t value); /* slot 88 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnBorder* self, IAvnBrush** value); /* slot 89 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnBorder* self, IAvnBrush* value); /* slot 90 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnBorder* self, AvnThickness* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnBorder* self, AvnThickness value); /* slot 92 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnBorder* self, AvnCornerRadius* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnBorder* self, AvnCornerRadius value); /* slot 94 */ + AvnHResult (AVN_CALL *get_box_shadow)(IAvnBorder* self, uint16_t** value); /* slot 95 */ + AvnHResult (AVN_CALL *set_box_shadow)(IAvnBorder* self, const uint16_t* value); /* slot 96 */ + AvnHResult (AVN_CALL *get_clip_to_bounds_radius)(IAvnBorder* self, AvnCornerRadius* value); /* slot 97 */ }; struct IAvnBorder { const IAvnBorderVtbl* vtbl; }; -#define I_AVN_BORDER_VTABLE_SLOTS 92 +#define I_AVN_BORDER_VTABLE_SLOTS 98 static const AvnGuid I_AVN_BUTTON_IID = { - 0x39E10286, - 0x7BB7, - 0x511B, - { 0x88, 0x85, 0x73, 0x3B, 0x3A, 0xB3, 0x80, 0xF6 } + 0xE66D2CD1, + 0xA3CD, + 0x538E, + { 0x96, 0x07, 0xB5, 0xE7, 0x84, 0x66, 0x9C, 0x89 } }; -#define I_AVN_BUTTON_ABI_VERSION 17 +#define I_AVN_BUTTON_ABI_VERSION 18 struct IAvnButtonVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnButton* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnButton* self); /* slot 1 */ @@ -2879,70 +2951,76 @@ struct IAvnButtonVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnButton* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnButton* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnButton* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnButton* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnButton* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnButton* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnButton* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnButton* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnButton* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnButton* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnButton* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnButton* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnButton* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnButton* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnButton* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnButton* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnButton* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnButton* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnButton* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnButton* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnButton* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnButton* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnButton* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnButton* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnButton* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnButton* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnButton* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnButton* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnButton* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnButton* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnButton* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_content)(IAvnButton* self, IAvnControl** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_content)(IAvnButton* self, IAvnControl* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnButton* self, IAvnDataTemplate** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnButton* self, IAvnDataTemplate* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnButton* self, int32_t* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnButton* self, int32_t value); /* slot 108 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnButton* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnButton* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_click_mode)(IAvnButton* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_click_mode)(IAvnButton* self, int32_t value); /* slot 112 */ - AvnHResult (AVN_CALL *get_command)(IAvnButton* self, IAvnCommand** value); /* slot 113 */ - AvnHResult (AVN_CALL *set_command)(IAvnButton* self, IAvnCommand* value); /* slot 114 */ - AvnHResult (AVN_CALL *get_hot_key)(IAvnButton* self, uint16_t** value); /* slot 115 */ - AvnHResult (AVN_CALL *set_hot_key)(IAvnButton* self, const uint16_t* value); /* slot 116 */ - AvnHResult (AVN_CALL *get_command_parameter)(IAvnButton* self, AvnVariant* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_command_parameter)(IAvnButton* self, AvnVariant value); /* slot 118 */ - AvnHResult (AVN_CALL *get_is_default)(IAvnButton* self, int32_t* value); /* slot 119 */ - AvnHResult (AVN_CALL *set_is_default)(IAvnButton* self, int32_t value); /* slot 120 */ - AvnHResult (AVN_CALL *get_is_cancel)(IAvnButton* self, int32_t* value); /* slot 121 */ - AvnHResult (AVN_CALL *set_is_cancel)(IAvnButton* self, int32_t value); /* slot 122 */ - AvnHResult (AVN_CALL *get_is_pressed)(IAvnButton* self, int32_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *get_flyout)(IAvnButton* self, IAvnFlyoutBase** value); /* slot 124 */ - AvnHResult (AVN_CALL *set_flyout)(IAvnButton* self, IAvnFlyoutBase* value); /* slot 125 */ - AvnHResult (AVN_CALL *advise_click)(IAvnButton* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 126 */ - AvnHResult (AVN_CALL *unadvise_click)(IAvnButton* self, int64_t subscription_id); /* slot 127 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnButton* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnButton* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnButton* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnButton* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnButton* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnButton* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnButton* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnButton* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnButton* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnButton* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnButton* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnButton* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnButton* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnButton* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnButton* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnButton* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnButton* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnButton* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnButton* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnButton* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnButton* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnButton* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnButton* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnButton* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnButton* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnButton* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnButton* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnButton* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnButton* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnButton* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnButton* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnButton* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnButton* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnButton* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_content)(IAvnButton* self, IAvnControl** value); /* slot 109 */ + AvnHResult (AVN_CALL *set_content)(IAvnButton* self, IAvnControl* value); /* slot 110 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnButton* self, IAvnDataTemplate** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnButton* self, IAvnDataTemplate* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnButton* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnButton* self, int32_t value); /* slot 114 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnButton* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnButton* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_click_mode)(IAvnButton* self, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_click_mode)(IAvnButton* self, int32_t value); /* slot 118 */ + AvnHResult (AVN_CALL *get_command)(IAvnButton* self, IAvnCommand** value); /* slot 119 */ + AvnHResult (AVN_CALL *set_command)(IAvnButton* self, IAvnCommand* value); /* slot 120 */ + AvnHResult (AVN_CALL *get_hot_key)(IAvnButton* self, uint16_t** value); /* slot 121 */ + AvnHResult (AVN_CALL *set_hot_key)(IAvnButton* self, const uint16_t* value); /* slot 122 */ + AvnHResult (AVN_CALL *get_command_parameter)(IAvnButton* self, AvnVariant* value); /* slot 123 */ + AvnHResult (AVN_CALL *set_command_parameter)(IAvnButton* self, AvnVariant value); /* slot 124 */ + AvnHResult (AVN_CALL *get_is_default)(IAvnButton* self, int32_t* value); /* slot 125 */ + AvnHResult (AVN_CALL *set_is_default)(IAvnButton* self, int32_t value); /* slot 126 */ + AvnHResult (AVN_CALL *get_is_cancel)(IAvnButton* self, int32_t* value); /* slot 127 */ + AvnHResult (AVN_CALL *set_is_cancel)(IAvnButton* self, int32_t value); /* slot 128 */ + AvnHResult (AVN_CALL *get_is_pressed)(IAvnButton* self, int32_t* value); /* slot 129 */ + AvnHResult (AVN_CALL *get_flyout)(IAvnButton* self, IAvnFlyoutBase** value); /* slot 130 */ + AvnHResult (AVN_CALL *set_flyout)(IAvnButton* self, IAvnFlyoutBase* value); /* slot 131 */ + AvnHResult (AVN_CALL *advise_click)(IAvnButton* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 132 */ + AvnHResult (AVN_CALL *unadvise_click)(IAvnButton* self, int64_t subscription_id); /* slot 133 */ }; struct IAvnButton { const IAvnButtonVtbl* vtbl; }; -#define I_AVN_BUTTON_VTABLE_SLOTS 128 +#define I_AVN_BUTTON_VTABLE_SLOTS 134 static const AvnGuid I_AVN_BUTTON_SPINNER_IID = { - 0x121045E2, - 0x0F99, - 0x5036, - { 0xA5, 0xF8, 0x37, 0x3B, 0x15, 0xBC, 0x64, 0x49 } + 0xBD9E8536, + 0xAD5B, + 0x51C7, + { 0xB3, 0xE0, 0x2D, 0xB5, 0x21, 0x85, 0x2F, 0x7C } }; -#define I_AVN_BUTTON_SPINNER_ABI_VERSION 10 +#define I_AVN_BUTTON_SPINNER_ABI_VERSION 11 struct IAvnButtonSpinnerVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnButtonSpinner* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnButtonSpinner* self); /* slot 1 */ @@ -3019,63 +3097,69 @@ struct IAvnButtonSpinnerVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnButtonSpinner* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnButtonSpinner* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnButtonSpinner* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnButtonSpinner* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnButtonSpinner* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnButtonSpinner* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnButtonSpinner* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnButtonSpinner* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnButtonSpinner* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnButtonSpinner* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnButtonSpinner* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnButtonSpinner* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnButtonSpinner* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnButtonSpinner* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnButtonSpinner* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnButtonSpinner* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnButtonSpinner* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnButtonSpinner* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnButtonSpinner* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnButtonSpinner* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnButtonSpinner* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnButtonSpinner* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnButtonSpinner* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnButtonSpinner* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnButtonSpinner* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnButtonSpinner* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnButtonSpinner* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnButtonSpinner* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnButtonSpinner* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnButtonSpinner* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnButtonSpinner* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_content)(IAvnButtonSpinner* self, IAvnControl** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_content)(IAvnButtonSpinner* self, IAvnControl* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnButtonSpinner* self, IAvnDataTemplate** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnButtonSpinner* self, IAvnDataTemplate* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnButtonSpinner* self, int32_t* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnButtonSpinner* self, int32_t value); /* slot 108 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnButtonSpinner* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnButtonSpinner* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_valid_spin_direction)(IAvnButtonSpinner* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_valid_spin_direction)(IAvnButtonSpinner* self, int32_t value); /* slot 112 */ - AvnHResult (AVN_CALL *advise_spin)(IAvnButtonSpinner* self, IAvnSpinnerSpinHandler* handler, int64_t* subscription_id); /* slot 113 */ - AvnHResult (AVN_CALL *unadvise_spin)(IAvnButtonSpinner* self, int64_t subscription_id); /* slot 114 */ - AvnHResult (AVN_CALL *get_allow_spin)(IAvnButtonSpinner* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_allow_spin)(IAvnButtonSpinner* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_show_button_spinner)(IAvnButtonSpinner* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_show_button_spinner)(IAvnButtonSpinner* self, int32_t value); /* slot 118 */ - AvnHResult (AVN_CALL *get_button_spinner_location)(IAvnButtonSpinner* self, int32_t* value); /* slot 119 */ - AvnHResult (AVN_CALL *set_button_spinner_location)(IAvnButtonSpinner* self, int32_t value); /* slot 120 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnButtonSpinner* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnButtonSpinner* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnButtonSpinner* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnButtonSpinner* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnButtonSpinner* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnButtonSpinner* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnButtonSpinner* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnButtonSpinner* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnButtonSpinner* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnButtonSpinner* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnButtonSpinner* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnButtonSpinner* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnButtonSpinner* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnButtonSpinner* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnButtonSpinner* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnButtonSpinner* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnButtonSpinner* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnButtonSpinner* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnButtonSpinner* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnButtonSpinner* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnButtonSpinner* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnButtonSpinner* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnButtonSpinner* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnButtonSpinner* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnButtonSpinner* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnButtonSpinner* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnButtonSpinner* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnButtonSpinner* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnButtonSpinner* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnButtonSpinner* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnButtonSpinner* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnButtonSpinner* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnButtonSpinner* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnButtonSpinner* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_content)(IAvnButtonSpinner* self, IAvnControl** value); /* slot 109 */ + AvnHResult (AVN_CALL *set_content)(IAvnButtonSpinner* self, IAvnControl* value); /* slot 110 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnButtonSpinner* self, IAvnDataTemplate** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnButtonSpinner* self, IAvnDataTemplate* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnButtonSpinner* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnButtonSpinner* self, int32_t value); /* slot 114 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnButtonSpinner* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnButtonSpinner* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_valid_spin_direction)(IAvnButtonSpinner* self, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_valid_spin_direction)(IAvnButtonSpinner* self, int32_t value); /* slot 118 */ + AvnHResult (AVN_CALL *advise_spin)(IAvnButtonSpinner* self, IAvnSpinnerSpinHandler* handler, int64_t* subscription_id); /* slot 119 */ + AvnHResult (AVN_CALL *unadvise_spin)(IAvnButtonSpinner* self, int64_t subscription_id); /* slot 120 */ + AvnHResult (AVN_CALL *get_allow_spin)(IAvnButtonSpinner* self, int32_t* value); /* slot 121 */ + AvnHResult (AVN_CALL *set_allow_spin)(IAvnButtonSpinner* self, int32_t value); /* slot 122 */ + AvnHResult (AVN_CALL *get_show_button_spinner)(IAvnButtonSpinner* self, int32_t* value); /* slot 123 */ + AvnHResult (AVN_CALL *set_show_button_spinner)(IAvnButtonSpinner* self, int32_t value); /* slot 124 */ + AvnHResult (AVN_CALL *get_button_spinner_location)(IAvnButtonSpinner* self, int32_t* value); /* slot 125 */ + AvnHResult (AVN_CALL *set_button_spinner_location)(IAvnButtonSpinner* self, int32_t value); /* slot 126 */ }; struct IAvnButtonSpinner { const IAvnButtonSpinnerVtbl* vtbl; }; -#define I_AVN_BUTTON_SPINNER_VTABLE_SLOTS 121 +#define I_AVN_BUTTON_SPINNER_VTABLE_SLOTS 127 static const AvnGuid I_AVN_CALENDAR_IID = { - 0xD1959E20, - 0xE08E, - 0x5A66, - { 0xA6, 0x3B, 0x4B, 0xD7, 0x14, 0xE6, 0x09, 0xD7 } + 0x9FF3FEBD, + 0x5CC5, + 0x5DB1, + { 0x94, 0xDA, 0xE0, 0x3D, 0x3D, 0x41, 0xD9, 0x47 } }; -#define I_AVN_CALENDAR_ABI_VERSION 13 +#define I_AVN_CALENDAR_ABI_VERSION 14 struct IAvnCalendarVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnCalendar* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnCalendar* self); /* slot 1 */ @@ -3152,77 +3236,83 @@ struct IAvnCalendarVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnCalendar* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnCalendar* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnCalendar* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnCalendar* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnCalendar* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnCalendar* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnCalendar* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnCalendar* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnCalendar* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnCalendar* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnCalendar* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnCalendar* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnCalendar* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnCalendar* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnCalendar* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnCalendar* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnCalendar* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnCalendar* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnCalendar* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnCalendar* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnCalendar* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnCalendar* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnCalendar* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnCalendar* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnCalendar* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnCalendar* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnCalendar* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnCalendar* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnCalendar* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnCalendar* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnCalendar* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_first_day_of_week)(IAvnCalendar* self, int32_t* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_first_day_of_week)(IAvnCalendar* self, int32_t value); /* slot 104 */ - AvnHResult (AVN_CALL *get_is_today_highlighted)(IAvnCalendar* self, int32_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_is_today_highlighted)(IAvnCalendar* self, int32_t value); /* slot 106 */ - AvnHResult (AVN_CALL *get_header_background)(IAvnCalendar* self, IAvnBrush** value); /* slot 107 */ - AvnHResult (AVN_CALL *set_header_background)(IAvnCalendar* self, IAvnBrush* value); /* slot 108 */ - AvnHResult (AVN_CALL *get_is_week_number_visible)(IAvnCalendar* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_is_week_number_visible)(IAvnCalendar* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_week_number_rule)(IAvnCalendar* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_week_number_rule)(IAvnCalendar* self, int32_t value); /* slot 112 */ - AvnHResult (AVN_CALL *get_display_mode)(IAvnCalendar* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_display_mode)(IAvnCalendar* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_selection_mode)(IAvnCalendar* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_selection_mode)(IAvnCalendar* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_allow_tap_range_selection)(IAvnCalendar* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_allow_tap_range_selection)(IAvnCalendar* self, int32_t value); /* slot 118 */ - AvnHResult (AVN_CALL *get_selected_date)(IAvnCalendar* self, uint16_t** value); /* slot 119 */ - AvnHResult (AVN_CALL *set_selected_date)(IAvnCalendar* self, const uint16_t* value); /* slot 120 */ - AvnHResult (AVN_CALL *get_selected_dates)(IAvnCalendar* self, IAvnDateTimeList** value); /* slot 121 */ - AvnHResult (AVN_CALL *get_display_date)(IAvnCalendar* self, uint16_t** value); /* slot 122 */ - AvnHResult (AVN_CALL *set_display_date)(IAvnCalendar* self, const uint16_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *get_display_date_start)(IAvnCalendar* self, uint16_t** value); /* slot 124 */ - AvnHResult (AVN_CALL *set_display_date_start)(IAvnCalendar* self, const uint16_t* value); /* slot 125 */ - AvnHResult (AVN_CALL *get_blackout_dates)(IAvnCalendar* self, IAvnDateTimeList** value); /* slot 126 */ - AvnHResult (AVN_CALL *get_display_date_end)(IAvnCalendar* self, uint16_t** value); /* slot 127 */ - AvnHResult (AVN_CALL *set_display_date_end)(IAvnCalendar* self, const uint16_t* value); /* slot 128 */ - AvnHResult (AVN_CALL *advise_selected_dates_changed)(IAvnCalendar* self, IAvnCalendarSelectedDatesChangedHandler* handler, int64_t* subscription_id); /* slot 129 */ - AvnHResult (AVN_CALL *unadvise_selected_dates_changed)(IAvnCalendar* self, int64_t subscription_id); /* slot 130 */ - AvnHResult (AVN_CALL *advise_display_date_changed)(IAvnCalendar* self, IAvnCalendarDisplayDateChangedHandler* handler, int64_t* subscription_id); /* slot 131 */ - AvnHResult (AVN_CALL *unadvise_display_date_changed)(IAvnCalendar* self, int64_t subscription_id); /* slot 132 */ - AvnHResult (AVN_CALL *advise_display_mode_changed)(IAvnCalendar* self, IAvnCalendarDisplayModeChangedHandler* handler, int64_t* subscription_id); /* slot 133 */ - AvnHResult (AVN_CALL *unadvise_display_mode_changed)(IAvnCalendar* self, int64_t subscription_id); /* slot 134 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnCalendar* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnCalendar* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnCalendar* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnCalendar* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnCalendar* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnCalendar* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnCalendar* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnCalendar* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnCalendar* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnCalendar* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnCalendar* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnCalendar* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnCalendar* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnCalendar* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnCalendar* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnCalendar* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnCalendar* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnCalendar* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnCalendar* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnCalendar* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnCalendar* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnCalendar* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnCalendar* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnCalendar* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnCalendar* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnCalendar* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnCalendar* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnCalendar* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnCalendar* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnCalendar* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnCalendar* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnCalendar* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnCalendar* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnCalendar* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_first_day_of_week)(IAvnCalendar* self, int32_t* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_first_day_of_week)(IAvnCalendar* self, int32_t value); /* slot 110 */ + AvnHResult (AVN_CALL *get_is_today_highlighted)(IAvnCalendar* self, int32_t* value); /* slot 111 */ + AvnHResult (AVN_CALL *set_is_today_highlighted)(IAvnCalendar* self, int32_t value); /* slot 112 */ + AvnHResult (AVN_CALL *get_header_background)(IAvnCalendar* self, IAvnBrush** value); /* slot 113 */ + AvnHResult (AVN_CALL *set_header_background)(IAvnCalendar* self, IAvnBrush* value); /* slot 114 */ + AvnHResult (AVN_CALL *get_is_week_number_visible)(IAvnCalendar* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_is_week_number_visible)(IAvnCalendar* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_week_number_rule)(IAvnCalendar* self, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_week_number_rule)(IAvnCalendar* self, int32_t value); /* slot 118 */ + AvnHResult (AVN_CALL *get_display_mode)(IAvnCalendar* self, int32_t* value); /* slot 119 */ + AvnHResult (AVN_CALL *set_display_mode)(IAvnCalendar* self, int32_t value); /* slot 120 */ + AvnHResult (AVN_CALL *get_selection_mode)(IAvnCalendar* self, int32_t* value); /* slot 121 */ + AvnHResult (AVN_CALL *set_selection_mode)(IAvnCalendar* self, int32_t value); /* slot 122 */ + AvnHResult (AVN_CALL *get_allow_tap_range_selection)(IAvnCalendar* self, int32_t* value); /* slot 123 */ + AvnHResult (AVN_CALL *set_allow_tap_range_selection)(IAvnCalendar* self, int32_t value); /* slot 124 */ + AvnHResult (AVN_CALL *get_selected_date)(IAvnCalendar* self, uint16_t** value); /* slot 125 */ + AvnHResult (AVN_CALL *set_selected_date)(IAvnCalendar* self, const uint16_t* value); /* slot 126 */ + AvnHResult (AVN_CALL *get_selected_dates)(IAvnCalendar* self, IAvnDateTimeList** value); /* slot 127 */ + AvnHResult (AVN_CALL *get_display_date)(IAvnCalendar* self, uint16_t** value); /* slot 128 */ + AvnHResult (AVN_CALL *set_display_date)(IAvnCalendar* self, const uint16_t* value); /* slot 129 */ + AvnHResult (AVN_CALL *get_display_date_start)(IAvnCalendar* self, uint16_t** value); /* slot 130 */ + AvnHResult (AVN_CALL *set_display_date_start)(IAvnCalendar* self, const uint16_t* value); /* slot 131 */ + AvnHResult (AVN_CALL *get_blackout_dates)(IAvnCalendar* self, IAvnDateTimeList** value); /* slot 132 */ + AvnHResult (AVN_CALL *get_display_date_end)(IAvnCalendar* self, uint16_t** value); /* slot 133 */ + AvnHResult (AVN_CALL *set_display_date_end)(IAvnCalendar* self, const uint16_t* value); /* slot 134 */ + AvnHResult (AVN_CALL *advise_selected_dates_changed)(IAvnCalendar* self, IAvnCalendarSelectedDatesChangedHandler* handler, int64_t* subscription_id); /* slot 135 */ + AvnHResult (AVN_CALL *unadvise_selected_dates_changed)(IAvnCalendar* self, int64_t subscription_id); /* slot 136 */ + AvnHResult (AVN_CALL *advise_display_date_changed)(IAvnCalendar* self, IAvnCalendarDisplayDateChangedHandler* handler, int64_t* subscription_id); /* slot 137 */ + AvnHResult (AVN_CALL *unadvise_display_date_changed)(IAvnCalendar* self, int64_t subscription_id); /* slot 138 */ + AvnHResult (AVN_CALL *advise_display_mode_changed)(IAvnCalendar* self, IAvnCalendarDisplayModeChangedHandler* handler, int64_t* subscription_id); /* slot 139 */ + AvnHResult (AVN_CALL *unadvise_display_mode_changed)(IAvnCalendar* self, int64_t subscription_id); /* slot 140 */ }; struct IAvnCalendar { const IAvnCalendarVtbl* vtbl; }; -#define I_AVN_CALENDAR_VTABLE_SLOTS 135 +#define I_AVN_CALENDAR_VTABLE_SLOTS 141 static const AvnGuid I_AVN_CALENDAR_DATE_PICKER_IID = { - 0x52B3592A, - 0xD20D, - 0x5C93, - { 0x8D, 0x31, 0xE0, 0x55, 0x2A, 0x74, 0x45, 0xFE } + 0x57923347, + 0x6143, + 0x59E6, + { 0xBA, 0xFC, 0xC7, 0x45, 0xA8, 0x98, 0x21, 0x64 } }; -#define I_AVN_CALENDAR_DATE_PICKER_ABI_VERSION 12 +#define I_AVN_CALENDAR_DATE_PICKER_ABI_VERSION 13 struct IAvnCalendarDatePickerVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnCalendarDatePicker* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnCalendarDatePicker* self); /* slot 1 */ @@ -3299,89 +3389,95 @@ struct IAvnCalendarDatePickerVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnCalendarDatePicker* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnCalendarDatePicker* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnCalendarDatePicker* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnCalendarDatePicker* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnCalendarDatePicker* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnCalendarDatePicker* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnCalendarDatePicker* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnCalendarDatePicker* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnCalendarDatePicker* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnCalendarDatePicker* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnCalendarDatePicker* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnCalendarDatePicker* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnCalendarDatePicker* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnCalendarDatePicker* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnCalendarDatePicker* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnCalendarDatePicker* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnCalendarDatePicker* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnCalendarDatePicker* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnCalendarDatePicker* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnCalendarDatePicker* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnCalendarDatePicker* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnCalendarDatePicker* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnCalendarDatePicker* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnCalendarDatePicker* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnCalendarDatePicker* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_blackout_dates)(IAvnCalendarDatePicker* self, IAvnDateTimeList** value); /* slot 103 */ - AvnHResult (AVN_CALL *get_display_date)(IAvnCalendarDatePicker* self, uint16_t** value); /* slot 104 */ - AvnHResult (AVN_CALL *set_display_date)(IAvnCalendarDatePicker* self, const uint16_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *get_display_date_start)(IAvnCalendarDatePicker* self, uint16_t** value); /* slot 106 */ - AvnHResult (AVN_CALL *set_display_date_start)(IAvnCalendarDatePicker* self, const uint16_t* value); /* slot 107 */ - AvnHResult (AVN_CALL *get_display_date_end)(IAvnCalendarDatePicker* self, uint16_t** value); /* slot 108 */ - AvnHResult (AVN_CALL *set_display_date_end)(IAvnCalendarDatePicker* self, const uint16_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *get_first_day_of_week)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 110 */ - AvnHResult (AVN_CALL *set_first_day_of_week)(IAvnCalendarDatePicker* self, int32_t value); /* slot 111 */ - AvnHResult (AVN_CALL *get_is_drop_down_open)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 112 */ - AvnHResult (AVN_CALL *set_is_drop_down_open)(IAvnCalendarDatePicker* self, int32_t value); /* slot 113 */ - AvnHResult (AVN_CALL *get_is_today_highlighted)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 114 */ - AvnHResult (AVN_CALL *set_is_today_highlighted)(IAvnCalendarDatePicker* self, int32_t value); /* slot 115 */ - AvnHResult (AVN_CALL *get_selected_date)(IAvnCalendarDatePicker* self, uint16_t** value); /* slot 116 */ - AvnHResult (AVN_CALL *set_selected_date)(IAvnCalendarDatePicker* self, const uint16_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *get_selected_date_format)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 118 */ - AvnHResult (AVN_CALL *set_selected_date_format)(IAvnCalendarDatePicker* self, int32_t value); /* slot 119 */ - AvnHResult (AVN_CALL *get_custom_date_format_string)(IAvnCalendarDatePicker* self, uint16_t** value); /* slot 120 */ - AvnHResult (AVN_CALL *set_custom_date_format_string)(IAvnCalendarDatePicker* self, const uint16_t* value); /* slot 121 */ - AvnHResult (AVN_CALL *get_text)(IAvnCalendarDatePicker* self, uint16_t** value); /* slot 122 */ - AvnHResult (AVN_CALL *set_text)(IAvnCalendarDatePicker* self, const uint16_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *get_placeholder_text)(IAvnCalendarDatePicker* self, uint16_t** value); /* slot 124 */ - AvnHResult (AVN_CALL *set_placeholder_text)(IAvnCalendarDatePicker* self, const uint16_t* value); /* slot 125 */ - AvnHResult (AVN_CALL *get_use_floating_placeholder)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 126 */ - AvnHResult (AVN_CALL *set_use_floating_placeholder)(IAvnCalendarDatePicker* self, int32_t value); /* slot 127 */ - AvnHResult (AVN_CALL *get_placeholder_foreground)(IAvnCalendarDatePicker* self, IAvnBrush** value); /* slot 128 */ - AvnHResult (AVN_CALL *set_placeholder_foreground)(IAvnCalendarDatePicker* self, IAvnBrush* value); /* slot 129 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 130 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnCalendarDatePicker* self, int32_t value); /* slot 131 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 132 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnCalendarDatePicker* self, int32_t value); /* slot 133 */ - AvnHResult (AVN_CALL *get_is_week_number_visible)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 134 */ - AvnHResult (AVN_CALL *set_is_week_number_visible)(IAvnCalendarDatePicker* self, int32_t value); /* slot 135 */ - AvnHResult (AVN_CALL *get_week_number_rule)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 136 */ - AvnHResult (AVN_CALL *set_week_number_rule)(IAvnCalendarDatePicker* self, int32_t value); /* slot 137 */ - AvnHResult (AVN_CALL *clear)(IAvnCalendarDatePicker* self); /* slot 138 */ - AvnHResult (AVN_CALL *advise_calendar_closed)(IAvnCalendarDatePicker* self, IAvnCalendarDatePickerCalendarClosedHandler* handler, int64_t* subscription_id); /* slot 139 */ - AvnHResult (AVN_CALL *unadvise_calendar_closed)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 140 */ - AvnHResult (AVN_CALL *advise_calendar_opened)(IAvnCalendarDatePicker* self, IAvnCalendarDatePickerCalendarOpenedHandler* handler, int64_t* subscription_id); /* slot 141 */ - AvnHResult (AVN_CALL *unadvise_calendar_opened)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 142 */ - AvnHResult (AVN_CALL *advise_date_validation_error)(IAvnCalendarDatePicker* self, IAvnCalendarDatePickerDateValidationErrorHandler* handler, int64_t* subscription_id); /* slot 143 */ - AvnHResult (AVN_CALL *unadvise_date_validation_error)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 144 */ - AvnHResult (AVN_CALL *advise_selected_date_changed)(IAvnCalendarDatePicker* self, IAvnCalendarDatePickerSelectedDateChangedHandler* handler, int64_t* subscription_id); /* slot 145 */ - AvnHResult (AVN_CALL *unadvise_selected_date_changed)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 146 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnCalendarDatePicker* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnCalendarDatePicker* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnCalendarDatePicker* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnCalendarDatePicker* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnCalendarDatePicker* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnCalendarDatePicker* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnCalendarDatePicker* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnCalendarDatePicker* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnCalendarDatePicker* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnCalendarDatePicker* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnCalendarDatePicker* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnCalendarDatePicker* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnCalendarDatePicker* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnCalendarDatePicker* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnCalendarDatePicker* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnCalendarDatePicker* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnCalendarDatePicker* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnCalendarDatePicker* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnCalendarDatePicker* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnCalendarDatePicker* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnCalendarDatePicker* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnCalendarDatePicker* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnCalendarDatePicker* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnCalendarDatePicker* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnCalendarDatePicker* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnCalendarDatePicker* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnCalendarDatePicker* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_blackout_dates)(IAvnCalendarDatePicker* self, IAvnDateTimeList** value); /* slot 109 */ + AvnHResult (AVN_CALL *get_display_date)(IAvnCalendarDatePicker* self, uint16_t** value); /* slot 110 */ + AvnHResult (AVN_CALL *set_display_date)(IAvnCalendarDatePicker* self, const uint16_t* value); /* slot 111 */ + AvnHResult (AVN_CALL *get_display_date_start)(IAvnCalendarDatePicker* self, uint16_t** value); /* slot 112 */ + AvnHResult (AVN_CALL *set_display_date_start)(IAvnCalendarDatePicker* self, const uint16_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *get_display_date_end)(IAvnCalendarDatePicker* self, uint16_t** value); /* slot 114 */ + AvnHResult (AVN_CALL *set_display_date_end)(IAvnCalendarDatePicker* self, const uint16_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *get_first_day_of_week)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 116 */ + AvnHResult (AVN_CALL *set_first_day_of_week)(IAvnCalendarDatePicker* self, int32_t value); /* slot 117 */ + AvnHResult (AVN_CALL *get_is_drop_down_open)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 118 */ + AvnHResult (AVN_CALL *set_is_drop_down_open)(IAvnCalendarDatePicker* self, int32_t value); /* slot 119 */ + AvnHResult (AVN_CALL *get_is_today_highlighted)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 120 */ + AvnHResult (AVN_CALL *set_is_today_highlighted)(IAvnCalendarDatePicker* self, int32_t value); /* slot 121 */ + AvnHResult (AVN_CALL *get_selected_date)(IAvnCalendarDatePicker* self, uint16_t** value); /* slot 122 */ + AvnHResult (AVN_CALL *set_selected_date)(IAvnCalendarDatePicker* self, const uint16_t* value); /* slot 123 */ + AvnHResult (AVN_CALL *get_selected_date_format)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 124 */ + AvnHResult (AVN_CALL *set_selected_date_format)(IAvnCalendarDatePicker* self, int32_t value); /* slot 125 */ + AvnHResult (AVN_CALL *get_custom_date_format_string)(IAvnCalendarDatePicker* self, uint16_t** value); /* slot 126 */ + AvnHResult (AVN_CALL *set_custom_date_format_string)(IAvnCalendarDatePicker* self, const uint16_t* value); /* slot 127 */ + AvnHResult (AVN_CALL *get_text)(IAvnCalendarDatePicker* self, uint16_t** value); /* slot 128 */ + AvnHResult (AVN_CALL *set_text)(IAvnCalendarDatePicker* self, const uint16_t* value); /* slot 129 */ + AvnHResult (AVN_CALL *get_placeholder_text)(IAvnCalendarDatePicker* self, uint16_t** value); /* slot 130 */ + AvnHResult (AVN_CALL *set_placeholder_text)(IAvnCalendarDatePicker* self, const uint16_t* value); /* slot 131 */ + AvnHResult (AVN_CALL *get_use_floating_placeholder)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 132 */ + AvnHResult (AVN_CALL *set_use_floating_placeholder)(IAvnCalendarDatePicker* self, int32_t value); /* slot 133 */ + AvnHResult (AVN_CALL *get_placeholder_foreground)(IAvnCalendarDatePicker* self, IAvnBrush** value); /* slot 134 */ + AvnHResult (AVN_CALL *set_placeholder_foreground)(IAvnCalendarDatePicker* self, IAvnBrush* value); /* slot 135 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 136 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnCalendarDatePicker* self, int32_t value); /* slot 137 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 138 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnCalendarDatePicker* self, int32_t value); /* slot 139 */ + AvnHResult (AVN_CALL *get_is_week_number_visible)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 140 */ + AvnHResult (AVN_CALL *set_is_week_number_visible)(IAvnCalendarDatePicker* self, int32_t value); /* slot 141 */ + AvnHResult (AVN_CALL *get_week_number_rule)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 142 */ + AvnHResult (AVN_CALL *set_week_number_rule)(IAvnCalendarDatePicker* self, int32_t value); /* slot 143 */ + AvnHResult (AVN_CALL *clear)(IAvnCalendarDatePicker* self); /* slot 144 */ + AvnHResult (AVN_CALL *advise_calendar_closed)(IAvnCalendarDatePicker* self, IAvnCalendarDatePickerCalendarClosedHandler* handler, int64_t* subscription_id); /* slot 145 */ + AvnHResult (AVN_CALL *unadvise_calendar_closed)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 146 */ + AvnHResult (AVN_CALL *advise_calendar_opened)(IAvnCalendarDatePicker* self, IAvnCalendarDatePickerCalendarOpenedHandler* handler, int64_t* subscription_id); /* slot 147 */ + AvnHResult (AVN_CALL *unadvise_calendar_opened)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 148 */ + AvnHResult (AVN_CALL *advise_date_validation_error)(IAvnCalendarDatePicker* self, IAvnCalendarDatePickerDateValidationErrorHandler* handler, int64_t* subscription_id); /* slot 149 */ + AvnHResult (AVN_CALL *unadvise_date_validation_error)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 150 */ + AvnHResult (AVN_CALL *advise_selected_date_changed)(IAvnCalendarDatePicker* self, IAvnCalendarDatePickerSelectedDateChangedHandler* handler, int64_t* subscription_id); /* slot 151 */ + AvnHResult (AVN_CALL *unadvise_selected_date_changed)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 152 */ }; struct IAvnCalendarDatePicker { const IAvnCalendarDatePickerVtbl* vtbl; }; -#define I_AVN_CALENDAR_DATE_PICKER_VTABLE_SLOTS 147 +#define I_AVN_CALENDAR_DATE_PICKER_VTABLE_SLOTS 153 static const AvnGuid I_AVN_CANVAS_IID = { - 0xCE4E710B, - 0xD3A5, - 0x5021, - { 0xA3, 0x43, 0x75, 0x8F, 0xA0, 0x78, 0xE7, 0x91 } + 0xC16EF1BD, + 0x5F4F, + 0x5C2C, + { 0xA3, 0xEA, 0x50, 0x8C, 0x4B, 0x05, 0xBA, 0x3C } }; -#define I_AVN_CANVAS_ABI_VERSION 12 +#define I_AVN_CANVAS_ABI_VERSION 13 struct IAvnCanvasVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnCanvas* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnCanvas* self); /* slot 1 */ @@ -3458,20 +3554,26 @@ struct IAvnCanvasVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnCanvas* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnCanvas* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnCanvas* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_children)(IAvnCanvas* self, IAvnControlList** value); /* slot 75 */ - AvnHResult (AVN_CALL *get_background)(IAvnCanvas* self, IAvnBrush** value); /* slot 76 */ - AvnHResult (AVN_CALL *set_background)(IAvnCanvas* self, IAvnBrush* value); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnCanvas* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnCanvas* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnCanvas* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnCanvas* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnCanvas* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnCanvas* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_children)(IAvnCanvas* self, IAvnControlList** value); /* slot 81 */ + AvnHResult (AVN_CALL *get_background)(IAvnCanvas* self, IAvnBrush** value); /* slot 82 */ + AvnHResult (AVN_CALL *set_background)(IAvnCanvas* self, IAvnBrush* value); /* slot 83 */ }; struct IAvnCanvas { const IAvnCanvasVtbl* vtbl; }; -#define I_AVN_CANVAS_VTABLE_SLOTS 78 +#define I_AVN_CANVAS_VTABLE_SLOTS 84 static const AvnGuid I_AVN_CAROUSEL_IID = { - 0xB496C390, - 0x157D, - 0x54E1, - { 0x84, 0x15, 0xE4, 0x87, 0xE9, 0x3D, 0xAF, 0x7D } + 0x78C353C4, + 0x749B, + 0x55FC, + { 0xA9, 0xEF, 0x66, 0x60, 0x81, 0x55, 0xB0, 0xDB } }; -#define I_AVN_CAROUSEL_ABI_VERSION 14 +#define I_AVN_CAROUSEL_ABI_VERSION 15 struct IAvnCarouselVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnCarousel* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnCarousel* self); /* slot 1 */ @@ -3548,78 +3650,84 @@ struct IAvnCarouselVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnCarousel* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnCarousel* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnCarousel* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnCarousel* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnCarousel* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnCarousel* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnCarousel* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnCarousel* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnCarousel* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnCarousel* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnCarousel* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnCarousel* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnCarousel* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnCarousel* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnCarousel* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnCarousel* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnCarousel* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnCarousel* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnCarousel* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnCarousel* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnCarousel* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnCarousel* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnCarousel* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnCarousel* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnCarousel* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnCarousel* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnCarousel* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnCarousel* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnCarousel* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnCarousel* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnCarousel* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_items)(IAvnCarousel* self, IAvnItemList** value); /* slot 103 */ - AvnHResult (AVN_CALL *get_item_count)(IAvnCarousel* self, int32_t* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_items_source)(IAvnCarousel* self, IAvnVariantList** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_items_source)(IAvnCarousel* self, IAvnVariantList* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_item_template)(IAvnCarousel* self, IAvnDataTemplate** value); /* slot 107 */ - AvnHResult (AVN_CALL *set_item_template)(IAvnCarousel* self, IAvnDataTemplate* value); /* slot 108 */ - AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnCarousel* self, int32_t index, IAvnControl** value); /* slot 109 */ - AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnCarousel* self, AvnVariant item, IAvnControl** value); /* slot 110 */ - AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnCarousel* self, IAvnControl* container, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnCarousel* self, IAvnControl* container, AvnVariant* value); /* slot 112 */ - AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnCarousel* self, int32_t index); /* slot 113 */ - AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnCarousel* self, AvnVariant item); /* slot 114 */ - AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnCarousel* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnCarousel* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_selected_index)(IAvnCarousel* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_selected_index)(IAvnCarousel* self, int32_t value); /* slot 118 */ - AvnHResult (AVN_CALL *get_selected_item)(IAvnCarousel* self, AvnVariant* value); /* slot 119 */ - AvnHResult (AVN_CALL *set_selected_item)(IAvnCarousel* self, AvnVariant value); /* slot 120 */ - AvnHResult (AVN_CALL *get_selected_value)(IAvnCarousel* self, AvnVariant* value); /* slot 121 */ - AvnHResult (AVN_CALL *set_selected_value)(IAvnCarousel* self, AvnVariant value); /* slot 122 */ - AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnCarousel* self, int32_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnCarousel* self, int32_t value); /* slot 124 */ - AvnHResult (AVN_CALL *get_wrap_selection)(IAvnCarousel* self, int32_t* value); /* slot 125 */ - AvnHResult (AVN_CALL *set_wrap_selection)(IAvnCarousel* self, int32_t value); /* slot 126 */ - AvnHResult (AVN_CALL *advise_selection_changed)(IAvnCarousel* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 127 */ - AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnCarousel* self, int64_t subscription_id); /* slot 128 */ - AvnHResult (AVN_CALL *get_is_swipe_enabled)(IAvnCarousel* self, int32_t* value); /* slot 129 */ - AvnHResult (AVN_CALL *set_is_swipe_enabled)(IAvnCarousel* self, int32_t value); /* slot 130 */ - AvnHResult (AVN_CALL *get_viewport_fraction)(IAvnCarousel* self, double* value); /* slot 131 */ - AvnHResult (AVN_CALL *set_viewport_fraction)(IAvnCarousel* self, double value); /* slot 132 */ - AvnHResult (AVN_CALL *get_is_swiping)(IAvnCarousel* self, int32_t* value); /* slot 133 */ - AvnHResult (AVN_CALL *next)(IAvnCarousel* self); /* slot 134 */ - AvnHResult (AVN_CALL *previous)(IAvnCarousel* self); /* slot 135 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnCarousel* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnCarousel* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnCarousel* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnCarousel* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnCarousel* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnCarousel* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnCarousel* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnCarousel* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnCarousel* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnCarousel* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnCarousel* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnCarousel* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnCarousel* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnCarousel* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnCarousel* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnCarousel* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnCarousel* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnCarousel* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnCarousel* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnCarousel* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnCarousel* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnCarousel* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnCarousel* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnCarousel* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnCarousel* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnCarousel* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnCarousel* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnCarousel* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnCarousel* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnCarousel* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnCarousel* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnCarousel* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnCarousel* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnCarousel* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_items)(IAvnCarousel* self, IAvnItemList** value); /* slot 109 */ + AvnHResult (AVN_CALL *get_item_count)(IAvnCarousel* self, int32_t* value); /* slot 110 */ + AvnHResult (AVN_CALL *get_items_source)(IAvnCarousel* self, IAvnVariantList** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_items_source)(IAvnCarousel* self, IAvnVariantList* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_item_template)(IAvnCarousel* self, IAvnDataTemplate** value); /* slot 113 */ + AvnHResult (AVN_CALL *set_item_template)(IAvnCarousel* self, IAvnDataTemplate* value); /* slot 114 */ + AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnCarousel* self, int32_t index, IAvnControl** value); /* slot 115 */ + AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnCarousel* self, AvnVariant item, IAvnControl** value); /* slot 116 */ + AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnCarousel* self, IAvnControl* container, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnCarousel* self, IAvnControl* container, AvnVariant* value); /* slot 118 */ + AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnCarousel* self, int32_t index); /* slot 119 */ + AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnCarousel* self, AvnVariant item); /* slot 120 */ + AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnCarousel* self, int32_t* value); /* slot 121 */ + AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnCarousel* self, int32_t value); /* slot 122 */ + AvnHResult (AVN_CALL *get_selected_index)(IAvnCarousel* self, int32_t* value); /* slot 123 */ + AvnHResult (AVN_CALL *set_selected_index)(IAvnCarousel* self, int32_t value); /* slot 124 */ + AvnHResult (AVN_CALL *get_selected_item)(IAvnCarousel* self, AvnVariant* value); /* slot 125 */ + AvnHResult (AVN_CALL *set_selected_item)(IAvnCarousel* self, AvnVariant value); /* slot 126 */ + AvnHResult (AVN_CALL *get_selected_value)(IAvnCarousel* self, AvnVariant* value); /* slot 127 */ + AvnHResult (AVN_CALL *set_selected_value)(IAvnCarousel* self, AvnVariant value); /* slot 128 */ + AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnCarousel* self, int32_t* value); /* slot 129 */ + AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnCarousel* self, int32_t value); /* slot 130 */ + AvnHResult (AVN_CALL *get_wrap_selection)(IAvnCarousel* self, int32_t* value); /* slot 131 */ + AvnHResult (AVN_CALL *set_wrap_selection)(IAvnCarousel* self, int32_t value); /* slot 132 */ + AvnHResult (AVN_CALL *advise_selection_changed)(IAvnCarousel* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 133 */ + AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnCarousel* self, int64_t subscription_id); /* slot 134 */ + AvnHResult (AVN_CALL *get_is_swipe_enabled)(IAvnCarousel* self, int32_t* value); /* slot 135 */ + AvnHResult (AVN_CALL *set_is_swipe_enabled)(IAvnCarousel* self, int32_t value); /* slot 136 */ + AvnHResult (AVN_CALL *get_viewport_fraction)(IAvnCarousel* self, double* value); /* slot 137 */ + AvnHResult (AVN_CALL *set_viewport_fraction)(IAvnCarousel* self, double value); /* slot 138 */ + AvnHResult (AVN_CALL *get_is_swiping)(IAvnCarousel* self, int32_t* value); /* slot 139 */ + AvnHResult (AVN_CALL *next)(IAvnCarousel* self); /* slot 140 */ + AvnHResult (AVN_CALL *previous)(IAvnCarousel* self); /* slot 141 */ }; struct IAvnCarousel { const IAvnCarouselVtbl* vtbl; }; -#define I_AVN_CAROUSEL_VTABLE_SLOTS 136 +#define I_AVN_CAROUSEL_VTABLE_SLOTS 142 static const AvnGuid I_AVN_CHECK_BOX_IID = { - 0xAACDB973, - 0xAF3D, - 0x5BA5, - { 0xA0, 0x94, 0x63, 0x51, 0x78, 0xEF, 0x2C, 0x2E } + 0xC4E191D8, + 0x29FB, + 0x5623, + { 0xAF, 0x97, 0xE3, 0xAA, 0xD9, 0x50, 0xE2, 0x7B } }; -#define I_AVN_CHECK_BOX_ABI_VERSION 17 +#define I_AVN_CHECK_BOX_ABI_VERSION 18 struct IAvnCheckBoxVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnCheckBox* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnCheckBox* self); /* slot 1 */ @@ -3696,76 +3804,82 @@ struct IAvnCheckBoxVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnCheckBox* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnCheckBox* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnCheckBox* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnCheckBox* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnCheckBox* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnCheckBox* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnCheckBox* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnCheckBox* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnCheckBox* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnCheckBox* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnCheckBox* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnCheckBox* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnCheckBox* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnCheckBox* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnCheckBox* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnCheckBox* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnCheckBox* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnCheckBox* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnCheckBox* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnCheckBox* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnCheckBox* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnCheckBox* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnCheckBox* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnCheckBox* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnCheckBox* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnCheckBox* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnCheckBox* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnCheckBox* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnCheckBox* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnCheckBox* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnCheckBox* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_content)(IAvnCheckBox* self, IAvnControl** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_content)(IAvnCheckBox* self, IAvnControl* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnCheckBox* self, IAvnDataTemplate** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnCheckBox* self, IAvnDataTemplate* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnCheckBox* self, int32_t* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnCheckBox* self, int32_t value); /* slot 108 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnCheckBox* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnCheckBox* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_click_mode)(IAvnCheckBox* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_click_mode)(IAvnCheckBox* self, int32_t value); /* slot 112 */ - AvnHResult (AVN_CALL *get_command)(IAvnCheckBox* self, IAvnCommand** value); /* slot 113 */ - AvnHResult (AVN_CALL *set_command)(IAvnCheckBox* self, IAvnCommand* value); /* slot 114 */ - AvnHResult (AVN_CALL *get_hot_key)(IAvnCheckBox* self, uint16_t** value); /* slot 115 */ - AvnHResult (AVN_CALL *set_hot_key)(IAvnCheckBox* self, const uint16_t* value); /* slot 116 */ - AvnHResult (AVN_CALL *get_command_parameter)(IAvnCheckBox* self, AvnVariant* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_command_parameter)(IAvnCheckBox* self, AvnVariant value); /* slot 118 */ - AvnHResult (AVN_CALL *get_is_default)(IAvnCheckBox* self, int32_t* value); /* slot 119 */ - AvnHResult (AVN_CALL *set_is_default)(IAvnCheckBox* self, int32_t value); /* slot 120 */ - AvnHResult (AVN_CALL *get_is_cancel)(IAvnCheckBox* self, int32_t* value); /* slot 121 */ - AvnHResult (AVN_CALL *set_is_cancel)(IAvnCheckBox* self, int32_t value); /* slot 122 */ - AvnHResult (AVN_CALL *get_is_pressed)(IAvnCheckBox* self, int32_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *get_flyout)(IAvnCheckBox* self, IAvnFlyoutBase** value); /* slot 124 */ - AvnHResult (AVN_CALL *set_flyout)(IAvnCheckBox* self, IAvnFlyoutBase* value); /* slot 125 */ - AvnHResult (AVN_CALL *advise_click)(IAvnCheckBox* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 126 */ - AvnHResult (AVN_CALL *unadvise_click)(IAvnCheckBox* self, int64_t subscription_id); /* slot 127 */ - AvnHResult (AVN_CALL *get_is_checked)(IAvnCheckBox* self, int32_t* value); /* slot 128 */ - AvnHResult (AVN_CALL *set_is_checked)(IAvnCheckBox* self, int32_t value); /* slot 129 */ - AvnHResult (AVN_CALL *get_is_three_state)(IAvnCheckBox* self, int32_t* value); /* slot 130 */ - AvnHResult (AVN_CALL *set_is_three_state)(IAvnCheckBox* self, int32_t value); /* slot 131 */ - AvnHResult (AVN_CALL *advise_is_checked_changed)(IAvnCheckBox* self, IAvnToggleButtonIsCheckedChangedHandler* handler, int64_t* subscription_id); /* slot 132 */ - AvnHResult (AVN_CALL *unadvise_is_checked_changed)(IAvnCheckBox* self, int64_t subscription_id); /* slot 133 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnCheckBox* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnCheckBox* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnCheckBox* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnCheckBox* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnCheckBox* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnCheckBox* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnCheckBox* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnCheckBox* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnCheckBox* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnCheckBox* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnCheckBox* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnCheckBox* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnCheckBox* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnCheckBox* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnCheckBox* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnCheckBox* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnCheckBox* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnCheckBox* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnCheckBox* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnCheckBox* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnCheckBox* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnCheckBox* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnCheckBox* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnCheckBox* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnCheckBox* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnCheckBox* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnCheckBox* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnCheckBox* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnCheckBox* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnCheckBox* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnCheckBox* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnCheckBox* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnCheckBox* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnCheckBox* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_content)(IAvnCheckBox* self, IAvnControl** value); /* slot 109 */ + AvnHResult (AVN_CALL *set_content)(IAvnCheckBox* self, IAvnControl* value); /* slot 110 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnCheckBox* self, IAvnDataTemplate** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnCheckBox* self, IAvnDataTemplate* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnCheckBox* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnCheckBox* self, int32_t value); /* slot 114 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnCheckBox* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnCheckBox* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_click_mode)(IAvnCheckBox* self, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_click_mode)(IAvnCheckBox* self, int32_t value); /* slot 118 */ + AvnHResult (AVN_CALL *get_command)(IAvnCheckBox* self, IAvnCommand** value); /* slot 119 */ + AvnHResult (AVN_CALL *set_command)(IAvnCheckBox* self, IAvnCommand* value); /* slot 120 */ + AvnHResult (AVN_CALL *get_hot_key)(IAvnCheckBox* self, uint16_t** value); /* slot 121 */ + AvnHResult (AVN_CALL *set_hot_key)(IAvnCheckBox* self, const uint16_t* value); /* slot 122 */ + AvnHResult (AVN_CALL *get_command_parameter)(IAvnCheckBox* self, AvnVariant* value); /* slot 123 */ + AvnHResult (AVN_CALL *set_command_parameter)(IAvnCheckBox* self, AvnVariant value); /* slot 124 */ + AvnHResult (AVN_CALL *get_is_default)(IAvnCheckBox* self, int32_t* value); /* slot 125 */ + AvnHResult (AVN_CALL *set_is_default)(IAvnCheckBox* self, int32_t value); /* slot 126 */ + AvnHResult (AVN_CALL *get_is_cancel)(IAvnCheckBox* self, int32_t* value); /* slot 127 */ + AvnHResult (AVN_CALL *set_is_cancel)(IAvnCheckBox* self, int32_t value); /* slot 128 */ + AvnHResult (AVN_CALL *get_is_pressed)(IAvnCheckBox* self, int32_t* value); /* slot 129 */ + AvnHResult (AVN_CALL *get_flyout)(IAvnCheckBox* self, IAvnFlyoutBase** value); /* slot 130 */ + AvnHResult (AVN_CALL *set_flyout)(IAvnCheckBox* self, IAvnFlyoutBase* value); /* slot 131 */ + AvnHResult (AVN_CALL *advise_click)(IAvnCheckBox* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 132 */ + AvnHResult (AVN_CALL *unadvise_click)(IAvnCheckBox* self, int64_t subscription_id); /* slot 133 */ + AvnHResult (AVN_CALL *get_is_checked)(IAvnCheckBox* self, int32_t* value); /* slot 134 */ + AvnHResult (AVN_CALL *set_is_checked)(IAvnCheckBox* self, int32_t value); /* slot 135 */ + AvnHResult (AVN_CALL *get_is_three_state)(IAvnCheckBox* self, int32_t* value); /* slot 136 */ + AvnHResult (AVN_CALL *set_is_three_state)(IAvnCheckBox* self, int32_t value); /* slot 137 */ + AvnHResult (AVN_CALL *advise_is_checked_changed)(IAvnCheckBox* self, IAvnToggleButtonIsCheckedChangedHandler* handler, int64_t* subscription_id); /* slot 138 */ + AvnHResult (AVN_CALL *unadvise_is_checked_changed)(IAvnCheckBox* self, int64_t subscription_id); /* slot 139 */ }; struct IAvnCheckBox { const IAvnCheckBoxVtbl* vtbl; }; -#define I_AVN_CHECK_BOX_VTABLE_SLOTS 134 +#define I_AVN_CHECK_BOX_VTABLE_SLOTS 140 static const AvnGuid I_AVN_COMBO_BOX_IID = { - 0xC05FA67D, - 0x1BEE, - 0x51A8, - { 0x93, 0x67, 0x03, 0x00, 0xAA, 0x1C, 0xAE, 0x23 } + 0xEEBBD41C, + 0x3704, + 0x5BC1, + { 0xBB, 0x31, 0xE8, 0x7E, 0xF4, 0x07, 0xCB, 0x79 } }; -#define I_AVN_COMBO_BOX_ABI_VERSION 18 +#define I_AVN_COMBO_BOX_ABI_VERSION 19 struct IAvnComboBoxVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnComboBox* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnComboBox* self); /* slot 1 */ @@ -3842,91 +3956,97 @@ struct IAvnComboBoxVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnComboBox* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnComboBox* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnComboBox* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnComboBox* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnComboBox* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnComboBox* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnComboBox* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnComboBox* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnComboBox* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnComboBox* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnComboBox* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnComboBox* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnComboBox* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnComboBox* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnComboBox* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnComboBox* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnComboBox* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnComboBox* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnComboBox* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnComboBox* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnComboBox* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnComboBox* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnComboBox* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnComboBox* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnComboBox* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnComboBox* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnComboBox* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnComboBox* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnComboBox* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnComboBox* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnComboBox* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_items)(IAvnComboBox* self, IAvnItemList** value); /* slot 103 */ - AvnHResult (AVN_CALL *get_item_count)(IAvnComboBox* self, int32_t* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_items_source)(IAvnComboBox* self, IAvnVariantList** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_items_source)(IAvnComboBox* self, IAvnVariantList* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_item_template)(IAvnComboBox* self, IAvnDataTemplate** value); /* slot 107 */ - AvnHResult (AVN_CALL *set_item_template)(IAvnComboBox* self, IAvnDataTemplate* value); /* slot 108 */ - AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnComboBox* self, int32_t index, IAvnControl** value); /* slot 109 */ - AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnComboBox* self, AvnVariant item, IAvnControl** value); /* slot 110 */ - AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnComboBox* self, IAvnControl* container, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnComboBox* self, IAvnControl* container, AvnVariant* value); /* slot 112 */ - AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnComboBox* self, int32_t index); /* slot 113 */ - AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnComboBox* self, AvnVariant item); /* slot 114 */ - AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnComboBox* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnComboBox* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_selected_index)(IAvnComboBox* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_selected_index)(IAvnComboBox* self, int32_t value); /* slot 118 */ - AvnHResult (AVN_CALL *get_selected_item)(IAvnComboBox* self, AvnVariant* value); /* slot 119 */ - AvnHResult (AVN_CALL *set_selected_item)(IAvnComboBox* self, AvnVariant value); /* slot 120 */ - AvnHResult (AVN_CALL *get_selected_value)(IAvnComboBox* self, AvnVariant* value); /* slot 121 */ - AvnHResult (AVN_CALL *set_selected_value)(IAvnComboBox* self, AvnVariant value); /* slot 122 */ - AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnComboBox* self, int32_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnComboBox* self, int32_t value); /* slot 124 */ - AvnHResult (AVN_CALL *get_wrap_selection)(IAvnComboBox* self, int32_t* value); /* slot 125 */ - AvnHResult (AVN_CALL *set_wrap_selection)(IAvnComboBox* self, int32_t value); /* slot 126 */ - AvnHResult (AVN_CALL *advise_selection_changed)(IAvnComboBox* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 127 */ - AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnComboBox* self, int64_t subscription_id); /* slot 128 */ - AvnHResult (AVN_CALL *get_is_drop_down_open)(IAvnComboBox* self, int32_t* value); /* slot 129 */ - AvnHResult (AVN_CALL *set_is_drop_down_open)(IAvnComboBox* self, int32_t value); /* slot 130 */ - AvnHResult (AVN_CALL *get_is_editable)(IAvnComboBox* self, int32_t* value); /* slot 131 */ - AvnHResult (AVN_CALL *set_is_editable)(IAvnComboBox* self, int32_t value); /* slot 132 */ - AvnHResult (AVN_CALL *get_max_drop_down_height)(IAvnComboBox* self, double* value); /* slot 133 */ - AvnHResult (AVN_CALL *set_max_drop_down_height)(IAvnComboBox* self, double value); /* slot 134 */ - AvnHResult (AVN_CALL *get_selection_box_item)(IAvnComboBox* self, AvnVariant* value); /* slot 135 */ - AvnHResult (AVN_CALL *get_placeholder_text)(IAvnComboBox* self, uint16_t** value); /* slot 136 */ - AvnHResult (AVN_CALL *set_placeholder_text)(IAvnComboBox* self, const uint16_t* value); /* slot 137 */ - AvnHResult (AVN_CALL *get_placeholder_foreground)(IAvnComboBox* self, IAvnBrush** value); /* slot 138 */ - AvnHResult (AVN_CALL *set_placeholder_foreground)(IAvnComboBox* self, IAvnBrush* value); /* slot 139 */ - AvnHResult (AVN_CALL *get_selection_box_item_template)(IAvnComboBox* self, IAvnDataTemplate** value); /* slot 140 */ - AvnHResult (AVN_CALL *set_selection_box_item_template)(IAvnComboBox* self, IAvnDataTemplate* value); /* slot 141 */ - AvnHResult (AVN_CALL *get_text)(IAvnComboBox* self, uint16_t** value); /* slot 142 */ - AvnHResult (AVN_CALL *set_text)(IAvnComboBox* self, const uint16_t* value); /* slot 143 */ - AvnHResult (AVN_CALL *clear)(IAvnComboBox* self); /* slot 144 */ - AvnHResult (AVN_CALL *advise_drop_down_closed)(IAvnComboBox* self, IAvnComboBoxDropDownClosedHandler* handler, int64_t* subscription_id); /* slot 145 */ - AvnHResult (AVN_CALL *unadvise_drop_down_closed)(IAvnComboBox* self, int64_t subscription_id); /* slot 146 */ - AvnHResult (AVN_CALL *advise_drop_down_opened)(IAvnComboBox* self, IAvnComboBoxDropDownOpenedHandler* handler, int64_t* subscription_id); /* slot 147 */ - AvnHResult (AVN_CALL *unadvise_drop_down_opened)(IAvnComboBox* self, int64_t subscription_id); /* slot 148 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnComboBox* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnComboBox* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnComboBox* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnComboBox* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnComboBox* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnComboBox* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnComboBox* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnComboBox* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnComboBox* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnComboBox* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnComboBox* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnComboBox* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnComboBox* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnComboBox* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnComboBox* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnComboBox* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnComboBox* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnComboBox* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnComboBox* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnComboBox* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnComboBox* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnComboBox* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnComboBox* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnComboBox* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnComboBox* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnComboBox* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnComboBox* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnComboBox* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnComboBox* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnComboBox* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnComboBox* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnComboBox* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnComboBox* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnComboBox* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_items)(IAvnComboBox* self, IAvnItemList** value); /* slot 109 */ + AvnHResult (AVN_CALL *get_item_count)(IAvnComboBox* self, int32_t* value); /* slot 110 */ + AvnHResult (AVN_CALL *get_items_source)(IAvnComboBox* self, IAvnVariantList** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_items_source)(IAvnComboBox* self, IAvnVariantList* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_item_template)(IAvnComboBox* self, IAvnDataTemplate** value); /* slot 113 */ + AvnHResult (AVN_CALL *set_item_template)(IAvnComboBox* self, IAvnDataTemplate* value); /* slot 114 */ + AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnComboBox* self, int32_t index, IAvnControl** value); /* slot 115 */ + AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnComboBox* self, AvnVariant item, IAvnControl** value); /* slot 116 */ + AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnComboBox* self, IAvnControl* container, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnComboBox* self, IAvnControl* container, AvnVariant* value); /* slot 118 */ + AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnComboBox* self, int32_t index); /* slot 119 */ + AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnComboBox* self, AvnVariant item); /* slot 120 */ + AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnComboBox* self, int32_t* value); /* slot 121 */ + AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnComboBox* self, int32_t value); /* slot 122 */ + AvnHResult (AVN_CALL *get_selected_index)(IAvnComboBox* self, int32_t* value); /* slot 123 */ + AvnHResult (AVN_CALL *set_selected_index)(IAvnComboBox* self, int32_t value); /* slot 124 */ + AvnHResult (AVN_CALL *get_selected_item)(IAvnComboBox* self, AvnVariant* value); /* slot 125 */ + AvnHResult (AVN_CALL *set_selected_item)(IAvnComboBox* self, AvnVariant value); /* slot 126 */ + AvnHResult (AVN_CALL *get_selected_value)(IAvnComboBox* self, AvnVariant* value); /* slot 127 */ + AvnHResult (AVN_CALL *set_selected_value)(IAvnComboBox* self, AvnVariant value); /* slot 128 */ + AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnComboBox* self, int32_t* value); /* slot 129 */ + AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnComboBox* self, int32_t value); /* slot 130 */ + AvnHResult (AVN_CALL *get_wrap_selection)(IAvnComboBox* self, int32_t* value); /* slot 131 */ + AvnHResult (AVN_CALL *set_wrap_selection)(IAvnComboBox* self, int32_t value); /* slot 132 */ + AvnHResult (AVN_CALL *advise_selection_changed)(IAvnComboBox* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 133 */ + AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnComboBox* self, int64_t subscription_id); /* slot 134 */ + AvnHResult (AVN_CALL *get_is_drop_down_open)(IAvnComboBox* self, int32_t* value); /* slot 135 */ + AvnHResult (AVN_CALL *set_is_drop_down_open)(IAvnComboBox* self, int32_t value); /* slot 136 */ + AvnHResult (AVN_CALL *get_is_editable)(IAvnComboBox* self, int32_t* value); /* slot 137 */ + AvnHResult (AVN_CALL *set_is_editable)(IAvnComboBox* self, int32_t value); /* slot 138 */ + AvnHResult (AVN_CALL *get_max_drop_down_height)(IAvnComboBox* self, double* value); /* slot 139 */ + AvnHResult (AVN_CALL *set_max_drop_down_height)(IAvnComboBox* self, double value); /* slot 140 */ + AvnHResult (AVN_CALL *get_selection_box_item)(IAvnComboBox* self, AvnVariant* value); /* slot 141 */ + AvnHResult (AVN_CALL *get_placeholder_text)(IAvnComboBox* self, uint16_t** value); /* slot 142 */ + AvnHResult (AVN_CALL *set_placeholder_text)(IAvnComboBox* self, const uint16_t* value); /* slot 143 */ + AvnHResult (AVN_CALL *get_placeholder_foreground)(IAvnComboBox* self, IAvnBrush** value); /* slot 144 */ + AvnHResult (AVN_CALL *set_placeholder_foreground)(IAvnComboBox* self, IAvnBrush* value); /* slot 145 */ + AvnHResult (AVN_CALL *get_selection_box_item_template)(IAvnComboBox* self, IAvnDataTemplate** value); /* slot 146 */ + AvnHResult (AVN_CALL *set_selection_box_item_template)(IAvnComboBox* self, IAvnDataTemplate* value); /* slot 147 */ + AvnHResult (AVN_CALL *get_text)(IAvnComboBox* self, uint16_t** value); /* slot 148 */ + AvnHResult (AVN_CALL *set_text)(IAvnComboBox* self, const uint16_t* value); /* slot 149 */ + AvnHResult (AVN_CALL *clear)(IAvnComboBox* self); /* slot 150 */ + AvnHResult (AVN_CALL *advise_drop_down_closed)(IAvnComboBox* self, IAvnComboBoxDropDownClosedHandler* handler, int64_t* subscription_id); /* slot 151 */ + AvnHResult (AVN_CALL *unadvise_drop_down_closed)(IAvnComboBox* self, int64_t subscription_id); /* slot 152 */ + AvnHResult (AVN_CALL *advise_drop_down_opened)(IAvnComboBox* self, IAvnComboBoxDropDownOpenedHandler* handler, int64_t* subscription_id); /* slot 153 */ + AvnHResult (AVN_CALL *unadvise_drop_down_opened)(IAvnComboBox* self, int64_t subscription_id); /* slot 154 */ }; struct IAvnComboBox { const IAvnComboBoxVtbl* vtbl; }; -#define I_AVN_COMBO_BOX_VTABLE_SLOTS 149 +#define I_AVN_COMBO_BOX_VTABLE_SLOTS 155 static const AvnGuid I_AVN_COMBO_BOX_ITEM_IID = { - 0x4AF5334E, - 0x4FEC, - 0x5F97, - { 0x84, 0xF0, 0xCD, 0x61, 0xFD, 0x0C, 0x6B, 0x88 } + 0x66D70CA8, + 0x4E9B, + 0x5BD6, + { 0x95, 0x83, 0x82, 0x59, 0x51, 0x61, 0xCB, 0x34 } }; -#define I_AVN_COMBO_BOX_ITEM_ABI_VERSION 16 +#define I_AVN_COMBO_BOX_ITEM_ABI_VERSION 17 struct IAvnComboBoxItemVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnComboBoxItem* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnComboBoxItem* self); /* slot 1 */ @@ -4003,55 +4123,61 @@ struct IAvnComboBoxItemVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnComboBoxItem* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnComboBoxItem* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnComboBoxItem* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnComboBoxItem* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnComboBoxItem* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnComboBoxItem* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnComboBoxItem* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnComboBoxItem* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnComboBoxItem* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnComboBoxItem* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnComboBoxItem* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnComboBoxItem* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnComboBoxItem* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnComboBoxItem* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnComboBoxItem* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnComboBoxItem* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnComboBoxItem* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnComboBoxItem* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnComboBoxItem* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnComboBoxItem* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnComboBoxItem* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnComboBoxItem* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnComboBoxItem* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnComboBoxItem* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnComboBoxItem* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnComboBoxItem* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnComboBoxItem* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnComboBoxItem* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnComboBoxItem* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnComboBoxItem* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnComboBoxItem* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_content)(IAvnComboBoxItem* self, IAvnControl** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_content)(IAvnComboBoxItem* self, IAvnControl* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnComboBoxItem* self, IAvnDataTemplate** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnComboBoxItem* self, IAvnDataTemplate* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnComboBoxItem* self, int32_t* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnComboBoxItem* self, int32_t value); /* slot 108 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnComboBoxItem* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnComboBoxItem* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_is_selected)(IAvnComboBoxItem* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_is_selected)(IAvnComboBoxItem* self, int32_t value); /* slot 112 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnComboBoxItem* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnComboBoxItem* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnComboBoxItem* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnComboBoxItem* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnComboBoxItem* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnComboBoxItem* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnComboBoxItem* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnComboBoxItem* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnComboBoxItem* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnComboBoxItem* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnComboBoxItem* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnComboBoxItem* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnComboBoxItem* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnComboBoxItem* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnComboBoxItem* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnComboBoxItem* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnComboBoxItem* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnComboBoxItem* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnComboBoxItem* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnComboBoxItem* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnComboBoxItem* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnComboBoxItem* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnComboBoxItem* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnComboBoxItem* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnComboBoxItem* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnComboBoxItem* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnComboBoxItem* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnComboBoxItem* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnComboBoxItem* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnComboBoxItem* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnComboBoxItem* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnComboBoxItem* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnComboBoxItem* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnComboBoxItem* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_content)(IAvnComboBoxItem* self, IAvnControl** value); /* slot 109 */ + AvnHResult (AVN_CALL *set_content)(IAvnComboBoxItem* self, IAvnControl* value); /* slot 110 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnComboBoxItem* self, IAvnDataTemplate** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnComboBoxItem* self, IAvnDataTemplate* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnComboBoxItem* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnComboBoxItem* self, int32_t value); /* slot 114 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnComboBoxItem* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnComboBoxItem* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_is_selected)(IAvnComboBoxItem* self, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_is_selected)(IAvnComboBoxItem* self, int32_t value); /* slot 118 */ }; struct IAvnComboBoxItem { const IAvnComboBoxItemVtbl* vtbl; }; -#define I_AVN_COMBO_BOX_ITEM_VTABLE_SLOTS 113 +#define I_AVN_COMBO_BOX_ITEM_VTABLE_SLOTS 119 static const AvnGuid I_AVN_COMMAND_BAR_IID = { - 0x355E12ED, - 0x4932, - 0x5C4C, - { 0x8A, 0xC1, 0xAA, 0x74, 0xB6, 0x66, 0xB5, 0x84 } + 0x180E1033, + 0xDD01, + 0x5433, + { 0xA4, 0x91, 0xB2, 0x04, 0x9D, 0x71, 0x94, 0x49 } }; -#define I_AVN_COMMAND_BAR_ABI_VERSION 13 +#define I_AVN_COMMAND_BAR_ABI_VERSION 14 struct IAvnCommandBarVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnCommandBar* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnCommandBar* self); /* slot 1 */ @@ -4128,79 +4254,85 @@ struct IAvnCommandBarVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnCommandBar* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnCommandBar* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnCommandBar* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnCommandBar* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnCommandBar* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnCommandBar* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnCommandBar* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnCommandBar* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnCommandBar* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnCommandBar* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnCommandBar* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnCommandBar* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnCommandBar* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnCommandBar* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnCommandBar* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnCommandBar* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnCommandBar* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnCommandBar* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnCommandBar* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnCommandBar* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnCommandBar* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnCommandBar* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnCommandBar* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnCommandBar* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnCommandBar* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnCommandBar* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnCommandBar* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnCommandBar* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnCommandBar* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnCommandBar* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnCommandBar* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_visible_primary_commands)(IAvnCommandBar* self, IAvnControlList** value); /* slot 103 */ - AvnHResult (AVN_CALL *get_overflow_items)(IAvnCommandBar* self, IAvnControlList** value); /* slot 104 */ - AvnHResult (AVN_CALL *get_primary_commands)(IAvnCommandBar* self, IAvnControlList** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_primary_commands)(IAvnCommandBar* self, IAvnControlList* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_secondary_commands)(IAvnCommandBar* self, IAvnControlList** value); /* slot 107 */ - AvnHResult (AVN_CALL *set_secondary_commands)(IAvnCommandBar* self, IAvnControlList* value); /* slot 108 */ - AvnHResult (AVN_CALL *get_content)(IAvnCommandBar* self, IAvnControl** value); /* slot 109 */ - AvnHResult (AVN_CALL *set_content)(IAvnCommandBar* self, IAvnControl* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_default_label_position)(IAvnCommandBar* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_default_label_position)(IAvnCommandBar* self, int32_t value); /* slot 112 */ - AvnHResult (AVN_CALL *get_is_dynamic_overflow_enabled)(IAvnCommandBar* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_is_dynamic_overflow_enabled)(IAvnCommandBar* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_overflow_button_visibility)(IAvnCommandBar* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_overflow_button_visibility)(IAvnCommandBar* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_is_open)(IAvnCommandBar* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_is_open)(IAvnCommandBar* self, int32_t value); /* slot 118 */ - AvnHResult (AVN_CALL *get_is_sticky)(IAvnCommandBar* self, int32_t* value); /* slot 119 */ - AvnHResult (AVN_CALL *set_is_sticky)(IAvnCommandBar* self, int32_t value); /* slot 120 */ - AvnHResult (AVN_CALL *get_item_width_bottom)(IAvnCommandBar* self, double* value); /* slot 121 */ - AvnHResult (AVN_CALL *set_item_width_bottom)(IAvnCommandBar* self, double value); /* slot 122 */ - AvnHResult (AVN_CALL *get_item_width_right)(IAvnCommandBar* self, double* value); /* slot 123 */ - AvnHResult (AVN_CALL *set_item_width_right)(IAvnCommandBar* self, double value); /* slot 124 */ - AvnHResult (AVN_CALL *get_item_width_collapsed)(IAvnCommandBar* self, double* value); /* slot 125 */ - AvnHResult (AVN_CALL *set_item_width_collapsed)(IAvnCommandBar* self, double value); /* slot 126 */ - AvnHResult (AVN_CALL *get_has_secondary_commands)(IAvnCommandBar* self, int32_t* value); /* slot 127 */ - AvnHResult (AVN_CALL *get_is_overflow_button_visible)(IAvnCommandBar* self, int32_t* value); /* slot 128 */ - AvnHResult (AVN_CALL *advise_opening)(IAvnCommandBar* self, IAvnCommandBarOpeningHandler* handler, int64_t* subscription_id); /* slot 129 */ - AvnHResult (AVN_CALL *unadvise_opening)(IAvnCommandBar* self, int64_t subscription_id); /* slot 130 */ - AvnHResult (AVN_CALL *advise_opened)(IAvnCommandBar* self, IAvnCommandBarOpenedHandler* handler, int64_t* subscription_id); /* slot 131 */ - AvnHResult (AVN_CALL *unadvise_opened)(IAvnCommandBar* self, int64_t subscription_id); /* slot 132 */ - AvnHResult (AVN_CALL *advise_closing)(IAvnCommandBar* self, IAvnCommandBarClosingHandler* handler, int64_t* subscription_id); /* slot 133 */ - AvnHResult (AVN_CALL *unadvise_closing)(IAvnCommandBar* self, int64_t subscription_id); /* slot 134 */ - AvnHResult (AVN_CALL *advise_closed)(IAvnCommandBar* self, IAvnCommandBarClosedHandler* handler, int64_t* subscription_id); /* slot 135 */ - AvnHResult (AVN_CALL *unadvise_closed)(IAvnCommandBar* self, int64_t subscription_id); /* slot 136 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnCommandBar* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnCommandBar* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnCommandBar* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnCommandBar* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnCommandBar* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnCommandBar* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnCommandBar* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnCommandBar* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnCommandBar* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnCommandBar* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnCommandBar* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnCommandBar* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnCommandBar* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnCommandBar* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnCommandBar* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnCommandBar* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnCommandBar* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnCommandBar* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnCommandBar* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnCommandBar* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnCommandBar* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnCommandBar* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnCommandBar* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnCommandBar* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnCommandBar* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnCommandBar* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnCommandBar* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnCommandBar* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnCommandBar* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnCommandBar* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnCommandBar* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnCommandBar* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnCommandBar* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnCommandBar* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_visible_primary_commands)(IAvnCommandBar* self, IAvnControlList** value); /* slot 109 */ + AvnHResult (AVN_CALL *get_overflow_items)(IAvnCommandBar* self, IAvnControlList** value); /* slot 110 */ + AvnHResult (AVN_CALL *get_primary_commands)(IAvnCommandBar* self, IAvnControlList** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_primary_commands)(IAvnCommandBar* self, IAvnControlList* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_secondary_commands)(IAvnCommandBar* self, IAvnControlList** value); /* slot 113 */ + AvnHResult (AVN_CALL *set_secondary_commands)(IAvnCommandBar* self, IAvnControlList* value); /* slot 114 */ + AvnHResult (AVN_CALL *get_content)(IAvnCommandBar* self, IAvnControl** value); /* slot 115 */ + AvnHResult (AVN_CALL *set_content)(IAvnCommandBar* self, IAvnControl* value); /* slot 116 */ + AvnHResult (AVN_CALL *get_default_label_position)(IAvnCommandBar* self, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_default_label_position)(IAvnCommandBar* self, int32_t value); /* slot 118 */ + AvnHResult (AVN_CALL *get_is_dynamic_overflow_enabled)(IAvnCommandBar* self, int32_t* value); /* slot 119 */ + AvnHResult (AVN_CALL *set_is_dynamic_overflow_enabled)(IAvnCommandBar* self, int32_t value); /* slot 120 */ + AvnHResult (AVN_CALL *get_overflow_button_visibility)(IAvnCommandBar* self, int32_t* value); /* slot 121 */ + AvnHResult (AVN_CALL *set_overflow_button_visibility)(IAvnCommandBar* self, int32_t value); /* slot 122 */ + AvnHResult (AVN_CALL *get_is_open)(IAvnCommandBar* self, int32_t* value); /* slot 123 */ + AvnHResult (AVN_CALL *set_is_open)(IAvnCommandBar* self, int32_t value); /* slot 124 */ + AvnHResult (AVN_CALL *get_is_sticky)(IAvnCommandBar* self, int32_t* value); /* slot 125 */ + AvnHResult (AVN_CALL *set_is_sticky)(IAvnCommandBar* self, int32_t value); /* slot 126 */ + AvnHResult (AVN_CALL *get_item_width_bottom)(IAvnCommandBar* self, double* value); /* slot 127 */ + AvnHResult (AVN_CALL *set_item_width_bottom)(IAvnCommandBar* self, double value); /* slot 128 */ + AvnHResult (AVN_CALL *get_item_width_right)(IAvnCommandBar* self, double* value); /* slot 129 */ + AvnHResult (AVN_CALL *set_item_width_right)(IAvnCommandBar* self, double value); /* slot 130 */ + AvnHResult (AVN_CALL *get_item_width_collapsed)(IAvnCommandBar* self, double* value); /* slot 131 */ + AvnHResult (AVN_CALL *set_item_width_collapsed)(IAvnCommandBar* self, double value); /* slot 132 */ + AvnHResult (AVN_CALL *get_has_secondary_commands)(IAvnCommandBar* self, int32_t* value); /* slot 133 */ + AvnHResult (AVN_CALL *get_is_overflow_button_visible)(IAvnCommandBar* self, int32_t* value); /* slot 134 */ + AvnHResult (AVN_CALL *advise_opening)(IAvnCommandBar* self, IAvnCommandBarOpeningHandler* handler, int64_t* subscription_id); /* slot 135 */ + AvnHResult (AVN_CALL *unadvise_opening)(IAvnCommandBar* self, int64_t subscription_id); /* slot 136 */ + AvnHResult (AVN_CALL *advise_opened)(IAvnCommandBar* self, IAvnCommandBarOpenedHandler* handler, int64_t* subscription_id); /* slot 137 */ + AvnHResult (AVN_CALL *unadvise_opened)(IAvnCommandBar* self, int64_t subscription_id); /* slot 138 */ + AvnHResult (AVN_CALL *advise_closing)(IAvnCommandBar* self, IAvnCommandBarClosingHandler* handler, int64_t* subscription_id); /* slot 139 */ + AvnHResult (AVN_CALL *unadvise_closing)(IAvnCommandBar* self, int64_t subscription_id); /* slot 140 */ + AvnHResult (AVN_CALL *advise_closed)(IAvnCommandBar* self, IAvnCommandBarClosedHandler* handler, int64_t* subscription_id); /* slot 141 */ + AvnHResult (AVN_CALL *unadvise_closed)(IAvnCommandBar* self, int64_t subscription_id); /* slot 142 */ }; struct IAvnCommandBar { const IAvnCommandBarVtbl* vtbl; }; -#define I_AVN_COMMAND_BAR_VTABLE_SLOTS 137 +#define I_AVN_COMMAND_BAR_VTABLE_SLOTS 143 static const AvnGuid I_AVN_COMMAND_BAR_BUTTON_IID = { - 0x3A7F177E, - 0xFB8E, - 0x5893, - { 0xB5, 0x74, 0x99, 0xAC, 0xD4, 0xCB, 0xC8, 0xB5 } + 0x259356D2, + 0x8840, + 0x5531, + { 0x94, 0x27, 0x7F, 0xD0, 0xB9, 0x70, 0x7A, 0xC7 } }; -#define I_AVN_COMMAND_BAR_BUTTON_ABI_VERSION 12 +#define I_AVN_COMMAND_BAR_BUTTON_ABI_VERSION 13 struct IAvnCommandBarButtonVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnCommandBarButton* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnCommandBarButton* self); /* slot 1 */ @@ -4277,82 +4409,88 @@ struct IAvnCommandBarButtonVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnCommandBarButton* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnCommandBarButton* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnCommandBarButton* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnCommandBarButton* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnCommandBarButton* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnCommandBarButton* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnCommandBarButton* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnCommandBarButton* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnCommandBarButton* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnCommandBarButton* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnCommandBarButton* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnCommandBarButton* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnCommandBarButton* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnCommandBarButton* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnCommandBarButton* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnCommandBarButton* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnCommandBarButton* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnCommandBarButton* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnCommandBarButton* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnCommandBarButton* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnCommandBarButton* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnCommandBarButton* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnCommandBarButton* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnCommandBarButton* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnCommandBarButton* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnCommandBarButton* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnCommandBarButton* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnCommandBarButton* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnCommandBarButton* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnCommandBarButton* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnCommandBarButton* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_content)(IAvnCommandBarButton* self, IAvnControl** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_content)(IAvnCommandBarButton* self, IAvnControl* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnCommandBarButton* self, IAvnDataTemplate** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnCommandBarButton* self, IAvnDataTemplate* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnCommandBarButton* self, int32_t* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnCommandBarButton* self, int32_t value); /* slot 108 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnCommandBarButton* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnCommandBarButton* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_click_mode)(IAvnCommandBarButton* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_click_mode)(IAvnCommandBarButton* self, int32_t value); /* slot 112 */ - AvnHResult (AVN_CALL *get_command)(IAvnCommandBarButton* self, IAvnCommand** value); /* slot 113 */ - AvnHResult (AVN_CALL *set_command)(IAvnCommandBarButton* self, IAvnCommand* value); /* slot 114 */ - AvnHResult (AVN_CALL *get_hot_key)(IAvnCommandBarButton* self, uint16_t** value); /* slot 115 */ - AvnHResult (AVN_CALL *set_hot_key)(IAvnCommandBarButton* self, const uint16_t* value); /* slot 116 */ - AvnHResult (AVN_CALL *get_command_parameter)(IAvnCommandBarButton* self, AvnVariant* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_command_parameter)(IAvnCommandBarButton* self, AvnVariant value); /* slot 118 */ - AvnHResult (AVN_CALL *get_is_default)(IAvnCommandBarButton* self, int32_t* value); /* slot 119 */ - AvnHResult (AVN_CALL *set_is_default)(IAvnCommandBarButton* self, int32_t value); /* slot 120 */ - AvnHResult (AVN_CALL *get_is_cancel)(IAvnCommandBarButton* self, int32_t* value); /* slot 121 */ - AvnHResult (AVN_CALL *set_is_cancel)(IAvnCommandBarButton* self, int32_t value); /* slot 122 */ - AvnHResult (AVN_CALL *get_is_pressed)(IAvnCommandBarButton* self, int32_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *get_flyout)(IAvnCommandBarButton* self, IAvnFlyoutBase** value); /* slot 124 */ - AvnHResult (AVN_CALL *set_flyout)(IAvnCommandBarButton* self, IAvnFlyoutBase* value); /* slot 125 */ - AvnHResult (AVN_CALL *advise_click)(IAvnCommandBarButton* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 126 */ - AvnHResult (AVN_CALL *unadvise_click)(IAvnCommandBarButton* self, int64_t subscription_id); /* slot 127 */ - AvnHResult (AVN_CALL *get_label)(IAvnCommandBarButton* self, uint16_t** value); /* slot 128 */ - AvnHResult (AVN_CALL *set_label)(IAvnCommandBarButton* self, const uint16_t* value); /* slot 129 */ - AvnHResult (AVN_CALL *get_icon)(IAvnCommandBarButton* self, AvnVariant* value); /* slot 130 */ - AvnHResult (AVN_CALL *set_icon)(IAvnCommandBarButton* self, AvnVariant value); /* slot 131 */ - AvnHResult (AVN_CALL *get_is_compact)(IAvnCommandBarButton* self, int32_t* value); /* slot 132 */ - AvnHResult (AVN_CALL *set_is_compact)(IAvnCommandBarButton* self, int32_t value); /* slot 133 */ - AvnHResult (AVN_CALL *get_dynamic_overflow_order)(IAvnCommandBarButton* self, int32_t* value); /* slot 134 */ - AvnHResult (AVN_CALL *set_dynamic_overflow_order)(IAvnCommandBarButton* self, int32_t value); /* slot 135 */ - AvnHResult (AVN_CALL *get_label_position)(IAvnCommandBarButton* self, int32_t* value); /* slot 136 */ - AvnHResult (AVN_CALL *set_label_position)(IAvnCommandBarButton* self, int32_t value); /* slot 137 */ - AvnHResult (AVN_CALL *get_is_in_overflow)(IAvnCommandBarButton* self, int32_t* value); /* slot 138 */ - AvnHResult (AVN_CALL *set_is_in_overflow)(IAvnCommandBarButton* self, int32_t value); /* slot 139 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnCommandBarButton* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnCommandBarButton* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnCommandBarButton* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnCommandBarButton* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnCommandBarButton* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnCommandBarButton* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnCommandBarButton* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnCommandBarButton* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnCommandBarButton* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnCommandBarButton* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnCommandBarButton* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnCommandBarButton* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnCommandBarButton* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnCommandBarButton* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnCommandBarButton* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnCommandBarButton* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnCommandBarButton* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnCommandBarButton* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnCommandBarButton* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnCommandBarButton* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnCommandBarButton* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnCommandBarButton* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnCommandBarButton* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnCommandBarButton* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnCommandBarButton* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnCommandBarButton* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnCommandBarButton* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnCommandBarButton* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnCommandBarButton* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnCommandBarButton* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnCommandBarButton* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnCommandBarButton* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnCommandBarButton* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnCommandBarButton* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_content)(IAvnCommandBarButton* self, IAvnControl** value); /* slot 109 */ + AvnHResult (AVN_CALL *set_content)(IAvnCommandBarButton* self, IAvnControl* value); /* slot 110 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnCommandBarButton* self, IAvnDataTemplate** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnCommandBarButton* self, IAvnDataTemplate* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnCommandBarButton* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnCommandBarButton* self, int32_t value); /* slot 114 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnCommandBarButton* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnCommandBarButton* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_click_mode)(IAvnCommandBarButton* self, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_click_mode)(IAvnCommandBarButton* self, int32_t value); /* slot 118 */ + AvnHResult (AVN_CALL *get_command)(IAvnCommandBarButton* self, IAvnCommand** value); /* slot 119 */ + AvnHResult (AVN_CALL *set_command)(IAvnCommandBarButton* self, IAvnCommand* value); /* slot 120 */ + AvnHResult (AVN_CALL *get_hot_key)(IAvnCommandBarButton* self, uint16_t** value); /* slot 121 */ + AvnHResult (AVN_CALL *set_hot_key)(IAvnCommandBarButton* self, const uint16_t* value); /* slot 122 */ + AvnHResult (AVN_CALL *get_command_parameter)(IAvnCommandBarButton* self, AvnVariant* value); /* slot 123 */ + AvnHResult (AVN_CALL *set_command_parameter)(IAvnCommandBarButton* self, AvnVariant value); /* slot 124 */ + AvnHResult (AVN_CALL *get_is_default)(IAvnCommandBarButton* self, int32_t* value); /* slot 125 */ + AvnHResult (AVN_CALL *set_is_default)(IAvnCommandBarButton* self, int32_t value); /* slot 126 */ + AvnHResult (AVN_CALL *get_is_cancel)(IAvnCommandBarButton* self, int32_t* value); /* slot 127 */ + AvnHResult (AVN_CALL *set_is_cancel)(IAvnCommandBarButton* self, int32_t value); /* slot 128 */ + AvnHResult (AVN_CALL *get_is_pressed)(IAvnCommandBarButton* self, int32_t* value); /* slot 129 */ + AvnHResult (AVN_CALL *get_flyout)(IAvnCommandBarButton* self, IAvnFlyoutBase** value); /* slot 130 */ + AvnHResult (AVN_CALL *set_flyout)(IAvnCommandBarButton* self, IAvnFlyoutBase* value); /* slot 131 */ + AvnHResult (AVN_CALL *advise_click)(IAvnCommandBarButton* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 132 */ + AvnHResult (AVN_CALL *unadvise_click)(IAvnCommandBarButton* self, int64_t subscription_id); /* slot 133 */ + AvnHResult (AVN_CALL *get_label)(IAvnCommandBarButton* self, uint16_t** value); /* slot 134 */ + AvnHResult (AVN_CALL *set_label)(IAvnCommandBarButton* self, const uint16_t* value); /* slot 135 */ + AvnHResult (AVN_CALL *get_icon)(IAvnCommandBarButton* self, AvnVariant* value); /* slot 136 */ + AvnHResult (AVN_CALL *set_icon)(IAvnCommandBarButton* self, AvnVariant value); /* slot 137 */ + AvnHResult (AVN_CALL *get_is_compact)(IAvnCommandBarButton* self, int32_t* value); /* slot 138 */ + AvnHResult (AVN_CALL *set_is_compact)(IAvnCommandBarButton* self, int32_t value); /* slot 139 */ + AvnHResult (AVN_CALL *get_dynamic_overflow_order)(IAvnCommandBarButton* self, int32_t* value); /* slot 140 */ + AvnHResult (AVN_CALL *set_dynamic_overflow_order)(IAvnCommandBarButton* self, int32_t value); /* slot 141 */ + AvnHResult (AVN_CALL *get_label_position)(IAvnCommandBarButton* self, int32_t* value); /* slot 142 */ + AvnHResult (AVN_CALL *set_label_position)(IAvnCommandBarButton* self, int32_t value); /* slot 143 */ + AvnHResult (AVN_CALL *get_is_in_overflow)(IAvnCommandBarButton* self, int32_t* value); /* slot 144 */ + AvnHResult (AVN_CALL *set_is_in_overflow)(IAvnCommandBarButton* self, int32_t value); /* slot 145 */ }; struct IAvnCommandBarButton { const IAvnCommandBarButtonVtbl* vtbl; }; -#define I_AVN_COMMAND_BAR_BUTTON_VTABLE_SLOTS 140 +#define I_AVN_COMMAND_BAR_BUTTON_VTABLE_SLOTS 146 static const AvnGuid I_AVN_COMMAND_BAR_SEPARATOR_IID = { - 0x21D4AA3D, - 0xADFF, - 0x5CC6, - { 0x9E, 0x76, 0xEA, 0x1F, 0xBB, 0xD1, 0x1C, 0x33 } + 0x3438DF70, + 0xF2D1, + 0x5474, + { 0xA2, 0x88, 0xD9, 0x7C, 0xCE, 0xAC, 0xC9, 0xF9 } }; -#define I_AVN_COMMAND_BAR_SEPARATOR_ABI_VERSION 10 +#define I_AVN_COMMAND_BAR_SEPARATOR_ABI_VERSION 11 struct IAvnCommandBarSeparatorVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnCommandBarSeparator* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnCommandBarSeparator* self); /* slot 1 */ @@ -4429,49 +4567,55 @@ struct IAvnCommandBarSeparatorVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnCommandBarSeparator* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnCommandBarSeparator* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnCommandBarSeparator* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnCommandBarSeparator* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnCommandBarSeparator* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnCommandBarSeparator* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnCommandBarSeparator* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnCommandBarSeparator* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnCommandBarSeparator* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnCommandBarSeparator* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnCommandBarSeparator* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnCommandBarSeparator* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnCommandBarSeparator* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnCommandBarSeparator* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnCommandBarSeparator* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnCommandBarSeparator* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnCommandBarSeparator* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnCommandBarSeparator* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnCommandBarSeparator* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnCommandBarSeparator* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnCommandBarSeparator* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnCommandBarSeparator* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnCommandBarSeparator* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnCommandBarSeparator* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnCommandBarSeparator* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnCommandBarSeparator* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnCommandBarSeparator* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnCommandBarSeparator* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnCommandBarSeparator* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnCommandBarSeparator* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnCommandBarSeparator* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_is_compact)(IAvnCommandBarSeparator* self, int32_t* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_is_compact)(IAvnCommandBarSeparator* self, int32_t value); /* slot 104 */ - AvnHResult (AVN_CALL *get_is_in_overflow)(IAvnCommandBarSeparator* self, int32_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_is_in_overflow)(IAvnCommandBarSeparator* self, int32_t value); /* slot 106 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnCommandBarSeparator* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnCommandBarSeparator* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnCommandBarSeparator* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnCommandBarSeparator* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnCommandBarSeparator* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnCommandBarSeparator* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnCommandBarSeparator* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnCommandBarSeparator* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnCommandBarSeparator* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnCommandBarSeparator* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnCommandBarSeparator* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnCommandBarSeparator* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnCommandBarSeparator* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnCommandBarSeparator* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnCommandBarSeparator* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnCommandBarSeparator* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnCommandBarSeparator* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnCommandBarSeparator* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnCommandBarSeparator* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnCommandBarSeparator* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnCommandBarSeparator* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnCommandBarSeparator* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnCommandBarSeparator* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnCommandBarSeparator* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnCommandBarSeparator* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnCommandBarSeparator* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnCommandBarSeparator* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnCommandBarSeparator* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnCommandBarSeparator* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnCommandBarSeparator* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnCommandBarSeparator* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnCommandBarSeparator* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnCommandBarSeparator* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnCommandBarSeparator* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_is_compact)(IAvnCommandBarSeparator* self, int32_t* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_is_compact)(IAvnCommandBarSeparator* self, int32_t value); /* slot 110 */ + AvnHResult (AVN_CALL *get_is_in_overflow)(IAvnCommandBarSeparator* self, int32_t* value); /* slot 111 */ + AvnHResult (AVN_CALL *set_is_in_overflow)(IAvnCommandBarSeparator* self, int32_t value); /* slot 112 */ }; struct IAvnCommandBarSeparator { const IAvnCommandBarSeparatorVtbl* vtbl; }; -#define I_AVN_COMMAND_BAR_SEPARATOR_VTABLE_SLOTS 107 +#define I_AVN_COMMAND_BAR_SEPARATOR_VTABLE_SLOTS 113 static const AvnGuid I_AVN_COMMAND_BAR_TOGGLE_BUTTON_IID = { - 0x28AA86DE, - 0x6253, - 0x5D07, - { 0x96, 0x4D, 0x23, 0x78, 0x55, 0x52, 0xFB, 0x86 } + 0x97BD5478, + 0x2731, + 0x5994, + { 0x94, 0x27, 0x4A, 0x6E, 0xCB, 0x9E, 0xE0, 0x4B } }; -#define I_AVN_COMMAND_BAR_TOGGLE_BUTTON_ABI_VERSION 12 +#define I_AVN_COMMAND_BAR_TOGGLE_BUTTON_ABI_VERSION 13 struct IAvnCommandBarToggleButtonVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnCommandBarToggleButton* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnCommandBarToggleButton* self); /* slot 1 */ @@ -4548,88 +4692,94 @@ struct IAvnCommandBarToggleButtonVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnCommandBarToggleButton* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnCommandBarToggleButton* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnCommandBarToggleButton* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnCommandBarToggleButton* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnCommandBarToggleButton* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnCommandBarToggleButton* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnCommandBarToggleButton* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnCommandBarToggleButton* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnCommandBarToggleButton* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnCommandBarToggleButton* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnCommandBarToggleButton* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnCommandBarToggleButton* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnCommandBarToggleButton* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnCommandBarToggleButton* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnCommandBarToggleButton* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnCommandBarToggleButton* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnCommandBarToggleButton* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnCommandBarToggleButton* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnCommandBarToggleButton* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnCommandBarToggleButton* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnCommandBarToggleButton* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnCommandBarToggleButton* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnCommandBarToggleButton* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_content)(IAvnCommandBarToggleButton* self, IAvnControl** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_content)(IAvnCommandBarToggleButton* self, IAvnControl* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnCommandBarToggleButton* self, IAvnDataTemplate** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnCommandBarToggleButton* self, IAvnDataTemplate* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 108 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_click_mode)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_click_mode)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 112 */ - AvnHResult (AVN_CALL *get_command)(IAvnCommandBarToggleButton* self, IAvnCommand** value); /* slot 113 */ - AvnHResult (AVN_CALL *set_command)(IAvnCommandBarToggleButton* self, IAvnCommand* value); /* slot 114 */ - AvnHResult (AVN_CALL *get_hot_key)(IAvnCommandBarToggleButton* self, uint16_t** value); /* slot 115 */ - AvnHResult (AVN_CALL *set_hot_key)(IAvnCommandBarToggleButton* self, const uint16_t* value); /* slot 116 */ - AvnHResult (AVN_CALL *get_command_parameter)(IAvnCommandBarToggleButton* self, AvnVariant* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_command_parameter)(IAvnCommandBarToggleButton* self, AvnVariant value); /* slot 118 */ - AvnHResult (AVN_CALL *get_is_default)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 119 */ - AvnHResult (AVN_CALL *set_is_default)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 120 */ - AvnHResult (AVN_CALL *get_is_cancel)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 121 */ - AvnHResult (AVN_CALL *set_is_cancel)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 122 */ - AvnHResult (AVN_CALL *get_is_pressed)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *get_flyout)(IAvnCommandBarToggleButton* self, IAvnFlyoutBase** value); /* slot 124 */ - AvnHResult (AVN_CALL *set_flyout)(IAvnCommandBarToggleButton* self, IAvnFlyoutBase* value); /* slot 125 */ - AvnHResult (AVN_CALL *advise_click)(IAvnCommandBarToggleButton* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 126 */ - AvnHResult (AVN_CALL *unadvise_click)(IAvnCommandBarToggleButton* self, int64_t subscription_id); /* slot 127 */ - AvnHResult (AVN_CALL *get_is_checked)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 128 */ - AvnHResult (AVN_CALL *set_is_checked)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 129 */ - AvnHResult (AVN_CALL *get_is_three_state)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 130 */ - AvnHResult (AVN_CALL *set_is_three_state)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 131 */ - AvnHResult (AVN_CALL *advise_is_checked_changed)(IAvnCommandBarToggleButton* self, IAvnToggleButtonIsCheckedChangedHandler* handler, int64_t* subscription_id); /* slot 132 */ - AvnHResult (AVN_CALL *unadvise_is_checked_changed)(IAvnCommandBarToggleButton* self, int64_t subscription_id); /* slot 133 */ - AvnHResult (AVN_CALL *get_label)(IAvnCommandBarToggleButton* self, uint16_t** value); /* slot 134 */ - AvnHResult (AVN_CALL *set_label)(IAvnCommandBarToggleButton* self, const uint16_t* value); /* slot 135 */ - AvnHResult (AVN_CALL *get_icon)(IAvnCommandBarToggleButton* self, AvnVariant* value); /* slot 136 */ - AvnHResult (AVN_CALL *set_icon)(IAvnCommandBarToggleButton* self, AvnVariant value); /* slot 137 */ - AvnHResult (AVN_CALL *get_is_compact)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 138 */ - AvnHResult (AVN_CALL *set_is_compact)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 139 */ - AvnHResult (AVN_CALL *get_dynamic_overflow_order)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 140 */ - AvnHResult (AVN_CALL *set_dynamic_overflow_order)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 141 */ - AvnHResult (AVN_CALL *get_label_position)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 142 */ - AvnHResult (AVN_CALL *set_label_position)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 143 */ - AvnHResult (AVN_CALL *get_is_in_overflow)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 144 */ - AvnHResult (AVN_CALL *set_is_in_overflow)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 145 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnCommandBarToggleButton* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnCommandBarToggleButton* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnCommandBarToggleButton* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnCommandBarToggleButton* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnCommandBarToggleButton* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnCommandBarToggleButton* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnCommandBarToggleButton* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnCommandBarToggleButton* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnCommandBarToggleButton* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnCommandBarToggleButton* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnCommandBarToggleButton* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnCommandBarToggleButton* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnCommandBarToggleButton* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnCommandBarToggleButton* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnCommandBarToggleButton* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnCommandBarToggleButton* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnCommandBarToggleButton* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnCommandBarToggleButton* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnCommandBarToggleButton* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnCommandBarToggleButton* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnCommandBarToggleButton* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnCommandBarToggleButton* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnCommandBarToggleButton* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnCommandBarToggleButton* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnCommandBarToggleButton* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnCommandBarToggleButton* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_content)(IAvnCommandBarToggleButton* self, IAvnControl** value); /* slot 109 */ + AvnHResult (AVN_CALL *set_content)(IAvnCommandBarToggleButton* self, IAvnControl* value); /* slot 110 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnCommandBarToggleButton* self, IAvnDataTemplate** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnCommandBarToggleButton* self, IAvnDataTemplate* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 114 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_click_mode)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_click_mode)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 118 */ + AvnHResult (AVN_CALL *get_command)(IAvnCommandBarToggleButton* self, IAvnCommand** value); /* slot 119 */ + AvnHResult (AVN_CALL *set_command)(IAvnCommandBarToggleButton* self, IAvnCommand* value); /* slot 120 */ + AvnHResult (AVN_CALL *get_hot_key)(IAvnCommandBarToggleButton* self, uint16_t** value); /* slot 121 */ + AvnHResult (AVN_CALL *set_hot_key)(IAvnCommandBarToggleButton* self, const uint16_t* value); /* slot 122 */ + AvnHResult (AVN_CALL *get_command_parameter)(IAvnCommandBarToggleButton* self, AvnVariant* value); /* slot 123 */ + AvnHResult (AVN_CALL *set_command_parameter)(IAvnCommandBarToggleButton* self, AvnVariant value); /* slot 124 */ + AvnHResult (AVN_CALL *get_is_default)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 125 */ + AvnHResult (AVN_CALL *set_is_default)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 126 */ + AvnHResult (AVN_CALL *get_is_cancel)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 127 */ + AvnHResult (AVN_CALL *set_is_cancel)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 128 */ + AvnHResult (AVN_CALL *get_is_pressed)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 129 */ + AvnHResult (AVN_CALL *get_flyout)(IAvnCommandBarToggleButton* self, IAvnFlyoutBase** value); /* slot 130 */ + AvnHResult (AVN_CALL *set_flyout)(IAvnCommandBarToggleButton* self, IAvnFlyoutBase* value); /* slot 131 */ + AvnHResult (AVN_CALL *advise_click)(IAvnCommandBarToggleButton* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 132 */ + AvnHResult (AVN_CALL *unadvise_click)(IAvnCommandBarToggleButton* self, int64_t subscription_id); /* slot 133 */ + AvnHResult (AVN_CALL *get_is_checked)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 134 */ + AvnHResult (AVN_CALL *set_is_checked)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 135 */ + AvnHResult (AVN_CALL *get_is_three_state)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 136 */ + AvnHResult (AVN_CALL *set_is_three_state)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 137 */ + AvnHResult (AVN_CALL *advise_is_checked_changed)(IAvnCommandBarToggleButton* self, IAvnToggleButtonIsCheckedChangedHandler* handler, int64_t* subscription_id); /* slot 138 */ + AvnHResult (AVN_CALL *unadvise_is_checked_changed)(IAvnCommandBarToggleButton* self, int64_t subscription_id); /* slot 139 */ + AvnHResult (AVN_CALL *get_label)(IAvnCommandBarToggleButton* self, uint16_t** value); /* slot 140 */ + AvnHResult (AVN_CALL *set_label)(IAvnCommandBarToggleButton* self, const uint16_t* value); /* slot 141 */ + AvnHResult (AVN_CALL *get_icon)(IAvnCommandBarToggleButton* self, AvnVariant* value); /* slot 142 */ + AvnHResult (AVN_CALL *set_icon)(IAvnCommandBarToggleButton* self, AvnVariant value); /* slot 143 */ + AvnHResult (AVN_CALL *get_is_compact)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 144 */ + AvnHResult (AVN_CALL *set_is_compact)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 145 */ + AvnHResult (AVN_CALL *get_dynamic_overflow_order)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 146 */ + AvnHResult (AVN_CALL *set_dynamic_overflow_order)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 147 */ + AvnHResult (AVN_CALL *get_label_position)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 148 */ + AvnHResult (AVN_CALL *set_label_position)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 149 */ + AvnHResult (AVN_CALL *get_is_in_overflow)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 150 */ + AvnHResult (AVN_CALL *set_is_in_overflow)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 151 */ }; struct IAvnCommandBarToggleButton { const IAvnCommandBarToggleButtonVtbl* vtbl; }; -#define I_AVN_COMMAND_BAR_TOGGLE_BUTTON_VTABLE_SLOTS 146 +#define I_AVN_COMMAND_BAR_TOGGLE_BUTTON_VTABLE_SLOTS 152 static const AvnGuid I_AVN_CONTENT_CONTROL_IID = { - 0x71FA5ADD, - 0x9F62, - 0x5918, - { 0x84, 0xD4, 0x4B, 0x30, 0x0B, 0x8E, 0xA1, 0x92 } + 0x611A61DE, + 0x9AD0, + 0x5456, + { 0x97, 0x9A, 0xEE, 0x52, 0x5E, 0x51, 0x32, 0xCE } }; -#define I_AVN_CONTENT_CONTROL_ABI_VERSION 14 +#define I_AVN_CONTENT_CONTROL_ABI_VERSION 15 struct IAvnContentControlVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnContentControl* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnContentControl* self); /* slot 1 */ @@ -4706,53 +4856,59 @@ struct IAvnContentControlVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnContentControl* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnContentControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnContentControl* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnContentControl* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnContentControl* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnContentControl* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnContentControl* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnContentControl* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnContentControl* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnContentControl* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnContentControl* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnContentControl* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnContentControl* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnContentControl* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnContentControl* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnContentControl* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnContentControl* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnContentControl* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnContentControl* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnContentControl* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnContentControl* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnContentControl* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnContentControl* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnContentControl* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnContentControl* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnContentControl* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnContentControl* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnContentControl* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnContentControl* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnContentControl* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnContentControl* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_content)(IAvnContentControl* self, IAvnControl** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_content)(IAvnContentControl* self, IAvnControl* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnContentControl* self, IAvnDataTemplate** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnContentControl* self, IAvnDataTemplate* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnContentControl* self, int32_t* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnContentControl* self, int32_t value); /* slot 108 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnContentControl* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnContentControl* self, int32_t value); /* slot 110 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnContentControl* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnContentControl* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnContentControl* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnContentControl* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnContentControl* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnContentControl* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnContentControl* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnContentControl* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnContentControl* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnContentControl* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnContentControl* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnContentControl* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnContentControl* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnContentControl* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnContentControl* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnContentControl* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnContentControl* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnContentControl* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnContentControl* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnContentControl* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnContentControl* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnContentControl* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnContentControl* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnContentControl* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnContentControl* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnContentControl* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnContentControl* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnContentControl* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnContentControl* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnContentControl* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnContentControl* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnContentControl* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnContentControl* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnContentControl* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_content)(IAvnContentControl* self, IAvnControl** value); /* slot 109 */ + AvnHResult (AVN_CALL *set_content)(IAvnContentControl* self, IAvnControl* value); /* slot 110 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnContentControl* self, IAvnDataTemplate** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnContentControl* self, IAvnDataTemplate* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnContentControl* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnContentControl* self, int32_t value); /* slot 114 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnContentControl* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnContentControl* self, int32_t value); /* slot 116 */ }; struct IAvnContentControl { const IAvnContentControlVtbl* vtbl; }; -#define I_AVN_CONTENT_CONTROL_VTABLE_SLOTS 111 +#define I_AVN_CONTENT_CONTROL_VTABLE_SLOTS 117 static const AvnGuid I_AVN_CONTEXT_MENU_IID = { - 0x770B19A7, - 0xFB74, - 0x5BCA, - { 0xB1, 0xDD, 0x9E, 0x0E, 0xF1, 0x24, 0xEF, 0xEE } + 0xF63FBE8E, + 0x277B, + 0x531C, + { 0xB3, 0xF5, 0xE9, 0xA2, 0xCC, 0xEF, 0x11, 0xA8 } }; -#define I_AVN_CONTEXT_MENU_ABI_VERSION 16 +#define I_AVN_CONTEXT_MENU_ABI_VERSION 17 struct IAvnContextMenuVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnContextMenu* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnContextMenu* self); /* slot 1 */ @@ -4829,103 +4985,109 @@ struct IAvnContextMenuVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnContextMenu* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnContextMenu* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnContextMenu* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnContextMenu* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnContextMenu* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnContextMenu* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnContextMenu* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnContextMenu* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnContextMenu* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnContextMenu* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnContextMenu* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnContextMenu* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnContextMenu* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnContextMenu* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnContextMenu* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnContextMenu* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnContextMenu* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnContextMenu* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnContextMenu* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnContextMenu* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnContextMenu* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnContextMenu* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnContextMenu* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnContextMenu* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnContextMenu* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnContextMenu* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnContextMenu* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnContextMenu* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnContextMenu* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnContextMenu* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnContextMenu* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_items)(IAvnContextMenu* self, IAvnItemList** value); /* slot 103 */ - AvnHResult (AVN_CALL *get_item_count)(IAvnContextMenu* self, int32_t* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_items_source)(IAvnContextMenu* self, IAvnVariantList** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_items_source)(IAvnContextMenu* self, IAvnVariantList* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_item_template)(IAvnContextMenu* self, IAvnDataTemplate** value); /* slot 107 */ - AvnHResult (AVN_CALL *set_item_template)(IAvnContextMenu* self, IAvnDataTemplate* value); /* slot 108 */ - AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnContextMenu* self, int32_t index, IAvnControl** value); /* slot 109 */ - AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnContextMenu* self, AvnVariant item, IAvnControl** value); /* slot 110 */ - AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnContextMenu* self, IAvnControl* container, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnContextMenu* self, IAvnControl* container, AvnVariant* value); /* slot 112 */ - AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnContextMenu* self, int32_t index); /* slot 113 */ - AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnContextMenu* self, AvnVariant item); /* slot 114 */ - AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnContextMenu* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnContextMenu* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_selected_index)(IAvnContextMenu* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_selected_index)(IAvnContextMenu* self, int32_t value); /* slot 118 */ - AvnHResult (AVN_CALL *get_selected_item)(IAvnContextMenu* self, AvnVariant* value); /* slot 119 */ - AvnHResult (AVN_CALL *set_selected_item)(IAvnContextMenu* self, AvnVariant value); /* slot 120 */ - AvnHResult (AVN_CALL *get_selected_value)(IAvnContextMenu* self, AvnVariant* value); /* slot 121 */ - AvnHResult (AVN_CALL *set_selected_value)(IAvnContextMenu* self, AvnVariant value); /* slot 122 */ - AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnContextMenu* self, int32_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnContextMenu* self, int32_t value); /* slot 124 */ - AvnHResult (AVN_CALL *get_wrap_selection)(IAvnContextMenu* self, int32_t* value); /* slot 125 */ - AvnHResult (AVN_CALL *set_wrap_selection)(IAvnContextMenu* self, int32_t value); /* slot 126 */ - AvnHResult (AVN_CALL *advise_selection_changed)(IAvnContextMenu* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 127 */ - AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnContextMenu* self, int64_t subscription_id); /* slot 128 */ - AvnHResult (AVN_CALL *get_is_open)(IAvnContextMenu* self, int32_t* value); /* slot 129 */ - AvnHResult (AVN_CALL *close)(IAvnContextMenu* self); /* slot 130 */ - AvnHResult (AVN_CALL *open)(IAvnContextMenu* self); /* slot 131 */ - AvnHResult (AVN_CALL *advise_opened)(IAvnContextMenu* self, IAvnMenuBaseOpenedHandler* handler, int64_t* subscription_id); /* slot 132 */ - AvnHResult (AVN_CALL *unadvise_opened)(IAvnContextMenu* self, int64_t subscription_id); /* slot 133 */ - AvnHResult (AVN_CALL *advise_closed)(IAvnContextMenu* self, IAvnMenuBaseClosedHandler* handler, int64_t* subscription_id); /* slot 134 */ - AvnHResult (AVN_CALL *unadvise_closed)(IAvnContextMenu* self, int64_t subscription_id); /* slot 135 */ - AvnHResult (AVN_CALL *get_horizontal_offset)(IAvnContextMenu* self, double* value); /* slot 136 */ - AvnHResult (AVN_CALL *set_horizontal_offset)(IAvnContextMenu* self, double value); /* slot 137 */ - AvnHResult (AVN_CALL *get_vertical_offset)(IAvnContextMenu* self, double* value); /* slot 138 */ - AvnHResult (AVN_CALL *set_vertical_offset)(IAvnContextMenu* self, double value); /* slot 139 */ - AvnHResult (AVN_CALL *get_placement_anchor)(IAvnContextMenu* self, int32_t* value); /* slot 140 */ - AvnHResult (AVN_CALL *set_placement_anchor)(IAvnContextMenu* self, int32_t value); /* slot 141 */ - AvnHResult (AVN_CALL *get_placement_constraint_adjustment)(IAvnContextMenu* self, int32_t* value); /* slot 142 */ - AvnHResult (AVN_CALL *set_placement_constraint_adjustment)(IAvnContextMenu* self, int32_t value); /* slot 143 */ - AvnHResult (AVN_CALL *get_placement_gravity)(IAvnContextMenu* self, int32_t* value); /* slot 144 */ - AvnHResult (AVN_CALL *set_placement_gravity)(IAvnContextMenu* self, int32_t value); /* slot 145 */ - AvnHResult (AVN_CALL *get_placement)(IAvnContextMenu* self, int32_t* value); /* slot 146 */ - AvnHResult (AVN_CALL *set_placement)(IAvnContextMenu* self, int32_t value); /* slot 147 */ - AvnHResult (AVN_CALL *get_window_manager_add_shadow_hint)(IAvnContextMenu* self, int32_t* value); /* slot 148 */ - AvnHResult (AVN_CALL *set_window_manager_add_shadow_hint)(IAvnContextMenu* self, int32_t value); /* slot 149 */ - AvnHResult (AVN_CALL *get_placement_rect)(IAvnContextMenu* self, AvnOptionalRect* value); /* slot 150 */ - AvnHResult (AVN_CALL *set_placement_rect)(IAvnContextMenu* self, AvnOptionalRect value); /* slot 151 */ - AvnHResult (AVN_CALL *get_placement_target)(IAvnContextMenu* self, IAvnControl** value); /* slot 152 */ - AvnHResult (AVN_CALL *set_placement_target)(IAvnContextMenu* self, IAvnControl* value); /* slot 153 */ - AvnHResult (AVN_CALL *get_custom_popup_placement_callback)(IAvnContextMenu* self, IAvnPopupPlacementCallback** value); /* slot 154 */ - AvnHResult (AVN_CALL *set_custom_popup_placement_callback)(IAvnContextMenu* self, IAvnPopupPlacementCallback* value); /* slot 155 */ - AvnHResult (AVN_CALL *open_with_control)(IAvnContextMenu* self, IAvnControl* control); /* slot 156 */ - AvnHResult (AVN_CALL *advise_opening)(IAvnContextMenu* self, IAvnContextMenuOpeningHandler* handler, int64_t* subscription_id); /* slot 157 */ - AvnHResult (AVN_CALL *unadvise_opening)(IAvnContextMenu* self, int64_t subscription_id); /* slot 158 */ - AvnHResult (AVN_CALL *advise_closing)(IAvnContextMenu* self, IAvnContextMenuClosingHandler* handler, int64_t* subscription_id); /* slot 159 */ - AvnHResult (AVN_CALL *unadvise_closing)(IAvnContextMenu* self, int64_t subscription_id); /* slot 160 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnContextMenu* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnContextMenu* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnContextMenu* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnContextMenu* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnContextMenu* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnContextMenu* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnContextMenu* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnContextMenu* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnContextMenu* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnContextMenu* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnContextMenu* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnContextMenu* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnContextMenu* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnContextMenu* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnContextMenu* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnContextMenu* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnContextMenu* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnContextMenu* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnContextMenu* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnContextMenu* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnContextMenu* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnContextMenu* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnContextMenu* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnContextMenu* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnContextMenu* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnContextMenu* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnContextMenu* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnContextMenu* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnContextMenu* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnContextMenu* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnContextMenu* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnContextMenu* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnContextMenu* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnContextMenu* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_items)(IAvnContextMenu* self, IAvnItemList** value); /* slot 109 */ + AvnHResult (AVN_CALL *get_item_count)(IAvnContextMenu* self, int32_t* value); /* slot 110 */ + AvnHResult (AVN_CALL *get_items_source)(IAvnContextMenu* self, IAvnVariantList** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_items_source)(IAvnContextMenu* self, IAvnVariantList* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_item_template)(IAvnContextMenu* self, IAvnDataTemplate** value); /* slot 113 */ + AvnHResult (AVN_CALL *set_item_template)(IAvnContextMenu* self, IAvnDataTemplate* value); /* slot 114 */ + AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnContextMenu* self, int32_t index, IAvnControl** value); /* slot 115 */ + AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnContextMenu* self, AvnVariant item, IAvnControl** value); /* slot 116 */ + AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnContextMenu* self, IAvnControl* container, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnContextMenu* self, IAvnControl* container, AvnVariant* value); /* slot 118 */ + AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnContextMenu* self, int32_t index); /* slot 119 */ + AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnContextMenu* self, AvnVariant item); /* slot 120 */ + AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnContextMenu* self, int32_t* value); /* slot 121 */ + AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnContextMenu* self, int32_t value); /* slot 122 */ + AvnHResult (AVN_CALL *get_selected_index)(IAvnContextMenu* self, int32_t* value); /* slot 123 */ + AvnHResult (AVN_CALL *set_selected_index)(IAvnContextMenu* self, int32_t value); /* slot 124 */ + AvnHResult (AVN_CALL *get_selected_item)(IAvnContextMenu* self, AvnVariant* value); /* slot 125 */ + AvnHResult (AVN_CALL *set_selected_item)(IAvnContextMenu* self, AvnVariant value); /* slot 126 */ + AvnHResult (AVN_CALL *get_selected_value)(IAvnContextMenu* self, AvnVariant* value); /* slot 127 */ + AvnHResult (AVN_CALL *set_selected_value)(IAvnContextMenu* self, AvnVariant value); /* slot 128 */ + AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnContextMenu* self, int32_t* value); /* slot 129 */ + AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnContextMenu* self, int32_t value); /* slot 130 */ + AvnHResult (AVN_CALL *get_wrap_selection)(IAvnContextMenu* self, int32_t* value); /* slot 131 */ + AvnHResult (AVN_CALL *set_wrap_selection)(IAvnContextMenu* self, int32_t value); /* slot 132 */ + AvnHResult (AVN_CALL *advise_selection_changed)(IAvnContextMenu* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 133 */ + AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnContextMenu* self, int64_t subscription_id); /* slot 134 */ + AvnHResult (AVN_CALL *get_is_open)(IAvnContextMenu* self, int32_t* value); /* slot 135 */ + AvnHResult (AVN_CALL *close)(IAvnContextMenu* self); /* slot 136 */ + AvnHResult (AVN_CALL *open)(IAvnContextMenu* self); /* slot 137 */ + AvnHResult (AVN_CALL *advise_opened)(IAvnContextMenu* self, IAvnMenuBaseOpenedHandler* handler, int64_t* subscription_id); /* slot 138 */ + AvnHResult (AVN_CALL *unadvise_opened)(IAvnContextMenu* self, int64_t subscription_id); /* slot 139 */ + AvnHResult (AVN_CALL *advise_closed)(IAvnContextMenu* self, IAvnMenuBaseClosedHandler* handler, int64_t* subscription_id); /* slot 140 */ + AvnHResult (AVN_CALL *unadvise_closed)(IAvnContextMenu* self, int64_t subscription_id); /* slot 141 */ + AvnHResult (AVN_CALL *get_horizontal_offset)(IAvnContextMenu* self, double* value); /* slot 142 */ + AvnHResult (AVN_CALL *set_horizontal_offset)(IAvnContextMenu* self, double value); /* slot 143 */ + AvnHResult (AVN_CALL *get_vertical_offset)(IAvnContextMenu* self, double* value); /* slot 144 */ + AvnHResult (AVN_CALL *set_vertical_offset)(IAvnContextMenu* self, double value); /* slot 145 */ + AvnHResult (AVN_CALL *get_placement_anchor)(IAvnContextMenu* self, int32_t* value); /* slot 146 */ + AvnHResult (AVN_CALL *set_placement_anchor)(IAvnContextMenu* self, int32_t value); /* slot 147 */ + AvnHResult (AVN_CALL *get_placement_constraint_adjustment)(IAvnContextMenu* self, int32_t* value); /* slot 148 */ + AvnHResult (AVN_CALL *set_placement_constraint_adjustment)(IAvnContextMenu* self, int32_t value); /* slot 149 */ + AvnHResult (AVN_CALL *get_placement_gravity)(IAvnContextMenu* self, int32_t* value); /* slot 150 */ + AvnHResult (AVN_CALL *set_placement_gravity)(IAvnContextMenu* self, int32_t value); /* slot 151 */ + AvnHResult (AVN_CALL *get_placement)(IAvnContextMenu* self, int32_t* value); /* slot 152 */ + AvnHResult (AVN_CALL *set_placement)(IAvnContextMenu* self, int32_t value); /* slot 153 */ + AvnHResult (AVN_CALL *get_window_manager_add_shadow_hint)(IAvnContextMenu* self, int32_t* value); /* slot 154 */ + AvnHResult (AVN_CALL *set_window_manager_add_shadow_hint)(IAvnContextMenu* self, int32_t value); /* slot 155 */ + AvnHResult (AVN_CALL *get_placement_rect)(IAvnContextMenu* self, AvnOptionalRect* value); /* slot 156 */ + AvnHResult (AVN_CALL *set_placement_rect)(IAvnContextMenu* self, AvnOptionalRect value); /* slot 157 */ + AvnHResult (AVN_CALL *get_placement_target)(IAvnContextMenu* self, IAvnControl** value); /* slot 158 */ + AvnHResult (AVN_CALL *set_placement_target)(IAvnContextMenu* self, IAvnControl* value); /* slot 159 */ + AvnHResult (AVN_CALL *get_custom_popup_placement_callback)(IAvnContextMenu* self, IAvnPopupPlacementCallback** value); /* slot 160 */ + AvnHResult (AVN_CALL *set_custom_popup_placement_callback)(IAvnContextMenu* self, IAvnPopupPlacementCallback* value); /* slot 161 */ + AvnHResult (AVN_CALL *open_with_control)(IAvnContextMenu* self, IAvnControl* control); /* slot 162 */ + AvnHResult (AVN_CALL *advise_opening)(IAvnContextMenu* self, IAvnContextMenuOpeningHandler* handler, int64_t* subscription_id); /* slot 163 */ + AvnHResult (AVN_CALL *unadvise_opening)(IAvnContextMenu* self, int64_t subscription_id); /* slot 164 */ + AvnHResult (AVN_CALL *advise_closing)(IAvnContextMenu* self, IAvnContextMenuClosingHandler* handler, int64_t* subscription_id); /* slot 165 */ + AvnHResult (AVN_CALL *unadvise_closing)(IAvnContextMenu* self, int64_t subscription_id); /* slot 166 */ }; struct IAvnContextMenu { const IAvnContextMenuVtbl* vtbl; }; -#define I_AVN_CONTEXT_MENU_VTABLE_SLOTS 161 +#define I_AVN_CONTEXT_MENU_VTABLE_SLOTS 167 static const AvnGuid I_AVN_CONTROL_IID = { - 0xABDFF81D, - 0xDB26, - 0x5BB7, - { 0x9A, 0xCA, 0x18, 0x35, 0x3E, 0x6D, 0xB4, 0xD4 } + 0xE2F44292, + 0x89FA, + 0x5AFA, + { 0x92, 0x94, 0xFF, 0x2F, 0x26, 0xDB, 0x68, 0xCE } }; -#define I_AVN_CONTROL_ABI_VERSION 9 +#define I_AVN_CONTROL_ABI_VERSION 10 struct IAvnControlVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnControl* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnControl* self); /* slot 1 */ @@ -5002,17 +5164,23 @@ struct IAvnControlVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnControl* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnControl* self, int64_t subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnControl* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnControl* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnControl* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnControl* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnControl* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnControl* self, int64_t subscription_id); /* slot 80 */ }; struct IAvnControl { const IAvnControlVtbl* vtbl; }; -#define I_AVN_CONTROL_VTABLE_SLOTS 75 +#define I_AVN_CONTROL_VTABLE_SLOTS 81 static const AvnGuid I_AVN_DATE_PICKER_IID = { - 0x1441AD02, - 0x88FD, - 0x5BCE, - { 0x9A, 0x23, 0x18, 0x60, 0x76, 0x67, 0xFA, 0xA3 } + 0xDF809CB0, + 0x67FA, + 0x58E8, + { 0x92, 0x0C, 0x1B, 0x95, 0x74, 0xA7, 0xB3, 0x69 } }; -#define I_AVN_DATE_PICKER_ABI_VERSION 12 +#define I_AVN_DATE_PICKER_ABI_VERSION 13 struct IAvnDatePickerVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnDatePicker* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnDatePicker* self); /* slot 1 */ @@ -5089,68 +5257,74 @@ struct IAvnDatePickerVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnDatePicker* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnDatePicker* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnDatePicker* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnDatePicker* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnDatePicker* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnDatePicker* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnDatePicker* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnDatePicker* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnDatePicker* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnDatePicker* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnDatePicker* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnDatePicker* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnDatePicker* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnDatePicker* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnDatePicker* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnDatePicker* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnDatePicker* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnDatePicker* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnDatePicker* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnDatePicker* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnDatePicker* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnDatePicker* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnDatePicker* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnDatePicker* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnDatePicker* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnDatePicker* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnDatePicker* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnDatePicker* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnDatePicker* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnDatePicker* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnDatePicker* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnDatePicker* self, int32_t* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnDatePicker* self, int32_t value); /* slot 104 */ - AvnHResult (AVN_CALL *get_day_format)(IAvnDatePicker* self, uint16_t** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_day_format)(IAvnDatePicker* self, const uint16_t* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_day_visible)(IAvnDatePicker* self, int32_t* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_day_visible)(IAvnDatePicker* self, int32_t value); /* slot 108 */ - AvnHResult (AVN_CALL *get_max_year)(IAvnDatePicker* self, uint16_t** value); /* slot 109 */ - AvnHResult (AVN_CALL *set_max_year)(IAvnDatePicker* self, const uint16_t* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_min_year)(IAvnDatePicker* self, uint16_t** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_min_year)(IAvnDatePicker* self, const uint16_t* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_month_format)(IAvnDatePicker* self, uint16_t** value); /* slot 113 */ - AvnHResult (AVN_CALL *set_month_format)(IAvnDatePicker* self, const uint16_t* value); /* slot 114 */ - AvnHResult (AVN_CALL *get_month_visible)(IAvnDatePicker* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_month_visible)(IAvnDatePicker* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_year_format)(IAvnDatePicker* self, uint16_t** value); /* slot 117 */ - AvnHResult (AVN_CALL *set_year_format)(IAvnDatePicker* self, const uint16_t* value); /* slot 118 */ - AvnHResult (AVN_CALL *get_year_visible)(IAvnDatePicker* self, int32_t* value); /* slot 119 */ - AvnHResult (AVN_CALL *set_year_visible)(IAvnDatePicker* self, int32_t value); /* slot 120 */ - AvnHResult (AVN_CALL *get_selected_date)(IAvnDatePicker* self, uint16_t** value); /* slot 121 */ - AvnHResult (AVN_CALL *set_selected_date)(IAvnDatePicker* self, const uint16_t* value); /* slot 122 */ - AvnHResult (AVN_CALL *clear)(IAvnDatePicker* self); /* slot 123 */ - AvnHResult (AVN_CALL *advise_selected_date_changed)(IAvnDatePicker* self, IAvnDatePickerSelectedDateChangedHandler* handler, int64_t* subscription_id); /* slot 124 */ - AvnHResult (AVN_CALL *unadvise_selected_date_changed)(IAvnDatePicker* self, int64_t subscription_id); /* slot 125 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnDatePicker* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnDatePicker* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnDatePicker* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnDatePicker* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnDatePicker* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnDatePicker* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnDatePicker* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnDatePicker* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnDatePicker* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnDatePicker* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnDatePicker* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnDatePicker* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnDatePicker* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnDatePicker* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnDatePicker* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnDatePicker* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnDatePicker* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnDatePicker* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnDatePicker* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnDatePicker* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnDatePicker* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnDatePicker* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnDatePicker* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnDatePicker* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnDatePicker* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnDatePicker* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnDatePicker* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnDatePicker* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnDatePicker* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnDatePicker* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnDatePicker* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnDatePicker* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnDatePicker* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnDatePicker* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnDatePicker* self, int32_t* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnDatePicker* self, int32_t value); /* slot 110 */ + AvnHResult (AVN_CALL *get_day_format)(IAvnDatePicker* self, uint16_t** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_day_format)(IAvnDatePicker* self, const uint16_t* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_day_visible)(IAvnDatePicker* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *set_day_visible)(IAvnDatePicker* self, int32_t value); /* slot 114 */ + AvnHResult (AVN_CALL *get_max_year)(IAvnDatePicker* self, uint16_t** value); /* slot 115 */ + AvnHResult (AVN_CALL *set_max_year)(IAvnDatePicker* self, const uint16_t* value); /* slot 116 */ + AvnHResult (AVN_CALL *get_min_year)(IAvnDatePicker* self, uint16_t** value); /* slot 117 */ + AvnHResult (AVN_CALL *set_min_year)(IAvnDatePicker* self, const uint16_t* value); /* slot 118 */ + AvnHResult (AVN_CALL *get_month_format)(IAvnDatePicker* self, uint16_t** value); /* slot 119 */ + AvnHResult (AVN_CALL *set_month_format)(IAvnDatePicker* self, const uint16_t* value); /* slot 120 */ + AvnHResult (AVN_CALL *get_month_visible)(IAvnDatePicker* self, int32_t* value); /* slot 121 */ + AvnHResult (AVN_CALL *set_month_visible)(IAvnDatePicker* self, int32_t value); /* slot 122 */ + AvnHResult (AVN_CALL *get_year_format)(IAvnDatePicker* self, uint16_t** value); /* slot 123 */ + AvnHResult (AVN_CALL *set_year_format)(IAvnDatePicker* self, const uint16_t* value); /* slot 124 */ + AvnHResult (AVN_CALL *get_year_visible)(IAvnDatePicker* self, int32_t* value); /* slot 125 */ + AvnHResult (AVN_CALL *set_year_visible)(IAvnDatePicker* self, int32_t value); /* slot 126 */ + AvnHResult (AVN_CALL *get_selected_date)(IAvnDatePicker* self, uint16_t** value); /* slot 127 */ + AvnHResult (AVN_CALL *set_selected_date)(IAvnDatePicker* self, const uint16_t* value); /* slot 128 */ + AvnHResult (AVN_CALL *clear)(IAvnDatePicker* self); /* slot 129 */ + AvnHResult (AVN_CALL *advise_selected_date_changed)(IAvnDatePicker* self, IAvnDatePickerSelectedDateChangedHandler* handler, int64_t* subscription_id); /* slot 130 */ + AvnHResult (AVN_CALL *unadvise_selected_date_changed)(IAvnDatePicker* self, int64_t subscription_id); /* slot 131 */ }; struct IAvnDatePicker { const IAvnDatePickerVtbl* vtbl; }; -#define I_AVN_DATE_PICKER_VTABLE_SLOTS 126 +#define I_AVN_DATE_PICKER_VTABLE_SLOTS 132 static const AvnGuid I_AVN_DECORATOR_IID = { - 0x73D7A8D4, - 0x2B75, - 0x5F19, - { 0x95, 0x8F, 0xDE, 0x0D, 0x15, 0xAC, 0x30, 0x79 } + 0xC3E4D085, + 0x4977, + 0x566E, + { 0xB8, 0x43, 0x75, 0xD8, 0x6B, 0x43, 0xC2, 0xC9 } }; -#define I_AVN_DECORATOR_ABI_VERSION 11 +#define I_AVN_DECORATOR_ABI_VERSION 12 struct IAvnDecoratorVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnDecorator* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnDecorator* self); /* slot 1 */ @@ -5227,21 +5401,27 @@ struct IAvnDecoratorVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnDecorator* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnDecorator* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnDecorator* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_child)(IAvnDecorator* self, IAvnControl** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_child)(IAvnDecorator* self, IAvnControl* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_padding)(IAvnDecorator* self, AvnThickness* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_padding)(IAvnDecorator* self, AvnThickness value); /* slot 78 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnDecorator* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnDecorator* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnDecorator* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnDecorator* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnDecorator* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnDecorator* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_child)(IAvnDecorator* self, IAvnControl** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_child)(IAvnDecorator* self, IAvnControl* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_padding)(IAvnDecorator* self, AvnThickness* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_padding)(IAvnDecorator* self, AvnThickness value); /* slot 84 */ }; struct IAvnDecorator { const IAvnDecoratorVtbl* vtbl; }; -#define I_AVN_DECORATOR_VTABLE_SLOTS 79 +#define I_AVN_DECORATOR_VTABLE_SLOTS 85 static const AvnGuid I_AVN_DOCK_PANEL_IID = { - 0x36376ACD, - 0x9F74, - 0x59B8, - { 0xAD, 0xCA, 0xCA, 0xE9, 0x6F, 0x5E, 0x70, 0xB9 } + 0x8D7E3210, + 0x853F, + 0x5D42, + { 0xAE, 0x5B, 0xA5, 0x91, 0x5B, 0xD5, 0x39, 0x28 } }; -#define I_AVN_DOCK_PANEL_ABI_VERSION 12 +#define I_AVN_DOCK_PANEL_ABI_VERSION 13 struct IAvnDockPanelVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnDockPanel* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnDockPanel* self); /* slot 1 */ @@ -5318,26 +5498,32 @@ struct IAvnDockPanelVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnDockPanel* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnDockPanel* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnDockPanel* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_children)(IAvnDockPanel* self, IAvnControlList** value); /* slot 75 */ - AvnHResult (AVN_CALL *get_background)(IAvnDockPanel* self, IAvnBrush** value); /* slot 76 */ - AvnHResult (AVN_CALL *set_background)(IAvnDockPanel* self, IAvnBrush* value); /* slot 77 */ - AvnHResult (AVN_CALL *get_last_child_fill)(IAvnDockPanel* self, int32_t* value); /* slot 78 */ - AvnHResult (AVN_CALL *set_last_child_fill)(IAvnDockPanel* self, int32_t value); /* slot 79 */ - AvnHResult (AVN_CALL *get_horizontal_spacing)(IAvnDockPanel* self, double* value); /* slot 80 */ - AvnHResult (AVN_CALL *set_horizontal_spacing)(IAvnDockPanel* self, double value); /* slot 81 */ - AvnHResult (AVN_CALL *get_vertical_spacing)(IAvnDockPanel* self, double* value); /* slot 82 */ - AvnHResult (AVN_CALL *set_vertical_spacing)(IAvnDockPanel* self, double value); /* slot 83 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnDockPanel* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnDockPanel* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnDockPanel* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnDockPanel* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnDockPanel* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnDockPanel* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_children)(IAvnDockPanel* self, IAvnControlList** value); /* slot 81 */ + AvnHResult (AVN_CALL *get_background)(IAvnDockPanel* self, IAvnBrush** value); /* slot 82 */ + AvnHResult (AVN_CALL *set_background)(IAvnDockPanel* self, IAvnBrush* value); /* slot 83 */ + AvnHResult (AVN_CALL *get_last_child_fill)(IAvnDockPanel* self, int32_t* value); /* slot 84 */ + AvnHResult (AVN_CALL *set_last_child_fill)(IAvnDockPanel* self, int32_t value); /* slot 85 */ + AvnHResult (AVN_CALL *get_horizontal_spacing)(IAvnDockPanel* self, double* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_horizontal_spacing)(IAvnDockPanel* self, double value); /* slot 87 */ + AvnHResult (AVN_CALL *get_vertical_spacing)(IAvnDockPanel* self, double* value); /* slot 88 */ + AvnHResult (AVN_CALL *set_vertical_spacing)(IAvnDockPanel* self, double value); /* slot 89 */ }; struct IAvnDockPanel { const IAvnDockPanelVtbl* vtbl; }; -#define I_AVN_DOCK_PANEL_VTABLE_SLOTS 84 +#define I_AVN_DOCK_PANEL_VTABLE_SLOTS 90 static const AvnGuid I_AVN_DROP_DOWN_BUTTON_IID = { - 0x85F27971, - 0xCEB0, - 0x528D, - { 0x8D, 0x3B, 0xC0, 0xAB, 0x62, 0xE1, 0x1F, 0xDA } + 0xBCBBD462, + 0xBE4D, + 0x517B, + { 0x96, 0xB1, 0xBD, 0xF7, 0x62, 0xCA, 0x9B, 0x4B } }; -#define I_AVN_DROP_DOWN_BUTTON_ABI_VERSION 12 +#define I_AVN_DROP_DOWN_BUTTON_ABI_VERSION 13 struct IAvnDropDownButtonVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnDropDownButton* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnDropDownButton* self); /* slot 1 */ @@ -5414,70 +5600,76 @@ struct IAvnDropDownButtonVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnDropDownButton* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnDropDownButton* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnDropDownButton* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnDropDownButton* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnDropDownButton* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnDropDownButton* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnDropDownButton* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnDropDownButton* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnDropDownButton* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnDropDownButton* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnDropDownButton* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnDropDownButton* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnDropDownButton* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnDropDownButton* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnDropDownButton* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnDropDownButton* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnDropDownButton* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnDropDownButton* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnDropDownButton* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnDropDownButton* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnDropDownButton* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnDropDownButton* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnDropDownButton* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnDropDownButton* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnDropDownButton* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnDropDownButton* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnDropDownButton* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnDropDownButton* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnDropDownButton* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnDropDownButton* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnDropDownButton* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_content)(IAvnDropDownButton* self, IAvnControl** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_content)(IAvnDropDownButton* self, IAvnControl* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnDropDownButton* self, IAvnDataTemplate** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnDropDownButton* self, IAvnDataTemplate* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnDropDownButton* self, int32_t* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnDropDownButton* self, int32_t value); /* slot 108 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnDropDownButton* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnDropDownButton* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_click_mode)(IAvnDropDownButton* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_click_mode)(IAvnDropDownButton* self, int32_t value); /* slot 112 */ - AvnHResult (AVN_CALL *get_command)(IAvnDropDownButton* self, IAvnCommand** value); /* slot 113 */ - AvnHResult (AVN_CALL *set_command)(IAvnDropDownButton* self, IAvnCommand* value); /* slot 114 */ - AvnHResult (AVN_CALL *get_hot_key)(IAvnDropDownButton* self, uint16_t** value); /* slot 115 */ - AvnHResult (AVN_CALL *set_hot_key)(IAvnDropDownButton* self, const uint16_t* value); /* slot 116 */ - AvnHResult (AVN_CALL *get_command_parameter)(IAvnDropDownButton* self, AvnVariant* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_command_parameter)(IAvnDropDownButton* self, AvnVariant value); /* slot 118 */ - AvnHResult (AVN_CALL *get_is_default)(IAvnDropDownButton* self, int32_t* value); /* slot 119 */ - AvnHResult (AVN_CALL *set_is_default)(IAvnDropDownButton* self, int32_t value); /* slot 120 */ - AvnHResult (AVN_CALL *get_is_cancel)(IAvnDropDownButton* self, int32_t* value); /* slot 121 */ - AvnHResult (AVN_CALL *set_is_cancel)(IAvnDropDownButton* self, int32_t value); /* slot 122 */ - AvnHResult (AVN_CALL *get_is_pressed)(IAvnDropDownButton* self, int32_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *get_flyout)(IAvnDropDownButton* self, IAvnFlyoutBase** value); /* slot 124 */ - AvnHResult (AVN_CALL *set_flyout)(IAvnDropDownButton* self, IAvnFlyoutBase* value); /* slot 125 */ - AvnHResult (AVN_CALL *advise_click)(IAvnDropDownButton* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 126 */ - AvnHResult (AVN_CALL *unadvise_click)(IAvnDropDownButton* self, int64_t subscription_id); /* slot 127 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnDropDownButton* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnDropDownButton* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnDropDownButton* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnDropDownButton* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnDropDownButton* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnDropDownButton* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnDropDownButton* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnDropDownButton* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnDropDownButton* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnDropDownButton* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnDropDownButton* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnDropDownButton* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnDropDownButton* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnDropDownButton* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnDropDownButton* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnDropDownButton* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnDropDownButton* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnDropDownButton* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnDropDownButton* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnDropDownButton* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnDropDownButton* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnDropDownButton* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnDropDownButton* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnDropDownButton* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnDropDownButton* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnDropDownButton* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnDropDownButton* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnDropDownButton* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnDropDownButton* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnDropDownButton* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnDropDownButton* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnDropDownButton* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnDropDownButton* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnDropDownButton* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_content)(IAvnDropDownButton* self, IAvnControl** value); /* slot 109 */ + AvnHResult (AVN_CALL *set_content)(IAvnDropDownButton* self, IAvnControl* value); /* slot 110 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnDropDownButton* self, IAvnDataTemplate** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnDropDownButton* self, IAvnDataTemplate* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnDropDownButton* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnDropDownButton* self, int32_t value); /* slot 114 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnDropDownButton* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnDropDownButton* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_click_mode)(IAvnDropDownButton* self, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_click_mode)(IAvnDropDownButton* self, int32_t value); /* slot 118 */ + AvnHResult (AVN_CALL *get_command)(IAvnDropDownButton* self, IAvnCommand** value); /* slot 119 */ + AvnHResult (AVN_CALL *set_command)(IAvnDropDownButton* self, IAvnCommand* value); /* slot 120 */ + AvnHResult (AVN_CALL *get_hot_key)(IAvnDropDownButton* self, uint16_t** value); /* slot 121 */ + AvnHResult (AVN_CALL *set_hot_key)(IAvnDropDownButton* self, const uint16_t* value); /* slot 122 */ + AvnHResult (AVN_CALL *get_command_parameter)(IAvnDropDownButton* self, AvnVariant* value); /* slot 123 */ + AvnHResult (AVN_CALL *set_command_parameter)(IAvnDropDownButton* self, AvnVariant value); /* slot 124 */ + AvnHResult (AVN_CALL *get_is_default)(IAvnDropDownButton* self, int32_t* value); /* slot 125 */ + AvnHResult (AVN_CALL *set_is_default)(IAvnDropDownButton* self, int32_t value); /* slot 126 */ + AvnHResult (AVN_CALL *get_is_cancel)(IAvnDropDownButton* self, int32_t* value); /* slot 127 */ + AvnHResult (AVN_CALL *set_is_cancel)(IAvnDropDownButton* self, int32_t value); /* slot 128 */ + AvnHResult (AVN_CALL *get_is_pressed)(IAvnDropDownButton* self, int32_t* value); /* slot 129 */ + AvnHResult (AVN_CALL *get_flyout)(IAvnDropDownButton* self, IAvnFlyoutBase** value); /* slot 130 */ + AvnHResult (AVN_CALL *set_flyout)(IAvnDropDownButton* self, IAvnFlyoutBase* value); /* slot 131 */ + AvnHResult (AVN_CALL *advise_click)(IAvnDropDownButton* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 132 */ + AvnHResult (AVN_CALL *unadvise_click)(IAvnDropDownButton* self, int64_t subscription_id); /* slot 133 */ }; struct IAvnDropDownButton { const IAvnDropDownButtonVtbl* vtbl; }; -#define I_AVN_DROP_DOWN_BUTTON_VTABLE_SLOTS 128 +#define I_AVN_DROP_DOWN_BUTTON_VTABLE_SLOTS 134 static const AvnGuid I_AVN_ELLIPSE_IID = { - 0x2AA5065D, - 0x5B4C, - 0x542B, - { 0xB6, 0xCC, 0xA2, 0x30, 0xA5, 0x76, 0xE4, 0xF1 } + 0xECCCD4F8, + 0x7656, + 0x5346, + { 0xB5, 0x62, 0xE8, 0x26, 0xC2, 0x7E, 0x03, 0x9E } }; -#define I_AVN_ELLIPSE_ABI_VERSION 9 +#define I_AVN_ELLIPSE_ABI_VERSION 10 struct IAvnEllipseVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnEllipse* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnEllipse* self); /* slot 1 */ @@ -5554,35 +5746,41 @@ struct IAvnEllipseVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnEllipse* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnEllipse* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnEllipse* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_fill)(IAvnEllipse* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_fill)(IAvnEllipse* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_stretch)(IAvnEllipse* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_stretch)(IAvnEllipse* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_stroke)(IAvnEllipse* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_stroke)(IAvnEllipse* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_stroke_dash_array)(IAvnEllipse* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_stroke_dash_array)(IAvnEllipse* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_stroke_dash_offset)(IAvnEllipse* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_stroke_dash_offset)(IAvnEllipse* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_stroke_thickness)(IAvnEllipse* self, double* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_stroke_thickness)(IAvnEllipse* self, double value); /* slot 86 */ - AvnHResult (AVN_CALL *get_stroke_line_cap)(IAvnEllipse* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_stroke_line_cap)(IAvnEllipse* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_stroke_join)(IAvnEllipse* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_stroke_join)(IAvnEllipse* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_stroke_miter_limit)(IAvnEllipse* self, double* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_stroke_miter_limit)(IAvnEllipse* self, double value); /* slot 92 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnEllipse* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnEllipse* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnEllipse* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnEllipse* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnEllipse* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnEllipse* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_fill)(IAvnEllipse* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_fill)(IAvnEllipse* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_stretch)(IAvnEllipse* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_stretch)(IAvnEllipse* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_stroke)(IAvnEllipse* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_stroke)(IAvnEllipse* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_stroke_dash_array)(IAvnEllipse* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_stroke_dash_array)(IAvnEllipse* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_stroke_dash_offset)(IAvnEllipse* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_stroke_dash_offset)(IAvnEllipse* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_stroke_thickness)(IAvnEllipse* self, double* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_stroke_thickness)(IAvnEllipse* self, double value); /* slot 92 */ + AvnHResult (AVN_CALL *get_stroke_line_cap)(IAvnEllipse* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_stroke_line_cap)(IAvnEllipse* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_stroke_join)(IAvnEllipse* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_stroke_join)(IAvnEllipse* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_stroke_miter_limit)(IAvnEllipse* self, double* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_stroke_miter_limit)(IAvnEllipse* self, double value); /* slot 98 */ }; struct IAvnEllipse { const IAvnEllipseVtbl* vtbl; }; -#define I_AVN_ELLIPSE_VTABLE_SLOTS 93 +#define I_AVN_ELLIPSE_VTABLE_SLOTS 99 static const AvnGuid I_AVN_EXPANDER_IID = { - 0x5655BDB3, - 0xEF10, - 0x56D0, - { 0xBE, 0x24, 0x59, 0xFC, 0x88, 0x35, 0x09, 0x39 } + 0xDFCCCA83, + 0x1ADA, + 0x5620, + { 0x82, 0x30, 0x0C, 0x1D, 0x66, 0x50, 0x7F, 0x12 } }; -#define I_AVN_EXPANDER_ABI_VERSION 14 +#define I_AVN_EXPANDER_ABI_VERSION 15 struct IAvnExpanderVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnExpander* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnExpander* self); /* slot 1 */ @@ -5659,69 +5857,75 @@ struct IAvnExpanderVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnExpander* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnExpander* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnExpander* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnExpander* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnExpander* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnExpander* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnExpander* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnExpander* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnExpander* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnExpander* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnExpander* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnExpander* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnExpander* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnExpander* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnExpander* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnExpander* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnExpander* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnExpander* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnExpander* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnExpander* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnExpander* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnExpander* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnExpander* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnExpander* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnExpander* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnExpander* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnExpander* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnExpander* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnExpander* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnExpander* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnExpander* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_content)(IAvnExpander* self, IAvnControl** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_content)(IAvnExpander* self, IAvnControl* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnExpander* self, IAvnDataTemplate** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnExpander* self, IAvnDataTemplate* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnExpander* self, int32_t* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnExpander* self, int32_t value); /* slot 108 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnExpander* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnExpander* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_header)(IAvnExpander* self, IAvnControl** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_header)(IAvnExpander* self, IAvnControl* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_header_template)(IAvnExpander* self, IAvnDataTemplate** value); /* slot 113 */ - AvnHResult (AVN_CALL *set_header_template)(IAvnExpander* self, IAvnDataTemplate* value); /* slot 114 */ - AvnHResult (AVN_CALL *get_expand_direction)(IAvnExpander* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_expand_direction)(IAvnExpander* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_is_expanded)(IAvnExpander* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_is_expanded)(IAvnExpander* self, int32_t value); /* slot 118 */ - AvnHResult (AVN_CALL *advise_collapsed)(IAvnExpander* self, IAvnExpanderCollapsedHandler* handler, int64_t* subscription_id); /* slot 119 */ - AvnHResult (AVN_CALL *unadvise_collapsed)(IAvnExpander* self, int64_t subscription_id); /* slot 120 */ - AvnHResult (AVN_CALL *advise_collapsing)(IAvnExpander* self, IAvnExpanderCollapsingHandler* handler, int64_t* subscription_id); /* slot 121 */ - AvnHResult (AVN_CALL *unadvise_collapsing)(IAvnExpander* self, int64_t subscription_id); /* slot 122 */ - AvnHResult (AVN_CALL *advise_expanded)(IAvnExpander* self, IAvnExpanderExpandedHandler* handler, int64_t* subscription_id); /* slot 123 */ - AvnHResult (AVN_CALL *unadvise_expanded)(IAvnExpander* self, int64_t subscription_id); /* slot 124 */ - AvnHResult (AVN_CALL *advise_expanding)(IAvnExpander* self, IAvnExpanderExpandingHandler* handler, int64_t* subscription_id); /* slot 125 */ - AvnHResult (AVN_CALL *unadvise_expanding)(IAvnExpander* self, int64_t subscription_id); /* slot 126 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnExpander* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnExpander* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnExpander* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnExpander* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnExpander* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnExpander* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnExpander* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnExpander* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnExpander* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnExpander* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnExpander* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnExpander* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnExpander* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnExpander* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnExpander* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnExpander* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnExpander* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnExpander* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnExpander* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnExpander* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnExpander* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnExpander* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnExpander* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnExpander* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnExpander* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnExpander* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnExpander* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnExpander* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnExpander* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnExpander* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnExpander* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnExpander* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnExpander* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnExpander* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_content)(IAvnExpander* self, IAvnControl** value); /* slot 109 */ + AvnHResult (AVN_CALL *set_content)(IAvnExpander* self, IAvnControl* value); /* slot 110 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnExpander* self, IAvnDataTemplate** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnExpander* self, IAvnDataTemplate* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnExpander* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnExpander* self, int32_t value); /* slot 114 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnExpander* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnExpander* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_header)(IAvnExpander* self, IAvnControl** value); /* slot 117 */ + AvnHResult (AVN_CALL *set_header)(IAvnExpander* self, IAvnControl* value); /* slot 118 */ + AvnHResult (AVN_CALL *get_header_template)(IAvnExpander* self, IAvnDataTemplate** value); /* slot 119 */ + AvnHResult (AVN_CALL *set_header_template)(IAvnExpander* self, IAvnDataTemplate* value); /* slot 120 */ + AvnHResult (AVN_CALL *get_expand_direction)(IAvnExpander* self, int32_t* value); /* slot 121 */ + AvnHResult (AVN_CALL *set_expand_direction)(IAvnExpander* self, int32_t value); /* slot 122 */ + AvnHResult (AVN_CALL *get_is_expanded)(IAvnExpander* self, int32_t* value); /* slot 123 */ + AvnHResult (AVN_CALL *set_is_expanded)(IAvnExpander* self, int32_t value); /* slot 124 */ + AvnHResult (AVN_CALL *advise_collapsed)(IAvnExpander* self, IAvnExpanderCollapsedHandler* handler, int64_t* subscription_id); /* slot 125 */ + AvnHResult (AVN_CALL *unadvise_collapsed)(IAvnExpander* self, int64_t subscription_id); /* slot 126 */ + AvnHResult (AVN_CALL *advise_collapsing)(IAvnExpander* self, IAvnExpanderCollapsingHandler* handler, int64_t* subscription_id); /* slot 127 */ + AvnHResult (AVN_CALL *unadvise_collapsing)(IAvnExpander* self, int64_t subscription_id); /* slot 128 */ + AvnHResult (AVN_CALL *advise_expanded)(IAvnExpander* self, IAvnExpanderExpandedHandler* handler, int64_t* subscription_id); /* slot 129 */ + AvnHResult (AVN_CALL *unadvise_expanded)(IAvnExpander* self, int64_t subscription_id); /* slot 130 */ + AvnHResult (AVN_CALL *advise_expanding)(IAvnExpander* self, IAvnExpanderExpandingHandler* handler, int64_t* subscription_id); /* slot 131 */ + AvnHResult (AVN_CALL *unadvise_expanding)(IAvnExpander* self, int64_t subscription_id); /* slot 132 */ }; struct IAvnExpander { const IAvnExpanderVtbl* vtbl; }; -#define I_AVN_EXPANDER_VTABLE_SLOTS 127 +#define I_AVN_EXPANDER_VTABLE_SLOTS 133 static const AvnGuid I_AVN_FLEX_PANEL_IID = { - 0x5E186F8A, - 0xD1FB, - 0x5989, - { 0xA4, 0x96, 0x63, 0x98, 0x2A, 0x99, 0x97, 0x52 } + 0x1CC87ECC, + 0x363C, + 0x5A07, + { 0x90, 0x23, 0xAE, 0xA8, 0x0D, 0xBE, 0xF8, 0xB0 } }; -#define I_AVN_FLEX_PANEL_ABI_VERSION 9 +#define I_AVN_FLEX_PANEL_ABI_VERSION 10 struct IAvnFlexPanelVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnFlexPanel* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnFlexPanel* self); /* slot 1 */ @@ -5798,26 +6002,32 @@ struct IAvnFlexPanelVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnFlexPanel* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnFlexPanel* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnFlexPanel* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_children)(IAvnFlexPanel* self, IAvnControlList** value); /* slot 75 */ - AvnHResult (AVN_CALL *get_background)(IAvnFlexPanel* self, IAvnBrush** value); /* slot 76 */ - AvnHResult (AVN_CALL *set_background)(IAvnFlexPanel* self, IAvnBrush* value); /* slot 77 */ - AvnHResult (AVN_CALL *get_direction)(IAvnFlexPanel* self, int32_t* value); /* slot 78 */ - AvnHResult (AVN_CALL *set_direction)(IAvnFlexPanel* self, int32_t value); /* slot 79 */ - AvnHResult (AVN_CALL *get_justify_content)(IAvnFlexPanel* self, int32_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *set_justify_content)(IAvnFlexPanel* self, int32_t value); /* slot 81 */ - AvnHResult (AVN_CALL *get_align_items)(IAvnFlexPanel* self, int32_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *set_align_items)(IAvnFlexPanel* self, int32_t value); /* slot 83 */ - AvnHResult (AVN_CALL *get_align_content)(IAvnFlexPanel* self, int32_t* value); /* slot 84 */ - AvnHResult (AVN_CALL *set_align_content)(IAvnFlexPanel* self, int32_t value); /* slot 85 */ - AvnHResult (AVN_CALL *get_wrap)(IAvnFlexPanel* self, int32_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *set_wrap)(IAvnFlexPanel* self, int32_t value); /* slot 87 */ - AvnHResult (AVN_CALL *get_column_spacing)(IAvnFlexPanel* self, double* value); /* slot 88 */ - AvnHResult (AVN_CALL *set_column_spacing)(IAvnFlexPanel* self, double value); /* slot 89 */ - AvnHResult (AVN_CALL *get_row_spacing)(IAvnFlexPanel* self, double* value); /* slot 90 */ - AvnHResult (AVN_CALL *set_row_spacing)(IAvnFlexPanel* self, double value); /* slot 91 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnFlexPanel* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnFlexPanel* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnFlexPanel* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnFlexPanel* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnFlexPanel* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnFlexPanel* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_children)(IAvnFlexPanel* self, IAvnControlList** value); /* slot 81 */ + AvnHResult (AVN_CALL *get_background)(IAvnFlexPanel* self, IAvnBrush** value); /* slot 82 */ + AvnHResult (AVN_CALL *set_background)(IAvnFlexPanel* self, IAvnBrush* value); /* slot 83 */ + AvnHResult (AVN_CALL *get_direction)(IAvnFlexPanel* self, int32_t* value); /* slot 84 */ + AvnHResult (AVN_CALL *set_direction)(IAvnFlexPanel* self, int32_t value); /* slot 85 */ + AvnHResult (AVN_CALL *get_justify_content)(IAvnFlexPanel* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_justify_content)(IAvnFlexPanel* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_align_items)(IAvnFlexPanel* self, int32_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *set_align_items)(IAvnFlexPanel* self, int32_t value); /* slot 89 */ + AvnHResult (AVN_CALL *get_align_content)(IAvnFlexPanel* self, int32_t* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_align_content)(IAvnFlexPanel* self, int32_t value); /* slot 91 */ + AvnHResult (AVN_CALL *get_wrap)(IAvnFlexPanel* self, int32_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_wrap)(IAvnFlexPanel* self, int32_t value); /* slot 93 */ + AvnHResult (AVN_CALL *get_column_spacing)(IAvnFlexPanel* self, double* value); /* slot 94 */ + AvnHResult (AVN_CALL *set_column_spacing)(IAvnFlexPanel* self, double value); /* slot 95 */ + AvnHResult (AVN_CALL *get_row_spacing)(IAvnFlexPanel* self, double* value); /* slot 96 */ + AvnHResult (AVN_CALL *set_row_spacing)(IAvnFlexPanel* self, double value); /* slot 97 */ }; struct IAvnFlexPanel { const IAvnFlexPanelVtbl* vtbl; }; -#define I_AVN_FLEX_PANEL_VTABLE_SLOTS 92 +#define I_AVN_FLEX_PANEL_VTABLE_SLOTS 98 static const AvnGuid I_AVN_FLYOUT_IID = { 0xCD1035F1, @@ -5902,12 +6112,12 @@ struct IAvnFlyoutBase { const IAvnFlyoutBaseVtbl* vtbl; }; #define I_AVN_FLYOUT_BASE_VTABLE_SLOTS 14 static const AvnGuid I_AVN_GRID_IID = { - 0x63034BE5, - 0x179A, - 0x5196, - { 0x83, 0x38, 0xF1, 0x07, 0x85, 0xC6, 0xDD, 0xDD } + 0x887286EA, + 0x8097, + 0x52EB, + { 0x9C, 0xEF, 0xFA, 0x1D, 0xA7, 0x82, 0x8D, 0x0F } }; -#define I_AVN_GRID_ABI_VERSION 13 +#define I_AVN_GRID_ABI_VERSION 14 struct IAvnGridVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnGrid* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnGrid* self); /* slot 1 */ @@ -5984,30 +6194,36 @@ struct IAvnGridVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnGrid* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnGrid* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnGrid* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_children)(IAvnGrid* self, IAvnControlList** value); /* slot 75 */ - AvnHResult (AVN_CALL *get_background)(IAvnGrid* self, IAvnBrush** value); /* slot 76 */ - AvnHResult (AVN_CALL *set_background)(IAvnGrid* self, IAvnBrush* value); /* slot 77 */ - AvnHResult (AVN_CALL *get_show_grid_lines)(IAvnGrid* self, int32_t* value); /* slot 78 */ - AvnHResult (AVN_CALL *set_show_grid_lines)(IAvnGrid* self, int32_t value); /* slot 79 */ - AvnHResult (AVN_CALL *get_row_spacing)(IAvnGrid* self, double* value); /* slot 80 */ - AvnHResult (AVN_CALL *set_row_spacing)(IAvnGrid* self, double value); /* slot 81 */ - AvnHResult (AVN_CALL *get_column_spacing)(IAvnGrid* self, double* value); /* slot 82 */ - AvnHResult (AVN_CALL *set_column_spacing)(IAvnGrid* self, double value); /* slot 83 */ - AvnHResult (AVN_CALL *get_column_definitions)(IAvnGrid* self, uint16_t** value); /* slot 84 */ - AvnHResult (AVN_CALL *set_column_definitions)(IAvnGrid* self, const uint16_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *get_row_definitions)(IAvnGrid* self, uint16_t** value); /* slot 86 */ - AvnHResult (AVN_CALL *set_row_definitions)(IAvnGrid* self, const uint16_t* value); /* slot 87 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnGrid* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnGrid* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnGrid* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnGrid* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnGrid* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnGrid* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_children)(IAvnGrid* self, IAvnControlList** value); /* slot 81 */ + AvnHResult (AVN_CALL *get_background)(IAvnGrid* self, IAvnBrush** value); /* slot 82 */ + AvnHResult (AVN_CALL *set_background)(IAvnGrid* self, IAvnBrush* value); /* slot 83 */ + AvnHResult (AVN_CALL *get_show_grid_lines)(IAvnGrid* self, int32_t* value); /* slot 84 */ + AvnHResult (AVN_CALL *set_show_grid_lines)(IAvnGrid* self, int32_t value); /* slot 85 */ + AvnHResult (AVN_CALL *get_row_spacing)(IAvnGrid* self, double* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_row_spacing)(IAvnGrid* self, double value); /* slot 87 */ + AvnHResult (AVN_CALL *get_column_spacing)(IAvnGrid* self, double* value); /* slot 88 */ + AvnHResult (AVN_CALL *set_column_spacing)(IAvnGrid* self, double value); /* slot 89 */ + AvnHResult (AVN_CALL *get_column_definitions)(IAvnGrid* self, uint16_t** value); /* slot 90 */ + AvnHResult (AVN_CALL *set_column_definitions)(IAvnGrid* self, const uint16_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *get_row_definitions)(IAvnGrid* self, uint16_t** value); /* slot 92 */ + AvnHResult (AVN_CALL *set_row_definitions)(IAvnGrid* self, const uint16_t* value); /* slot 93 */ }; struct IAvnGrid { const IAvnGridVtbl* vtbl; }; -#define I_AVN_GRID_VTABLE_SLOTS 88 +#define I_AVN_GRID_VTABLE_SLOTS 94 static const AvnGuid I_AVN_GRID_SPLITTER_IID = { - 0x93629BF6, - 0xE409, - 0x5BF3, - { 0xBB, 0x49, 0x45, 0x4A, 0x88, 0x45, 0x50, 0xE3 } + 0x9D81E579, + 0x275C, + 0x53A1, + { 0x8C, 0x3B, 0x91, 0xF1, 0x0E, 0x2D, 0x84, 0x03 } }; -#define I_AVN_GRID_SPLITTER_ABI_VERSION 11 +#define I_AVN_GRID_SPLITTER_ABI_VERSION 12 struct IAvnGridSplitterVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnGridSplitter* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnGridSplitter* self); /* slot 1 */ @@ -6084,61 +6300,67 @@ struct IAvnGridSplitterVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnGridSplitter* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnGridSplitter* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnGridSplitter* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnGridSplitter* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnGridSplitter* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnGridSplitter* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnGridSplitter* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnGridSplitter* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnGridSplitter* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnGridSplitter* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnGridSplitter* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnGridSplitter* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnGridSplitter* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnGridSplitter* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnGridSplitter* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnGridSplitter* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnGridSplitter* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnGridSplitter* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnGridSplitter* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnGridSplitter* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnGridSplitter* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnGridSplitter* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnGridSplitter* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnGridSplitter* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnGridSplitter* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnGridSplitter* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnGridSplitter* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnGridSplitter* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnGridSplitter* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *advise_drag_started)(IAvnGridSplitter* self, IAvnThumbDragStartedHandler* handler, int64_t* subscription_id); /* slot 103 */ - AvnHResult (AVN_CALL *unadvise_drag_started)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 104 */ - AvnHResult (AVN_CALL *advise_drag_delta)(IAvnGridSplitter* self, IAvnThumbDragDeltaHandler* handler, int64_t* subscription_id); /* slot 105 */ - AvnHResult (AVN_CALL *unadvise_drag_delta)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 106 */ - AvnHResult (AVN_CALL *advise_drag_completed)(IAvnGridSplitter* self, IAvnThumbDragCompletedHandler* handler, int64_t* subscription_id); /* slot 107 */ - AvnHResult (AVN_CALL *unadvise_drag_completed)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 108 */ - AvnHResult (AVN_CALL *get_resize_direction)(IAvnGridSplitter* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_resize_direction)(IAvnGridSplitter* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_resize_behavior)(IAvnGridSplitter* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_resize_behavior)(IAvnGridSplitter* self, int32_t value); /* slot 112 */ - AvnHResult (AVN_CALL *get_shows_preview)(IAvnGridSplitter* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_shows_preview)(IAvnGridSplitter* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_keyboard_increment)(IAvnGridSplitter* self, double* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_keyboard_increment)(IAvnGridSplitter* self, double value); /* slot 116 */ - AvnHResult (AVN_CALL *get_drag_increment)(IAvnGridSplitter* self, double* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_drag_increment)(IAvnGridSplitter* self, double value); /* slot 118 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnGridSplitter* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnGridSplitter* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnGridSplitter* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnGridSplitter* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnGridSplitter* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnGridSplitter* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnGridSplitter* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnGridSplitter* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnGridSplitter* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnGridSplitter* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnGridSplitter* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnGridSplitter* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnGridSplitter* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnGridSplitter* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnGridSplitter* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnGridSplitter* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnGridSplitter* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnGridSplitter* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnGridSplitter* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnGridSplitter* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnGridSplitter* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnGridSplitter* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnGridSplitter* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnGridSplitter* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnGridSplitter* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnGridSplitter* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnGridSplitter* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnGridSplitter* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnGridSplitter* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnGridSplitter* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnGridSplitter* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *advise_drag_started)(IAvnGridSplitter* self, IAvnThumbDragStartedHandler* handler, int64_t* subscription_id); /* slot 109 */ + AvnHResult (AVN_CALL *unadvise_drag_started)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 110 */ + AvnHResult (AVN_CALL *advise_drag_delta)(IAvnGridSplitter* self, IAvnThumbDragDeltaHandler* handler, int64_t* subscription_id); /* slot 111 */ + AvnHResult (AVN_CALL *unadvise_drag_delta)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 112 */ + AvnHResult (AVN_CALL *advise_drag_completed)(IAvnGridSplitter* self, IAvnThumbDragCompletedHandler* handler, int64_t* subscription_id); /* slot 113 */ + AvnHResult (AVN_CALL *unadvise_drag_completed)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 114 */ + AvnHResult (AVN_CALL *get_resize_direction)(IAvnGridSplitter* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_resize_direction)(IAvnGridSplitter* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_resize_behavior)(IAvnGridSplitter* self, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_resize_behavior)(IAvnGridSplitter* self, int32_t value); /* slot 118 */ + AvnHResult (AVN_CALL *get_shows_preview)(IAvnGridSplitter* self, int32_t* value); /* slot 119 */ + AvnHResult (AVN_CALL *set_shows_preview)(IAvnGridSplitter* self, int32_t value); /* slot 120 */ + AvnHResult (AVN_CALL *get_keyboard_increment)(IAvnGridSplitter* self, double* value); /* slot 121 */ + AvnHResult (AVN_CALL *set_keyboard_increment)(IAvnGridSplitter* self, double value); /* slot 122 */ + AvnHResult (AVN_CALL *get_drag_increment)(IAvnGridSplitter* self, double* value); /* slot 123 */ + AvnHResult (AVN_CALL *set_drag_increment)(IAvnGridSplitter* self, double value); /* slot 124 */ }; struct IAvnGridSplitter { const IAvnGridSplitterVtbl* vtbl; }; -#define I_AVN_GRID_SPLITTER_VTABLE_SLOTS 119 +#define I_AVN_GRID_SPLITTER_VTABLE_SLOTS 125 static const AvnGuid I_AVN_GROUP_BOX_IID = { - 0xB2A2A0DC, - 0x533F, - 0x50D6, - { 0xB4, 0x86, 0x8A, 0xFB, 0x44, 0xB0, 0xE8, 0x2D } + 0xF8356E2B, + 0x46EA, + 0x58CC, + { 0x80, 0x74, 0x78, 0x9B, 0xA4, 0x2F, 0x0C, 0x79 } }; -#define I_AVN_GROUP_BOX_ABI_VERSION 10 +#define I_AVN_GROUP_BOX_ABI_VERSION 11 struct IAvnGroupBoxVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnGroupBox* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnGroupBox* self); /* slot 1 */ @@ -6215,57 +6437,63 @@ struct IAvnGroupBoxVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnGroupBox* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnGroupBox* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnGroupBox* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnGroupBox* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnGroupBox* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnGroupBox* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnGroupBox* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnGroupBox* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnGroupBox* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnGroupBox* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnGroupBox* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnGroupBox* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnGroupBox* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnGroupBox* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnGroupBox* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnGroupBox* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnGroupBox* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnGroupBox* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnGroupBox* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnGroupBox* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnGroupBox* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnGroupBox* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnGroupBox* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnGroupBox* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnGroupBox* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnGroupBox* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnGroupBox* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnGroupBox* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnGroupBox* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnGroupBox* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnGroupBox* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_content)(IAvnGroupBox* self, IAvnControl** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_content)(IAvnGroupBox* self, IAvnControl* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnGroupBox* self, IAvnDataTemplate** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnGroupBox* self, IAvnDataTemplate* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnGroupBox* self, int32_t* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnGroupBox* self, int32_t value); /* slot 108 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnGroupBox* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnGroupBox* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_header)(IAvnGroupBox* self, IAvnControl** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_header)(IAvnGroupBox* self, IAvnControl* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_header_template)(IAvnGroupBox* self, IAvnDataTemplate** value); /* slot 113 */ - AvnHResult (AVN_CALL *set_header_template)(IAvnGroupBox* self, IAvnDataTemplate* value); /* slot 114 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnGroupBox* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnGroupBox* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnGroupBox* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnGroupBox* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnGroupBox* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnGroupBox* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnGroupBox* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnGroupBox* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnGroupBox* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnGroupBox* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnGroupBox* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnGroupBox* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnGroupBox* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnGroupBox* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnGroupBox* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnGroupBox* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnGroupBox* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnGroupBox* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnGroupBox* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnGroupBox* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnGroupBox* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnGroupBox* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnGroupBox* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnGroupBox* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnGroupBox* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnGroupBox* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnGroupBox* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnGroupBox* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnGroupBox* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnGroupBox* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnGroupBox* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnGroupBox* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnGroupBox* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnGroupBox* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_content)(IAvnGroupBox* self, IAvnControl** value); /* slot 109 */ + AvnHResult (AVN_CALL *set_content)(IAvnGroupBox* self, IAvnControl* value); /* slot 110 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnGroupBox* self, IAvnDataTemplate** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnGroupBox* self, IAvnDataTemplate* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnGroupBox* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnGroupBox* self, int32_t value); /* slot 114 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnGroupBox* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnGroupBox* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_header)(IAvnGroupBox* self, IAvnControl** value); /* slot 117 */ + AvnHResult (AVN_CALL *set_header)(IAvnGroupBox* self, IAvnControl* value); /* slot 118 */ + AvnHResult (AVN_CALL *get_header_template)(IAvnGroupBox* self, IAvnDataTemplate** value); /* slot 119 */ + AvnHResult (AVN_CALL *set_header_template)(IAvnGroupBox* self, IAvnDataTemplate* value); /* slot 120 */ }; struct IAvnGroupBox { const IAvnGroupBoxVtbl* vtbl; }; -#define I_AVN_GROUP_BOX_VTABLE_SLOTS 115 +#define I_AVN_GROUP_BOX_VTABLE_SLOTS 121 static const AvnGuid I_AVN_HEADERED_CONTENT_CONTROL_IID = { - 0xC1825F55, - 0xDE82, - 0x5447, - { 0x93, 0xA8, 0x4A, 0x55, 0xF6, 0x3B, 0xA6, 0x52 } + 0xD8948145, + 0x837B, + 0x5DC3, + { 0xA6, 0x85, 0x14, 0xDF, 0x38, 0x16, 0x7A, 0x93 } }; -#define I_AVN_HEADERED_CONTENT_CONTROL_ABI_VERSION 14 +#define I_AVN_HEADERED_CONTENT_CONTROL_ABI_VERSION 15 struct IAvnHeaderedContentControlVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnHeaderedContentControl* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnHeaderedContentControl* self); /* slot 1 */ @@ -6342,57 +6570,63 @@ struct IAvnHeaderedContentControlVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnHeaderedContentControl* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnHeaderedContentControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnHeaderedContentControl* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnHeaderedContentControl* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnHeaderedContentControl* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnHeaderedContentControl* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnHeaderedContentControl* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnHeaderedContentControl* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnHeaderedContentControl* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnHeaderedContentControl* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnHeaderedContentControl* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnHeaderedContentControl* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnHeaderedContentControl* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnHeaderedContentControl* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnHeaderedContentControl* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnHeaderedContentControl* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnHeaderedContentControl* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnHeaderedContentControl* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnHeaderedContentControl* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnHeaderedContentControl* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnHeaderedContentControl* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnHeaderedContentControl* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnHeaderedContentControl* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnHeaderedContentControl* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnHeaderedContentControl* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnHeaderedContentControl* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnHeaderedContentControl* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnHeaderedContentControl* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnHeaderedContentControl* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnHeaderedContentControl* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnHeaderedContentControl* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_content)(IAvnHeaderedContentControl* self, IAvnControl** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_content)(IAvnHeaderedContentControl* self, IAvnControl* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnHeaderedContentControl* self, IAvnDataTemplate** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnHeaderedContentControl* self, IAvnDataTemplate* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnHeaderedContentControl* self, int32_t* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnHeaderedContentControl* self, int32_t value); /* slot 108 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnHeaderedContentControl* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnHeaderedContentControl* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_header)(IAvnHeaderedContentControl* self, IAvnControl** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_header)(IAvnHeaderedContentControl* self, IAvnControl* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_header_template)(IAvnHeaderedContentControl* self, IAvnDataTemplate** value); /* slot 113 */ - AvnHResult (AVN_CALL *set_header_template)(IAvnHeaderedContentControl* self, IAvnDataTemplate* value); /* slot 114 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnHeaderedContentControl* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnHeaderedContentControl* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnHeaderedContentControl* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnHeaderedContentControl* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnHeaderedContentControl* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnHeaderedContentControl* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnHeaderedContentControl* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnHeaderedContentControl* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnHeaderedContentControl* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnHeaderedContentControl* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnHeaderedContentControl* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnHeaderedContentControl* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnHeaderedContentControl* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnHeaderedContentControl* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnHeaderedContentControl* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnHeaderedContentControl* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnHeaderedContentControl* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnHeaderedContentControl* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnHeaderedContentControl* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnHeaderedContentControl* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnHeaderedContentControl* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnHeaderedContentControl* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnHeaderedContentControl* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnHeaderedContentControl* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnHeaderedContentControl* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnHeaderedContentControl* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnHeaderedContentControl* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnHeaderedContentControl* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnHeaderedContentControl* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnHeaderedContentControl* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnHeaderedContentControl* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnHeaderedContentControl* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnHeaderedContentControl* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnHeaderedContentControl* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_content)(IAvnHeaderedContentControl* self, IAvnControl** value); /* slot 109 */ + AvnHResult (AVN_CALL *set_content)(IAvnHeaderedContentControl* self, IAvnControl* value); /* slot 110 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnHeaderedContentControl* self, IAvnDataTemplate** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnHeaderedContentControl* self, IAvnDataTemplate* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnHeaderedContentControl* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnHeaderedContentControl* self, int32_t value); /* slot 114 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnHeaderedContentControl* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnHeaderedContentControl* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_header)(IAvnHeaderedContentControl* self, IAvnControl** value); /* slot 117 */ + AvnHResult (AVN_CALL *set_header)(IAvnHeaderedContentControl* self, IAvnControl* value); /* slot 118 */ + AvnHResult (AVN_CALL *get_header_template)(IAvnHeaderedContentControl* self, IAvnDataTemplate** value); /* slot 119 */ + AvnHResult (AVN_CALL *set_header_template)(IAvnHeaderedContentControl* self, IAvnDataTemplate* value); /* slot 120 */ }; struct IAvnHeaderedContentControl { const IAvnHeaderedContentControlVtbl* vtbl; }; -#define I_AVN_HEADERED_CONTENT_CONTROL_VTABLE_SLOTS 115 +#define I_AVN_HEADERED_CONTENT_CONTROL_VTABLE_SLOTS 121 static const AvnGuid I_AVN_HEADERED_ITEMS_CONTROL_IID = { - 0xB6281359, - 0x24AB, - 0x5280, - { 0x8B, 0x2C, 0x76, 0x2A, 0x53, 0x52, 0x9C, 0x27 } + 0xD25B235E, + 0xD49F, + 0x55B2, + { 0xAD, 0xF8, 0x90, 0xA2, 0xBF, 0xCB, 0x96, 0xAB } }; -#define I_AVN_HEADERED_ITEMS_CONTROL_ABI_VERSION 13 +#define I_AVN_HEADERED_ITEMS_CONTROL_ABI_VERSION 14 struct IAvnHeaderedItemsControlVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnHeaderedItemsControl* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnHeaderedItemsControl* self); /* slot 1 */ @@ -6469,61 +6703,67 @@ struct IAvnHeaderedItemsControlVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnHeaderedItemsControl* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnHeaderedItemsControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnHeaderedItemsControl* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnHeaderedItemsControl* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnHeaderedItemsControl* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnHeaderedItemsControl* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnHeaderedItemsControl* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnHeaderedItemsControl* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnHeaderedItemsControl* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnHeaderedItemsControl* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnHeaderedItemsControl* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnHeaderedItemsControl* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnHeaderedItemsControl* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnHeaderedItemsControl* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnHeaderedItemsControl* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnHeaderedItemsControl* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnHeaderedItemsControl* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnHeaderedItemsControl* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnHeaderedItemsControl* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnHeaderedItemsControl* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnHeaderedItemsControl* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnHeaderedItemsControl* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnHeaderedItemsControl* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnHeaderedItemsControl* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnHeaderedItemsControl* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnHeaderedItemsControl* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnHeaderedItemsControl* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnHeaderedItemsControl* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnHeaderedItemsControl* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnHeaderedItemsControl* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnHeaderedItemsControl* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_items)(IAvnHeaderedItemsControl* self, IAvnItemList** value); /* slot 103 */ - AvnHResult (AVN_CALL *get_item_count)(IAvnHeaderedItemsControl* self, int32_t* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_items_source)(IAvnHeaderedItemsControl* self, IAvnVariantList** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_items_source)(IAvnHeaderedItemsControl* self, IAvnVariantList* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_item_template)(IAvnHeaderedItemsControl* self, IAvnDataTemplate** value); /* slot 107 */ - AvnHResult (AVN_CALL *set_item_template)(IAvnHeaderedItemsControl* self, IAvnDataTemplate* value); /* slot 108 */ - AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnHeaderedItemsControl* self, int32_t index, IAvnControl** value); /* slot 109 */ - AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnHeaderedItemsControl* self, AvnVariant item, IAvnControl** value); /* slot 110 */ - AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnHeaderedItemsControl* self, IAvnControl* container, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnHeaderedItemsControl* self, IAvnControl* container, AvnVariant* value); /* slot 112 */ - AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnHeaderedItemsControl* self, int32_t index); /* slot 113 */ - AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnHeaderedItemsControl* self, AvnVariant item); /* slot 114 */ - AvnHResult (AVN_CALL *get_header)(IAvnHeaderedItemsControl* self, IAvnControl** value); /* slot 115 */ - AvnHResult (AVN_CALL *set_header)(IAvnHeaderedItemsControl* self, IAvnControl* value); /* slot 116 */ - AvnHResult (AVN_CALL *get_header_template)(IAvnHeaderedItemsControl* self, IAvnDataTemplate** value); /* slot 117 */ - AvnHResult (AVN_CALL *set_header_template)(IAvnHeaderedItemsControl* self, IAvnDataTemplate* value); /* slot 118 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnHeaderedItemsControl* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnHeaderedItemsControl* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnHeaderedItemsControl* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnHeaderedItemsControl* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnHeaderedItemsControl* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnHeaderedItemsControl* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnHeaderedItemsControl* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnHeaderedItemsControl* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnHeaderedItemsControl* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnHeaderedItemsControl* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnHeaderedItemsControl* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnHeaderedItemsControl* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnHeaderedItemsControl* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnHeaderedItemsControl* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnHeaderedItemsControl* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnHeaderedItemsControl* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnHeaderedItemsControl* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnHeaderedItemsControl* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnHeaderedItemsControl* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnHeaderedItemsControl* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnHeaderedItemsControl* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnHeaderedItemsControl* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnHeaderedItemsControl* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnHeaderedItemsControl* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnHeaderedItemsControl* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnHeaderedItemsControl* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnHeaderedItemsControl* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnHeaderedItemsControl* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnHeaderedItemsControl* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnHeaderedItemsControl* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnHeaderedItemsControl* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnHeaderedItemsControl* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnHeaderedItemsControl* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnHeaderedItemsControl* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_items)(IAvnHeaderedItemsControl* self, IAvnItemList** value); /* slot 109 */ + AvnHResult (AVN_CALL *get_item_count)(IAvnHeaderedItemsControl* self, int32_t* value); /* slot 110 */ + AvnHResult (AVN_CALL *get_items_source)(IAvnHeaderedItemsControl* self, IAvnVariantList** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_items_source)(IAvnHeaderedItemsControl* self, IAvnVariantList* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_item_template)(IAvnHeaderedItemsControl* self, IAvnDataTemplate** value); /* slot 113 */ + AvnHResult (AVN_CALL *set_item_template)(IAvnHeaderedItemsControl* self, IAvnDataTemplate* value); /* slot 114 */ + AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnHeaderedItemsControl* self, int32_t index, IAvnControl** value); /* slot 115 */ + AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnHeaderedItemsControl* self, AvnVariant item, IAvnControl** value); /* slot 116 */ + AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnHeaderedItemsControl* self, IAvnControl* container, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnHeaderedItemsControl* self, IAvnControl* container, AvnVariant* value); /* slot 118 */ + AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnHeaderedItemsControl* self, int32_t index); /* slot 119 */ + AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnHeaderedItemsControl* self, AvnVariant item); /* slot 120 */ + AvnHResult (AVN_CALL *get_header)(IAvnHeaderedItemsControl* self, IAvnControl** value); /* slot 121 */ + AvnHResult (AVN_CALL *set_header)(IAvnHeaderedItemsControl* self, IAvnControl* value); /* slot 122 */ + AvnHResult (AVN_CALL *get_header_template)(IAvnHeaderedItemsControl* self, IAvnDataTemplate** value); /* slot 123 */ + AvnHResult (AVN_CALL *set_header_template)(IAvnHeaderedItemsControl* self, IAvnDataTemplate* value); /* slot 124 */ }; struct IAvnHeaderedItemsControl { const IAvnHeaderedItemsControlVtbl* vtbl; }; -#define I_AVN_HEADERED_ITEMS_CONTROL_VTABLE_SLOTS 119 +#define I_AVN_HEADERED_ITEMS_CONTROL_VTABLE_SLOTS 125 static const AvnGuid I_AVN_HEADERED_SELECTING_ITEMS_CONTROL_IID = { - 0x8640C1BF, - 0x2502, - 0x5E21, - { 0xB8, 0x61, 0x1E, 0xCB, 0xD1, 0x91, 0x8F, 0xD1 } + 0xBA5CD52E, + 0xECDF, + 0x5379, + { 0xAC, 0x86, 0x58, 0x97, 0xFA, 0x85, 0x3C, 0x60 } }; -#define I_AVN_HEADERED_SELECTING_ITEMS_CONTROL_ABI_VERSION 13 +#define I_AVN_HEADERED_SELECTING_ITEMS_CONTROL_ABI_VERSION 14 struct IAvnHeaderedSelectingItemsControlVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnHeaderedSelectingItemsControl* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnHeaderedSelectingItemsControl* self); /* slot 1 */ @@ -6600,75 +6840,81 @@ struct IAvnHeaderedSelectingItemsControlVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnHeaderedSelectingItemsControl* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnHeaderedSelectingItemsControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnHeaderedSelectingItemsControl* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnHeaderedSelectingItemsControl* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnHeaderedSelectingItemsControl* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnHeaderedSelectingItemsControl* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnHeaderedSelectingItemsControl* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnHeaderedSelectingItemsControl* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnHeaderedSelectingItemsControl* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnHeaderedSelectingItemsControl* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnHeaderedSelectingItemsControl* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnHeaderedSelectingItemsControl* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnHeaderedSelectingItemsControl* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnHeaderedSelectingItemsControl* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnHeaderedSelectingItemsControl* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnHeaderedSelectingItemsControl* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnHeaderedSelectingItemsControl* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnHeaderedSelectingItemsControl* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnHeaderedSelectingItemsControl* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnHeaderedSelectingItemsControl* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnHeaderedSelectingItemsControl* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnHeaderedSelectingItemsControl* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnHeaderedSelectingItemsControl* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnHeaderedSelectingItemsControl* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnHeaderedSelectingItemsControl* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnHeaderedSelectingItemsControl* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnHeaderedSelectingItemsControl* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_items)(IAvnHeaderedSelectingItemsControl* self, IAvnItemList** value); /* slot 103 */ - AvnHResult (AVN_CALL *get_item_count)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_items_source)(IAvnHeaderedSelectingItemsControl* self, IAvnVariantList** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_items_source)(IAvnHeaderedSelectingItemsControl* self, IAvnVariantList* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_item_template)(IAvnHeaderedSelectingItemsControl* self, IAvnDataTemplate** value); /* slot 107 */ - AvnHResult (AVN_CALL *set_item_template)(IAvnHeaderedSelectingItemsControl* self, IAvnDataTemplate* value); /* slot 108 */ - AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnHeaderedSelectingItemsControl* self, int32_t index, IAvnControl** value); /* slot 109 */ - AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnHeaderedSelectingItemsControl* self, AvnVariant item, IAvnControl** value); /* slot 110 */ - AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnHeaderedSelectingItemsControl* self, IAvnControl* container, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnHeaderedSelectingItemsControl* self, IAvnControl* container, AvnVariant* value); /* slot 112 */ - AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnHeaderedSelectingItemsControl* self, int32_t index); /* slot 113 */ - AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnHeaderedSelectingItemsControl* self, AvnVariant item); /* slot 114 */ - AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnHeaderedSelectingItemsControl* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_selected_index)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_selected_index)(IAvnHeaderedSelectingItemsControl* self, int32_t value); /* slot 118 */ - AvnHResult (AVN_CALL *get_selected_item)(IAvnHeaderedSelectingItemsControl* self, AvnVariant* value); /* slot 119 */ - AvnHResult (AVN_CALL *set_selected_item)(IAvnHeaderedSelectingItemsControl* self, AvnVariant value); /* slot 120 */ - AvnHResult (AVN_CALL *get_selected_value)(IAvnHeaderedSelectingItemsControl* self, AvnVariant* value); /* slot 121 */ - AvnHResult (AVN_CALL *set_selected_value)(IAvnHeaderedSelectingItemsControl* self, AvnVariant value); /* slot 122 */ - AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnHeaderedSelectingItemsControl* self, int32_t value); /* slot 124 */ - AvnHResult (AVN_CALL *get_wrap_selection)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 125 */ - AvnHResult (AVN_CALL *set_wrap_selection)(IAvnHeaderedSelectingItemsControl* self, int32_t value); /* slot 126 */ - AvnHResult (AVN_CALL *advise_selection_changed)(IAvnHeaderedSelectingItemsControl* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 127 */ - AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnHeaderedSelectingItemsControl* self, int64_t subscription_id); /* slot 128 */ - AvnHResult (AVN_CALL *get_header)(IAvnHeaderedSelectingItemsControl* self, IAvnControl** value); /* slot 129 */ - AvnHResult (AVN_CALL *set_header)(IAvnHeaderedSelectingItemsControl* self, IAvnControl* value); /* slot 130 */ - AvnHResult (AVN_CALL *get_header_template)(IAvnHeaderedSelectingItemsControl* self, IAvnDataTemplate** value); /* slot 131 */ - AvnHResult (AVN_CALL *set_header_template)(IAvnHeaderedSelectingItemsControl* self, IAvnDataTemplate* value); /* slot 132 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnHeaderedSelectingItemsControl* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnHeaderedSelectingItemsControl* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnHeaderedSelectingItemsControl* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnHeaderedSelectingItemsControl* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnHeaderedSelectingItemsControl* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnHeaderedSelectingItemsControl* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnHeaderedSelectingItemsControl* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnHeaderedSelectingItemsControl* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnHeaderedSelectingItemsControl* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnHeaderedSelectingItemsControl* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnHeaderedSelectingItemsControl* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnHeaderedSelectingItemsControl* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnHeaderedSelectingItemsControl* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnHeaderedSelectingItemsControl* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnHeaderedSelectingItemsControl* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnHeaderedSelectingItemsControl* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnHeaderedSelectingItemsControl* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnHeaderedSelectingItemsControl* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnHeaderedSelectingItemsControl* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnHeaderedSelectingItemsControl* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnHeaderedSelectingItemsControl* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnHeaderedSelectingItemsControl* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnHeaderedSelectingItemsControl* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnHeaderedSelectingItemsControl* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnHeaderedSelectingItemsControl* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnHeaderedSelectingItemsControl* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnHeaderedSelectingItemsControl* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnHeaderedSelectingItemsControl* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnHeaderedSelectingItemsControl* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnHeaderedSelectingItemsControl* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_items)(IAvnHeaderedSelectingItemsControl* self, IAvnItemList** value); /* slot 109 */ + AvnHResult (AVN_CALL *get_item_count)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 110 */ + AvnHResult (AVN_CALL *get_items_source)(IAvnHeaderedSelectingItemsControl* self, IAvnVariantList** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_items_source)(IAvnHeaderedSelectingItemsControl* self, IAvnVariantList* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_item_template)(IAvnHeaderedSelectingItemsControl* self, IAvnDataTemplate** value); /* slot 113 */ + AvnHResult (AVN_CALL *set_item_template)(IAvnHeaderedSelectingItemsControl* self, IAvnDataTemplate* value); /* slot 114 */ + AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnHeaderedSelectingItemsControl* self, int32_t index, IAvnControl** value); /* slot 115 */ + AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnHeaderedSelectingItemsControl* self, AvnVariant item, IAvnControl** value); /* slot 116 */ + AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnHeaderedSelectingItemsControl* self, IAvnControl* container, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnHeaderedSelectingItemsControl* self, IAvnControl* container, AvnVariant* value); /* slot 118 */ + AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnHeaderedSelectingItemsControl* self, int32_t index); /* slot 119 */ + AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnHeaderedSelectingItemsControl* self, AvnVariant item); /* slot 120 */ + AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 121 */ + AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnHeaderedSelectingItemsControl* self, int32_t value); /* slot 122 */ + AvnHResult (AVN_CALL *get_selected_index)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 123 */ + AvnHResult (AVN_CALL *set_selected_index)(IAvnHeaderedSelectingItemsControl* self, int32_t value); /* slot 124 */ + AvnHResult (AVN_CALL *get_selected_item)(IAvnHeaderedSelectingItemsControl* self, AvnVariant* value); /* slot 125 */ + AvnHResult (AVN_CALL *set_selected_item)(IAvnHeaderedSelectingItemsControl* self, AvnVariant value); /* slot 126 */ + AvnHResult (AVN_CALL *get_selected_value)(IAvnHeaderedSelectingItemsControl* self, AvnVariant* value); /* slot 127 */ + AvnHResult (AVN_CALL *set_selected_value)(IAvnHeaderedSelectingItemsControl* self, AvnVariant value); /* slot 128 */ + AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 129 */ + AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnHeaderedSelectingItemsControl* self, int32_t value); /* slot 130 */ + AvnHResult (AVN_CALL *get_wrap_selection)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 131 */ + AvnHResult (AVN_CALL *set_wrap_selection)(IAvnHeaderedSelectingItemsControl* self, int32_t value); /* slot 132 */ + AvnHResult (AVN_CALL *advise_selection_changed)(IAvnHeaderedSelectingItemsControl* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 133 */ + AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnHeaderedSelectingItemsControl* self, int64_t subscription_id); /* slot 134 */ + AvnHResult (AVN_CALL *get_header)(IAvnHeaderedSelectingItemsControl* self, IAvnControl** value); /* slot 135 */ + AvnHResult (AVN_CALL *set_header)(IAvnHeaderedSelectingItemsControl* self, IAvnControl* value); /* slot 136 */ + AvnHResult (AVN_CALL *get_header_template)(IAvnHeaderedSelectingItemsControl* self, IAvnDataTemplate** value); /* slot 137 */ + AvnHResult (AVN_CALL *set_header_template)(IAvnHeaderedSelectingItemsControl* self, IAvnDataTemplate* value); /* slot 138 */ }; struct IAvnHeaderedSelectingItemsControl { const IAvnHeaderedSelectingItemsControlVtbl* vtbl; }; -#define I_AVN_HEADERED_SELECTING_ITEMS_CONTROL_VTABLE_SLOTS 133 +#define I_AVN_HEADERED_SELECTING_ITEMS_CONTROL_VTABLE_SLOTS 139 static const AvnGuid I_AVN_HYPERLINK_BUTTON_IID = { - 0xCCCE2078, - 0xE616, - 0x51A8, - { 0xA5, 0x5F, 0x77, 0xD3, 0x16, 0xF2, 0xC9, 0xAB } + 0x59F93515, + 0x012E, + 0x5F89, + { 0x99, 0x98, 0x87, 0xE5, 0x94, 0x70, 0x34, 0xC1 } }; -#define I_AVN_HYPERLINK_BUTTON_ABI_VERSION 12 +#define I_AVN_HYPERLINK_BUTTON_ABI_VERSION 13 struct IAvnHyperlinkButtonVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnHyperlinkButton* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnHyperlinkButton* self); /* slot 1 */ @@ -6745,74 +6991,80 @@ struct IAvnHyperlinkButtonVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnHyperlinkButton* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnHyperlinkButton* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnHyperlinkButton* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnHyperlinkButton* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnHyperlinkButton* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnHyperlinkButton* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnHyperlinkButton* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnHyperlinkButton* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnHyperlinkButton* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnHyperlinkButton* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnHyperlinkButton* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnHyperlinkButton* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnHyperlinkButton* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnHyperlinkButton* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnHyperlinkButton* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnHyperlinkButton* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnHyperlinkButton* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnHyperlinkButton* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnHyperlinkButton* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnHyperlinkButton* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnHyperlinkButton* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnHyperlinkButton* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnHyperlinkButton* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnHyperlinkButton* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnHyperlinkButton* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnHyperlinkButton* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnHyperlinkButton* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnHyperlinkButton* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnHyperlinkButton* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnHyperlinkButton* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnHyperlinkButton* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_content)(IAvnHyperlinkButton* self, IAvnControl** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_content)(IAvnHyperlinkButton* self, IAvnControl* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnHyperlinkButton* self, IAvnDataTemplate** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnHyperlinkButton* self, IAvnDataTemplate* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnHyperlinkButton* self, int32_t* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnHyperlinkButton* self, int32_t value); /* slot 108 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnHyperlinkButton* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnHyperlinkButton* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_click_mode)(IAvnHyperlinkButton* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_click_mode)(IAvnHyperlinkButton* self, int32_t value); /* slot 112 */ - AvnHResult (AVN_CALL *get_command)(IAvnHyperlinkButton* self, IAvnCommand** value); /* slot 113 */ - AvnHResult (AVN_CALL *set_command)(IAvnHyperlinkButton* self, IAvnCommand* value); /* slot 114 */ - AvnHResult (AVN_CALL *get_hot_key)(IAvnHyperlinkButton* self, uint16_t** value); /* slot 115 */ - AvnHResult (AVN_CALL *set_hot_key)(IAvnHyperlinkButton* self, const uint16_t* value); /* slot 116 */ - AvnHResult (AVN_CALL *get_command_parameter)(IAvnHyperlinkButton* self, AvnVariant* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_command_parameter)(IAvnHyperlinkButton* self, AvnVariant value); /* slot 118 */ - AvnHResult (AVN_CALL *get_is_default)(IAvnHyperlinkButton* self, int32_t* value); /* slot 119 */ - AvnHResult (AVN_CALL *set_is_default)(IAvnHyperlinkButton* self, int32_t value); /* slot 120 */ - AvnHResult (AVN_CALL *get_is_cancel)(IAvnHyperlinkButton* self, int32_t* value); /* slot 121 */ - AvnHResult (AVN_CALL *set_is_cancel)(IAvnHyperlinkButton* self, int32_t value); /* slot 122 */ - AvnHResult (AVN_CALL *get_is_pressed)(IAvnHyperlinkButton* self, int32_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *get_flyout)(IAvnHyperlinkButton* self, IAvnFlyoutBase** value); /* slot 124 */ - AvnHResult (AVN_CALL *set_flyout)(IAvnHyperlinkButton* self, IAvnFlyoutBase* value); /* slot 125 */ - AvnHResult (AVN_CALL *advise_click)(IAvnHyperlinkButton* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 126 */ - AvnHResult (AVN_CALL *unadvise_click)(IAvnHyperlinkButton* self, int64_t subscription_id); /* slot 127 */ - AvnHResult (AVN_CALL *get_is_visited)(IAvnHyperlinkButton* self, int32_t* value); /* slot 128 */ - AvnHResult (AVN_CALL *set_is_visited)(IAvnHyperlinkButton* self, int32_t value); /* slot 129 */ - AvnHResult (AVN_CALL *get_navigate_uri)(IAvnHyperlinkButton* self, uint16_t** value); /* slot 130 */ - AvnHResult (AVN_CALL *set_navigate_uri)(IAvnHyperlinkButton* self, const uint16_t* value); /* slot 131 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnHyperlinkButton* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnHyperlinkButton* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnHyperlinkButton* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnHyperlinkButton* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnHyperlinkButton* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnHyperlinkButton* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnHyperlinkButton* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnHyperlinkButton* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnHyperlinkButton* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnHyperlinkButton* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnHyperlinkButton* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnHyperlinkButton* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnHyperlinkButton* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnHyperlinkButton* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnHyperlinkButton* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnHyperlinkButton* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnHyperlinkButton* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnHyperlinkButton* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnHyperlinkButton* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnHyperlinkButton* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnHyperlinkButton* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnHyperlinkButton* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnHyperlinkButton* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnHyperlinkButton* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnHyperlinkButton* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnHyperlinkButton* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnHyperlinkButton* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnHyperlinkButton* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnHyperlinkButton* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnHyperlinkButton* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnHyperlinkButton* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnHyperlinkButton* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnHyperlinkButton* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnHyperlinkButton* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_content)(IAvnHyperlinkButton* self, IAvnControl** value); /* slot 109 */ + AvnHResult (AVN_CALL *set_content)(IAvnHyperlinkButton* self, IAvnControl* value); /* slot 110 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnHyperlinkButton* self, IAvnDataTemplate** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnHyperlinkButton* self, IAvnDataTemplate* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnHyperlinkButton* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnHyperlinkButton* self, int32_t value); /* slot 114 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnHyperlinkButton* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnHyperlinkButton* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_click_mode)(IAvnHyperlinkButton* self, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_click_mode)(IAvnHyperlinkButton* self, int32_t value); /* slot 118 */ + AvnHResult (AVN_CALL *get_command)(IAvnHyperlinkButton* self, IAvnCommand** value); /* slot 119 */ + AvnHResult (AVN_CALL *set_command)(IAvnHyperlinkButton* self, IAvnCommand* value); /* slot 120 */ + AvnHResult (AVN_CALL *get_hot_key)(IAvnHyperlinkButton* self, uint16_t** value); /* slot 121 */ + AvnHResult (AVN_CALL *set_hot_key)(IAvnHyperlinkButton* self, const uint16_t* value); /* slot 122 */ + AvnHResult (AVN_CALL *get_command_parameter)(IAvnHyperlinkButton* self, AvnVariant* value); /* slot 123 */ + AvnHResult (AVN_CALL *set_command_parameter)(IAvnHyperlinkButton* self, AvnVariant value); /* slot 124 */ + AvnHResult (AVN_CALL *get_is_default)(IAvnHyperlinkButton* self, int32_t* value); /* slot 125 */ + AvnHResult (AVN_CALL *set_is_default)(IAvnHyperlinkButton* self, int32_t value); /* slot 126 */ + AvnHResult (AVN_CALL *get_is_cancel)(IAvnHyperlinkButton* self, int32_t* value); /* slot 127 */ + AvnHResult (AVN_CALL *set_is_cancel)(IAvnHyperlinkButton* self, int32_t value); /* slot 128 */ + AvnHResult (AVN_CALL *get_is_pressed)(IAvnHyperlinkButton* self, int32_t* value); /* slot 129 */ + AvnHResult (AVN_CALL *get_flyout)(IAvnHyperlinkButton* self, IAvnFlyoutBase** value); /* slot 130 */ + AvnHResult (AVN_CALL *set_flyout)(IAvnHyperlinkButton* self, IAvnFlyoutBase* value); /* slot 131 */ + AvnHResult (AVN_CALL *advise_click)(IAvnHyperlinkButton* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 132 */ + AvnHResult (AVN_CALL *unadvise_click)(IAvnHyperlinkButton* self, int64_t subscription_id); /* slot 133 */ + AvnHResult (AVN_CALL *get_is_visited)(IAvnHyperlinkButton* self, int32_t* value); /* slot 134 */ + AvnHResult (AVN_CALL *set_is_visited)(IAvnHyperlinkButton* self, int32_t value); /* slot 135 */ + AvnHResult (AVN_CALL *get_navigate_uri)(IAvnHyperlinkButton* self, uint16_t** value); /* slot 136 */ + AvnHResult (AVN_CALL *set_navigate_uri)(IAvnHyperlinkButton* self, const uint16_t* value); /* slot 137 */ }; struct IAvnHyperlinkButton { const IAvnHyperlinkButtonVtbl* vtbl; }; -#define I_AVN_HYPERLINK_BUTTON_VTABLE_SLOTS 132 +#define I_AVN_HYPERLINK_BUTTON_VTABLE_SLOTS 138 static const AvnGuid I_AVN_ICON_ELEMENT_IID = { - 0x0A1BCD24, - 0x9DC9, - 0x55DB, - { 0xB2, 0xAA, 0x93, 0x00, 0x41, 0x18, 0x5E, 0x3B } + 0x21137537, + 0x05A7, + 0x5CD9, + { 0x8F, 0xED, 0x59, 0xDA, 0xCA, 0x08, 0x64, 0x07 } }; -#define I_AVN_ICON_ELEMENT_ABI_VERSION 10 +#define I_AVN_ICON_ELEMENT_ABI_VERSION 11 struct IAvnIconElementVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnIconElement* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnIconElement* self); /* slot 1 */ @@ -6889,45 +7141,51 @@ struct IAvnIconElementVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnIconElement* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnIconElement* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnIconElement* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnIconElement* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnIconElement* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnIconElement* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnIconElement* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnIconElement* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnIconElement* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnIconElement* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnIconElement* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnIconElement* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnIconElement* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnIconElement* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnIconElement* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnIconElement* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnIconElement* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnIconElement* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnIconElement* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnIconElement* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnIconElement* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnIconElement* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnIconElement* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnIconElement* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnIconElement* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnIconElement* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnIconElement* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnIconElement* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnIconElement* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnIconElement* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnIconElement* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnIconElement* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnIconElement* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnIconElement* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnIconElement* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnIconElement* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnIconElement* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnIconElement* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnIconElement* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnIconElement* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnIconElement* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnIconElement* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnIconElement* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnIconElement* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnIconElement* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnIconElement* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnIconElement* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnIconElement* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnIconElement* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnIconElement* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnIconElement* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnIconElement* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnIconElement* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnIconElement* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnIconElement* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnIconElement* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnIconElement* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnIconElement* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnIconElement* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnIconElement* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnIconElement* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnIconElement* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnIconElement* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnIconElement* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnIconElement* self, AvnThickness value); /* slot 108 */ }; struct IAvnIconElement { const IAvnIconElementVtbl* vtbl; }; -#define I_AVN_ICON_ELEMENT_VTABLE_SLOTS 103 +#define I_AVN_ICON_ELEMENT_VTABLE_SLOTS 109 static const AvnGuid I_AVN_IMAGE_IID = { - 0x4A556F2B, - 0x827F, - 0x5748, - { 0xB7, 0xCD, 0xC4, 0x84, 0x52, 0x72, 0x7A, 0x29 } + 0x9CBC9E3A, + 0x098A, + 0x51D7, + { 0x96, 0x47, 0xE2, 0x06, 0x15, 0x05, 0x82, 0x87 } }; -#define I_AVN_IMAGE_ABI_VERSION 9 +#define I_AVN_IMAGE_ABI_VERSION 10 struct IAvnImageVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnImage* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnImage* self); /* slot 1 */ @@ -7004,25 +7262,31 @@ struct IAvnImageVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnImage* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnImage* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnImage* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_source)(IAvnImage* self, uint16_t** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_source)(IAvnImage* self, const uint16_t* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_blend_mode)(IAvnImage* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_blend_mode)(IAvnImage* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_stretch)(IAvnImage* self, int32_t* value); /* slot 79 */ - AvnHResult (AVN_CALL *set_stretch)(IAvnImage* self, int32_t value); /* slot 80 */ - AvnHResult (AVN_CALL *get_stretch_direction)(IAvnImage* self, int32_t* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_stretch_direction)(IAvnImage* self, int32_t value); /* slot 82 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnImage* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnImage* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnImage* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnImage* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnImage* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnImage* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_source)(IAvnImage* self, uint16_t** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_source)(IAvnImage* self, const uint16_t* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_blend_mode)(IAvnImage* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_blend_mode)(IAvnImage* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_stretch)(IAvnImage* self, int32_t* value); /* slot 85 */ + AvnHResult (AVN_CALL *set_stretch)(IAvnImage* self, int32_t value); /* slot 86 */ + AvnHResult (AVN_CALL *get_stretch_direction)(IAvnImage* self, int32_t* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_stretch_direction)(IAvnImage* self, int32_t value); /* slot 88 */ }; struct IAvnImage { const IAvnImageVtbl* vtbl; }; -#define I_AVN_IMAGE_VTABLE_SLOTS 83 +#define I_AVN_IMAGE_VTABLE_SLOTS 89 static const AvnGuid I_AVN_ITEMS_CONTROL_IID = { - 0xB656735C, - 0xEECA, - 0x50CC, - { 0xA8, 0x7D, 0xB4, 0x36, 0x2F, 0x7E, 0x04, 0x5A } + 0x45705E13, + 0xA906, + 0x50E2, + { 0xA0, 0xD8, 0xDC, 0xC2, 0x05, 0x85, 0xFD, 0xA6 } }; -#define I_AVN_ITEMS_CONTROL_ABI_VERSION 16 +#define I_AVN_ITEMS_CONTROL_ABI_VERSION 17 struct IAvnItemsControlVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnItemsControl* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnItemsControl* self); /* slot 1 */ @@ -7099,57 +7363,63 @@ struct IAvnItemsControlVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnItemsControl* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnItemsControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnItemsControl* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnItemsControl* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnItemsControl* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnItemsControl* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnItemsControl* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnItemsControl* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnItemsControl* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnItemsControl* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnItemsControl* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnItemsControl* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnItemsControl* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnItemsControl* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnItemsControl* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnItemsControl* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnItemsControl* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnItemsControl* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnItemsControl* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnItemsControl* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnItemsControl* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnItemsControl* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnItemsControl* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnItemsControl* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnItemsControl* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnItemsControl* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnItemsControl* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnItemsControl* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnItemsControl* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnItemsControl* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnItemsControl* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_items)(IAvnItemsControl* self, IAvnItemList** value); /* slot 103 */ - AvnHResult (AVN_CALL *get_item_count)(IAvnItemsControl* self, int32_t* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_items_source)(IAvnItemsControl* self, IAvnVariantList** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_items_source)(IAvnItemsControl* self, IAvnVariantList* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_item_template)(IAvnItemsControl* self, IAvnDataTemplate** value); /* slot 107 */ - AvnHResult (AVN_CALL *set_item_template)(IAvnItemsControl* self, IAvnDataTemplate* value); /* slot 108 */ - AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnItemsControl* self, int32_t index, IAvnControl** value); /* slot 109 */ - AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnItemsControl* self, AvnVariant item, IAvnControl** value); /* slot 110 */ - AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnItemsControl* self, IAvnControl* container, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnItemsControl* self, IAvnControl* container, AvnVariant* value); /* slot 112 */ - AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnItemsControl* self, int32_t index); /* slot 113 */ - AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnItemsControl* self, AvnVariant item); /* slot 114 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnItemsControl* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnItemsControl* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnItemsControl* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnItemsControl* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnItemsControl* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnItemsControl* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnItemsControl* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnItemsControl* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnItemsControl* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnItemsControl* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnItemsControl* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnItemsControl* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnItemsControl* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnItemsControl* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnItemsControl* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnItemsControl* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnItemsControl* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnItemsControl* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnItemsControl* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnItemsControl* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnItemsControl* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnItemsControl* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnItemsControl* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnItemsControl* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnItemsControl* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnItemsControl* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnItemsControl* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnItemsControl* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnItemsControl* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnItemsControl* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnItemsControl* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnItemsControl* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnItemsControl* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnItemsControl* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_items)(IAvnItemsControl* self, IAvnItemList** value); /* slot 109 */ + AvnHResult (AVN_CALL *get_item_count)(IAvnItemsControl* self, int32_t* value); /* slot 110 */ + AvnHResult (AVN_CALL *get_items_source)(IAvnItemsControl* self, IAvnVariantList** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_items_source)(IAvnItemsControl* self, IAvnVariantList* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_item_template)(IAvnItemsControl* self, IAvnDataTemplate** value); /* slot 113 */ + AvnHResult (AVN_CALL *set_item_template)(IAvnItemsControl* self, IAvnDataTemplate* value); /* slot 114 */ + AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnItemsControl* self, int32_t index, IAvnControl** value); /* slot 115 */ + AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnItemsControl* self, AvnVariant item, IAvnControl** value); /* slot 116 */ + AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnItemsControl* self, IAvnControl* container, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnItemsControl* self, IAvnControl* container, AvnVariant* value); /* slot 118 */ + AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnItemsControl* self, int32_t index); /* slot 119 */ + AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnItemsControl* self, AvnVariant item); /* slot 120 */ }; struct IAvnItemsControl { const IAvnItemsControlVtbl* vtbl; }; -#define I_AVN_ITEMS_CONTROL_VTABLE_SLOTS 115 +#define I_AVN_ITEMS_CONTROL_VTABLE_SLOTS 121 static const AvnGuid I_AVN_LABEL_IID = { - 0xA1ACC10D, - 0x5788, - 0x5CFF, - { 0x9D, 0x99, 0x79, 0x87, 0x70, 0x89, 0x8E, 0x14 } + 0x73C1CCE5, + 0x8DB6, + 0x5A69, + { 0xB8, 0xFB, 0xAC, 0x63, 0x95, 0x28, 0xAE, 0x72 } }; -#define I_AVN_LABEL_ABI_VERSION 11 +#define I_AVN_LABEL_ABI_VERSION 12 struct IAvnLabelVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnLabel* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnLabel* self); /* slot 1 */ @@ -7226,55 +7496,61 @@ struct IAvnLabelVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnLabel* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnLabel* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnLabel* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnLabel* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnLabel* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnLabel* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnLabel* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnLabel* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnLabel* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnLabel* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnLabel* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnLabel* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnLabel* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnLabel* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnLabel* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnLabel* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnLabel* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnLabel* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnLabel* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnLabel* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnLabel* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnLabel* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnLabel* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnLabel* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnLabel* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnLabel* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnLabel* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnLabel* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnLabel* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnLabel* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnLabel* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_content)(IAvnLabel* self, IAvnControl** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_content)(IAvnLabel* self, IAvnControl* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnLabel* self, IAvnDataTemplate** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnLabel* self, IAvnDataTemplate* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnLabel* self, int32_t* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnLabel* self, int32_t value); /* slot 108 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnLabel* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnLabel* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_target)(IAvnLabel* self, IAvnControl** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_target)(IAvnLabel* self, IAvnControl* value); /* slot 112 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnLabel* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnLabel* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnLabel* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnLabel* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnLabel* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnLabel* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnLabel* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnLabel* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnLabel* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnLabel* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnLabel* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnLabel* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnLabel* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnLabel* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnLabel* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnLabel* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnLabel* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnLabel* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnLabel* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnLabel* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnLabel* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnLabel* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnLabel* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnLabel* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnLabel* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnLabel* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnLabel* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnLabel* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnLabel* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnLabel* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnLabel* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnLabel* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnLabel* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnLabel* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_content)(IAvnLabel* self, IAvnControl** value); /* slot 109 */ + AvnHResult (AVN_CALL *set_content)(IAvnLabel* self, IAvnControl* value); /* slot 110 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnLabel* self, IAvnDataTemplate** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnLabel* self, IAvnDataTemplate* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnLabel* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnLabel* self, int32_t value); /* slot 114 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnLabel* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnLabel* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_target)(IAvnLabel* self, IAvnControl** value); /* slot 117 */ + AvnHResult (AVN_CALL *set_target)(IAvnLabel* self, IAvnControl* value); /* slot 118 */ }; struct IAvnLabel { const IAvnLabelVtbl* vtbl; }; -#define I_AVN_LABEL_VTABLE_SLOTS 113 +#define I_AVN_LABEL_VTABLE_SLOTS 119 static const AvnGuid I_AVN_LAYOUT_TRANSFORM_CONTROL_IID = { - 0x5295C33E, - 0x5E49, - 0x5425, - { 0xB0, 0x6D, 0xD0, 0xA3, 0x7D, 0x4A, 0xAE, 0x68 } + 0x4CF77BF7, + 0x4ED9, + 0x59F6, + { 0x98, 0xC0, 0xAE, 0x96, 0x82, 0xB3, 0xAD, 0xFE } }; -#define I_AVN_LAYOUT_TRANSFORM_CONTROL_ABI_VERSION 9 +#define I_AVN_LAYOUT_TRANSFORM_CONTROL_ABI_VERSION 10 struct IAvnLayoutTransformControlVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnLayoutTransformControl* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnLayoutTransformControl* self); /* slot 1 */ @@ -7351,23 +7627,29 @@ struct IAvnLayoutTransformControlVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnLayoutTransformControl* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnLayoutTransformControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnLayoutTransformControl* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_child)(IAvnLayoutTransformControl* self, IAvnControl** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_child)(IAvnLayoutTransformControl* self, IAvnControl* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_padding)(IAvnLayoutTransformControl* self, AvnThickness* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_padding)(IAvnLayoutTransformControl* self, AvnThickness value); /* slot 78 */ - AvnHResult (AVN_CALL *get_use_render_transform)(IAvnLayoutTransformControl* self, int32_t* value); /* slot 79 */ - AvnHResult (AVN_CALL *set_use_render_transform)(IAvnLayoutTransformControl* self, int32_t value); /* slot 80 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnLayoutTransformControl* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnLayoutTransformControl* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnLayoutTransformControl* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnLayoutTransformControl* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnLayoutTransformControl* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnLayoutTransformControl* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_child)(IAvnLayoutTransformControl* self, IAvnControl** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_child)(IAvnLayoutTransformControl* self, IAvnControl* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_padding)(IAvnLayoutTransformControl* self, AvnThickness* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_padding)(IAvnLayoutTransformControl* self, AvnThickness value); /* slot 84 */ + AvnHResult (AVN_CALL *get_use_render_transform)(IAvnLayoutTransformControl* self, int32_t* value); /* slot 85 */ + AvnHResult (AVN_CALL *set_use_render_transform)(IAvnLayoutTransformControl* self, int32_t value); /* slot 86 */ }; struct IAvnLayoutTransformControl { const IAvnLayoutTransformControlVtbl* vtbl; }; -#define I_AVN_LAYOUT_TRANSFORM_CONTROL_VTABLE_SLOTS 81 +#define I_AVN_LAYOUT_TRANSFORM_CONTROL_VTABLE_SLOTS 87 static const AvnGuid I_AVN_LINE_IID = { - 0x12A0F43A, - 0x9EAB, - 0x5F5B, - { 0x96, 0xEF, 0xD9, 0x1E, 0x25, 0xF3, 0x1B, 0x78 } + 0xC3F76A13, + 0x4998, + 0x5B6B, + { 0xAD, 0x06, 0xEF, 0xB5, 0xE4, 0xB9, 0xEC, 0x61 } }; -#define I_AVN_LINE_ABI_VERSION 9 +#define I_AVN_LINE_ABI_VERSION 10 struct IAvnLineVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnLine* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnLine* self); /* slot 1 */ @@ -7444,39 +7726,45 @@ struct IAvnLineVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnLine* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnLine* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnLine* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_fill)(IAvnLine* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_fill)(IAvnLine* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_stretch)(IAvnLine* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_stretch)(IAvnLine* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_stroke)(IAvnLine* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_stroke)(IAvnLine* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_stroke_dash_array)(IAvnLine* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_stroke_dash_array)(IAvnLine* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_stroke_dash_offset)(IAvnLine* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_stroke_dash_offset)(IAvnLine* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_stroke_thickness)(IAvnLine* self, double* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_stroke_thickness)(IAvnLine* self, double value); /* slot 86 */ - AvnHResult (AVN_CALL *get_stroke_line_cap)(IAvnLine* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_stroke_line_cap)(IAvnLine* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_stroke_join)(IAvnLine* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_stroke_join)(IAvnLine* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_stroke_miter_limit)(IAvnLine* self, double* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_stroke_miter_limit)(IAvnLine* self, double value); /* slot 92 */ - AvnHResult (AVN_CALL *get_start_point)(IAvnLine* self, AvnPoint* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_start_point)(IAvnLine* self, AvnPoint value); /* slot 94 */ - AvnHResult (AVN_CALL *get_end_point)(IAvnLine* self, AvnPoint* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_end_point)(IAvnLine* self, AvnPoint value); /* slot 96 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnLine* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnLine* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnLine* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnLine* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnLine* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnLine* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_fill)(IAvnLine* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_fill)(IAvnLine* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_stretch)(IAvnLine* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_stretch)(IAvnLine* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_stroke)(IAvnLine* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_stroke)(IAvnLine* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_stroke_dash_array)(IAvnLine* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_stroke_dash_array)(IAvnLine* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_stroke_dash_offset)(IAvnLine* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_stroke_dash_offset)(IAvnLine* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_stroke_thickness)(IAvnLine* self, double* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_stroke_thickness)(IAvnLine* self, double value); /* slot 92 */ + AvnHResult (AVN_CALL *get_stroke_line_cap)(IAvnLine* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_stroke_line_cap)(IAvnLine* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_stroke_join)(IAvnLine* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_stroke_join)(IAvnLine* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_stroke_miter_limit)(IAvnLine* self, double* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_stroke_miter_limit)(IAvnLine* self, double value); /* slot 98 */ + AvnHResult (AVN_CALL *get_start_point)(IAvnLine* self, AvnPoint* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_start_point)(IAvnLine* self, AvnPoint value); /* slot 100 */ + AvnHResult (AVN_CALL *get_end_point)(IAvnLine* self, AvnPoint* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_end_point)(IAvnLine* self, AvnPoint value); /* slot 102 */ }; struct IAvnLine { const IAvnLineVtbl* vtbl; }; -#define I_AVN_LINE_VTABLE_SLOTS 97 +#define I_AVN_LINE_VTABLE_SLOTS 103 static const AvnGuid I_AVN_LIST_BOX_IID = { - 0x6D07BC84, - 0xD7C4, - 0x5226, - { 0xA6, 0x9E, 0xAA, 0xF3, 0xEE, 0x16, 0x63, 0xA9 } + 0xC45989AF, + 0x4038, + 0x524F, + { 0x88, 0x5B, 0xE5, 0x71, 0x85, 0xB2, 0x21, 0x59 } }; -#define I_AVN_LIST_BOX_ABI_VERSION 17 +#define I_AVN_LIST_BOX_ABI_VERSION 18 struct IAvnListBoxVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnListBox* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnListBox* self); /* slot 1 */ @@ -7553,75 +7841,81 @@ struct IAvnListBoxVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnListBox* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnListBox* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnListBox* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnListBox* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnListBox* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnListBox* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnListBox* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnListBox* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnListBox* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnListBox* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnListBox* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnListBox* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnListBox* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnListBox* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnListBox* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnListBox* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnListBox* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnListBox* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnListBox* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnListBox* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnListBox* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnListBox* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnListBox* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnListBox* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnListBox* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnListBox* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnListBox* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnListBox* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnListBox* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnListBox* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnListBox* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_items)(IAvnListBox* self, IAvnItemList** value); /* slot 103 */ - AvnHResult (AVN_CALL *get_item_count)(IAvnListBox* self, int32_t* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_items_source)(IAvnListBox* self, IAvnVariantList** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_items_source)(IAvnListBox* self, IAvnVariantList* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_item_template)(IAvnListBox* self, IAvnDataTemplate** value); /* slot 107 */ - AvnHResult (AVN_CALL *set_item_template)(IAvnListBox* self, IAvnDataTemplate* value); /* slot 108 */ - AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnListBox* self, int32_t index, IAvnControl** value); /* slot 109 */ - AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnListBox* self, AvnVariant item, IAvnControl** value); /* slot 110 */ - AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnListBox* self, IAvnControl* container, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnListBox* self, IAvnControl* container, AvnVariant* value); /* slot 112 */ - AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnListBox* self, int32_t index); /* slot 113 */ - AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnListBox* self, AvnVariant item); /* slot 114 */ - AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnListBox* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnListBox* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_selected_index)(IAvnListBox* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_selected_index)(IAvnListBox* self, int32_t value); /* slot 118 */ - AvnHResult (AVN_CALL *get_selected_item)(IAvnListBox* self, AvnVariant* value); /* slot 119 */ - AvnHResult (AVN_CALL *set_selected_item)(IAvnListBox* self, AvnVariant value); /* slot 120 */ - AvnHResult (AVN_CALL *get_selected_value)(IAvnListBox* self, AvnVariant* value); /* slot 121 */ - AvnHResult (AVN_CALL *set_selected_value)(IAvnListBox* self, AvnVariant value); /* slot 122 */ - AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnListBox* self, int32_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnListBox* self, int32_t value); /* slot 124 */ - AvnHResult (AVN_CALL *get_wrap_selection)(IAvnListBox* self, int32_t* value); /* slot 125 */ - AvnHResult (AVN_CALL *set_wrap_selection)(IAvnListBox* self, int32_t value); /* slot 126 */ - AvnHResult (AVN_CALL *advise_selection_changed)(IAvnListBox* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 127 */ - AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnListBox* self, int64_t subscription_id); /* slot 128 */ - AvnHResult (AVN_CALL *get_selection_mode)(IAvnListBox* self, int32_t* value); /* slot 129 */ - AvnHResult (AVN_CALL *set_selection_mode)(IAvnListBox* self, int32_t value); /* slot 130 */ - AvnHResult (AVN_CALL *select_all)(IAvnListBox* self); /* slot 131 */ - AvnHResult (AVN_CALL *unselect_all)(IAvnListBox* self); /* slot 132 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnListBox* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnListBox* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnListBox* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnListBox* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnListBox* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnListBox* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnListBox* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnListBox* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnListBox* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnListBox* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnListBox* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnListBox* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnListBox* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnListBox* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnListBox* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnListBox* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnListBox* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnListBox* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnListBox* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnListBox* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnListBox* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnListBox* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnListBox* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnListBox* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnListBox* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnListBox* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnListBox* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnListBox* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnListBox* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnListBox* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnListBox* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnListBox* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnListBox* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnListBox* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_items)(IAvnListBox* self, IAvnItemList** value); /* slot 109 */ + AvnHResult (AVN_CALL *get_item_count)(IAvnListBox* self, int32_t* value); /* slot 110 */ + AvnHResult (AVN_CALL *get_items_source)(IAvnListBox* self, IAvnVariantList** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_items_source)(IAvnListBox* self, IAvnVariantList* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_item_template)(IAvnListBox* self, IAvnDataTemplate** value); /* slot 113 */ + AvnHResult (AVN_CALL *set_item_template)(IAvnListBox* self, IAvnDataTemplate* value); /* slot 114 */ + AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnListBox* self, int32_t index, IAvnControl** value); /* slot 115 */ + AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnListBox* self, AvnVariant item, IAvnControl** value); /* slot 116 */ + AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnListBox* self, IAvnControl* container, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnListBox* self, IAvnControl* container, AvnVariant* value); /* slot 118 */ + AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnListBox* self, int32_t index); /* slot 119 */ + AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnListBox* self, AvnVariant item); /* slot 120 */ + AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnListBox* self, int32_t* value); /* slot 121 */ + AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnListBox* self, int32_t value); /* slot 122 */ + AvnHResult (AVN_CALL *get_selected_index)(IAvnListBox* self, int32_t* value); /* slot 123 */ + AvnHResult (AVN_CALL *set_selected_index)(IAvnListBox* self, int32_t value); /* slot 124 */ + AvnHResult (AVN_CALL *get_selected_item)(IAvnListBox* self, AvnVariant* value); /* slot 125 */ + AvnHResult (AVN_CALL *set_selected_item)(IAvnListBox* self, AvnVariant value); /* slot 126 */ + AvnHResult (AVN_CALL *get_selected_value)(IAvnListBox* self, AvnVariant* value); /* slot 127 */ + AvnHResult (AVN_CALL *set_selected_value)(IAvnListBox* self, AvnVariant value); /* slot 128 */ + AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnListBox* self, int32_t* value); /* slot 129 */ + AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnListBox* self, int32_t value); /* slot 130 */ + AvnHResult (AVN_CALL *get_wrap_selection)(IAvnListBox* self, int32_t* value); /* slot 131 */ + AvnHResult (AVN_CALL *set_wrap_selection)(IAvnListBox* self, int32_t value); /* slot 132 */ + AvnHResult (AVN_CALL *advise_selection_changed)(IAvnListBox* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 133 */ + AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnListBox* self, int64_t subscription_id); /* slot 134 */ + AvnHResult (AVN_CALL *get_selection_mode)(IAvnListBox* self, int32_t* value); /* slot 135 */ + AvnHResult (AVN_CALL *set_selection_mode)(IAvnListBox* self, int32_t value); /* slot 136 */ + AvnHResult (AVN_CALL *select_all)(IAvnListBox* self); /* slot 137 */ + AvnHResult (AVN_CALL *unselect_all)(IAvnListBox* self); /* slot 138 */ }; struct IAvnListBox { const IAvnListBoxVtbl* vtbl; }; -#define I_AVN_LIST_BOX_VTABLE_SLOTS 133 +#define I_AVN_LIST_BOX_VTABLE_SLOTS 139 static const AvnGuid I_AVN_LIST_BOX_ITEM_IID = { - 0x4BB2FF76, - 0xE252, - 0x53F1, - { 0x8A, 0xE0, 0xE3, 0x2A, 0x2C, 0x1B, 0xBE, 0x76 } + 0xD51DAD4D, + 0xC109, + 0x5ABD, + { 0x84, 0xB4, 0xF3, 0xC6, 0x00, 0x7F, 0x61, 0x33 } }; -#define I_AVN_LIST_BOX_ITEM_ABI_VERSION 16 +#define I_AVN_LIST_BOX_ITEM_ABI_VERSION 17 struct IAvnListBoxItemVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnListBoxItem* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnListBoxItem* self); /* slot 1 */ @@ -7698,55 +7992,61 @@ struct IAvnListBoxItemVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnListBoxItem* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnListBoxItem* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnListBoxItem* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnListBoxItem* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnListBoxItem* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnListBoxItem* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnListBoxItem* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnListBoxItem* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnListBoxItem* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnListBoxItem* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnListBoxItem* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnListBoxItem* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnListBoxItem* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnListBoxItem* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnListBoxItem* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnListBoxItem* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnListBoxItem* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnListBoxItem* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnListBoxItem* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnListBoxItem* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnListBoxItem* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnListBoxItem* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnListBoxItem* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnListBoxItem* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnListBoxItem* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnListBoxItem* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnListBoxItem* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnListBoxItem* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnListBoxItem* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnListBoxItem* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnListBoxItem* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_content)(IAvnListBoxItem* self, IAvnControl** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_content)(IAvnListBoxItem* self, IAvnControl* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnListBoxItem* self, IAvnDataTemplate** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnListBoxItem* self, IAvnDataTemplate* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnListBoxItem* self, int32_t* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnListBoxItem* self, int32_t value); /* slot 108 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnListBoxItem* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnListBoxItem* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_is_selected)(IAvnListBoxItem* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_is_selected)(IAvnListBoxItem* self, int32_t value); /* slot 112 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnListBoxItem* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnListBoxItem* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnListBoxItem* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnListBoxItem* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnListBoxItem* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnListBoxItem* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnListBoxItem* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnListBoxItem* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnListBoxItem* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnListBoxItem* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnListBoxItem* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnListBoxItem* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnListBoxItem* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnListBoxItem* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnListBoxItem* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnListBoxItem* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnListBoxItem* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnListBoxItem* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnListBoxItem* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnListBoxItem* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnListBoxItem* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnListBoxItem* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnListBoxItem* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnListBoxItem* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnListBoxItem* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnListBoxItem* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnListBoxItem* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnListBoxItem* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnListBoxItem* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnListBoxItem* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnListBoxItem* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnListBoxItem* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnListBoxItem* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnListBoxItem* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_content)(IAvnListBoxItem* self, IAvnControl** value); /* slot 109 */ + AvnHResult (AVN_CALL *set_content)(IAvnListBoxItem* self, IAvnControl* value); /* slot 110 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnListBoxItem* self, IAvnDataTemplate** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnListBoxItem* self, IAvnDataTemplate* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnListBoxItem* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnListBoxItem* self, int32_t value); /* slot 114 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnListBoxItem* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnListBoxItem* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_is_selected)(IAvnListBoxItem* self, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_is_selected)(IAvnListBoxItem* self, int32_t value); /* slot 118 */ }; struct IAvnListBoxItem { const IAvnListBoxItemVtbl* vtbl; }; -#define I_AVN_LIST_BOX_ITEM_VTABLE_SLOTS 113 +#define I_AVN_LIST_BOX_ITEM_VTABLE_SLOTS 119 static const AvnGuid I_AVN_MASKED_TEXT_BOX_IID = { - 0xE621C745, - 0xA587, - 0x5BDD, - { 0xA1, 0xC5, 0x8F, 0x49, 0x8B, 0x86, 0x36, 0xC5 } + 0xACF377B4, + 0xD865, + 0x5245, + { 0x8C, 0xFE, 0xAE, 0x04, 0x61, 0xEF, 0x95, 0xFB } }; -#define I_AVN_MASKED_TEXT_BOX_ABI_VERSION 16 +#define I_AVN_MASKED_TEXT_BOX_ABI_VERSION 17 struct IAvnMaskedTextBoxVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnMaskedTextBox* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnMaskedTextBox* self); /* slot 1 */ @@ -7823,148 +8123,154 @@ struct IAvnMaskedTextBoxVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnMaskedTextBox* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnMaskedTextBox* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnMaskedTextBox* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnMaskedTextBox* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnMaskedTextBox* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnMaskedTextBox* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnMaskedTextBox* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnMaskedTextBox* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnMaskedTextBox* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnMaskedTextBox* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnMaskedTextBox* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnMaskedTextBox* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnMaskedTextBox* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnMaskedTextBox* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnMaskedTextBox* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnMaskedTextBox* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnMaskedTextBox* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnMaskedTextBox* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnMaskedTextBox* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnMaskedTextBox* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnMaskedTextBox* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnMaskedTextBox* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnMaskedTextBox* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnMaskedTextBox* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnMaskedTextBox* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnMaskedTextBox* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnMaskedTextBox* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnMaskedTextBox* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnMaskedTextBox* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_is_inactive_selection_highlight_enabled)(IAvnMaskedTextBox* self, int32_t* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_is_inactive_selection_highlight_enabled)(IAvnMaskedTextBox* self, int32_t value); /* slot 104 */ - AvnHResult (AVN_CALL *get_clear_selection_on_lost_focus)(IAvnMaskedTextBox* self, int32_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_clear_selection_on_lost_focus)(IAvnMaskedTextBox* self, int32_t value); /* slot 106 */ - AvnHResult (AVN_CALL *get_accepts_return)(IAvnMaskedTextBox* self, int32_t* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_accepts_return)(IAvnMaskedTextBox* self, int32_t value); /* slot 108 */ - AvnHResult (AVN_CALL *get_accepts_tab)(IAvnMaskedTextBox* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_accepts_tab)(IAvnMaskedTextBox* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_caret_index)(IAvnMaskedTextBox* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_caret_index)(IAvnMaskedTextBox* self, int32_t value); /* slot 112 */ - AvnHResult (AVN_CALL *get_is_read_only)(IAvnMaskedTextBox* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_is_read_only)(IAvnMaskedTextBox* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_password_char)(IAvnMaskedTextBox* self, uint16_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_password_char)(IAvnMaskedTextBox* self, uint16_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_selection_brush)(IAvnMaskedTextBox* self, IAvnBrush** value); /* slot 117 */ - AvnHResult (AVN_CALL *set_selection_brush)(IAvnMaskedTextBox* self, IAvnBrush* value); /* slot 118 */ - AvnHResult (AVN_CALL *get_selection_foreground_brush)(IAvnMaskedTextBox* self, IAvnBrush** value); /* slot 119 */ - AvnHResult (AVN_CALL *set_selection_foreground_brush)(IAvnMaskedTextBox* self, IAvnBrush* value); /* slot 120 */ - AvnHResult (AVN_CALL *get_caret_brush)(IAvnMaskedTextBox* self, IAvnBrush** value); /* slot 121 */ - AvnHResult (AVN_CALL *set_caret_brush)(IAvnMaskedTextBox* self, IAvnBrush* value); /* slot 122 */ - AvnHResult (AVN_CALL *get_caret_blink_interval)(IAvnMaskedTextBox* self, int64_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *set_caret_blink_interval)(IAvnMaskedTextBox* self, int64_t value); /* slot 124 */ - AvnHResult (AVN_CALL *get_selection_start)(IAvnMaskedTextBox* self, int32_t* value); /* slot 125 */ - AvnHResult (AVN_CALL *set_selection_start)(IAvnMaskedTextBox* self, int32_t value); /* slot 126 */ - AvnHResult (AVN_CALL *get_selection_end)(IAvnMaskedTextBox* self, int32_t* value); /* slot 127 */ - AvnHResult (AVN_CALL *set_selection_end)(IAvnMaskedTextBox* self, int32_t value); /* slot 128 */ - AvnHResult (AVN_CALL *get_max_length)(IAvnMaskedTextBox* self, int32_t* value); /* slot 129 */ - AvnHResult (AVN_CALL *set_max_length)(IAvnMaskedTextBox* self, int32_t value); /* slot 130 */ - AvnHResult (AVN_CALL *get_max_lines)(IAvnMaskedTextBox* self, int32_t* value); /* slot 131 */ - AvnHResult (AVN_CALL *set_max_lines)(IAvnMaskedTextBox* self, int32_t value); /* slot 132 */ - AvnHResult (AVN_CALL *get_min_lines)(IAvnMaskedTextBox* self, int32_t* value); /* slot 133 */ - AvnHResult (AVN_CALL *set_min_lines)(IAvnMaskedTextBox* self, int32_t value); /* slot 134 */ - AvnHResult (AVN_CALL *get_line_height)(IAvnMaskedTextBox* self, double* value); /* slot 135 */ - AvnHResult (AVN_CALL *set_line_height)(IAvnMaskedTextBox* self, double value); /* slot 136 */ - AvnHResult (AVN_CALL *get_text)(IAvnMaskedTextBox* self, uint16_t** value); /* slot 137 */ - AvnHResult (AVN_CALL *set_text)(IAvnMaskedTextBox* self, const uint16_t* value); /* slot 138 */ - AvnHResult (AVN_CALL *get_selected_text)(IAvnMaskedTextBox* self, uint16_t** value); /* slot 139 */ - AvnHResult (AVN_CALL *set_selected_text)(IAvnMaskedTextBox* self, const uint16_t* value); /* slot 140 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnMaskedTextBox* self, int32_t* value); /* slot 141 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnMaskedTextBox* self, int32_t value); /* slot 142 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnMaskedTextBox* self, int32_t* value); /* slot 143 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnMaskedTextBox* self, int32_t value); /* slot 144 */ - AvnHResult (AVN_CALL *get_text_alignment)(IAvnMaskedTextBox* self, int32_t* value); /* slot 145 */ - AvnHResult (AVN_CALL *set_text_alignment)(IAvnMaskedTextBox* self, int32_t value); /* slot 146 */ - AvnHResult (AVN_CALL *get_placeholder_text)(IAvnMaskedTextBox* self, uint16_t** value); /* slot 147 */ - AvnHResult (AVN_CALL *set_placeholder_text)(IAvnMaskedTextBox* self, const uint16_t* value); /* slot 148 */ - AvnHResult (AVN_CALL *get_use_floating_placeholder)(IAvnMaskedTextBox* self, int32_t* value); /* slot 149 */ - AvnHResult (AVN_CALL *set_use_floating_placeholder)(IAvnMaskedTextBox* self, int32_t value); /* slot 150 */ - AvnHResult (AVN_CALL *get_placeholder_foreground)(IAvnMaskedTextBox* self, IAvnBrush** value); /* slot 151 */ - AvnHResult (AVN_CALL *set_placeholder_foreground)(IAvnMaskedTextBox* self, IAvnBrush* value); /* slot 152 */ - AvnHResult (AVN_CALL *get_inner_left_content)(IAvnMaskedTextBox* self, IAvnControl** value); /* slot 153 */ - AvnHResult (AVN_CALL *set_inner_left_content)(IAvnMaskedTextBox* self, IAvnControl* value); /* slot 154 */ - AvnHResult (AVN_CALL *get_inner_right_content)(IAvnMaskedTextBox* self, IAvnControl** value); /* slot 155 */ - AvnHResult (AVN_CALL *set_inner_right_content)(IAvnMaskedTextBox* self, IAvnControl* value); /* slot 156 */ - AvnHResult (AVN_CALL *get_reveal_password)(IAvnMaskedTextBox* self, int32_t* value); /* slot 157 */ - AvnHResult (AVN_CALL *set_reveal_password)(IAvnMaskedTextBox* self, int32_t value); /* slot 158 */ - AvnHResult (AVN_CALL *get_text_wrapping)(IAvnMaskedTextBox* self, int32_t* value); /* slot 159 */ - AvnHResult (AVN_CALL *set_text_wrapping)(IAvnMaskedTextBox* self, int32_t value); /* slot 160 */ - AvnHResult (AVN_CALL *get_new_line)(IAvnMaskedTextBox* self, uint16_t** value); /* slot 161 */ - AvnHResult (AVN_CALL *set_new_line)(IAvnMaskedTextBox* self, const uint16_t* value); /* slot 162 */ - AvnHResult (AVN_CALL *get_can_cut)(IAvnMaskedTextBox* self, int32_t* value); /* slot 163 */ - AvnHResult (AVN_CALL *get_can_copy)(IAvnMaskedTextBox* self, int32_t* value); /* slot 164 */ - AvnHResult (AVN_CALL *get_can_paste)(IAvnMaskedTextBox* self, int32_t* value); /* slot 165 */ - AvnHResult (AVN_CALL *get_is_undo_enabled)(IAvnMaskedTextBox* self, int32_t* value); /* slot 166 */ - AvnHResult (AVN_CALL *set_is_undo_enabled)(IAvnMaskedTextBox* self, int32_t value); /* slot 167 */ - AvnHResult (AVN_CALL *get_undo_limit)(IAvnMaskedTextBox* self, int32_t* value); /* slot 168 */ - AvnHResult (AVN_CALL *set_undo_limit)(IAvnMaskedTextBox* self, int32_t value); /* slot 169 */ - AvnHResult (AVN_CALL *get_can_undo)(IAvnMaskedTextBox* self, int32_t* value); /* slot 170 */ - AvnHResult (AVN_CALL *get_can_redo)(IAvnMaskedTextBox* self, int32_t* value); /* slot 171 */ - AvnHResult (AVN_CALL *clear_selection)(IAvnMaskedTextBox* self); /* slot 172 */ - AvnHResult (AVN_CALL *get_line_count)(IAvnMaskedTextBox* self, int32_t* value); /* slot 173 */ - AvnHResult (AVN_CALL *cut)(IAvnMaskedTextBox* self); /* slot 174 */ - AvnHResult (AVN_CALL *copy)(IAvnMaskedTextBox* self); /* slot 175 */ - AvnHResult (AVN_CALL *paste)(IAvnMaskedTextBox* self); /* slot 176 */ - AvnHResult (AVN_CALL *clear)(IAvnMaskedTextBox* self); /* slot 177 */ - AvnHResult (AVN_CALL *scroll_to_line_with_int32)(IAvnMaskedTextBox* self, int32_t line_index); /* slot 178 */ - AvnHResult (AVN_CALL *select_all)(IAvnMaskedTextBox* self); /* slot 179 */ - AvnHResult (AVN_CALL *undo)(IAvnMaskedTextBox* self); /* slot 180 */ - AvnHResult (AVN_CALL *redo)(IAvnMaskedTextBox* self); /* slot 181 */ - AvnHResult (AVN_CALL *advise_copying_to_clipboard)(IAvnMaskedTextBox* self, IAvnTextBoxCopyingToClipboardHandler* handler, int64_t* subscription_id); /* slot 182 */ - AvnHResult (AVN_CALL *unadvise_copying_to_clipboard)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 183 */ - AvnHResult (AVN_CALL *advise_cutting_to_clipboard)(IAvnMaskedTextBox* self, IAvnTextBoxCuttingToClipboardHandler* handler, int64_t* subscription_id); /* slot 184 */ - AvnHResult (AVN_CALL *unadvise_cutting_to_clipboard)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 185 */ - AvnHResult (AVN_CALL *advise_pasting_from_clipboard)(IAvnMaskedTextBox* self, IAvnTextBoxPastingFromClipboardHandler* handler, int64_t* subscription_id); /* slot 186 */ - AvnHResult (AVN_CALL *unadvise_pasting_from_clipboard)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 187 */ - AvnHResult (AVN_CALL *advise_text_changed)(IAvnMaskedTextBox* self, IAvnTextBoxTextChangedHandler* handler, int64_t* subscription_id); /* slot 188 */ - AvnHResult (AVN_CALL *unadvise_text_changed)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 189 */ - AvnHResult (AVN_CALL *advise_text_changing)(IAvnMaskedTextBox* self, IAvnTextBoxTextChangingHandler* handler, int64_t* subscription_id); /* slot 190 */ - AvnHResult (AVN_CALL *unadvise_text_changing)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 191 */ - AvnHResult (AVN_CALL *get_ascii_only)(IAvnMaskedTextBox* self, int32_t* value); /* slot 192 */ - AvnHResult (AVN_CALL *set_ascii_only)(IAvnMaskedTextBox* self, int32_t value); /* slot 193 */ - AvnHResult (AVN_CALL *get_hide_prompt_on_leave)(IAvnMaskedTextBox* self, int32_t* value); /* slot 194 */ - AvnHResult (AVN_CALL *set_hide_prompt_on_leave)(IAvnMaskedTextBox* self, int32_t value); /* slot 195 */ - AvnHResult (AVN_CALL *get_mask)(IAvnMaskedTextBox* self, uint16_t** value); /* slot 196 */ - AvnHResult (AVN_CALL *set_mask)(IAvnMaskedTextBox* self, const uint16_t* value); /* slot 197 */ - AvnHResult (AVN_CALL *get_mask_completed)(IAvnMaskedTextBox* self, int32_t* value); /* slot 198 */ - AvnHResult (AVN_CALL *get_mask_full)(IAvnMaskedTextBox* self, int32_t* value); /* slot 199 */ - AvnHResult (AVN_CALL *get_prompt_char)(IAvnMaskedTextBox* self, uint16_t* value); /* slot 200 */ - AvnHResult (AVN_CALL *set_prompt_char)(IAvnMaskedTextBox* self, uint16_t value); /* slot 201 */ - AvnHResult (AVN_CALL *get_reset_on_prompt)(IAvnMaskedTextBox* self, int32_t* value); /* slot 202 */ - AvnHResult (AVN_CALL *set_reset_on_prompt)(IAvnMaskedTextBox* self, int32_t value); /* slot 203 */ - AvnHResult (AVN_CALL *get_reset_on_space)(IAvnMaskedTextBox* self, int32_t* value); /* slot 204 */ - AvnHResult (AVN_CALL *set_reset_on_space)(IAvnMaskedTextBox* self, int32_t value); /* slot 205 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnMaskedTextBox* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnMaskedTextBox* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnMaskedTextBox* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnMaskedTextBox* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnMaskedTextBox* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnMaskedTextBox* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnMaskedTextBox* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnMaskedTextBox* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnMaskedTextBox* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnMaskedTextBox* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnMaskedTextBox* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnMaskedTextBox* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnMaskedTextBox* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnMaskedTextBox* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnMaskedTextBox* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnMaskedTextBox* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnMaskedTextBox* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnMaskedTextBox* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnMaskedTextBox* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnMaskedTextBox* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnMaskedTextBox* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnMaskedTextBox* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnMaskedTextBox* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnMaskedTextBox* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnMaskedTextBox* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnMaskedTextBox* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnMaskedTextBox* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnMaskedTextBox* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnMaskedTextBox* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnMaskedTextBox* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnMaskedTextBox* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_is_inactive_selection_highlight_enabled)(IAvnMaskedTextBox* self, int32_t* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_is_inactive_selection_highlight_enabled)(IAvnMaskedTextBox* self, int32_t value); /* slot 110 */ + AvnHResult (AVN_CALL *get_clear_selection_on_lost_focus)(IAvnMaskedTextBox* self, int32_t* value); /* slot 111 */ + AvnHResult (AVN_CALL *set_clear_selection_on_lost_focus)(IAvnMaskedTextBox* self, int32_t value); /* slot 112 */ + AvnHResult (AVN_CALL *get_accepts_return)(IAvnMaskedTextBox* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *set_accepts_return)(IAvnMaskedTextBox* self, int32_t value); /* slot 114 */ + AvnHResult (AVN_CALL *get_accepts_tab)(IAvnMaskedTextBox* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_accepts_tab)(IAvnMaskedTextBox* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_caret_index)(IAvnMaskedTextBox* self, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_caret_index)(IAvnMaskedTextBox* self, int32_t value); /* slot 118 */ + AvnHResult (AVN_CALL *get_is_read_only)(IAvnMaskedTextBox* self, int32_t* value); /* slot 119 */ + AvnHResult (AVN_CALL *set_is_read_only)(IAvnMaskedTextBox* self, int32_t value); /* slot 120 */ + AvnHResult (AVN_CALL *get_password_char)(IAvnMaskedTextBox* self, uint16_t* value); /* slot 121 */ + AvnHResult (AVN_CALL *set_password_char)(IAvnMaskedTextBox* self, uint16_t value); /* slot 122 */ + AvnHResult (AVN_CALL *get_selection_brush)(IAvnMaskedTextBox* self, IAvnBrush** value); /* slot 123 */ + AvnHResult (AVN_CALL *set_selection_brush)(IAvnMaskedTextBox* self, IAvnBrush* value); /* slot 124 */ + AvnHResult (AVN_CALL *get_selection_foreground_brush)(IAvnMaskedTextBox* self, IAvnBrush** value); /* slot 125 */ + AvnHResult (AVN_CALL *set_selection_foreground_brush)(IAvnMaskedTextBox* self, IAvnBrush* value); /* slot 126 */ + AvnHResult (AVN_CALL *get_caret_brush)(IAvnMaskedTextBox* self, IAvnBrush** value); /* slot 127 */ + AvnHResult (AVN_CALL *set_caret_brush)(IAvnMaskedTextBox* self, IAvnBrush* value); /* slot 128 */ + AvnHResult (AVN_CALL *get_caret_blink_interval)(IAvnMaskedTextBox* self, int64_t* value); /* slot 129 */ + AvnHResult (AVN_CALL *set_caret_blink_interval)(IAvnMaskedTextBox* self, int64_t value); /* slot 130 */ + AvnHResult (AVN_CALL *get_selection_start)(IAvnMaskedTextBox* self, int32_t* value); /* slot 131 */ + AvnHResult (AVN_CALL *set_selection_start)(IAvnMaskedTextBox* self, int32_t value); /* slot 132 */ + AvnHResult (AVN_CALL *get_selection_end)(IAvnMaskedTextBox* self, int32_t* value); /* slot 133 */ + AvnHResult (AVN_CALL *set_selection_end)(IAvnMaskedTextBox* self, int32_t value); /* slot 134 */ + AvnHResult (AVN_CALL *get_max_length)(IAvnMaskedTextBox* self, int32_t* value); /* slot 135 */ + AvnHResult (AVN_CALL *set_max_length)(IAvnMaskedTextBox* self, int32_t value); /* slot 136 */ + AvnHResult (AVN_CALL *get_max_lines)(IAvnMaskedTextBox* self, int32_t* value); /* slot 137 */ + AvnHResult (AVN_CALL *set_max_lines)(IAvnMaskedTextBox* self, int32_t value); /* slot 138 */ + AvnHResult (AVN_CALL *get_min_lines)(IAvnMaskedTextBox* self, int32_t* value); /* slot 139 */ + AvnHResult (AVN_CALL *set_min_lines)(IAvnMaskedTextBox* self, int32_t value); /* slot 140 */ + AvnHResult (AVN_CALL *get_line_height)(IAvnMaskedTextBox* self, double* value); /* slot 141 */ + AvnHResult (AVN_CALL *set_line_height)(IAvnMaskedTextBox* self, double value); /* slot 142 */ + AvnHResult (AVN_CALL *get_text)(IAvnMaskedTextBox* self, uint16_t** value); /* slot 143 */ + AvnHResult (AVN_CALL *set_text)(IAvnMaskedTextBox* self, const uint16_t* value); /* slot 144 */ + AvnHResult (AVN_CALL *get_selected_text)(IAvnMaskedTextBox* self, uint16_t** value); /* slot 145 */ + AvnHResult (AVN_CALL *set_selected_text)(IAvnMaskedTextBox* self, const uint16_t* value); /* slot 146 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnMaskedTextBox* self, int32_t* value); /* slot 147 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnMaskedTextBox* self, int32_t value); /* slot 148 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnMaskedTextBox* self, int32_t* value); /* slot 149 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnMaskedTextBox* self, int32_t value); /* slot 150 */ + AvnHResult (AVN_CALL *get_text_alignment)(IAvnMaskedTextBox* self, int32_t* value); /* slot 151 */ + AvnHResult (AVN_CALL *set_text_alignment)(IAvnMaskedTextBox* self, int32_t value); /* slot 152 */ + AvnHResult (AVN_CALL *get_placeholder_text)(IAvnMaskedTextBox* self, uint16_t** value); /* slot 153 */ + AvnHResult (AVN_CALL *set_placeholder_text)(IAvnMaskedTextBox* self, const uint16_t* value); /* slot 154 */ + AvnHResult (AVN_CALL *get_use_floating_placeholder)(IAvnMaskedTextBox* self, int32_t* value); /* slot 155 */ + AvnHResult (AVN_CALL *set_use_floating_placeholder)(IAvnMaskedTextBox* self, int32_t value); /* slot 156 */ + AvnHResult (AVN_CALL *get_placeholder_foreground)(IAvnMaskedTextBox* self, IAvnBrush** value); /* slot 157 */ + AvnHResult (AVN_CALL *set_placeholder_foreground)(IAvnMaskedTextBox* self, IAvnBrush* value); /* slot 158 */ + AvnHResult (AVN_CALL *get_inner_left_content)(IAvnMaskedTextBox* self, IAvnControl** value); /* slot 159 */ + AvnHResult (AVN_CALL *set_inner_left_content)(IAvnMaskedTextBox* self, IAvnControl* value); /* slot 160 */ + AvnHResult (AVN_CALL *get_inner_right_content)(IAvnMaskedTextBox* self, IAvnControl** value); /* slot 161 */ + AvnHResult (AVN_CALL *set_inner_right_content)(IAvnMaskedTextBox* self, IAvnControl* value); /* slot 162 */ + AvnHResult (AVN_CALL *get_reveal_password)(IAvnMaskedTextBox* self, int32_t* value); /* slot 163 */ + AvnHResult (AVN_CALL *set_reveal_password)(IAvnMaskedTextBox* self, int32_t value); /* slot 164 */ + AvnHResult (AVN_CALL *get_text_wrapping)(IAvnMaskedTextBox* self, int32_t* value); /* slot 165 */ + AvnHResult (AVN_CALL *set_text_wrapping)(IAvnMaskedTextBox* self, int32_t value); /* slot 166 */ + AvnHResult (AVN_CALL *get_new_line)(IAvnMaskedTextBox* self, uint16_t** value); /* slot 167 */ + AvnHResult (AVN_CALL *set_new_line)(IAvnMaskedTextBox* self, const uint16_t* value); /* slot 168 */ + AvnHResult (AVN_CALL *get_can_cut)(IAvnMaskedTextBox* self, int32_t* value); /* slot 169 */ + AvnHResult (AVN_CALL *get_can_copy)(IAvnMaskedTextBox* self, int32_t* value); /* slot 170 */ + AvnHResult (AVN_CALL *get_can_paste)(IAvnMaskedTextBox* self, int32_t* value); /* slot 171 */ + AvnHResult (AVN_CALL *get_is_undo_enabled)(IAvnMaskedTextBox* self, int32_t* value); /* slot 172 */ + AvnHResult (AVN_CALL *set_is_undo_enabled)(IAvnMaskedTextBox* self, int32_t value); /* slot 173 */ + AvnHResult (AVN_CALL *get_undo_limit)(IAvnMaskedTextBox* self, int32_t* value); /* slot 174 */ + AvnHResult (AVN_CALL *set_undo_limit)(IAvnMaskedTextBox* self, int32_t value); /* slot 175 */ + AvnHResult (AVN_CALL *get_can_undo)(IAvnMaskedTextBox* self, int32_t* value); /* slot 176 */ + AvnHResult (AVN_CALL *get_can_redo)(IAvnMaskedTextBox* self, int32_t* value); /* slot 177 */ + AvnHResult (AVN_CALL *clear_selection)(IAvnMaskedTextBox* self); /* slot 178 */ + AvnHResult (AVN_CALL *get_line_count)(IAvnMaskedTextBox* self, int32_t* value); /* slot 179 */ + AvnHResult (AVN_CALL *cut)(IAvnMaskedTextBox* self); /* slot 180 */ + AvnHResult (AVN_CALL *copy)(IAvnMaskedTextBox* self); /* slot 181 */ + AvnHResult (AVN_CALL *paste)(IAvnMaskedTextBox* self); /* slot 182 */ + AvnHResult (AVN_CALL *clear)(IAvnMaskedTextBox* self); /* slot 183 */ + AvnHResult (AVN_CALL *scroll_to_line_with_int32)(IAvnMaskedTextBox* self, int32_t line_index); /* slot 184 */ + AvnHResult (AVN_CALL *select_all)(IAvnMaskedTextBox* self); /* slot 185 */ + AvnHResult (AVN_CALL *undo)(IAvnMaskedTextBox* self); /* slot 186 */ + AvnHResult (AVN_CALL *redo)(IAvnMaskedTextBox* self); /* slot 187 */ + AvnHResult (AVN_CALL *advise_copying_to_clipboard)(IAvnMaskedTextBox* self, IAvnTextBoxCopyingToClipboardHandler* handler, int64_t* subscription_id); /* slot 188 */ + AvnHResult (AVN_CALL *unadvise_copying_to_clipboard)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 189 */ + AvnHResult (AVN_CALL *advise_cutting_to_clipboard)(IAvnMaskedTextBox* self, IAvnTextBoxCuttingToClipboardHandler* handler, int64_t* subscription_id); /* slot 190 */ + AvnHResult (AVN_CALL *unadvise_cutting_to_clipboard)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 191 */ + AvnHResult (AVN_CALL *advise_pasting_from_clipboard)(IAvnMaskedTextBox* self, IAvnTextBoxPastingFromClipboardHandler* handler, int64_t* subscription_id); /* slot 192 */ + AvnHResult (AVN_CALL *unadvise_pasting_from_clipboard)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 193 */ + AvnHResult (AVN_CALL *advise_text_changed)(IAvnMaskedTextBox* self, IAvnTextBoxTextChangedHandler* handler, int64_t* subscription_id); /* slot 194 */ + AvnHResult (AVN_CALL *unadvise_text_changed)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 195 */ + AvnHResult (AVN_CALL *advise_text_changing)(IAvnMaskedTextBox* self, IAvnTextBoxTextChangingHandler* handler, int64_t* subscription_id); /* slot 196 */ + AvnHResult (AVN_CALL *unadvise_text_changing)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 197 */ + AvnHResult (AVN_CALL *get_ascii_only)(IAvnMaskedTextBox* self, int32_t* value); /* slot 198 */ + AvnHResult (AVN_CALL *set_ascii_only)(IAvnMaskedTextBox* self, int32_t value); /* slot 199 */ + AvnHResult (AVN_CALL *get_hide_prompt_on_leave)(IAvnMaskedTextBox* self, int32_t* value); /* slot 200 */ + AvnHResult (AVN_CALL *set_hide_prompt_on_leave)(IAvnMaskedTextBox* self, int32_t value); /* slot 201 */ + AvnHResult (AVN_CALL *get_mask)(IAvnMaskedTextBox* self, uint16_t** value); /* slot 202 */ + AvnHResult (AVN_CALL *set_mask)(IAvnMaskedTextBox* self, const uint16_t* value); /* slot 203 */ + AvnHResult (AVN_CALL *get_mask_completed)(IAvnMaskedTextBox* self, int32_t* value); /* slot 204 */ + AvnHResult (AVN_CALL *get_mask_full)(IAvnMaskedTextBox* self, int32_t* value); /* slot 205 */ + AvnHResult (AVN_CALL *get_prompt_char)(IAvnMaskedTextBox* self, uint16_t* value); /* slot 206 */ + AvnHResult (AVN_CALL *set_prompt_char)(IAvnMaskedTextBox* self, uint16_t value); /* slot 207 */ + AvnHResult (AVN_CALL *get_reset_on_prompt)(IAvnMaskedTextBox* self, int32_t* value); /* slot 208 */ + AvnHResult (AVN_CALL *set_reset_on_prompt)(IAvnMaskedTextBox* self, int32_t value); /* slot 209 */ + AvnHResult (AVN_CALL *get_reset_on_space)(IAvnMaskedTextBox* self, int32_t* value); /* slot 210 */ + AvnHResult (AVN_CALL *set_reset_on_space)(IAvnMaskedTextBox* self, int32_t value); /* slot 211 */ }; struct IAvnMaskedTextBox { const IAvnMaskedTextBoxVtbl* vtbl; }; -#define I_AVN_MASKED_TEXT_BOX_VTABLE_SLOTS 206 +#define I_AVN_MASKED_TEXT_BOX_VTABLE_SLOTS 212 static const AvnGuid I_AVN_MENU_IID = { - 0x0220FC0F, - 0xFA60, - 0x5173, - { 0x9E, 0x8B, 0xAD, 0x96, 0x35, 0x1B, 0x3C, 0x6D } + 0x71FC2F34, + 0x4C1D, + 0x591E, + { 0xA5, 0x67, 0xAB, 0x31, 0x51, 0xC7, 0x77, 0x85 } }; -#define I_AVN_MENU_ABI_VERSION 13 +#define I_AVN_MENU_ABI_VERSION 14 struct IAvnMenuVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnMenu* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnMenu* self); /* slot 1 */ @@ -8041,78 +8347,84 @@ struct IAvnMenuVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnMenu* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnMenu* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnMenu* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnMenu* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnMenu* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnMenu* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnMenu* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnMenu* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnMenu* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnMenu* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnMenu* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnMenu* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnMenu* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnMenu* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnMenu* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnMenu* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnMenu* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnMenu* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnMenu* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnMenu* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnMenu* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnMenu* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnMenu* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnMenu* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnMenu* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnMenu* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnMenu* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnMenu* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnMenu* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnMenu* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnMenu* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_items)(IAvnMenu* self, IAvnItemList** value); /* slot 103 */ - AvnHResult (AVN_CALL *get_item_count)(IAvnMenu* self, int32_t* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_items_source)(IAvnMenu* self, IAvnVariantList** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_items_source)(IAvnMenu* self, IAvnVariantList* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_item_template)(IAvnMenu* self, IAvnDataTemplate** value); /* slot 107 */ - AvnHResult (AVN_CALL *set_item_template)(IAvnMenu* self, IAvnDataTemplate* value); /* slot 108 */ - AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnMenu* self, int32_t index, IAvnControl** value); /* slot 109 */ - AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnMenu* self, AvnVariant item, IAvnControl** value); /* slot 110 */ - AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnMenu* self, IAvnControl* container, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnMenu* self, IAvnControl* container, AvnVariant* value); /* slot 112 */ - AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnMenu* self, int32_t index); /* slot 113 */ - AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnMenu* self, AvnVariant item); /* slot 114 */ - AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnMenu* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnMenu* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_selected_index)(IAvnMenu* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_selected_index)(IAvnMenu* self, int32_t value); /* slot 118 */ - AvnHResult (AVN_CALL *get_selected_item)(IAvnMenu* self, AvnVariant* value); /* slot 119 */ - AvnHResult (AVN_CALL *set_selected_item)(IAvnMenu* self, AvnVariant value); /* slot 120 */ - AvnHResult (AVN_CALL *get_selected_value)(IAvnMenu* self, AvnVariant* value); /* slot 121 */ - AvnHResult (AVN_CALL *set_selected_value)(IAvnMenu* self, AvnVariant value); /* slot 122 */ - AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnMenu* self, int32_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnMenu* self, int32_t value); /* slot 124 */ - AvnHResult (AVN_CALL *get_wrap_selection)(IAvnMenu* self, int32_t* value); /* slot 125 */ - AvnHResult (AVN_CALL *set_wrap_selection)(IAvnMenu* self, int32_t value); /* slot 126 */ - AvnHResult (AVN_CALL *advise_selection_changed)(IAvnMenu* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 127 */ - AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnMenu* self, int64_t subscription_id); /* slot 128 */ - AvnHResult (AVN_CALL *get_is_open)(IAvnMenu* self, int32_t* value); /* slot 129 */ - AvnHResult (AVN_CALL *close)(IAvnMenu* self); /* slot 130 */ - AvnHResult (AVN_CALL *open)(IAvnMenu* self); /* slot 131 */ - AvnHResult (AVN_CALL *advise_opened)(IAvnMenu* self, IAvnMenuBaseOpenedHandler* handler, int64_t* subscription_id); /* slot 132 */ - AvnHResult (AVN_CALL *unadvise_opened)(IAvnMenu* self, int64_t subscription_id); /* slot 133 */ - AvnHResult (AVN_CALL *advise_closed)(IAvnMenu* self, IAvnMenuBaseClosedHandler* handler, int64_t* subscription_id); /* slot 134 */ - AvnHResult (AVN_CALL *unadvise_closed)(IAvnMenu* self, int64_t subscription_id); /* slot 135 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnMenu* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnMenu* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnMenu* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnMenu* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnMenu* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnMenu* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnMenu* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnMenu* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnMenu* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnMenu* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnMenu* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnMenu* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnMenu* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnMenu* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnMenu* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnMenu* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnMenu* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnMenu* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnMenu* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnMenu* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnMenu* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnMenu* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnMenu* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnMenu* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnMenu* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnMenu* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnMenu* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnMenu* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnMenu* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnMenu* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnMenu* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnMenu* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnMenu* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnMenu* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_items)(IAvnMenu* self, IAvnItemList** value); /* slot 109 */ + AvnHResult (AVN_CALL *get_item_count)(IAvnMenu* self, int32_t* value); /* slot 110 */ + AvnHResult (AVN_CALL *get_items_source)(IAvnMenu* self, IAvnVariantList** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_items_source)(IAvnMenu* self, IAvnVariantList* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_item_template)(IAvnMenu* self, IAvnDataTemplate** value); /* slot 113 */ + AvnHResult (AVN_CALL *set_item_template)(IAvnMenu* self, IAvnDataTemplate* value); /* slot 114 */ + AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnMenu* self, int32_t index, IAvnControl** value); /* slot 115 */ + AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnMenu* self, AvnVariant item, IAvnControl** value); /* slot 116 */ + AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnMenu* self, IAvnControl* container, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnMenu* self, IAvnControl* container, AvnVariant* value); /* slot 118 */ + AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnMenu* self, int32_t index); /* slot 119 */ + AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnMenu* self, AvnVariant item); /* slot 120 */ + AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnMenu* self, int32_t* value); /* slot 121 */ + AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnMenu* self, int32_t value); /* slot 122 */ + AvnHResult (AVN_CALL *get_selected_index)(IAvnMenu* self, int32_t* value); /* slot 123 */ + AvnHResult (AVN_CALL *set_selected_index)(IAvnMenu* self, int32_t value); /* slot 124 */ + AvnHResult (AVN_CALL *get_selected_item)(IAvnMenu* self, AvnVariant* value); /* slot 125 */ + AvnHResult (AVN_CALL *set_selected_item)(IAvnMenu* self, AvnVariant value); /* slot 126 */ + AvnHResult (AVN_CALL *get_selected_value)(IAvnMenu* self, AvnVariant* value); /* slot 127 */ + AvnHResult (AVN_CALL *set_selected_value)(IAvnMenu* self, AvnVariant value); /* slot 128 */ + AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnMenu* self, int32_t* value); /* slot 129 */ + AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnMenu* self, int32_t value); /* slot 130 */ + AvnHResult (AVN_CALL *get_wrap_selection)(IAvnMenu* self, int32_t* value); /* slot 131 */ + AvnHResult (AVN_CALL *set_wrap_selection)(IAvnMenu* self, int32_t value); /* slot 132 */ + AvnHResult (AVN_CALL *advise_selection_changed)(IAvnMenu* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 133 */ + AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnMenu* self, int64_t subscription_id); /* slot 134 */ + AvnHResult (AVN_CALL *get_is_open)(IAvnMenu* self, int32_t* value); /* slot 135 */ + AvnHResult (AVN_CALL *close)(IAvnMenu* self); /* slot 136 */ + AvnHResult (AVN_CALL *open)(IAvnMenu* self); /* slot 137 */ + AvnHResult (AVN_CALL *advise_opened)(IAvnMenu* self, IAvnMenuBaseOpenedHandler* handler, int64_t* subscription_id); /* slot 138 */ + AvnHResult (AVN_CALL *unadvise_opened)(IAvnMenu* self, int64_t subscription_id); /* slot 139 */ + AvnHResult (AVN_CALL *advise_closed)(IAvnMenu* self, IAvnMenuBaseClosedHandler* handler, int64_t* subscription_id); /* slot 140 */ + AvnHResult (AVN_CALL *unadvise_closed)(IAvnMenu* self, int64_t subscription_id); /* slot 141 */ }; struct IAvnMenu { const IAvnMenuVtbl* vtbl; }; -#define I_AVN_MENU_VTABLE_SLOTS 136 +#define I_AVN_MENU_VTABLE_SLOTS 142 static const AvnGuid I_AVN_MENU_BASE_IID = { - 0x3B780634, - 0x1A42, - 0x576F, - { 0xA5, 0x87, 0xEE, 0x11, 0xF0, 0xB5, 0xC8, 0xE8 } + 0x1E92B6FA, + 0x9790, + 0x5135, + { 0x8A, 0xC6, 0xA5, 0x66, 0xA0, 0xEA, 0xD4, 0x14 } }; -#define I_AVN_MENU_BASE_ABI_VERSION 13 +#define I_AVN_MENU_BASE_ABI_VERSION 14 struct IAvnMenuBaseVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnMenuBase* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnMenuBase* self); /* slot 1 */ @@ -8189,70 +8501,76 @@ struct IAvnMenuBaseVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnMenuBase* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnMenuBase* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnMenuBase* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnMenuBase* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnMenuBase* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnMenuBase* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnMenuBase* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnMenuBase* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnMenuBase* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnMenuBase* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnMenuBase* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnMenuBase* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnMenuBase* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnMenuBase* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnMenuBase* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnMenuBase* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnMenuBase* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnMenuBase* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnMenuBase* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnMenuBase* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnMenuBase* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnMenuBase* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnMenuBase* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnMenuBase* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnMenuBase* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnMenuBase* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnMenuBase* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnMenuBase* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnMenuBase* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnMenuBase* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnMenuBase* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_items)(IAvnMenuBase* self, IAvnItemList** value); /* slot 103 */ - AvnHResult (AVN_CALL *get_item_count)(IAvnMenuBase* self, int32_t* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_items_source)(IAvnMenuBase* self, IAvnVariantList** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_items_source)(IAvnMenuBase* self, IAvnVariantList* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_item_template)(IAvnMenuBase* self, IAvnDataTemplate** value); /* slot 107 */ - AvnHResult (AVN_CALL *set_item_template)(IAvnMenuBase* self, IAvnDataTemplate* value); /* slot 108 */ - AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnMenuBase* self, int32_t index, IAvnControl** value); /* slot 109 */ - AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnMenuBase* self, AvnVariant item, IAvnControl** value); /* slot 110 */ - AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnMenuBase* self, IAvnControl* container, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnMenuBase* self, IAvnControl* container, AvnVariant* value); /* slot 112 */ - AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnMenuBase* self, int32_t index); /* slot 113 */ - AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnMenuBase* self, AvnVariant item); /* slot 114 */ - AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnMenuBase* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnMenuBase* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_selected_index)(IAvnMenuBase* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_selected_index)(IAvnMenuBase* self, int32_t value); /* slot 118 */ - AvnHResult (AVN_CALL *get_selected_item)(IAvnMenuBase* self, AvnVariant* value); /* slot 119 */ - AvnHResult (AVN_CALL *set_selected_item)(IAvnMenuBase* self, AvnVariant value); /* slot 120 */ - AvnHResult (AVN_CALL *get_selected_value)(IAvnMenuBase* self, AvnVariant* value); /* slot 121 */ - AvnHResult (AVN_CALL *set_selected_value)(IAvnMenuBase* self, AvnVariant value); /* slot 122 */ - AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnMenuBase* self, int32_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnMenuBase* self, int32_t value); /* slot 124 */ - AvnHResult (AVN_CALL *get_wrap_selection)(IAvnMenuBase* self, int32_t* value); /* slot 125 */ - AvnHResult (AVN_CALL *set_wrap_selection)(IAvnMenuBase* self, int32_t value); /* slot 126 */ - AvnHResult (AVN_CALL *advise_selection_changed)(IAvnMenuBase* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 127 */ - AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnMenuBase* self, int64_t subscription_id); /* slot 128 */ - AvnHResult (AVN_CALL *get_is_open)(IAvnMenuBase* self, int32_t* value); /* slot 129 */ - AvnHResult (AVN_CALL *close)(IAvnMenuBase* self); /* slot 130 */ - AvnHResult (AVN_CALL *open)(IAvnMenuBase* self); /* slot 131 */ - AvnHResult (AVN_CALL *advise_opened)(IAvnMenuBase* self, IAvnMenuBaseOpenedHandler* handler, int64_t* subscription_id); /* slot 132 */ - AvnHResult (AVN_CALL *unadvise_opened)(IAvnMenuBase* self, int64_t subscription_id); /* slot 133 */ - AvnHResult (AVN_CALL *advise_closed)(IAvnMenuBase* self, IAvnMenuBaseClosedHandler* handler, int64_t* subscription_id); /* slot 134 */ - AvnHResult (AVN_CALL *unadvise_closed)(IAvnMenuBase* self, int64_t subscription_id); /* slot 135 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnMenuBase* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnMenuBase* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnMenuBase* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnMenuBase* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnMenuBase* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnMenuBase* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnMenuBase* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnMenuBase* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnMenuBase* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnMenuBase* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnMenuBase* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnMenuBase* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnMenuBase* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnMenuBase* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnMenuBase* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnMenuBase* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnMenuBase* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnMenuBase* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnMenuBase* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnMenuBase* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnMenuBase* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnMenuBase* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnMenuBase* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnMenuBase* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnMenuBase* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnMenuBase* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnMenuBase* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnMenuBase* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnMenuBase* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnMenuBase* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnMenuBase* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnMenuBase* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnMenuBase* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnMenuBase* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_items)(IAvnMenuBase* self, IAvnItemList** value); /* slot 109 */ + AvnHResult (AVN_CALL *get_item_count)(IAvnMenuBase* self, int32_t* value); /* slot 110 */ + AvnHResult (AVN_CALL *get_items_source)(IAvnMenuBase* self, IAvnVariantList** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_items_source)(IAvnMenuBase* self, IAvnVariantList* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_item_template)(IAvnMenuBase* self, IAvnDataTemplate** value); /* slot 113 */ + AvnHResult (AVN_CALL *set_item_template)(IAvnMenuBase* self, IAvnDataTemplate* value); /* slot 114 */ + AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnMenuBase* self, int32_t index, IAvnControl** value); /* slot 115 */ + AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnMenuBase* self, AvnVariant item, IAvnControl** value); /* slot 116 */ + AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnMenuBase* self, IAvnControl* container, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnMenuBase* self, IAvnControl* container, AvnVariant* value); /* slot 118 */ + AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnMenuBase* self, int32_t index); /* slot 119 */ + AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnMenuBase* self, AvnVariant item); /* slot 120 */ + AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnMenuBase* self, int32_t* value); /* slot 121 */ + AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnMenuBase* self, int32_t value); /* slot 122 */ + AvnHResult (AVN_CALL *get_selected_index)(IAvnMenuBase* self, int32_t* value); /* slot 123 */ + AvnHResult (AVN_CALL *set_selected_index)(IAvnMenuBase* self, int32_t value); /* slot 124 */ + AvnHResult (AVN_CALL *get_selected_item)(IAvnMenuBase* self, AvnVariant* value); /* slot 125 */ + AvnHResult (AVN_CALL *set_selected_item)(IAvnMenuBase* self, AvnVariant value); /* slot 126 */ + AvnHResult (AVN_CALL *get_selected_value)(IAvnMenuBase* self, AvnVariant* value); /* slot 127 */ + AvnHResult (AVN_CALL *set_selected_value)(IAvnMenuBase* self, AvnVariant value); /* slot 128 */ + AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnMenuBase* self, int32_t* value); /* slot 129 */ + AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnMenuBase* self, int32_t value); /* slot 130 */ + AvnHResult (AVN_CALL *get_wrap_selection)(IAvnMenuBase* self, int32_t* value); /* slot 131 */ + AvnHResult (AVN_CALL *set_wrap_selection)(IAvnMenuBase* self, int32_t value); /* slot 132 */ + AvnHResult (AVN_CALL *advise_selection_changed)(IAvnMenuBase* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 133 */ + AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnMenuBase* self, int64_t subscription_id); /* slot 134 */ + AvnHResult (AVN_CALL *get_is_open)(IAvnMenuBase* self, int32_t* value); /* slot 135 */ + AvnHResult (AVN_CALL *close)(IAvnMenuBase* self); /* slot 136 */ + AvnHResult (AVN_CALL *open)(IAvnMenuBase* self); /* slot 137 */ + AvnHResult (AVN_CALL *advise_opened)(IAvnMenuBase* self, IAvnMenuBaseOpenedHandler* handler, int64_t* subscription_id); /* slot 138 */ + AvnHResult (AVN_CALL *unadvise_opened)(IAvnMenuBase* self, int64_t subscription_id); /* slot 139 */ + AvnHResult (AVN_CALL *advise_closed)(IAvnMenuBase* self, IAvnMenuBaseClosedHandler* handler, int64_t* subscription_id); /* slot 140 */ + AvnHResult (AVN_CALL *unadvise_closed)(IAvnMenuBase* self, int64_t subscription_id); /* slot 141 */ }; struct IAvnMenuBase { const IAvnMenuBaseVtbl* vtbl; }; -#define I_AVN_MENU_BASE_VTABLE_SLOTS 136 +#define I_AVN_MENU_BASE_VTABLE_SLOTS 142 static const AvnGuid I_AVN_MENU_FLYOUT_IID = { 0xBE003C6C, @@ -8312,12 +8630,12 @@ struct IAvnMenuFlyout { const IAvnMenuFlyoutVtbl* vtbl; }; #define I_AVN_MENU_FLYOUT_VTABLE_SLOTS 45 static const AvnGuid I_AVN_MENU_ITEM_IID = { - 0xB08CE5EB, - 0xF84F, - 0x5466, - { 0xBB, 0x66, 0x98, 0x6E, 0x09, 0x71, 0x33, 0x3B } + 0x15CE4E5D, + 0xE0E7, + 0x5356, + { 0xAC, 0xFF, 0xD7, 0x42, 0xB7, 0x28, 0x0B, 0x97 } }; -#define I_AVN_MENU_ITEM_ABI_VERSION 16 +#define I_AVN_MENU_ITEM_ABI_VERSION 17 struct IAvnMenuItemVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnMenuItem* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnMenuItem* self); /* slot 1 */ @@ -8394,105 +8712,111 @@ struct IAvnMenuItemVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnMenuItem* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnMenuItem* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnMenuItem* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnMenuItem* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnMenuItem* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnMenuItem* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnMenuItem* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnMenuItem* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnMenuItem* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnMenuItem* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnMenuItem* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnMenuItem* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnMenuItem* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnMenuItem* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnMenuItem* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnMenuItem* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnMenuItem* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnMenuItem* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnMenuItem* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnMenuItem* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnMenuItem* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnMenuItem* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnMenuItem* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnMenuItem* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnMenuItem* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnMenuItem* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnMenuItem* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnMenuItem* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnMenuItem* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnMenuItem* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnMenuItem* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_items)(IAvnMenuItem* self, IAvnItemList** value); /* slot 103 */ - AvnHResult (AVN_CALL *get_item_count)(IAvnMenuItem* self, int32_t* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_items_source)(IAvnMenuItem* self, IAvnVariantList** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_items_source)(IAvnMenuItem* self, IAvnVariantList* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_item_template)(IAvnMenuItem* self, IAvnDataTemplate** value); /* slot 107 */ - AvnHResult (AVN_CALL *set_item_template)(IAvnMenuItem* self, IAvnDataTemplate* value); /* slot 108 */ - AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnMenuItem* self, int32_t index, IAvnControl** value); /* slot 109 */ - AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnMenuItem* self, AvnVariant item, IAvnControl** value); /* slot 110 */ - AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnMenuItem* self, IAvnControl* container, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnMenuItem* self, IAvnControl* container, AvnVariant* value); /* slot 112 */ - AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnMenuItem* self, int32_t index); /* slot 113 */ - AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnMenuItem* self, AvnVariant item); /* slot 114 */ - AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnMenuItem* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnMenuItem* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_selected_index)(IAvnMenuItem* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_selected_index)(IAvnMenuItem* self, int32_t value); /* slot 118 */ - AvnHResult (AVN_CALL *get_selected_item)(IAvnMenuItem* self, AvnVariant* value); /* slot 119 */ - AvnHResult (AVN_CALL *set_selected_item)(IAvnMenuItem* self, AvnVariant value); /* slot 120 */ - AvnHResult (AVN_CALL *get_selected_value)(IAvnMenuItem* self, AvnVariant* value); /* slot 121 */ - AvnHResult (AVN_CALL *set_selected_value)(IAvnMenuItem* self, AvnVariant value); /* slot 122 */ - AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnMenuItem* self, int32_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnMenuItem* self, int32_t value); /* slot 124 */ - AvnHResult (AVN_CALL *get_wrap_selection)(IAvnMenuItem* self, int32_t* value); /* slot 125 */ - AvnHResult (AVN_CALL *set_wrap_selection)(IAvnMenuItem* self, int32_t value); /* slot 126 */ - AvnHResult (AVN_CALL *advise_selection_changed)(IAvnMenuItem* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 127 */ - AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnMenuItem* self, int64_t subscription_id); /* slot 128 */ - AvnHResult (AVN_CALL *get_header)(IAvnMenuItem* self, IAvnControl** value); /* slot 129 */ - AvnHResult (AVN_CALL *set_header)(IAvnMenuItem* self, IAvnControl* value); /* slot 130 */ - AvnHResult (AVN_CALL *get_header_template)(IAvnMenuItem* self, IAvnDataTemplate** value); /* slot 131 */ - AvnHResult (AVN_CALL *set_header_template)(IAvnMenuItem* self, IAvnDataTemplate* value); /* slot 132 */ - AvnHResult (AVN_CALL *get_command)(IAvnMenuItem* self, IAvnCommand** value); /* slot 133 */ - AvnHResult (AVN_CALL *set_command)(IAvnMenuItem* self, IAvnCommand* value); /* slot 134 */ - AvnHResult (AVN_CALL *get_hot_key)(IAvnMenuItem* self, uint16_t** value); /* slot 135 */ - AvnHResult (AVN_CALL *set_hot_key)(IAvnMenuItem* self, const uint16_t* value); /* slot 136 */ - AvnHResult (AVN_CALL *get_command_parameter)(IAvnMenuItem* self, AvnVariant* value); /* slot 137 */ - AvnHResult (AVN_CALL *set_command_parameter)(IAvnMenuItem* self, AvnVariant value); /* slot 138 */ - AvnHResult (AVN_CALL *get_icon)(IAvnMenuItem* self, IAvnControl** value); /* slot 139 */ - AvnHResult (AVN_CALL *set_icon)(IAvnMenuItem* self, IAvnControl* value); /* slot 140 */ - AvnHResult (AVN_CALL *get_input_gesture)(IAvnMenuItem* self, uint16_t** value); /* slot 141 */ - AvnHResult (AVN_CALL *set_input_gesture)(IAvnMenuItem* self, const uint16_t* value); /* slot 142 */ - AvnHResult (AVN_CALL *get_is_selected)(IAvnMenuItem* self, int32_t* value); /* slot 143 */ - AvnHResult (AVN_CALL *set_is_selected)(IAvnMenuItem* self, int32_t value); /* slot 144 */ - AvnHResult (AVN_CALL *get_is_sub_menu_open)(IAvnMenuItem* self, int32_t* value); /* slot 145 */ - AvnHResult (AVN_CALL *set_is_sub_menu_open)(IAvnMenuItem* self, int32_t value); /* slot 146 */ - AvnHResult (AVN_CALL *get_stays_open_on_click)(IAvnMenuItem* self, int32_t* value); /* slot 147 */ - AvnHResult (AVN_CALL *set_stays_open_on_click)(IAvnMenuItem* self, int32_t value); /* slot 148 */ - AvnHResult (AVN_CALL *get_toggle_type)(IAvnMenuItem* self, int32_t* value); /* slot 149 */ - AvnHResult (AVN_CALL *set_toggle_type)(IAvnMenuItem* self, int32_t value); /* slot 150 */ - AvnHResult (AVN_CALL *get_is_checked)(IAvnMenuItem* self, int32_t* value); /* slot 151 */ - AvnHResult (AVN_CALL *set_is_checked)(IAvnMenuItem* self, int32_t value); /* slot 152 */ - AvnHResult (AVN_CALL *get_group_name)(IAvnMenuItem* self, uint16_t** value); /* slot 153 */ - AvnHResult (AVN_CALL *set_group_name)(IAvnMenuItem* self, const uint16_t* value); /* slot 154 */ - AvnHResult (AVN_CALL *get_has_sub_menu)(IAvnMenuItem* self, int32_t* value); /* slot 155 */ - AvnHResult (AVN_CALL *get_is_top_level)(IAvnMenuItem* self, int32_t* value); /* slot 156 */ - AvnHResult (AVN_CALL *open)(IAvnMenuItem* self); /* slot 157 */ - AvnHResult (AVN_CALL *close)(IAvnMenuItem* self); /* slot 158 */ - AvnHResult (AVN_CALL *advise_click)(IAvnMenuItem* self, IAvnMenuItemClickHandler* handler, int64_t* subscription_id); /* slot 159 */ - AvnHResult (AVN_CALL *unadvise_click)(IAvnMenuItem* self, int64_t subscription_id); /* slot 160 */ - AvnHResult (AVN_CALL *advise_submenu_opened)(IAvnMenuItem* self, IAvnMenuItemSubmenuOpenedHandler* handler, int64_t* subscription_id); /* slot 161 */ - AvnHResult (AVN_CALL *unadvise_submenu_opened)(IAvnMenuItem* self, int64_t subscription_id); /* slot 162 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnMenuItem* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnMenuItem* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnMenuItem* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnMenuItem* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnMenuItem* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnMenuItem* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnMenuItem* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnMenuItem* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnMenuItem* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnMenuItem* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnMenuItem* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnMenuItem* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnMenuItem* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnMenuItem* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnMenuItem* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnMenuItem* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnMenuItem* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnMenuItem* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnMenuItem* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnMenuItem* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnMenuItem* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnMenuItem* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnMenuItem* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnMenuItem* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnMenuItem* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnMenuItem* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnMenuItem* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnMenuItem* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnMenuItem* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnMenuItem* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnMenuItem* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnMenuItem* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnMenuItem* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnMenuItem* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_items)(IAvnMenuItem* self, IAvnItemList** value); /* slot 109 */ + AvnHResult (AVN_CALL *get_item_count)(IAvnMenuItem* self, int32_t* value); /* slot 110 */ + AvnHResult (AVN_CALL *get_items_source)(IAvnMenuItem* self, IAvnVariantList** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_items_source)(IAvnMenuItem* self, IAvnVariantList* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_item_template)(IAvnMenuItem* self, IAvnDataTemplate** value); /* slot 113 */ + AvnHResult (AVN_CALL *set_item_template)(IAvnMenuItem* self, IAvnDataTemplate* value); /* slot 114 */ + AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnMenuItem* self, int32_t index, IAvnControl** value); /* slot 115 */ + AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnMenuItem* self, AvnVariant item, IAvnControl** value); /* slot 116 */ + AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnMenuItem* self, IAvnControl* container, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnMenuItem* self, IAvnControl* container, AvnVariant* value); /* slot 118 */ + AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnMenuItem* self, int32_t index); /* slot 119 */ + AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnMenuItem* self, AvnVariant item); /* slot 120 */ + AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnMenuItem* self, int32_t* value); /* slot 121 */ + AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnMenuItem* self, int32_t value); /* slot 122 */ + AvnHResult (AVN_CALL *get_selected_index)(IAvnMenuItem* self, int32_t* value); /* slot 123 */ + AvnHResult (AVN_CALL *set_selected_index)(IAvnMenuItem* self, int32_t value); /* slot 124 */ + AvnHResult (AVN_CALL *get_selected_item)(IAvnMenuItem* self, AvnVariant* value); /* slot 125 */ + AvnHResult (AVN_CALL *set_selected_item)(IAvnMenuItem* self, AvnVariant value); /* slot 126 */ + AvnHResult (AVN_CALL *get_selected_value)(IAvnMenuItem* self, AvnVariant* value); /* slot 127 */ + AvnHResult (AVN_CALL *set_selected_value)(IAvnMenuItem* self, AvnVariant value); /* slot 128 */ + AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnMenuItem* self, int32_t* value); /* slot 129 */ + AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnMenuItem* self, int32_t value); /* slot 130 */ + AvnHResult (AVN_CALL *get_wrap_selection)(IAvnMenuItem* self, int32_t* value); /* slot 131 */ + AvnHResult (AVN_CALL *set_wrap_selection)(IAvnMenuItem* self, int32_t value); /* slot 132 */ + AvnHResult (AVN_CALL *advise_selection_changed)(IAvnMenuItem* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 133 */ + AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnMenuItem* self, int64_t subscription_id); /* slot 134 */ + AvnHResult (AVN_CALL *get_header)(IAvnMenuItem* self, IAvnControl** value); /* slot 135 */ + AvnHResult (AVN_CALL *set_header)(IAvnMenuItem* self, IAvnControl* value); /* slot 136 */ + AvnHResult (AVN_CALL *get_header_template)(IAvnMenuItem* self, IAvnDataTemplate** value); /* slot 137 */ + AvnHResult (AVN_CALL *set_header_template)(IAvnMenuItem* self, IAvnDataTemplate* value); /* slot 138 */ + AvnHResult (AVN_CALL *get_command)(IAvnMenuItem* self, IAvnCommand** value); /* slot 139 */ + AvnHResult (AVN_CALL *set_command)(IAvnMenuItem* self, IAvnCommand* value); /* slot 140 */ + AvnHResult (AVN_CALL *get_hot_key)(IAvnMenuItem* self, uint16_t** value); /* slot 141 */ + AvnHResult (AVN_CALL *set_hot_key)(IAvnMenuItem* self, const uint16_t* value); /* slot 142 */ + AvnHResult (AVN_CALL *get_command_parameter)(IAvnMenuItem* self, AvnVariant* value); /* slot 143 */ + AvnHResult (AVN_CALL *set_command_parameter)(IAvnMenuItem* self, AvnVariant value); /* slot 144 */ + AvnHResult (AVN_CALL *get_icon)(IAvnMenuItem* self, IAvnControl** value); /* slot 145 */ + AvnHResult (AVN_CALL *set_icon)(IAvnMenuItem* self, IAvnControl* value); /* slot 146 */ + AvnHResult (AVN_CALL *get_input_gesture)(IAvnMenuItem* self, uint16_t** value); /* slot 147 */ + AvnHResult (AVN_CALL *set_input_gesture)(IAvnMenuItem* self, const uint16_t* value); /* slot 148 */ + AvnHResult (AVN_CALL *get_is_selected)(IAvnMenuItem* self, int32_t* value); /* slot 149 */ + AvnHResult (AVN_CALL *set_is_selected)(IAvnMenuItem* self, int32_t value); /* slot 150 */ + AvnHResult (AVN_CALL *get_is_sub_menu_open)(IAvnMenuItem* self, int32_t* value); /* slot 151 */ + AvnHResult (AVN_CALL *set_is_sub_menu_open)(IAvnMenuItem* self, int32_t value); /* slot 152 */ + AvnHResult (AVN_CALL *get_stays_open_on_click)(IAvnMenuItem* self, int32_t* value); /* slot 153 */ + AvnHResult (AVN_CALL *set_stays_open_on_click)(IAvnMenuItem* self, int32_t value); /* slot 154 */ + AvnHResult (AVN_CALL *get_toggle_type)(IAvnMenuItem* self, int32_t* value); /* slot 155 */ + AvnHResult (AVN_CALL *set_toggle_type)(IAvnMenuItem* self, int32_t value); /* slot 156 */ + AvnHResult (AVN_CALL *get_is_checked)(IAvnMenuItem* self, int32_t* value); /* slot 157 */ + AvnHResult (AVN_CALL *set_is_checked)(IAvnMenuItem* self, int32_t value); /* slot 158 */ + AvnHResult (AVN_CALL *get_group_name)(IAvnMenuItem* self, uint16_t** value); /* slot 159 */ + AvnHResult (AVN_CALL *set_group_name)(IAvnMenuItem* self, const uint16_t* value); /* slot 160 */ + AvnHResult (AVN_CALL *get_has_sub_menu)(IAvnMenuItem* self, int32_t* value); /* slot 161 */ + AvnHResult (AVN_CALL *get_is_top_level)(IAvnMenuItem* self, int32_t* value); /* slot 162 */ + AvnHResult (AVN_CALL *open)(IAvnMenuItem* self); /* slot 163 */ + AvnHResult (AVN_CALL *close)(IAvnMenuItem* self); /* slot 164 */ + AvnHResult (AVN_CALL *advise_click)(IAvnMenuItem* self, IAvnMenuItemClickHandler* handler, int64_t* subscription_id); /* slot 165 */ + AvnHResult (AVN_CALL *unadvise_click)(IAvnMenuItem* self, int64_t subscription_id); /* slot 166 */ + AvnHResult (AVN_CALL *advise_submenu_opened)(IAvnMenuItem* self, IAvnMenuItemSubmenuOpenedHandler* handler, int64_t* subscription_id); /* slot 167 */ + AvnHResult (AVN_CALL *unadvise_submenu_opened)(IAvnMenuItem* self, int64_t subscription_id); /* slot 168 */ }; struct IAvnMenuItem { const IAvnMenuItemVtbl* vtbl; }; -#define I_AVN_MENU_ITEM_VTABLE_SLOTS 163 +#define I_AVN_MENU_ITEM_VTABLE_SLOTS 169 static const AvnGuid I_AVN_NOTIFICATION_CARD_IID = { - 0x9E575724, - 0x617A, - 0x54E5, - { 0xBF, 0x78, 0xB6, 0xC6, 0x8E, 0x5F, 0x43, 0x43 } + 0xDB52E2D8, + 0xCC48, + 0x5F72, + { 0xB2, 0x20, 0x52, 0xBD, 0xF1, 0x6B, 0xC0, 0x55 } }; -#define I_AVN_NOTIFICATION_CARD_ABI_VERSION 11 +#define I_AVN_NOTIFICATION_CARD_ABI_VERSION 12 struct IAvnNotificationCardVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnNotificationCard* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnNotificationCard* self); /* slot 1 */ @@ -8569,61 +8893,67 @@ struct IAvnNotificationCardVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnNotificationCard* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnNotificationCard* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnNotificationCard* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnNotificationCard* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnNotificationCard* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnNotificationCard* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnNotificationCard* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnNotificationCard* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnNotificationCard* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnNotificationCard* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnNotificationCard* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnNotificationCard* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnNotificationCard* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnNotificationCard* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnNotificationCard* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnNotificationCard* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnNotificationCard* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnNotificationCard* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnNotificationCard* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnNotificationCard* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnNotificationCard* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnNotificationCard* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnNotificationCard* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnNotificationCard* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnNotificationCard* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnNotificationCard* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnNotificationCard* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnNotificationCard* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnNotificationCard* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnNotificationCard* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnNotificationCard* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_content)(IAvnNotificationCard* self, IAvnControl** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_content)(IAvnNotificationCard* self, IAvnControl* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnNotificationCard* self, IAvnDataTemplate** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnNotificationCard* self, IAvnDataTemplate* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnNotificationCard* self, int32_t* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnNotificationCard* self, int32_t value); /* slot 108 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnNotificationCard* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnNotificationCard* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_is_closing)(IAvnNotificationCard* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *get_is_closed)(IAvnNotificationCard* self, int32_t* value); /* slot 112 */ - AvnHResult (AVN_CALL *set_is_closed)(IAvnNotificationCard* self, int32_t value); /* slot 113 */ - AvnHResult (AVN_CALL *get_notification_type)(IAvnNotificationCard* self, int32_t* value); /* slot 114 */ - AvnHResult (AVN_CALL *set_notification_type)(IAvnNotificationCard* self, int32_t value); /* slot 115 */ - AvnHResult (AVN_CALL *close)(IAvnNotificationCard* self); /* slot 116 */ - AvnHResult (AVN_CALL *advise_notification_closed)(IAvnNotificationCard* self, IAvnNotificationCardNotificationClosedHandler* handler, int64_t* subscription_id); /* slot 117 */ - AvnHResult (AVN_CALL *unadvise_notification_closed)(IAvnNotificationCard* self, int64_t subscription_id); /* slot 118 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnNotificationCard* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnNotificationCard* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnNotificationCard* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnNotificationCard* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnNotificationCard* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnNotificationCard* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnNotificationCard* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnNotificationCard* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnNotificationCard* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnNotificationCard* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnNotificationCard* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnNotificationCard* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnNotificationCard* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnNotificationCard* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnNotificationCard* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnNotificationCard* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnNotificationCard* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnNotificationCard* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnNotificationCard* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnNotificationCard* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnNotificationCard* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnNotificationCard* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnNotificationCard* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnNotificationCard* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnNotificationCard* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnNotificationCard* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnNotificationCard* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnNotificationCard* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnNotificationCard* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnNotificationCard* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnNotificationCard* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnNotificationCard* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnNotificationCard* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnNotificationCard* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_content)(IAvnNotificationCard* self, IAvnControl** value); /* slot 109 */ + AvnHResult (AVN_CALL *set_content)(IAvnNotificationCard* self, IAvnControl* value); /* slot 110 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnNotificationCard* self, IAvnDataTemplate** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnNotificationCard* self, IAvnDataTemplate* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnNotificationCard* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnNotificationCard* self, int32_t value); /* slot 114 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnNotificationCard* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnNotificationCard* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_is_closing)(IAvnNotificationCard* self, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *get_is_closed)(IAvnNotificationCard* self, int32_t* value); /* slot 118 */ + AvnHResult (AVN_CALL *set_is_closed)(IAvnNotificationCard* self, int32_t value); /* slot 119 */ + AvnHResult (AVN_CALL *get_notification_type)(IAvnNotificationCard* self, int32_t* value); /* slot 120 */ + AvnHResult (AVN_CALL *set_notification_type)(IAvnNotificationCard* self, int32_t value); /* slot 121 */ + AvnHResult (AVN_CALL *close)(IAvnNotificationCard* self); /* slot 122 */ + AvnHResult (AVN_CALL *advise_notification_closed)(IAvnNotificationCard* self, IAvnNotificationCardNotificationClosedHandler* handler, int64_t* subscription_id); /* slot 123 */ + AvnHResult (AVN_CALL *unadvise_notification_closed)(IAvnNotificationCard* self, int64_t subscription_id); /* slot 124 */ }; struct IAvnNotificationCard { const IAvnNotificationCardVtbl* vtbl; }; -#define I_AVN_NOTIFICATION_CARD_VTABLE_SLOTS 119 +#define I_AVN_NOTIFICATION_CARD_VTABLE_SLOTS 125 static const AvnGuid I_AVN_NUMERIC_UP_DOWN_IID = { - 0x63426B0F, - 0x1A76, - 0x51A9, - { 0x9E, 0x98, 0x34, 0x3D, 0x2E, 0x69, 0xC1, 0x56 } + 0x1082FB46, + 0x8635, + 0x515E, + { 0x82, 0x2C, 0x12, 0x62, 0x9B, 0x6D, 0x25, 0xF8 } }; -#define I_AVN_NUMERIC_UP_DOWN_ABI_VERSION 11 +#define I_AVN_NUMERIC_UP_DOWN_ABI_VERSION 12 struct IAvnNumericUpDownVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnNumericUpDown* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnNumericUpDown* self); /* slot 1 */ @@ -8700,85 +9030,91 @@ struct IAvnNumericUpDownVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnNumericUpDown* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnNumericUpDown* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnNumericUpDown* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnNumericUpDown* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnNumericUpDown* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnNumericUpDown* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnNumericUpDown* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnNumericUpDown* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnNumericUpDown* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnNumericUpDown* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnNumericUpDown* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnNumericUpDown* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnNumericUpDown* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnNumericUpDown* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnNumericUpDown* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnNumericUpDown* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnNumericUpDown* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnNumericUpDown* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnNumericUpDown* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnNumericUpDown* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnNumericUpDown* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnNumericUpDown* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnNumericUpDown* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnNumericUpDown* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnNumericUpDown* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnNumericUpDown* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnNumericUpDown* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnNumericUpDown* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnNumericUpDown* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnNumericUpDown* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnNumericUpDown* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_allow_spin)(IAvnNumericUpDown* self, int32_t* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_allow_spin)(IAvnNumericUpDown* self, int32_t value); /* slot 104 */ - AvnHResult (AVN_CALL *get_button_spinner_location)(IAvnNumericUpDown* self, int32_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_button_spinner_location)(IAvnNumericUpDown* self, int32_t value); /* slot 106 */ - AvnHResult (AVN_CALL *get_show_button_spinner)(IAvnNumericUpDown* self, int32_t* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_show_button_spinner)(IAvnNumericUpDown* self, int32_t value); /* slot 108 */ - AvnHResult (AVN_CALL *get_clip_value_to_min_max)(IAvnNumericUpDown* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_clip_value_to_min_max)(IAvnNumericUpDown* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_format_string)(IAvnNumericUpDown* self, uint16_t** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_format_string)(IAvnNumericUpDown* self, const uint16_t* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_increment)(IAvnNumericUpDown* self, uint16_t** value); /* slot 113 */ - AvnHResult (AVN_CALL *set_increment)(IAvnNumericUpDown* self, const uint16_t* value); /* slot 114 */ - AvnHResult (AVN_CALL *get_is_read_only)(IAvnNumericUpDown* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_is_read_only)(IAvnNumericUpDown* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_maximum)(IAvnNumericUpDown* self, uint16_t** value); /* slot 117 */ - AvnHResult (AVN_CALL *set_maximum)(IAvnNumericUpDown* self, const uint16_t* value); /* slot 118 */ - AvnHResult (AVN_CALL *get_minimum)(IAvnNumericUpDown* self, uint16_t** value); /* slot 119 */ - AvnHResult (AVN_CALL *set_minimum)(IAvnNumericUpDown* self, const uint16_t* value); /* slot 120 */ - AvnHResult (AVN_CALL *get_text)(IAvnNumericUpDown* self, uint16_t** value); /* slot 121 */ - AvnHResult (AVN_CALL *set_text)(IAvnNumericUpDown* self, const uint16_t* value); /* slot 122 */ - AvnHResult (AVN_CALL *get_value)(IAvnNumericUpDown* self, uint16_t** value); /* slot 123 */ - AvnHResult (AVN_CALL *set_value)(IAvnNumericUpDown* self, const uint16_t* value); /* slot 124 */ - AvnHResult (AVN_CALL *get_placeholder_text)(IAvnNumericUpDown* self, uint16_t** value); /* slot 125 */ - AvnHResult (AVN_CALL *set_placeholder_text)(IAvnNumericUpDown* self, const uint16_t* value); /* slot 126 */ - AvnHResult (AVN_CALL *get_placeholder_foreground)(IAvnNumericUpDown* self, IAvnBrush** value); /* slot 127 */ - AvnHResult (AVN_CALL *set_placeholder_foreground)(IAvnNumericUpDown* self, IAvnBrush* value); /* slot 128 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnNumericUpDown* self, int32_t* value); /* slot 129 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnNumericUpDown* self, int32_t value); /* slot 130 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnNumericUpDown* self, int32_t* value); /* slot 131 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnNumericUpDown* self, int32_t value); /* slot 132 */ - AvnHResult (AVN_CALL *get_text_alignment)(IAvnNumericUpDown* self, int32_t* value); /* slot 133 */ - AvnHResult (AVN_CALL *set_text_alignment)(IAvnNumericUpDown* self, int32_t value); /* slot 134 */ - AvnHResult (AVN_CALL *get_inner_left_content)(IAvnNumericUpDown* self, IAvnControl** value); /* slot 135 */ - AvnHResult (AVN_CALL *set_inner_left_content)(IAvnNumericUpDown* self, IAvnControl* value); /* slot 136 */ - AvnHResult (AVN_CALL *get_inner_right_content)(IAvnNumericUpDown* self, IAvnControl** value); /* slot 137 */ - AvnHResult (AVN_CALL *set_inner_right_content)(IAvnNumericUpDown* self, IAvnControl* value); /* slot 138 */ - AvnHResult (AVN_CALL *advise_spinned)(IAvnNumericUpDown* self, IAvnNumericUpDownSpinnedHandler* handler, int64_t* subscription_id); /* slot 139 */ - AvnHResult (AVN_CALL *unadvise_spinned)(IAvnNumericUpDown* self, int64_t subscription_id); /* slot 140 */ - AvnHResult (AVN_CALL *advise_value_changed)(IAvnNumericUpDown* self, IAvnNumericUpDownValueChangedHandler* handler, int64_t* subscription_id); /* slot 141 */ - AvnHResult (AVN_CALL *unadvise_value_changed)(IAvnNumericUpDown* self, int64_t subscription_id); /* slot 142 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnNumericUpDown* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnNumericUpDown* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnNumericUpDown* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnNumericUpDown* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnNumericUpDown* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnNumericUpDown* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnNumericUpDown* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnNumericUpDown* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnNumericUpDown* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnNumericUpDown* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnNumericUpDown* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnNumericUpDown* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnNumericUpDown* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnNumericUpDown* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnNumericUpDown* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnNumericUpDown* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnNumericUpDown* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnNumericUpDown* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnNumericUpDown* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnNumericUpDown* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnNumericUpDown* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnNumericUpDown* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnNumericUpDown* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnNumericUpDown* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnNumericUpDown* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnNumericUpDown* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnNumericUpDown* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnNumericUpDown* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnNumericUpDown* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnNumericUpDown* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnNumericUpDown* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnNumericUpDown* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnNumericUpDown* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnNumericUpDown* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_allow_spin)(IAvnNumericUpDown* self, int32_t* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_allow_spin)(IAvnNumericUpDown* self, int32_t value); /* slot 110 */ + AvnHResult (AVN_CALL *get_button_spinner_location)(IAvnNumericUpDown* self, int32_t* value); /* slot 111 */ + AvnHResult (AVN_CALL *set_button_spinner_location)(IAvnNumericUpDown* self, int32_t value); /* slot 112 */ + AvnHResult (AVN_CALL *get_show_button_spinner)(IAvnNumericUpDown* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *set_show_button_spinner)(IAvnNumericUpDown* self, int32_t value); /* slot 114 */ + AvnHResult (AVN_CALL *get_clip_value_to_min_max)(IAvnNumericUpDown* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_clip_value_to_min_max)(IAvnNumericUpDown* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_format_string)(IAvnNumericUpDown* self, uint16_t** value); /* slot 117 */ + AvnHResult (AVN_CALL *set_format_string)(IAvnNumericUpDown* self, const uint16_t* value); /* slot 118 */ + AvnHResult (AVN_CALL *get_increment)(IAvnNumericUpDown* self, uint16_t** value); /* slot 119 */ + AvnHResult (AVN_CALL *set_increment)(IAvnNumericUpDown* self, const uint16_t* value); /* slot 120 */ + AvnHResult (AVN_CALL *get_is_read_only)(IAvnNumericUpDown* self, int32_t* value); /* slot 121 */ + AvnHResult (AVN_CALL *set_is_read_only)(IAvnNumericUpDown* self, int32_t value); /* slot 122 */ + AvnHResult (AVN_CALL *get_maximum)(IAvnNumericUpDown* self, uint16_t** value); /* slot 123 */ + AvnHResult (AVN_CALL *set_maximum)(IAvnNumericUpDown* self, const uint16_t* value); /* slot 124 */ + AvnHResult (AVN_CALL *get_minimum)(IAvnNumericUpDown* self, uint16_t** value); /* slot 125 */ + AvnHResult (AVN_CALL *set_minimum)(IAvnNumericUpDown* self, const uint16_t* value); /* slot 126 */ + AvnHResult (AVN_CALL *get_text)(IAvnNumericUpDown* self, uint16_t** value); /* slot 127 */ + AvnHResult (AVN_CALL *set_text)(IAvnNumericUpDown* self, const uint16_t* value); /* slot 128 */ + AvnHResult (AVN_CALL *get_value)(IAvnNumericUpDown* self, uint16_t** value); /* slot 129 */ + AvnHResult (AVN_CALL *set_value)(IAvnNumericUpDown* self, const uint16_t* value); /* slot 130 */ + AvnHResult (AVN_CALL *get_placeholder_text)(IAvnNumericUpDown* self, uint16_t** value); /* slot 131 */ + AvnHResult (AVN_CALL *set_placeholder_text)(IAvnNumericUpDown* self, const uint16_t* value); /* slot 132 */ + AvnHResult (AVN_CALL *get_placeholder_foreground)(IAvnNumericUpDown* self, IAvnBrush** value); /* slot 133 */ + AvnHResult (AVN_CALL *set_placeholder_foreground)(IAvnNumericUpDown* self, IAvnBrush* value); /* slot 134 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnNumericUpDown* self, int32_t* value); /* slot 135 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnNumericUpDown* self, int32_t value); /* slot 136 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnNumericUpDown* self, int32_t* value); /* slot 137 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnNumericUpDown* self, int32_t value); /* slot 138 */ + AvnHResult (AVN_CALL *get_text_alignment)(IAvnNumericUpDown* self, int32_t* value); /* slot 139 */ + AvnHResult (AVN_CALL *set_text_alignment)(IAvnNumericUpDown* self, int32_t value); /* slot 140 */ + AvnHResult (AVN_CALL *get_inner_left_content)(IAvnNumericUpDown* self, IAvnControl** value); /* slot 141 */ + AvnHResult (AVN_CALL *set_inner_left_content)(IAvnNumericUpDown* self, IAvnControl* value); /* slot 142 */ + AvnHResult (AVN_CALL *get_inner_right_content)(IAvnNumericUpDown* self, IAvnControl** value); /* slot 143 */ + AvnHResult (AVN_CALL *set_inner_right_content)(IAvnNumericUpDown* self, IAvnControl* value); /* slot 144 */ + AvnHResult (AVN_CALL *advise_spinned)(IAvnNumericUpDown* self, IAvnNumericUpDownSpinnedHandler* handler, int64_t* subscription_id); /* slot 145 */ + AvnHResult (AVN_CALL *unadvise_spinned)(IAvnNumericUpDown* self, int64_t subscription_id); /* slot 146 */ + AvnHResult (AVN_CALL *advise_value_changed)(IAvnNumericUpDown* self, IAvnNumericUpDownValueChangedHandler* handler, int64_t* subscription_id); /* slot 147 */ + AvnHResult (AVN_CALL *unadvise_value_changed)(IAvnNumericUpDown* self, int64_t subscription_id); /* slot 148 */ }; struct IAvnNumericUpDown { const IAvnNumericUpDownVtbl* vtbl; }; -#define I_AVN_NUMERIC_UP_DOWN_VTABLE_SLOTS 143 +#define I_AVN_NUMERIC_UP_DOWN_VTABLE_SLOTS 149 static const AvnGuid I_AVN_PANEL_IID = { - 0x96AD03DD, - 0xF271, - 0x537E, - { 0xA9, 0x33, 0xB7, 0xC7, 0x5D, 0x63, 0xAC, 0x0C } + 0xE6C6B17E, + 0x9747, + 0x5739, + { 0xB2, 0x55, 0x52, 0xE7, 0x37, 0xA7, 0xA2, 0xA2 } }; -#define I_AVN_PANEL_ABI_VERSION 12 +#define I_AVN_PANEL_ABI_VERSION 13 struct IAvnPanelVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnPanel* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnPanel* self); /* slot 1 */ @@ -8855,20 +9191,26 @@ struct IAvnPanelVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnPanel* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnPanel* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnPanel* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_children)(IAvnPanel* self, IAvnControlList** value); /* slot 75 */ - AvnHResult (AVN_CALL *get_background)(IAvnPanel* self, IAvnBrush** value); /* slot 76 */ - AvnHResult (AVN_CALL *set_background)(IAvnPanel* self, IAvnBrush* value); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnPanel* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnPanel* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnPanel* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnPanel* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnPanel* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnPanel* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_children)(IAvnPanel* self, IAvnControlList** value); /* slot 81 */ + AvnHResult (AVN_CALL *get_background)(IAvnPanel* self, IAvnBrush** value); /* slot 82 */ + AvnHResult (AVN_CALL *set_background)(IAvnPanel* self, IAvnBrush* value); /* slot 83 */ }; struct IAvnPanel { const IAvnPanelVtbl* vtbl; }; -#define I_AVN_PANEL_VTABLE_SLOTS 78 +#define I_AVN_PANEL_VTABLE_SLOTS 84 static const AvnGuid I_AVN_PATH_IID = { - 0xE5A71060, - 0x50E1, - 0x5554, - { 0x81, 0xB4, 0x03, 0x08, 0x98, 0xF2, 0x93, 0xCF } + 0x708CD7FD, + 0x817B, + 0x56CB, + { 0xAE, 0x5C, 0xC7, 0x4F, 0x67, 0xCA, 0xD4, 0xF6 } }; -#define I_AVN_PATH_ABI_VERSION 9 +#define I_AVN_PATH_ABI_VERSION 10 struct IAvnPathVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnPath* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnPath* self); /* slot 1 */ @@ -8945,37 +9287,43 @@ struct IAvnPathVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnPath* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnPath* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnPath* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_fill)(IAvnPath* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_fill)(IAvnPath* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_stretch)(IAvnPath* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_stretch)(IAvnPath* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_stroke)(IAvnPath* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_stroke)(IAvnPath* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_stroke_dash_array)(IAvnPath* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_stroke_dash_array)(IAvnPath* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_stroke_dash_offset)(IAvnPath* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_stroke_dash_offset)(IAvnPath* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_stroke_thickness)(IAvnPath* self, double* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_stroke_thickness)(IAvnPath* self, double value); /* slot 86 */ - AvnHResult (AVN_CALL *get_stroke_line_cap)(IAvnPath* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_stroke_line_cap)(IAvnPath* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_stroke_join)(IAvnPath* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_stroke_join)(IAvnPath* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_stroke_miter_limit)(IAvnPath* self, double* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_stroke_miter_limit)(IAvnPath* self, double value); /* slot 92 */ - AvnHResult (AVN_CALL *get_data)(IAvnPath* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_data)(IAvnPath* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnPath* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnPath* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnPath* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnPath* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnPath* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnPath* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_fill)(IAvnPath* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_fill)(IAvnPath* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_stretch)(IAvnPath* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_stretch)(IAvnPath* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_stroke)(IAvnPath* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_stroke)(IAvnPath* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_stroke_dash_array)(IAvnPath* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_stroke_dash_array)(IAvnPath* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_stroke_dash_offset)(IAvnPath* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_stroke_dash_offset)(IAvnPath* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_stroke_thickness)(IAvnPath* self, double* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_stroke_thickness)(IAvnPath* self, double value); /* slot 92 */ + AvnHResult (AVN_CALL *get_stroke_line_cap)(IAvnPath* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_stroke_line_cap)(IAvnPath* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_stroke_join)(IAvnPath* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_stroke_join)(IAvnPath* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_stroke_miter_limit)(IAvnPath* self, double* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_stroke_miter_limit)(IAvnPath* self, double value); /* slot 98 */ + AvnHResult (AVN_CALL *get_data)(IAvnPath* self, uint16_t** value); /* slot 99 */ + AvnHResult (AVN_CALL *set_data)(IAvnPath* self, const uint16_t* value); /* slot 100 */ }; struct IAvnPath { const IAvnPathVtbl* vtbl; }; -#define I_AVN_PATH_VTABLE_SLOTS 95 +#define I_AVN_PATH_VTABLE_SLOTS 101 static const AvnGuid I_AVN_PATH_ICON_IID = { - 0x885577A3, - 0xAC29, - 0x51D9, - { 0xAC, 0xB5, 0xD3, 0x0A, 0xBB, 0xB4, 0x84, 0xFC } + 0x6D274452, + 0x1819, + 0x559D, + { 0xBB, 0x43, 0x52, 0xE6, 0x8A, 0xB6, 0x4E, 0x10 } }; -#define I_AVN_PATH_ICON_ABI_VERSION 10 +#define I_AVN_PATH_ICON_ABI_VERSION 11 struct IAvnPathIconVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnPathIcon* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnPathIcon* self); /* slot 1 */ @@ -9052,47 +9400,53 @@ struct IAvnPathIconVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnPathIcon* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnPathIcon* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnPathIcon* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnPathIcon* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnPathIcon* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnPathIcon* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnPathIcon* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnPathIcon* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnPathIcon* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnPathIcon* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnPathIcon* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnPathIcon* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnPathIcon* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnPathIcon* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnPathIcon* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnPathIcon* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnPathIcon* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnPathIcon* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnPathIcon* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnPathIcon* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnPathIcon* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnPathIcon* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnPathIcon* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnPathIcon* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnPathIcon* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnPathIcon* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnPathIcon* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnPathIcon* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnPathIcon* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnPathIcon* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnPathIcon* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_data)(IAvnPathIcon* self, uint16_t** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_data)(IAvnPathIcon* self, const uint16_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnPathIcon* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnPathIcon* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnPathIcon* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnPathIcon* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnPathIcon* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnPathIcon* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnPathIcon* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnPathIcon* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnPathIcon* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnPathIcon* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnPathIcon* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnPathIcon* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnPathIcon* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnPathIcon* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnPathIcon* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnPathIcon* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnPathIcon* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnPathIcon* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnPathIcon* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnPathIcon* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnPathIcon* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnPathIcon* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnPathIcon* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnPathIcon* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnPathIcon* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnPathIcon* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnPathIcon* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnPathIcon* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnPathIcon* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnPathIcon* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnPathIcon* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnPathIcon* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnPathIcon* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnPathIcon* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_data)(IAvnPathIcon* self, uint16_t** value); /* slot 109 */ + AvnHResult (AVN_CALL *set_data)(IAvnPathIcon* self, const uint16_t* value); /* slot 110 */ }; struct IAvnPathIcon { const IAvnPathIconVtbl* vtbl; }; -#define I_AVN_PATH_ICON_VTABLE_SLOTS 105 +#define I_AVN_PATH_ICON_VTABLE_SLOTS 111 static const AvnGuid I_AVN_PIPS_PAGER_IID = { - 0x6C3C0A8B, - 0x3237, - 0x50C1, - { 0x8D, 0xF3, 0x51, 0x71, 0xED, 0xF2, 0xA1, 0xB8 } + 0xFBFAC5E1, + 0xFD39, + 0x56C8, + { 0x82, 0x08, 0x7C, 0x0E, 0x0A, 0xFA, 0x68, 0xCD } }; -#define I_AVN_PIPS_PAGER_ABI_VERSION 11 +#define I_AVN_PIPS_PAGER_ABI_VERSION 12 struct IAvnPipsPagerVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnPipsPager* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnPipsPager* self); /* slot 1 */ @@ -9169,59 +9523,65 @@ struct IAvnPipsPagerVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnPipsPager* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnPipsPager* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnPipsPager* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnPipsPager* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnPipsPager* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnPipsPager* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnPipsPager* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnPipsPager* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnPipsPager* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnPipsPager* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnPipsPager* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnPipsPager* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnPipsPager* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnPipsPager* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnPipsPager* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnPipsPager* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnPipsPager* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnPipsPager* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnPipsPager* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnPipsPager* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnPipsPager* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnPipsPager* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnPipsPager* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnPipsPager* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnPipsPager* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnPipsPager* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnPipsPager* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnPipsPager* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnPipsPager* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnPipsPager* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnPipsPager* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_max_visible_pips)(IAvnPipsPager* self, int32_t* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_max_visible_pips)(IAvnPipsPager* self, int32_t value); /* slot 104 */ - AvnHResult (AVN_CALL *get_is_next_button_visible)(IAvnPipsPager* self, int32_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_is_next_button_visible)(IAvnPipsPager* self, int32_t value); /* slot 106 */ - AvnHResult (AVN_CALL *get_number_of_pages)(IAvnPipsPager* self, int32_t* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_number_of_pages)(IAvnPipsPager* self, int32_t value); /* slot 108 */ - AvnHResult (AVN_CALL *get_orientation)(IAvnPipsPager* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_orientation)(IAvnPipsPager* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_is_previous_button_visible)(IAvnPipsPager* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_is_previous_button_visible)(IAvnPipsPager* self, int32_t value); /* slot 112 */ - AvnHResult (AVN_CALL *get_selected_page_index)(IAvnPipsPager* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_selected_page_index)(IAvnPipsPager* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *advise_selected_index_changed)(IAvnPipsPager* self, IAvnPipsPagerSelectedIndexChangedHandler* handler, int64_t* subscription_id); /* slot 115 */ - AvnHResult (AVN_CALL *unadvise_selected_index_changed)(IAvnPipsPager* self, int64_t subscription_id); /* slot 116 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnPipsPager* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnPipsPager* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnPipsPager* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnPipsPager* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnPipsPager* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnPipsPager* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnPipsPager* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnPipsPager* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnPipsPager* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnPipsPager* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnPipsPager* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnPipsPager* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnPipsPager* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnPipsPager* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnPipsPager* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnPipsPager* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnPipsPager* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnPipsPager* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnPipsPager* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnPipsPager* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnPipsPager* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnPipsPager* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnPipsPager* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnPipsPager* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnPipsPager* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnPipsPager* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnPipsPager* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnPipsPager* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnPipsPager* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnPipsPager* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnPipsPager* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnPipsPager* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnPipsPager* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnPipsPager* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_max_visible_pips)(IAvnPipsPager* self, int32_t* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_max_visible_pips)(IAvnPipsPager* self, int32_t value); /* slot 110 */ + AvnHResult (AVN_CALL *get_is_next_button_visible)(IAvnPipsPager* self, int32_t* value); /* slot 111 */ + AvnHResult (AVN_CALL *set_is_next_button_visible)(IAvnPipsPager* self, int32_t value); /* slot 112 */ + AvnHResult (AVN_CALL *get_number_of_pages)(IAvnPipsPager* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *set_number_of_pages)(IAvnPipsPager* self, int32_t value); /* slot 114 */ + AvnHResult (AVN_CALL *get_orientation)(IAvnPipsPager* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_orientation)(IAvnPipsPager* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_is_previous_button_visible)(IAvnPipsPager* self, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_is_previous_button_visible)(IAvnPipsPager* self, int32_t value); /* slot 118 */ + AvnHResult (AVN_CALL *get_selected_page_index)(IAvnPipsPager* self, int32_t* value); /* slot 119 */ + AvnHResult (AVN_CALL *set_selected_page_index)(IAvnPipsPager* self, int32_t value); /* slot 120 */ + AvnHResult (AVN_CALL *advise_selected_index_changed)(IAvnPipsPager* self, IAvnPipsPagerSelectedIndexChangedHandler* handler, int64_t* subscription_id); /* slot 121 */ + AvnHResult (AVN_CALL *unadvise_selected_index_changed)(IAvnPipsPager* self, int64_t subscription_id); /* slot 122 */ }; struct IAvnPipsPager { const IAvnPipsPagerVtbl* vtbl; }; -#define I_AVN_PIPS_PAGER_VTABLE_SLOTS 117 +#define I_AVN_PIPS_PAGER_VTABLE_SLOTS 123 static const AvnGuid I_AVN_POLYGON_IID = { - 0xE706EC48, - 0x3CA1, - 0x5BEA, - { 0x90, 0x7E, 0x46, 0x0C, 0xA5, 0x3B, 0x06, 0xBE } + 0x4F93F9D8, + 0x08E6, + 0x56F7, + { 0xA5, 0x1B, 0x07, 0x39, 0x28, 0x79, 0x5D, 0x7D } }; -#define I_AVN_POLYGON_ABI_VERSION 9 +#define I_AVN_POLYGON_ABI_VERSION 10 struct IAvnPolygonVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnPolygon* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnPolygon* self); /* slot 1 */ @@ -9298,39 +9658,45 @@ struct IAvnPolygonVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnPolygon* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnPolygon* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnPolygon* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_fill)(IAvnPolygon* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_fill)(IAvnPolygon* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_stretch)(IAvnPolygon* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_stretch)(IAvnPolygon* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_stroke)(IAvnPolygon* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_stroke)(IAvnPolygon* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_stroke_dash_array)(IAvnPolygon* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_stroke_dash_array)(IAvnPolygon* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_stroke_dash_offset)(IAvnPolygon* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_stroke_dash_offset)(IAvnPolygon* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_stroke_thickness)(IAvnPolygon* self, double* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_stroke_thickness)(IAvnPolygon* self, double value); /* slot 86 */ - AvnHResult (AVN_CALL *get_stroke_line_cap)(IAvnPolygon* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_stroke_line_cap)(IAvnPolygon* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_stroke_join)(IAvnPolygon* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_stroke_join)(IAvnPolygon* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_stroke_miter_limit)(IAvnPolygon* self, double* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_stroke_miter_limit)(IAvnPolygon* self, double value); /* slot 92 */ - AvnHResult (AVN_CALL *get_points)(IAvnPolygon* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_points)(IAvnPolygon* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_fill_rule)(IAvnPolygon* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_fill_rule)(IAvnPolygon* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnPolygon* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnPolygon* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnPolygon* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnPolygon* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnPolygon* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnPolygon* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_fill)(IAvnPolygon* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_fill)(IAvnPolygon* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_stretch)(IAvnPolygon* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_stretch)(IAvnPolygon* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_stroke)(IAvnPolygon* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_stroke)(IAvnPolygon* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_stroke_dash_array)(IAvnPolygon* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_stroke_dash_array)(IAvnPolygon* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_stroke_dash_offset)(IAvnPolygon* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_stroke_dash_offset)(IAvnPolygon* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_stroke_thickness)(IAvnPolygon* self, double* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_stroke_thickness)(IAvnPolygon* self, double value); /* slot 92 */ + AvnHResult (AVN_CALL *get_stroke_line_cap)(IAvnPolygon* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_stroke_line_cap)(IAvnPolygon* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_stroke_join)(IAvnPolygon* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_stroke_join)(IAvnPolygon* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_stroke_miter_limit)(IAvnPolygon* self, double* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_stroke_miter_limit)(IAvnPolygon* self, double value); /* slot 98 */ + AvnHResult (AVN_CALL *get_points)(IAvnPolygon* self, uint16_t** value); /* slot 99 */ + AvnHResult (AVN_CALL *set_points)(IAvnPolygon* self, const uint16_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *get_fill_rule)(IAvnPolygon* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_fill_rule)(IAvnPolygon* self, int32_t value); /* slot 102 */ }; struct IAvnPolygon { const IAvnPolygonVtbl* vtbl; }; -#define I_AVN_POLYGON_VTABLE_SLOTS 97 +#define I_AVN_POLYGON_VTABLE_SLOTS 103 static const AvnGuid I_AVN_POLYLINE_IID = { - 0x035DBEE9, - 0xDC4D, - 0x57B6, - { 0x91, 0x40, 0xDD, 0x59, 0xB2, 0x08, 0xA9, 0xDC } + 0x2DBA0D61, + 0xC35B, + 0x5D12, + { 0x82, 0xA7, 0x55, 0x5E, 0xDA, 0x62, 0x0B, 0xC5 } }; -#define I_AVN_POLYLINE_ABI_VERSION 9 +#define I_AVN_POLYLINE_ABI_VERSION 10 struct IAvnPolylineVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnPolyline* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnPolyline* self); /* slot 1 */ @@ -9407,39 +9773,45 @@ struct IAvnPolylineVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnPolyline* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnPolyline* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnPolyline* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_fill)(IAvnPolyline* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_fill)(IAvnPolyline* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_stretch)(IAvnPolyline* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_stretch)(IAvnPolyline* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_stroke)(IAvnPolyline* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_stroke)(IAvnPolyline* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_stroke_dash_array)(IAvnPolyline* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_stroke_dash_array)(IAvnPolyline* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_stroke_dash_offset)(IAvnPolyline* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_stroke_dash_offset)(IAvnPolyline* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_stroke_thickness)(IAvnPolyline* self, double* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_stroke_thickness)(IAvnPolyline* self, double value); /* slot 86 */ - AvnHResult (AVN_CALL *get_stroke_line_cap)(IAvnPolyline* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_stroke_line_cap)(IAvnPolyline* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_stroke_join)(IAvnPolyline* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_stroke_join)(IAvnPolyline* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_stroke_miter_limit)(IAvnPolyline* self, double* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_stroke_miter_limit)(IAvnPolyline* self, double value); /* slot 92 */ - AvnHResult (AVN_CALL *get_points)(IAvnPolyline* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_points)(IAvnPolyline* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_fill_rule)(IAvnPolyline* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_fill_rule)(IAvnPolyline* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnPolyline* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnPolyline* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnPolyline* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnPolyline* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnPolyline* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnPolyline* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_fill)(IAvnPolyline* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_fill)(IAvnPolyline* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_stretch)(IAvnPolyline* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_stretch)(IAvnPolyline* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_stroke)(IAvnPolyline* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_stroke)(IAvnPolyline* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_stroke_dash_array)(IAvnPolyline* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_stroke_dash_array)(IAvnPolyline* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_stroke_dash_offset)(IAvnPolyline* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_stroke_dash_offset)(IAvnPolyline* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_stroke_thickness)(IAvnPolyline* self, double* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_stroke_thickness)(IAvnPolyline* self, double value); /* slot 92 */ + AvnHResult (AVN_CALL *get_stroke_line_cap)(IAvnPolyline* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_stroke_line_cap)(IAvnPolyline* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_stroke_join)(IAvnPolyline* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_stroke_join)(IAvnPolyline* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_stroke_miter_limit)(IAvnPolyline* self, double* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_stroke_miter_limit)(IAvnPolyline* self, double value); /* slot 98 */ + AvnHResult (AVN_CALL *get_points)(IAvnPolyline* self, uint16_t** value); /* slot 99 */ + AvnHResult (AVN_CALL *set_points)(IAvnPolyline* self, const uint16_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *get_fill_rule)(IAvnPolyline* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_fill_rule)(IAvnPolyline* self, int32_t value); /* slot 102 */ }; struct IAvnPolyline { const IAvnPolylineVtbl* vtbl; }; -#define I_AVN_POLYLINE_VTABLE_SLOTS 97 +#define I_AVN_POLYLINE_VTABLE_SLOTS 103 static const AvnGuid I_AVN_POPUP_IID = { - 0x6CCB1B6A, - 0xEC3B, - 0x5625, - { 0xA6, 0x04, 0x97, 0xB5, 0x6F, 0xF5, 0xB8, 0x6F } + 0x30B75D6F, + 0x4E12, + 0x505C, + { 0x8C, 0x73, 0xE0, 0x2A, 0x5F, 0xCD, 0xB3, 0x56 } }; -#define I_AVN_POPUP_ABI_VERSION 9 +#define I_AVN_POPUP_ABI_VERSION 10 struct IAvnPopupVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnPopup* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnPopup* self); /* slot 1 */ @@ -9516,55 +9888,61 @@ struct IAvnPopupVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnPopup* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnPopup* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnPopup* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_window_manager_add_shadow_hint)(IAvnPopup* self, int32_t* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_window_manager_add_shadow_hint)(IAvnPopup* self, int32_t value); /* slot 76 */ - AvnHResult (AVN_CALL *get_child)(IAvnPopup* self, IAvnControl** value); /* slot 77 */ - AvnHResult (AVN_CALL *set_child)(IAvnPopup* self, IAvnControl* value); /* slot 78 */ - AvnHResult (AVN_CALL *get_inherits_transform)(IAvnPopup* self, int32_t* value); /* slot 79 */ - AvnHResult (AVN_CALL *set_inherits_transform)(IAvnPopup* self, int32_t value); /* slot 80 */ - AvnHResult (AVN_CALL *get_is_light_dismiss_enabled)(IAvnPopup* self, int32_t* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_is_light_dismiss_enabled)(IAvnPopup* self, int32_t value); /* slot 82 */ - AvnHResult (AVN_CALL *get_is_open)(IAvnPopup* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_is_open)(IAvnPopup* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_placement_anchor)(IAvnPopup* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_placement_anchor)(IAvnPopup* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_placement_constraint_adjustment)(IAvnPopup* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_placement_constraint_adjustment)(IAvnPopup* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_placement_gravity)(IAvnPopup* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_placement_gravity)(IAvnPopup* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_placement)(IAvnPopup* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_placement)(IAvnPopup* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_placement_rect)(IAvnPopup* self, AvnOptionalRect* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_placement_rect)(IAvnPopup* self, AvnOptionalRect value); /* slot 94 */ - AvnHResult (AVN_CALL *get_placement_target)(IAvnPopup* self, IAvnControl** value); /* slot 95 */ - AvnHResult (AVN_CALL *set_placement_target)(IAvnPopup* self, IAvnControl* value); /* slot 96 */ - AvnHResult (AVN_CALL *get_custom_popup_placement_callback)(IAvnPopup* self, IAvnPopupPlacementCallback** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_custom_popup_placement_callback)(IAvnPopup* self, IAvnPopupPlacementCallback* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_overlay_dismiss_event_pass_through)(IAvnPopup* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_overlay_dismiss_event_pass_through)(IAvnPopup* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_overlay_input_pass_through_element)(IAvnPopup* self, IAvnControl** value); /* slot 101 */ - AvnHResult (AVN_CALL *set_overlay_input_pass_through_element)(IAvnPopup* self, IAvnControl* value); /* slot 102 */ - AvnHResult (AVN_CALL *get_horizontal_offset)(IAvnPopup* self, double* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_horizontal_offset)(IAvnPopup* self, double value); /* slot 104 */ - AvnHResult (AVN_CALL *get_vertical_offset)(IAvnPopup* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_vertical_offset)(IAvnPopup* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_topmost)(IAvnPopup* self, int32_t* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_topmost)(IAvnPopup* self, int32_t value); /* slot 108 */ - AvnHResult (AVN_CALL *get_takes_focus_from_native_control)(IAvnPopup* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_takes_focus_from_native_control)(IAvnPopup* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_should_use_overlay_layer)(IAvnPopup* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_should_use_overlay_layer)(IAvnPopup* self, int32_t value); /* slot 112 */ - AvnHResult (AVN_CALL *get_is_using_overlay_layer)(IAvnPopup* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *get_is_pointer_over_popup)(IAvnPopup* self, int32_t* value); /* slot 114 */ - AvnHResult (AVN_CALL *open)(IAvnPopup* self); /* slot 115 */ - AvnHResult (AVN_CALL *close)(IAvnPopup* self); /* slot 116 */ - AvnHResult (AVN_CALL *advise_closed)(IAvnPopup* self, IAvnPopupClosedHandler* handler, int64_t* subscription_id); /* slot 117 */ - AvnHResult (AVN_CALL *unadvise_closed)(IAvnPopup* self, int64_t subscription_id); /* slot 118 */ - AvnHResult (AVN_CALL *advise_opened)(IAvnPopup* self, IAvnPopupOpenedHandler* handler, int64_t* subscription_id); /* slot 119 */ - AvnHResult (AVN_CALL *unadvise_opened)(IAvnPopup* self, int64_t subscription_id); /* slot 120 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnPopup* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnPopup* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnPopup* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnPopup* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnPopup* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnPopup* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_window_manager_add_shadow_hint)(IAvnPopup* self, int32_t* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_window_manager_add_shadow_hint)(IAvnPopup* self, int32_t value); /* slot 82 */ + AvnHResult (AVN_CALL *get_child)(IAvnPopup* self, IAvnControl** value); /* slot 83 */ + AvnHResult (AVN_CALL *set_child)(IAvnPopup* self, IAvnControl* value); /* slot 84 */ + AvnHResult (AVN_CALL *get_inherits_transform)(IAvnPopup* self, int32_t* value); /* slot 85 */ + AvnHResult (AVN_CALL *set_inherits_transform)(IAvnPopup* self, int32_t value); /* slot 86 */ + AvnHResult (AVN_CALL *get_is_light_dismiss_enabled)(IAvnPopup* self, int32_t* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_is_light_dismiss_enabled)(IAvnPopup* self, int32_t value); /* slot 88 */ + AvnHResult (AVN_CALL *get_is_open)(IAvnPopup* self, int32_t* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_is_open)(IAvnPopup* self, int32_t value); /* slot 90 */ + AvnHResult (AVN_CALL *get_placement_anchor)(IAvnPopup* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_placement_anchor)(IAvnPopup* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_placement_constraint_adjustment)(IAvnPopup* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_placement_constraint_adjustment)(IAvnPopup* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_placement_gravity)(IAvnPopup* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_placement_gravity)(IAvnPopup* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_placement)(IAvnPopup* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_placement)(IAvnPopup* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_placement_rect)(IAvnPopup* self, AvnOptionalRect* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_placement_rect)(IAvnPopup* self, AvnOptionalRect value); /* slot 100 */ + AvnHResult (AVN_CALL *get_placement_target)(IAvnPopup* self, IAvnControl** value); /* slot 101 */ + AvnHResult (AVN_CALL *set_placement_target)(IAvnPopup* self, IAvnControl* value); /* slot 102 */ + AvnHResult (AVN_CALL *get_custom_popup_placement_callback)(IAvnPopup* self, IAvnPopupPlacementCallback** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_custom_popup_placement_callback)(IAvnPopup* self, IAvnPopupPlacementCallback* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_overlay_dismiss_event_pass_through)(IAvnPopup* self, int32_t* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_overlay_dismiss_event_pass_through)(IAvnPopup* self, int32_t value); /* slot 106 */ + AvnHResult (AVN_CALL *get_overlay_input_pass_through_element)(IAvnPopup* self, IAvnControl** value); /* slot 107 */ + AvnHResult (AVN_CALL *set_overlay_input_pass_through_element)(IAvnPopup* self, IAvnControl* value); /* slot 108 */ + AvnHResult (AVN_CALL *get_horizontal_offset)(IAvnPopup* self, double* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_horizontal_offset)(IAvnPopup* self, double value); /* slot 110 */ + AvnHResult (AVN_CALL *get_vertical_offset)(IAvnPopup* self, double* value); /* slot 111 */ + AvnHResult (AVN_CALL *set_vertical_offset)(IAvnPopup* self, double value); /* slot 112 */ + AvnHResult (AVN_CALL *get_topmost)(IAvnPopup* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *set_topmost)(IAvnPopup* self, int32_t value); /* slot 114 */ + AvnHResult (AVN_CALL *get_takes_focus_from_native_control)(IAvnPopup* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_takes_focus_from_native_control)(IAvnPopup* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_should_use_overlay_layer)(IAvnPopup* self, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_should_use_overlay_layer)(IAvnPopup* self, int32_t value); /* slot 118 */ + AvnHResult (AVN_CALL *get_is_using_overlay_layer)(IAvnPopup* self, int32_t* value); /* slot 119 */ + AvnHResult (AVN_CALL *get_is_pointer_over_popup)(IAvnPopup* self, int32_t* value); /* slot 120 */ + AvnHResult (AVN_CALL *open)(IAvnPopup* self); /* slot 121 */ + AvnHResult (AVN_CALL *close)(IAvnPopup* self); /* slot 122 */ + AvnHResult (AVN_CALL *advise_closed)(IAvnPopup* self, IAvnPopupClosedHandler* handler, int64_t* subscription_id); /* slot 123 */ + AvnHResult (AVN_CALL *unadvise_closed)(IAvnPopup* self, int64_t subscription_id); /* slot 124 */ + AvnHResult (AVN_CALL *advise_opened)(IAvnPopup* self, IAvnPopupOpenedHandler* handler, int64_t* subscription_id); /* slot 125 */ + AvnHResult (AVN_CALL *unadvise_opened)(IAvnPopup* self, int64_t subscription_id); /* slot 126 */ }; struct IAvnPopup { const IAvnPopupVtbl* vtbl; }; -#define I_AVN_POPUP_VTABLE_SLOTS 121 +#define I_AVN_POPUP_VTABLE_SLOTS 127 static const AvnGuid I_AVN_POPUP_FLYOUT_BASE_IID = { 0xE8905C74, @@ -9619,12 +9997,12 @@ struct IAvnPopupFlyoutBase { const IAvnPopupFlyoutBaseVtbl* vtbl; }; #define I_AVN_POPUP_FLYOUT_BASE_VTABLE_SLOTS 40 static const AvnGuid I_AVN_PROGRESS_BAR_IID = { - 0xA87F44AD, - 0x6E9D, - 0x5059, - { 0xA3, 0x55, 0xCB, 0xC9, 0x07, 0xAD, 0x0F, 0x45 } + 0x5AD47222, + 0x012D, + 0x56C8, + { 0x84, 0x59, 0x42, 0xDD, 0x29, 0x5B, 0x9D, 0xAF } }; -#define I_AVN_PROGRESS_BAR_ABI_VERSION 14 +#define I_AVN_PROGRESS_BAR_ABI_VERSION 15 struct IAvnProgressBarVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnProgressBar* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnProgressBar* self); /* slot 1 */ @@ -9701,66 +10079,72 @@ struct IAvnProgressBarVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnProgressBar* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnProgressBar* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnProgressBar* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnProgressBar* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnProgressBar* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnProgressBar* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnProgressBar* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnProgressBar* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnProgressBar* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnProgressBar* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnProgressBar* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnProgressBar* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnProgressBar* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnProgressBar* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnProgressBar* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnProgressBar* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnProgressBar* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnProgressBar* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnProgressBar* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnProgressBar* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnProgressBar* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnProgressBar* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnProgressBar* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnProgressBar* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnProgressBar* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnProgressBar* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnProgressBar* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnProgressBar* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnProgressBar* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnProgressBar* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnProgressBar* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_minimum)(IAvnProgressBar* self, double* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_minimum)(IAvnProgressBar* self, double value); /* slot 104 */ - AvnHResult (AVN_CALL *get_maximum)(IAvnProgressBar* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_maximum)(IAvnProgressBar* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_value)(IAvnProgressBar* self, double* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_value)(IAvnProgressBar* self, double value); /* slot 108 */ - AvnHResult (AVN_CALL *get_small_change)(IAvnProgressBar* self, double* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_small_change)(IAvnProgressBar* self, double value); /* slot 110 */ - AvnHResult (AVN_CALL *get_large_change)(IAvnProgressBar* self, double* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_large_change)(IAvnProgressBar* self, double value); /* slot 112 */ - AvnHResult (AVN_CALL *advise_value_changed)(IAvnProgressBar* self, IAvnRangeBaseValueChangedHandler* handler, int64_t* subscription_id); /* slot 113 */ - AvnHResult (AVN_CALL *unadvise_value_changed)(IAvnProgressBar* self, int64_t subscription_id); /* slot 114 */ - AvnHResult (AVN_CALL *get_percentage)(IAvnProgressBar* self, double* value); /* slot 115 */ - AvnHResult (AVN_CALL *get_is_indeterminate)(IAvnProgressBar* self, int32_t* value); /* slot 116 */ - AvnHResult (AVN_CALL *set_is_indeterminate)(IAvnProgressBar* self, int32_t value); /* slot 117 */ - AvnHResult (AVN_CALL *get_show_progress_text)(IAvnProgressBar* self, int32_t* value); /* slot 118 */ - AvnHResult (AVN_CALL *set_show_progress_text)(IAvnProgressBar* self, int32_t value); /* slot 119 */ - AvnHResult (AVN_CALL *get_progress_text_format)(IAvnProgressBar* self, uint16_t** value); /* slot 120 */ - AvnHResult (AVN_CALL *set_progress_text_format)(IAvnProgressBar* self, const uint16_t* value); /* slot 121 */ - AvnHResult (AVN_CALL *get_orientation)(IAvnProgressBar* self, int32_t* value); /* slot 122 */ - AvnHResult (AVN_CALL *set_orientation)(IAvnProgressBar* self, int32_t value); /* slot 123 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnProgressBar* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnProgressBar* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnProgressBar* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnProgressBar* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnProgressBar* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnProgressBar* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnProgressBar* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnProgressBar* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnProgressBar* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnProgressBar* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnProgressBar* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnProgressBar* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnProgressBar* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnProgressBar* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnProgressBar* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnProgressBar* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnProgressBar* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnProgressBar* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnProgressBar* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnProgressBar* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnProgressBar* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnProgressBar* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnProgressBar* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnProgressBar* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnProgressBar* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnProgressBar* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnProgressBar* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnProgressBar* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnProgressBar* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnProgressBar* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnProgressBar* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnProgressBar* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnProgressBar* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnProgressBar* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_minimum)(IAvnProgressBar* self, double* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_minimum)(IAvnProgressBar* self, double value); /* slot 110 */ + AvnHResult (AVN_CALL *get_maximum)(IAvnProgressBar* self, double* value); /* slot 111 */ + AvnHResult (AVN_CALL *set_maximum)(IAvnProgressBar* self, double value); /* slot 112 */ + AvnHResult (AVN_CALL *get_value)(IAvnProgressBar* self, double* value); /* slot 113 */ + AvnHResult (AVN_CALL *set_value)(IAvnProgressBar* self, double value); /* slot 114 */ + AvnHResult (AVN_CALL *get_small_change)(IAvnProgressBar* self, double* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_small_change)(IAvnProgressBar* self, double value); /* slot 116 */ + AvnHResult (AVN_CALL *get_large_change)(IAvnProgressBar* self, double* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_large_change)(IAvnProgressBar* self, double value); /* slot 118 */ + AvnHResult (AVN_CALL *advise_value_changed)(IAvnProgressBar* self, IAvnRangeBaseValueChangedHandler* handler, int64_t* subscription_id); /* slot 119 */ + AvnHResult (AVN_CALL *unadvise_value_changed)(IAvnProgressBar* self, int64_t subscription_id); /* slot 120 */ + AvnHResult (AVN_CALL *get_percentage)(IAvnProgressBar* self, double* value); /* slot 121 */ + AvnHResult (AVN_CALL *get_is_indeterminate)(IAvnProgressBar* self, int32_t* value); /* slot 122 */ + AvnHResult (AVN_CALL *set_is_indeterminate)(IAvnProgressBar* self, int32_t value); /* slot 123 */ + AvnHResult (AVN_CALL *get_show_progress_text)(IAvnProgressBar* self, int32_t* value); /* slot 124 */ + AvnHResult (AVN_CALL *set_show_progress_text)(IAvnProgressBar* self, int32_t value); /* slot 125 */ + AvnHResult (AVN_CALL *get_progress_text_format)(IAvnProgressBar* self, uint16_t** value); /* slot 126 */ + AvnHResult (AVN_CALL *set_progress_text_format)(IAvnProgressBar* self, const uint16_t* value); /* slot 127 */ + AvnHResult (AVN_CALL *get_orientation)(IAvnProgressBar* self, int32_t* value); /* slot 128 */ + AvnHResult (AVN_CALL *set_orientation)(IAvnProgressBar* self, int32_t value); /* slot 129 */ }; struct IAvnProgressBar { const IAvnProgressBarVtbl* vtbl; }; -#define I_AVN_PROGRESS_BAR_VTABLE_SLOTS 124 +#define I_AVN_PROGRESS_BAR_VTABLE_SLOTS 130 static const AvnGuid I_AVN_RADIO_BUTTON_IID = { - 0x1D9D9433, - 0xE351, - 0x59FA, - { 0xA6, 0x5E, 0xF7, 0x8D, 0xF4, 0x22, 0x3F, 0x1C } + 0xA2E6518A, + 0x5B2E, + 0x5424, + { 0x84, 0xFE, 0xCF, 0xA3, 0x25, 0xD9, 0x32, 0x88 } }; -#define I_AVN_RADIO_BUTTON_ABI_VERSION 17 +#define I_AVN_RADIO_BUTTON_ABI_VERSION 18 struct IAvnRadioButtonVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnRadioButton* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnRadioButton* self); /* slot 1 */ @@ -9837,78 +10221,84 @@ struct IAvnRadioButtonVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnRadioButton* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnRadioButton* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnRadioButton* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnRadioButton* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnRadioButton* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnRadioButton* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnRadioButton* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnRadioButton* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnRadioButton* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnRadioButton* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnRadioButton* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnRadioButton* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnRadioButton* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnRadioButton* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnRadioButton* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnRadioButton* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnRadioButton* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnRadioButton* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnRadioButton* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnRadioButton* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnRadioButton* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnRadioButton* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnRadioButton* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnRadioButton* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnRadioButton* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnRadioButton* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnRadioButton* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnRadioButton* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnRadioButton* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnRadioButton* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnRadioButton* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_content)(IAvnRadioButton* self, IAvnControl** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_content)(IAvnRadioButton* self, IAvnControl* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnRadioButton* self, IAvnDataTemplate** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnRadioButton* self, IAvnDataTemplate* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnRadioButton* self, int32_t* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnRadioButton* self, int32_t value); /* slot 108 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnRadioButton* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnRadioButton* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_click_mode)(IAvnRadioButton* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_click_mode)(IAvnRadioButton* self, int32_t value); /* slot 112 */ - AvnHResult (AVN_CALL *get_command)(IAvnRadioButton* self, IAvnCommand** value); /* slot 113 */ - AvnHResult (AVN_CALL *set_command)(IAvnRadioButton* self, IAvnCommand* value); /* slot 114 */ - AvnHResult (AVN_CALL *get_hot_key)(IAvnRadioButton* self, uint16_t** value); /* slot 115 */ - AvnHResult (AVN_CALL *set_hot_key)(IAvnRadioButton* self, const uint16_t* value); /* slot 116 */ - AvnHResult (AVN_CALL *get_command_parameter)(IAvnRadioButton* self, AvnVariant* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_command_parameter)(IAvnRadioButton* self, AvnVariant value); /* slot 118 */ - AvnHResult (AVN_CALL *get_is_default)(IAvnRadioButton* self, int32_t* value); /* slot 119 */ - AvnHResult (AVN_CALL *set_is_default)(IAvnRadioButton* self, int32_t value); /* slot 120 */ - AvnHResult (AVN_CALL *get_is_cancel)(IAvnRadioButton* self, int32_t* value); /* slot 121 */ - AvnHResult (AVN_CALL *set_is_cancel)(IAvnRadioButton* self, int32_t value); /* slot 122 */ - AvnHResult (AVN_CALL *get_is_pressed)(IAvnRadioButton* self, int32_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *get_flyout)(IAvnRadioButton* self, IAvnFlyoutBase** value); /* slot 124 */ - AvnHResult (AVN_CALL *set_flyout)(IAvnRadioButton* self, IAvnFlyoutBase* value); /* slot 125 */ - AvnHResult (AVN_CALL *advise_click)(IAvnRadioButton* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 126 */ - AvnHResult (AVN_CALL *unadvise_click)(IAvnRadioButton* self, int64_t subscription_id); /* slot 127 */ - AvnHResult (AVN_CALL *get_is_checked)(IAvnRadioButton* self, int32_t* value); /* slot 128 */ - AvnHResult (AVN_CALL *set_is_checked)(IAvnRadioButton* self, int32_t value); /* slot 129 */ - AvnHResult (AVN_CALL *get_is_three_state)(IAvnRadioButton* self, int32_t* value); /* slot 130 */ - AvnHResult (AVN_CALL *set_is_three_state)(IAvnRadioButton* self, int32_t value); /* slot 131 */ - AvnHResult (AVN_CALL *advise_is_checked_changed)(IAvnRadioButton* self, IAvnToggleButtonIsCheckedChangedHandler* handler, int64_t* subscription_id); /* slot 132 */ - AvnHResult (AVN_CALL *unadvise_is_checked_changed)(IAvnRadioButton* self, int64_t subscription_id); /* slot 133 */ - AvnHResult (AVN_CALL *get_group_name)(IAvnRadioButton* self, uint16_t** value); /* slot 134 */ - AvnHResult (AVN_CALL *set_group_name)(IAvnRadioButton* self, const uint16_t* value); /* slot 135 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnRadioButton* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnRadioButton* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnRadioButton* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnRadioButton* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnRadioButton* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnRadioButton* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnRadioButton* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnRadioButton* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnRadioButton* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnRadioButton* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnRadioButton* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnRadioButton* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnRadioButton* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnRadioButton* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnRadioButton* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnRadioButton* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnRadioButton* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnRadioButton* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnRadioButton* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnRadioButton* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnRadioButton* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnRadioButton* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnRadioButton* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnRadioButton* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnRadioButton* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnRadioButton* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnRadioButton* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnRadioButton* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnRadioButton* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnRadioButton* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnRadioButton* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnRadioButton* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnRadioButton* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnRadioButton* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_content)(IAvnRadioButton* self, IAvnControl** value); /* slot 109 */ + AvnHResult (AVN_CALL *set_content)(IAvnRadioButton* self, IAvnControl* value); /* slot 110 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnRadioButton* self, IAvnDataTemplate** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnRadioButton* self, IAvnDataTemplate* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnRadioButton* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnRadioButton* self, int32_t value); /* slot 114 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnRadioButton* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnRadioButton* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_click_mode)(IAvnRadioButton* self, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_click_mode)(IAvnRadioButton* self, int32_t value); /* slot 118 */ + AvnHResult (AVN_CALL *get_command)(IAvnRadioButton* self, IAvnCommand** value); /* slot 119 */ + AvnHResult (AVN_CALL *set_command)(IAvnRadioButton* self, IAvnCommand* value); /* slot 120 */ + AvnHResult (AVN_CALL *get_hot_key)(IAvnRadioButton* self, uint16_t** value); /* slot 121 */ + AvnHResult (AVN_CALL *set_hot_key)(IAvnRadioButton* self, const uint16_t* value); /* slot 122 */ + AvnHResult (AVN_CALL *get_command_parameter)(IAvnRadioButton* self, AvnVariant* value); /* slot 123 */ + AvnHResult (AVN_CALL *set_command_parameter)(IAvnRadioButton* self, AvnVariant value); /* slot 124 */ + AvnHResult (AVN_CALL *get_is_default)(IAvnRadioButton* self, int32_t* value); /* slot 125 */ + AvnHResult (AVN_CALL *set_is_default)(IAvnRadioButton* self, int32_t value); /* slot 126 */ + AvnHResult (AVN_CALL *get_is_cancel)(IAvnRadioButton* self, int32_t* value); /* slot 127 */ + AvnHResult (AVN_CALL *set_is_cancel)(IAvnRadioButton* self, int32_t value); /* slot 128 */ + AvnHResult (AVN_CALL *get_is_pressed)(IAvnRadioButton* self, int32_t* value); /* slot 129 */ + AvnHResult (AVN_CALL *get_flyout)(IAvnRadioButton* self, IAvnFlyoutBase** value); /* slot 130 */ + AvnHResult (AVN_CALL *set_flyout)(IAvnRadioButton* self, IAvnFlyoutBase* value); /* slot 131 */ + AvnHResult (AVN_CALL *advise_click)(IAvnRadioButton* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 132 */ + AvnHResult (AVN_CALL *unadvise_click)(IAvnRadioButton* self, int64_t subscription_id); /* slot 133 */ + AvnHResult (AVN_CALL *get_is_checked)(IAvnRadioButton* self, int32_t* value); /* slot 134 */ + AvnHResult (AVN_CALL *set_is_checked)(IAvnRadioButton* self, int32_t value); /* slot 135 */ + AvnHResult (AVN_CALL *get_is_three_state)(IAvnRadioButton* self, int32_t* value); /* slot 136 */ + AvnHResult (AVN_CALL *set_is_three_state)(IAvnRadioButton* self, int32_t value); /* slot 137 */ + AvnHResult (AVN_CALL *advise_is_checked_changed)(IAvnRadioButton* self, IAvnToggleButtonIsCheckedChangedHandler* handler, int64_t* subscription_id); /* slot 138 */ + AvnHResult (AVN_CALL *unadvise_is_checked_changed)(IAvnRadioButton* self, int64_t subscription_id); /* slot 139 */ + AvnHResult (AVN_CALL *get_group_name)(IAvnRadioButton* self, uint16_t** value); /* slot 140 */ + AvnHResult (AVN_CALL *set_group_name)(IAvnRadioButton* self, const uint16_t* value); /* slot 141 */ }; struct IAvnRadioButton { const IAvnRadioButtonVtbl* vtbl; }; -#define I_AVN_RADIO_BUTTON_VTABLE_SLOTS 136 +#define I_AVN_RADIO_BUTTON_VTABLE_SLOTS 142 static const AvnGuid I_AVN_RANGE_BASE_IID = { - 0xF1231250, - 0xDB6B, - 0x52E4, - { 0xA4, 0x2E, 0x3C, 0x57, 0xE7, 0x3C, 0x70, 0x23 } + 0xD910F3E2, + 0xCD14, + 0x547A, + { 0x8E, 0x8C, 0xBF, 0xEC, 0x9F, 0x4C, 0x92, 0x6F } }; -#define I_AVN_RANGE_BASE_ABI_VERSION 13 +#define I_AVN_RANGE_BASE_ABI_VERSION 14 struct IAvnRangeBaseVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnRangeBase* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnRangeBase* self); /* slot 1 */ @@ -9985,57 +10375,63 @@ struct IAvnRangeBaseVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnRangeBase* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnRangeBase* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnRangeBase* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnRangeBase* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnRangeBase* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnRangeBase* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnRangeBase* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnRangeBase* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnRangeBase* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnRangeBase* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnRangeBase* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnRangeBase* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnRangeBase* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnRangeBase* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnRangeBase* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnRangeBase* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnRangeBase* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnRangeBase* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnRangeBase* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnRangeBase* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnRangeBase* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnRangeBase* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnRangeBase* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnRangeBase* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnRangeBase* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnRangeBase* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnRangeBase* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnRangeBase* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnRangeBase* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnRangeBase* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnRangeBase* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_minimum)(IAvnRangeBase* self, double* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_minimum)(IAvnRangeBase* self, double value); /* slot 104 */ - AvnHResult (AVN_CALL *get_maximum)(IAvnRangeBase* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_maximum)(IAvnRangeBase* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_value)(IAvnRangeBase* self, double* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_value)(IAvnRangeBase* self, double value); /* slot 108 */ - AvnHResult (AVN_CALL *get_small_change)(IAvnRangeBase* self, double* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_small_change)(IAvnRangeBase* self, double value); /* slot 110 */ - AvnHResult (AVN_CALL *get_large_change)(IAvnRangeBase* self, double* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_large_change)(IAvnRangeBase* self, double value); /* slot 112 */ - AvnHResult (AVN_CALL *advise_value_changed)(IAvnRangeBase* self, IAvnRangeBaseValueChangedHandler* handler, int64_t* subscription_id); /* slot 113 */ - AvnHResult (AVN_CALL *unadvise_value_changed)(IAvnRangeBase* self, int64_t subscription_id); /* slot 114 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnRangeBase* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnRangeBase* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnRangeBase* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnRangeBase* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnRangeBase* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnRangeBase* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnRangeBase* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnRangeBase* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnRangeBase* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnRangeBase* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnRangeBase* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnRangeBase* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnRangeBase* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnRangeBase* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnRangeBase* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnRangeBase* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnRangeBase* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnRangeBase* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnRangeBase* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnRangeBase* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnRangeBase* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnRangeBase* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnRangeBase* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnRangeBase* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnRangeBase* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnRangeBase* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnRangeBase* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnRangeBase* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnRangeBase* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnRangeBase* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnRangeBase* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnRangeBase* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnRangeBase* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnRangeBase* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_minimum)(IAvnRangeBase* self, double* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_minimum)(IAvnRangeBase* self, double value); /* slot 110 */ + AvnHResult (AVN_CALL *get_maximum)(IAvnRangeBase* self, double* value); /* slot 111 */ + AvnHResult (AVN_CALL *set_maximum)(IAvnRangeBase* self, double value); /* slot 112 */ + AvnHResult (AVN_CALL *get_value)(IAvnRangeBase* self, double* value); /* slot 113 */ + AvnHResult (AVN_CALL *set_value)(IAvnRangeBase* self, double value); /* slot 114 */ + AvnHResult (AVN_CALL *get_small_change)(IAvnRangeBase* self, double* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_small_change)(IAvnRangeBase* self, double value); /* slot 116 */ + AvnHResult (AVN_CALL *get_large_change)(IAvnRangeBase* self, double* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_large_change)(IAvnRangeBase* self, double value); /* slot 118 */ + AvnHResult (AVN_CALL *advise_value_changed)(IAvnRangeBase* self, IAvnRangeBaseValueChangedHandler* handler, int64_t* subscription_id); /* slot 119 */ + AvnHResult (AVN_CALL *unadvise_value_changed)(IAvnRangeBase* self, int64_t subscription_id); /* slot 120 */ }; struct IAvnRangeBase { const IAvnRangeBaseVtbl* vtbl; }; -#define I_AVN_RANGE_BASE_VTABLE_SLOTS 115 +#define I_AVN_RANGE_BASE_VTABLE_SLOTS 121 static const AvnGuid I_AVN_RECTANGLE_IID = { - 0xE87D8C84, - 0x1090, - 0x5B7D, - { 0x9D, 0xBA, 0x9F, 0x12, 0x2E, 0x19, 0xE3, 0x33 } + 0x95D3D828, + 0x9CB6, + 0x536E, + { 0x96, 0xD5, 0x2D, 0x5D, 0x67, 0xC3, 0x46, 0x3F } }; -#define I_AVN_RECTANGLE_ABI_VERSION 9 +#define I_AVN_RECTANGLE_ABI_VERSION 10 struct IAvnRectangleVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnRectangle* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnRectangle* self); /* slot 1 */ @@ -10112,39 +10508,45 @@ struct IAvnRectangleVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnRectangle* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnRectangle* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnRectangle* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_fill)(IAvnRectangle* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_fill)(IAvnRectangle* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_stretch)(IAvnRectangle* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_stretch)(IAvnRectangle* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_stroke)(IAvnRectangle* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_stroke)(IAvnRectangle* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_stroke_dash_array)(IAvnRectangle* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_stroke_dash_array)(IAvnRectangle* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_stroke_dash_offset)(IAvnRectangle* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_stroke_dash_offset)(IAvnRectangle* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_stroke_thickness)(IAvnRectangle* self, double* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_stroke_thickness)(IAvnRectangle* self, double value); /* slot 86 */ - AvnHResult (AVN_CALL *get_stroke_line_cap)(IAvnRectangle* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_stroke_line_cap)(IAvnRectangle* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_stroke_join)(IAvnRectangle* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_stroke_join)(IAvnRectangle* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_stroke_miter_limit)(IAvnRectangle* self, double* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_stroke_miter_limit)(IAvnRectangle* self, double value); /* slot 92 */ - AvnHResult (AVN_CALL *get_radius_x)(IAvnRectangle* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_radius_x)(IAvnRectangle* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_radius_y)(IAvnRectangle* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_radius_y)(IAvnRectangle* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnRectangle* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnRectangle* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnRectangle* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnRectangle* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnRectangle* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnRectangle* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_fill)(IAvnRectangle* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_fill)(IAvnRectangle* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_stretch)(IAvnRectangle* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_stretch)(IAvnRectangle* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_stroke)(IAvnRectangle* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_stroke)(IAvnRectangle* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_stroke_dash_array)(IAvnRectangle* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_stroke_dash_array)(IAvnRectangle* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_stroke_dash_offset)(IAvnRectangle* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_stroke_dash_offset)(IAvnRectangle* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_stroke_thickness)(IAvnRectangle* self, double* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_stroke_thickness)(IAvnRectangle* self, double value); /* slot 92 */ + AvnHResult (AVN_CALL *get_stroke_line_cap)(IAvnRectangle* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_stroke_line_cap)(IAvnRectangle* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_stroke_join)(IAvnRectangle* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_stroke_join)(IAvnRectangle* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_stroke_miter_limit)(IAvnRectangle* self, double* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_stroke_miter_limit)(IAvnRectangle* self, double value); /* slot 98 */ + AvnHResult (AVN_CALL *get_radius_x)(IAvnRectangle* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_radius_x)(IAvnRectangle* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_radius_y)(IAvnRectangle* self, double* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_radius_y)(IAvnRectangle* self, double value); /* slot 102 */ }; struct IAvnRectangle { const IAvnRectangleVtbl* vtbl; }; -#define I_AVN_RECTANGLE_VTABLE_SLOTS 97 +#define I_AVN_RECTANGLE_VTABLE_SLOTS 103 static const AvnGuid I_AVN_REFRESH_CONTAINER_IID = { - 0x3693CF05, - 0xF784, - 0x5394, - { 0xB7, 0xD2, 0x6D, 0xF5, 0x11, 0xF8, 0x6F, 0x97 } + 0x95707491, + 0x9943, + 0x5B6C, + { 0xBF, 0x2E, 0x1A, 0x68, 0xA7, 0x97, 0xA8, 0x42 } }; -#define I_AVN_REFRESH_CONTAINER_ABI_VERSION 11 +#define I_AVN_REFRESH_CONTAINER_ABI_VERSION 12 struct IAvnRefreshContainerVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnRefreshContainer* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnRefreshContainer* self); /* slot 1 */ @@ -10221,60 +10623,66 @@ struct IAvnRefreshContainerVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnRefreshContainer* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnRefreshContainer* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnRefreshContainer* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnRefreshContainer* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnRefreshContainer* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnRefreshContainer* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnRefreshContainer* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnRefreshContainer* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnRefreshContainer* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnRefreshContainer* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnRefreshContainer* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnRefreshContainer* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnRefreshContainer* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnRefreshContainer* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnRefreshContainer* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnRefreshContainer* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnRefreshContainer* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnRefreshContainer* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnRefreshContainer* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnRefreshContainer* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnRefreshContainer* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnRefreshContainer* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnRefreshContainer* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnRefreshContainer* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnRefreshContainer* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnRefreshContainer* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnRefreshContainer* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnRefreshContainer* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnRefreshContainer* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnRefreshContainer* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnRefreshContainer* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_content)(IAvnRefreshContainer* self, IAvnControl** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_content)(IAvnRefreshContainer* self, IAvnControl* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnRefreshContainer* self, IAvnDataTemplate** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnRefreshContainer* self, IAvnDataTemplate* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnRefreshContainer* self, int32_t* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnRefreshContainer* self, int32_t value); /* slot 108 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnRefreshContainer* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnRefreshContainer* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_is_mouse_enabled)(IAvnRefreshContainer* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_is_mouse_enabled)(IAvnRefreshContainer* self, int32_t value); /* slot 112 */ - AvnHResult (AVN_CALL *get_pull_direction)(IAvnRefreshContainer* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_pull_direction)(IAvnRefreshContainer* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *request_refresh)(IAvnRefreshContainer* self); /* slot 115 */ - AvnHResult (AVN_CALL *advise_refresh_requested)(IAvnRefreshContainer* self, IAvnRefreshContainerRefreshRequestedHandler* handler, int64_t* subscription_id); /* slot 116 */ - AvnHResult (AVN_CALL *unadvise_refresh_requested)(IAvnRefreshContainer* self, int64_t subscription_id); /* slot 117 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnRefreshContainer* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnRefreshContainer* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnRefreshContainer* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnRefreshContainer* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnRefreshContainer* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnRefreshContainer* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnRefreshContainer* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnRefreshContainer* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnRefreshContainer* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnRefreshContainer* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnRefreshContainer* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnRefreshContainer* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnRefreshContainer* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnRefreshContainer* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnRefreshContainer* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnRefreshContainer* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnRefreshContainer* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnRefreshContainer* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnRefreshContainer* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnRefreshContainer* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnRefreshContainer* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnRefreshContainer* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnRefreshContainer* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnRefreshContainer* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnRefreshContainer* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnRefreshContainer* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnRefreshContainer* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnRefreshContainer* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnRefreshContainer* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnRefreshContainer* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnRefreshContainer* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnRefreshContainer* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnRefreshContainer* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnRefreshContainer* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_content)(IAvnRefreshContainer* self, IAvnControl** value); /* slot 109 */ + AvnHResult (AVN_CALL *set_content)(IAvnRefreshContainer* self, IAvnControl* value); /* slot 110 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnRefreshContainer* self, IAvnDataTemplate** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnRefreshContainer* self, IAvnDataTemplate* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnRefreshContainer* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnRefreshContainer* self, int32_t value); /* slot 114 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnRefreshContainer* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnRefreshContainer* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_is_mouse_enabled)(IAvnRefreshContainer* self, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_is_mouse_enabled)(IAvnRefreshContainer* self, int32_t value); /* slot 118 */ + AvnHResult (AVN_CALL *get_pull_direction)(IAvnRefreshContainer* self, int32_t* value); /* slot 119 */ + AvnHResult (AVN_CALL *set_pull_direction)(IAvnRefreshContainer* self, int32_t value); /* slot 120 */ + AvnHResult (AVN_CALL *request_refresh)(IAvnRefreshContainer* self); /* slot 121 */ + AvnHResult (AVN_CALL *advise_refresh_requested)(IAvnRefreshContainer* self, IAvnRefreshContainerRefreshRequestedHandler* handler, int64_t* subscription_id); /* slot 122 */ + AvnHResult (AVN_CALL *unadvise_refresh_requested)(IAvnRefreshContainer* self, int64_t subscription_id); /* slot 123 */ }; struct IAvnRefreshContainer { const IAvnRefreshContainerVtbl* vtbl; }; -#define I_AVN_REFRESH_CONTAINER_VTABLE_SLOTS 118 +#define I_AVN_REFRESH_CONTAINER_VTABLE_SLOTS 124 static const AvnGuid I_AVN_RELATIVE_PANEL_IID = { - 0x0E550183, - 0x4D72, - 0x5357, - { 0x8C, 0x3F, 0x9F, 0x15, 0xE4, 0x1B, 0xC9, 0x76 } + 0xA52468AD, + 0xE31F, + 0x58F2, + { 0x8A, 0x74, 0x1A, 0xB7, 0xE7, 0x3D, 0x66, 0xE6 } }; -#define I_AVN_RELATIVE_PANEL_ABI_VERSION 9 +#define I_AVN_RELATIVE_PANEL_ABI_VERSION 10 struct IAvnRelativePanelVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnRelativePanel* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnRelativePanel* self); /* slot 1 */ @@ -10351,20 +10759,26 @@ struct IAvnRelativePanelVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnRelativePanel* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnRelativePanel* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnRelativePanel* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_children)(IAvnRelativePanel* self, IAvnControlList** value); /* slot 75 */ - AvnHResult (AVN_CALL *get_background)(IAvnRelativePanel* self, IAvnBrush** value); /* slot 76 */ - AvnHResult (AVN_CALL *set_background)(IAvnRelativePanel* self, IAvnBrush* value); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnRelativePanel* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnRelativePanel* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnRelativePanel* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnRelativePanel* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnRelativePanel* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnRelativePanel* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_children)(IAvnRelativePanel* self, IAvnControlList** value); /* slot 81 */ + AvnHResult (AVN_CALL *get_background)(IAvnRelativePanel* self, IAvnBrush** value); /* slot 82 */ + AvnHResult (AVN_CALL *set_background)(IAvnRelativePanel* self, IAvnBrush* value); /* slot 83 */ }; struct IAvnRelativePanel { const IAvnRelativePanelVtbl* vtbl; }; -#define I_AVN_RELATIVE_PANEL_VTABLE_SLOTS 78 +#define I_AVN_RELATIVE_PANEL_VTABLE_SLOTS 84 static const AvnGuid I_AVN_REPEAT_BUTTON_IID = { - 0xE1023A87, - 0x3E17, - 0x5F1D, - { 0x86, 0x71, 0x36, 0xC4, 0xFD, 0x0D, 0x1C, 0xC3 } + 0xDF355462, + 0x7926, + 0x5F77, + { 0xB4, 0x63, 0x22, 0xB1, 0x64, 0xC7, 0xA4, 0x02 } }; -#define I_AVN_REPEAT_BUTTON_ABI_VERSION 12 +#define I_AVN_REPEAT_BUTTON_ABI_VERSION 13 struct IAvnRepeatButtonVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnRepeatButton* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnRepeatButton* self); /* slot 1 */ @@ -10441,74 +10855,80 @@ struct IAvnRepeatButtonVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnRepeatButton* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnRepeatButton* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnRepeatButton* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnRepeatButton* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnRepeatButton* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnRepeatButton* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnRepeatButton* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnRepeatButton* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnRepeatButton* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnRepeatButton* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnRepeatButton* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnRepeatButton* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnRepeatButton* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnRepeatButton* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnRepeatButton* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnRepeatButton* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnRepeatButton* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnRepeatButton* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnRepeatButton* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnRepeatButton* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnRepeatButton* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnRepeatButton* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnRepeatButton* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnRepeatButton* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnRepeatButton* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnRepeatButton* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnRepeatButton* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnRepeatButton* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnRepeatButton* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnRepeatButton* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnRepeatButton* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_content)(IAvnRepeatButton* self, IAvnControl** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_content)(IAvnRepeatButton* self, IAvnControl* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnRepeatButton* self, IAvnDataTemplate** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnRepeatButton* self, IAvnDataTemplate* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnRepeatButton* self, int32_t* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnRepeatButton* self, int32_t value); /* slot 108 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnRepeatButton* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnRepeatButton* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_click_mode)(IAvnRepeatButton* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_click_mode)(IAvnRepeatButton* self, int32_t value); /* slot 112 */ - AvnHResult (AVN_CALL *get_command)(IAvnRepeatButton* self, IAvnCommand** value); /* slot 113 */ - AvnHResult (AVN_CALL *set_command)(IAvnRepeatButton* self, IAvnCommand* value); /* slot 114 */ - AvnHResult (AVN_CALL *get_hot_key)(IAvnRepeatButton* self, uint16_t** value); /* slot 115 */ - AvnHResult (AVN_CALL *set_hot_key)(IAvnRepeatButton* self, const uint16_t* value); /* slot 116 */ - AvnHResult (AVN_CALL *get_command_parameter)(IAvnRepeatButton* self, AvnVariant* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_command_parameter)(IAvnRepeatButton* self, AvnVariant value); /* slot 118 */ - AvnHResult (AVN_CALL *get_is_default)(IAvnRepeatButton* self, int32_t* value); /* slot 119 */ - AvnHResult (AVN_CALL *set_is_default)(IAvnRepeatButton* self, int32_t value); /* slot 120 */ - AvnHResult (AVN_CALL *get_is_cancel)(IAvnRepeatButton* self, int32_t* value); /* slot 121 */ - AvnHResult (AVN_CALL *set_is_cancel)(IAvnRepeatButton* self, int32_t value); /* slot 122 */ - AvnHResult (AVN_CALL *get_is_pressed)(IAvnRepeatButton* self, int32_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *get_flyout)(IAvnRepeatButton* self, IAvnFlyoutBase** value); /* slot 124 */ - AvnHResult (AVN_CALL *set_flyout)(IAvnRepeatButton* self, IAvnFlyoutBase* value); /* slot 125 */ - AvnHResult (AVN_CALL *advise_click)(IAvnRepeatButton* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 126 */ - AvnHResult (AVN_CALL *unadvise_click)(IAvnRepeatButton* self, int64_t subscription_id); /* slot 127 */ - AvnHResult (AVN_CALL *get_interval)(IAvnRepeatButton* self, int32_t* value); /* slot 128 */ - AvnHResult (AVN_CALL *set_interval)(IAvnRepeatButton* self, int32_t value); /* slot 129 */ - AvnHResult (AVN_CALL *get_delay)(IAvnRepeatButton* self, int32_t* value); /* slot 130 */ - AvnHResult (AVN_CALL *set_delay)(IAvnRepeatButton* self, int32_t value); /* slot 131 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnRepeatButton* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnRepeatButton* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnRepeatButton* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnRepeatButton* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnRepeatButton* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnRepeatButton* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnRepeatButton* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnRepeatButton* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnRepeatButton* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnRepeatButton* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnRepeatButton* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnRepeatButton* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnRepeatButton* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnRepeatButton* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnRepeatButton* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnRepeatButton* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnRepeatButton* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnRepeatButton* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnRepeatButton* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnRepeatButton* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnRepeatButton* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnRepeatButton* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnRepeatButton* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnRepeatButton* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnRepeatButton* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnRepeatButton* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnRepeatButton* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnRepeatButton* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnRepeatButton* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnRepeatButton* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnRepeatButton* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnRepeatButton* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnRepeatButton* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnRepeatButton* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_content)(IAvnRepeatButton* self, IAvnControl** value); /* slot 109 */ + AvnHResult (AVN_CALL *set_content)(IAvnRepeatButton* self, IAvnControl* value); /* slot 110 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnRepeatButton* self, IAvnDataTemplate** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnRepeatButton* self, IAvnDataTemplate* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnRepeatButton* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnRepeatButton* self, int32_t value); /* slot 114 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnRepeatButton* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnRepeatButton* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_click_mode)(IAvnRepeatButton* self, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_click_mode)(IAvnRepeatButton* self, int32_t value); /* slot 118 */ + AvnHResult (AVN_CALL *get_command)(IAvnRepeatButton* self, IAvnCommand** value); /* slot 119 */ + AvnHResult (AVN_CALL *set_command)(IAvnRepeatButton* self, IAvnCommand* value); /* slot 120 */ + AvnHResult (AVN_CALL *get_hot_key)(IAvnRepeatButton* self, uint16_t** value); /* slot 121 */ + AvnHResult (AVN_CALL *set_hot_key)(IAvnRepeatButton* self, const uint16_t* value); /* slot 122 */ + AvnHResult (AVN_CALL *get_command_parameter)(IAvnRepeatButton* self, AvnVariant* value); /* slot 123 */ + AvnHResult (AVN_CALL *set_command_parameter)(IAvnRepeatButton* self, AvnVariant value); /* slot 124 */ + AvnHResult (AVN_CALL *get_is_default)(IAvnRepeatButton* self, int32_t* value); /* slot 125 */ + AvnHResult (AVN_CALL *set_is_default)(IAvnRepeatButton* self, int32_t value); /* slot 126 */ + AvnHResult (AVN_CALL *get_is_cancel)(IAvnRepeatButton* self, int32_t* value); /* slot 127 */ + AvnHResult (AVN_CALL *set_is_cancel)(IAvnRepeatButton* self, int32_t value); /* slot 128 */ + AvnHResult (AVN_CALL *get_is_pressed)(IAvnRepeatButton* self, int32_t* value); /* slot 129 */ + AvnHResult (AVN_CALL *get_flyout)(IAvnRepeatButton* self, IAvnFlyoutBase** value); /* slot 130 */ + AvnHResult (AVN_CALL *set_flyout)(IAvnRepeatButton* self, IAvnFlyoutBase* value); /* slot 131 */ + AvnHResult (AVN_CALL *advise_click)(IAvnRepeatButton* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 132 */ + AvnHResult (AVN_CALL *unadvise_click)(IAvnRepeatButton* self, int64_t subscription_id); /* slot 133 */ + AvnHResult (AVN_CALL *get_interval)(IAvnRepeatButton* self, int32_t* value); /* slot 134 */ + AvnHResult (AVN_CALL *set_interval)(IAvnRepeatButton* self, int32_t value); /* slot 135 */ + AvnHResult (AVN_CALL *get_delay)(IAvnRepeatButton* self, int32_t* value); /* slot 136 */ + AvnHResult (AVN_CALL *set_delay)(IAvnRepeatButton* self, int32_t value); /* slot 137 */ }; struct IAvnRepeatButton { const IAvnRepeatButtonVtbl* vtbl; }; -#define I_AVN_REPEAT_BUTTON_VTABLE_SLOTS 132 +#define I_AVN_REPEAT_BUTTON_VTABLE_SLOTS 138 static const AvnGuid I_AVN_SCROLL_VIEWER_IID = { - 0x74E7350C, - 0x320E, - 0x5E2A, - { 0xA8, 0xB9, 0xCD, 0xD9, 0x29, 0xB6, 0xB8, 0x26 } + 0x4CCB656E, + 0x34E8, + 0x5621, + { 0xAF, 0x96, 0x1C, 0x2A, 0xF4, 0xF1, 0xDA, 0xAE } }; -#define I_AVN_SCROLL_VIEWER_ABI_VERSION 16 +#define I_AVN_SCROLL_VIEWER_ABI_VERSION 17 struct IAvnScrollViewerVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnScrollViewer* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnScrollViewer* self); /* slot 1 */ @@ -10585,98 +11005,104 @@ struct IAvnScrollViewerVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnScrollViewer* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnScrollViewer* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnScrollViewer* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnScrollViewer* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnScrollViewer* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnScrollViewer* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnScrollViewer* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnScrollViewer* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnScrollViewer* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnScrollViewer* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnScrollViewer* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnScrollViewer* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnScrollViewer* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnScrollViewer* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnScrollViewer* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnScrollViewer* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnScrollViewer* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnScrollViewer* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnScrollViewer* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnScrollViewer* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnScrollViewer* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnScrollViewer* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnScrollViewer* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnScrollViewer* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnScrollViewer* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnScrollViewer* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnScrollViewer* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnScrollViewer* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnScrollViewer* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnScrollViewer* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnScrollViewer* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_content)(IAvnScrollViewer* self, IAvnControl** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_content)(IAvnScrollViewer* self, IAvnControl* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnScrollViewer* self, IAvnDataTemplate** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnScrollViewer* self, IAvnDataTemplate* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnScrollViewer* self, int32_t* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnScrollViewer* self, int32_t value); /* slot 108 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnScrollViewer* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnScrollViewer* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_bring_into_view_on_focus_change)(IAvnScrollViewer* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_bring_into_view_on_focus_change)(IAvnScrollViewer* self, int32_t value); /* slot 112 */ - AvnHResult (AVN_CALL *get_extent)(IAvnScrollViewer* self, AvnSize* value); /* slot 113 */ - AvnHResult (AVN_CALL *get_offset)(IAvnScrollViewer* self, AvnVector* value); /* slot 114 */ - AvnHResult (AVN_CALL *set_offset)(IAvnScrollViewer* self, AvnVector value); /* slot 115 */ - AvnHResult (AVN_CALL *get_viewport)(IAvnScrollViewer* self, AvnSize* value); /* slot 116 */ - AvnHResult (AVN_CALL *get_large_change)(IAvnScrollViewer* self, AvnSize* value); /* slot 117 */ - AvnHResult (AVN_CALL *get_small_change)(IAvnScrollViewer* self, AvnSize* value); /* slot 118 */ - AvnHResult (AVN_CALL *get_horizontal_scroll_bar_visibility)(IAvnScrollViewer* self, int32_t* value); /* slot 119 */ - AvnHResult (AVN_CALL *set_horizontal_scroll_bar_visibility)(IAvnScrollViewer* self, int32_t value); /* slot 120 */ - AvnHResult (AVN_CALL *get_vertical_scroll_bar_visibility)(IAvnScrollViewer* self, int32_t* value); /* slot 121 */ - AvnHResult (AVN_CALL *set_vertical_scroll_bar_visibility)(IAvnScrollViewer* self, int32_t value); /* slot 122 */ - AvnHResult (AVN_CALL *get_current_anchor)(IAvnScrollViewer* self, IAvnControl** value); /* slot 123 */ - AvnHResult (AVN_CALL *get_scroll_bar_maximum)(IAvnScrollViewer* self, AvnVector* value); /* slot 124 */ - AvnHResult (AVN_CALL *get_is_expanded)(IAvnScrollViewer* self, int32_t* value); /* slot 125 */ - AvnHResult (AVN_CALL *get_horizontal_snap_points_type)(IAvnScrollViewer* self, int32_t* value); /* slot 126 */ - AvnHResult (AVN_CALL *set_horizontal_snap_points_type)(IAvnScrollViewer* self, int32_t value); /* slot 127 */ - AvnHResult (AVN_CALL *get_vertical_snap_points_type)(IAvnScrollViewer* self, int32_t* value); /* slot 128 */ - AvnHResult (AVN_CALL *set_vertical_snap_points_type)(IAvnScrollViewer* self, int32_t value); /* slot 129 */ - AvnHResult (AVN_CALL *get_horizontal_snap_points_alignment)(IAvnScrollViewer* self, int32_t* value); /* slot 130 */ - AvnHResult (AVN_CALL *set_horizontal_snap_points_alignment)(IAvnScrollViewer* self, int32_t value); /* slot 131 */ - AvnHResult (AVN_CALL *get_vertical_snap_points_alignment)(IAvnScrollViewer* self, int32_t* value); /* slot 132 */ - AvnHResult (AVN_CALL *set_vertical_snap_points_alignment)(IAvnScrollViewer* self, int32_t value); /* slot 133 */ - AvnHResult (AVN_CALL *get_allow_auto_hide)(IAvnScrollViewer* self, int32_t* value); /* slot 134 */ - AvnHResult (AVN_CALL *set_allow_auto_hide)(IAvnScrollViewer* self, int32_t value); /* slot 135 */ - AvnHResult (AVN_CALL *get_is_scroll_chaining_enabled)(IAvnScrollViewer* self, int32_t* value); /* slot 136 */ - AvnHResult (AVN_CALL *set_is_scroll_chaining_enabled)(IAvnScrollViewer* self, int32_t value); /* slot 137 */ - AvnHResult (AVN_CALL *get_is_scroll_inertia_enabled)(IAvnScrollViewer* self, int32_t* value); /* slot 138 */ - AvnHResult (AVN_CALL *set_is_scroll_inertia_enabled)(IAvnScrollViewer* self, int32_t value); /* slot 139 */ - AvnHResult (AVN_CALL *get_is_deferred_scrolling_enabled)(IAvnScrollViewer* self, int32_t* value); /* slot 140 */ - AvnHResult (AVN_CALL *set_is_deferred_scrolling_enabled)(IAvnScrollViewer* self, int32_t value); /* slot 141 */ - AvnHResult (AVN_CALL *line_up)(IAvnScrollViewer* self); /* slot 142 */ - AvnHResult (AVN_CALL *line_down)(IAvnScrollViewer* self); /* slot 143 */ - AvnHResult (AVN_CALL *line_left)(IAvnScrollViewer* self); /* slot 144 */ - AvnHResult (AVN_CALL *line_right)(IAvnScrollViewer* self); /* slot 145 */ - AvnHResult (AVN_CALL *page_up)(IAvnScrollViewer* self); /* slot 146 */ - AvnHResult (AVN_CALL *page_down)(IAvnScrollViewer* self); /* slot 147 */ - AvnHResult (AVN_CALL *page_left)(IAvnScrollViewer* self); /* slot 148 */ - AvnHResult (AVN_CALL *page_right)(IAvnScrollViewer* self); /* slot 149 */ - AvnHResult (AVN_CALL *scroll_to_home)(IAvnScrollViewer* self); /* slot 150 */ - AvnHResult (AVN_CALL *scroll_to_end)(IAvnScrollViewer* self); /* slot 151 */ - AvnHResult (AVN_CALL *register_anchor_candidate_with_control)(IAvnScrollViewer* self, IAvnControl* element); /* slot 152 */ - AvnHResult (AVN_CALL *unregister_anchor_candidate_with_control)(IAvnScrollViewer* self, IAvnControl* element); /* slot 153 */ - AvnHResult (AVN_CALL *advise_scroll_changed)(IAvnScrollViewer* self, IAvnScrollViewerScrollChangedHandler* handler, int64_t* subscription_id); /* slot 154 */ - AvnHResult (AVN_CALL *unadvise_scroll_changed)(IAvnScrollViewer* self, int64_t subscription_id); /* slot 155 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnScrollViewer* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnScrollViewer* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnScrollViewer* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnScrollViewer* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnScrollViewer* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnScrollViewer* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnScrollViewer* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnScrollViewer* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnScrollViewer* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnScrollViewer* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnScrollViewer* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnScrollViewer* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnScrollViewer* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnScrollViewer* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnScrollViewer* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnScrollViewer* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnScrollViewer* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnScrollViewer* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnScrollViewer* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnScrollViewer* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnScrollViewer* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnScrollViewer* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnScrollViewer* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnScrollViewer* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnScrollViewer* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnScrollViewer* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnScrollViewer* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnScrollViewer* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnScrollViewer* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnScrollViewer* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnScrollViewer* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnScrollViewer* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnScrollViewer* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnScrollViewer* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_content)(IAvnScrollViewer* self, IAvnControl** value); /* slot 109 */ + AvnHResult (AVN_CALL *set_content)(IAvnScrollViewer* self, IAvnControl* value); /* slot 110 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnScrollViewer* self, IAvnDataTemplate** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnScrollViewer* self, IAvnDataTemplate* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnScrollViewer* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnScrollViewer* self, int32_t value); /* slot 114 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnScrollViewer* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnScrollViewer* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_bring_into_view_on_focus_change)(IAvnScrollViewer* self, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_bring_into_view_on_focus_change)(IAvnScrollViewer* self, int32_t value); /* slot 118 */ + AvnHResult (AVN_CALL *get_extent)(IAvnScrollViewer* self, AvnSize* value); /* slot 119 */ + AvnHResult (AVN_CALL *get_offset)(IAvnScrollViewer* self, AvnVector* value); /* slot 120 */ + AvnHResult (AVN_CALL *set_offset)(IAvnScrollViewer* self, AvnVector value); /* slot 121 */ + AvnHResult (AVN_CALL *get_viewport)(IAvnScrollViewer* self, AvnSize* value); /* slot 122 */ + AvnHResult (AVN_CALL *get_large_change)(IAvnScrollViewer* self, AvnSize* value); /* slot 123 */ + AvnHResult (AVN_CALL *get_small_change)(IAvnScrollViewer* self, AvnSize* value); /* slot 124 */ + AvnHResult (AVN_CALL *get_horizontal_scroll_bar_visibility)(IAvnScrollViewer* self, int32_t* value); /* slot 125 */ + AvnHResult (AVN_CALL *set_horizontal_scroll_bar_visibility)(IAvnScrollViewer* self, int32_t value); /* slot 126 */ + AvnHResult (AVN_CALL *get_vertical_scroll_bar_visibility)(IAvnScrollViewer* self, int32_t* value); /* slot 127 */ + AvnHResult (AVN_CALL *set_vertical_scroll_bar_visibility)(IAvnScrollViewer* self, int32_t value); /* slot 128 */ + AvnHResult (AVN_CALL *get_current_anchor)(IAvnScrollViewer* self, IAvnControl** value); /* slot 129 */ + AvnHResult (AVN_CALL *get_scroll_bar_maximum)(IAvnScrollViewer* self, AvnVector* value); /* slot 130 */ + AvnHResult (AVN_CALL *get_is_expanded)(IAvnScrollViewer* self, int32_t* value); /* slot 131 */ + AvnHResult (AVN_CALL *get_horizontal_snap_points_type)(IAvnScrollViewer* self, int32_t* value); /* slot 132 */ + AvnHResult (AVN_CALL *set_horizontal_snap_points_type)(IAvnScrollViewer* self, int32_t value); /* slot 133 */ + AvnHResult (AVN_CALL *get_vertical_snap_points_type)(IAvnScrollViewer* self, int32_t* value); /* slot 134 */ + AvnHResult (AVN_CALL *set_vertical_snap_points_type)(IAvnScrollViewer* self, int32_t value); /* slot 135 */ + AvnHResult (AVN_CALL *get_horizontal_snap_points_alignment)(IAvnScrollViewer* self, int32_t* value); /* slot 136 */ + AvnHResult (AVN_CALL *set_horizontal_snap_points_alignment)(IAvnScrollViewer* self, int32_t value); /* slot 137 */ + AvnHResult (AVN_CALL *get_vertical_snap_points_alignment)(IAvnScrollViewer* self, int32_t* value); /* slot 138 */ + AvnHResult (AVN_CALL *set_vertical_snap_points_alignment)(IAvnScrollViewer* self, int32_t value); /* slot 139 */ + AvnHResult (AVN_CALL *get_allow_auto_hide)(IAvnScrollViewer* self, int32_t* value); /* slot 140 */ + AvnHResult (AVN_CALL *set_allow_auto_hide)(IAvnScrollViewer* self, int32_t value); /* slot 141 */ + AvnHResult (AVN_CALL *get_is_scroll_chaining_enabled)(IAvnScrollViewer* self, int32_t* value); /* slot 142 */ + AvnHResult (AVN_CALL *set_is_scroll_chaining_enabled)(IAvnScrollViewer* self, int32_t value); /* slot 143 */ + AvnHResult (AVN_CALL *get_is_scroll_inertia_enabled)(IAvnScrollViewer* self, int32_t* value); /* slot 144 */ + AvnHResult (AVN_CALL *set_is_scroll_inertia_enabled)(IAvnScrollViewer* self, int32_t value); /* slot 145 */ + AvnHResult (AVN_CALL *get_is_deferred_scrolling_enabled)(IAvnScrollViewer* self, int32_t* value); /* slot 146 */ + AvnHResult (AVN_CALL *set_is_deferred_scrolling_enabled)(IAvnScrollViewer* self, int32_t value); /* slot 147 */ + AvnHResult (AVN_CALL *line_up)(IAvnScrollViewer* self); /* slot 148 */ + AvnHResult (AVN_CALL *line_down)(IAvnScrollViewer* self); /* slot 149 */ + AvnHResult (AVN_CALL *line_left)(IAvnScrollViewer* self); /* slot 150 */ + AvnHResult (AVN_CALL *line_right)(IAvnScrollViewer* self); /* slot 151 */ + AvnHResult (AVN_CALL *page_up)(IAvnScrollViewer* self); /* slot 152 */ + AvnHResult (AVN_CALL *page_down)(IAvnScrollViewer* self); /* slot 153 */ + AvnHResult (AVN_CALL *page_left)(IAvnScrollViewer* self); /* slot 154 */ + AvnHResult (AVN_CALL *page_right)(IAvnScrollViewer* self); /* slot 155 */ + AvnHResult (AVN_CALL *scroll_to_home)(IAvnScrollViewer* self); /* slot 156 */ + AvnHResult (AVN_CALL *scroll_to_end)(IAvnScrollViewer* self); /* slot 157 */ + AvnHResult (AVN_CALL *register_anchor_candidate_with_control)(IAvnScrollViewer* self, IAvnControl* element); /* slot 158 */ + AvnHResult (AVN_CALL *unregister_anchor_candidate_with_control)(IAvnScrollViewer* self, IAvnControl* element); /* slot 159 */ + AvnHResult (AVN_CALL *advise_scroll_changed)(IAvnScrollViewer* self, IAvnScrollViewerScrollChangedHandler* handler, int64_t* subscription_id); /* slot 160 */ + AvnHResult (AVN_CALL *unadvise_scroll_changed)(IAvnScrollViewer* self, int64_t subscription_id); /* slot 161 */ }; struct IAvnScrollViewer { const IAvnScrollViewerVtbl* vtbl; }; -#define I_AVN_SCROLL_VIEWER_VTABLE_SLOTS 156 +#define I_AVN_SCROLL_VIEWER_VTABLE_SLOTS 162 static const AvnGuid I_AVN_SECTOR_IID = { - 0x5716DA45, - 0x6417, - 0x5758, - { 0x89, 0xE7, 0x30, 0x34, 0x27, 0x80, 0x83, 0x53 } + 0xA6E3E187, + 0x67DD, + 0x5603, + { 0x93, 0xD8, 0x74, 0x31, 0xB6, 0x44, 0x9C, 0xD7 } }; -#define I_AVN_SECTOR_ABI_VERSION 9 +#define I_AVN_SECTOR_ABI_VERSION 10 struct IAvnSectorVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnSector* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnSector* self); /* slot 1 */ @@ -10753,39 +11179,45 @@ struct IAvnSectorVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnSector* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnSector* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnSector* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_fill)(IAvnSector* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_fill)(IAvnSector* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_stretch)(IAvnSector* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_stretch)(IAvnSector* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_stroke)(IAvnSector* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_stroke)(IAvnSector* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_stroke_dash_array)(IAvnSector* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_stroke_dash_array)(IAvnSector* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_stroke_dash_offset)(IAvnSector* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_stroke_dash_offset)(IAvnSector* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_stroke_thickness)(IAvnSector* self, double* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_stroke_thickness)(IAvnSector* self, double value); /* slot 86 */ - AvnHResult (AVN_CALL *get_stroke_line_cap)(IAvnSector* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_stroke_line_cap)(IAvnSector* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_stroke_join)(IAvnSector* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_stroke_join)(IAvnSector* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_stroke_miter_limit)(IAvnSector* self, double* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_stroke_miter_limit)(IAvnSector* self, double value); /* slot 92 */ - AvnHResult (AVN_CALL *get_start_angle)(IAvnSector* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_start_angle)(IAvnSector* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_sweep_angle)(IAvnSector* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_sweep_angle)(IAvnSector* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnSector* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnSector* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnSector* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnSector* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnSector* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnSector* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_fill)(IAvnSector* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_fill)(IAvnSector* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_stretch)(IAvnSector* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_stretch)(IAvnSector* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_stroke)(IAvnSector* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_stroke)(IAvnSector* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_stroke_dash_array)(IAvnSector* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_stroke_dash_array)(IAvnSector* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_stroke_dash_offset)(IAvnSector* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_stroke_dash_offset)(IAvnSector* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_stroke_thickness)(IAvnSector* self, double* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_stroke_thickness)(IAvnSector* self, double value); /* slot 92 */ + AvnHResult (AVN_CALL *get_stroke_line_cap)(IAvnSector* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_stroke_line_cap)(IAvnSector* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_stroke_join)(IAvnSector* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_stroke_join)(IAvnSector* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_stroke_miter_limit)(IAvnSector* self, double* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_stroke_miter_limit)(IAvnSector* self, double value); /* slot 98 */ + AvnHResult (AVN_CALL *get_start_angle)(IAvnSector* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_start_angle)(IAvnSector* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_sweep_angle)(IAvnSector* self, double* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_sweep_angle)(IAvnSector* self, double value); /* slot 102 */ }; struct IAvnSector { const IAvnSectorVtbl* vtbl; }; -#define I_AVN_SECTOR_VTABLE_SLOTS 97 +#define I_AVN_SECTOR_VTABLE_SLOTS 103 static const AvnGuid I_AVN_SELECTABLE_TEXT_BLOCK_IID = { - 0x843AC2A4, - 0x7FEF, - 0x5858, - { 0x8A, 0x9A, 0xF1, 0x99, 0xBB, 0xA5, 0x26, 0x38 } + 0x8E36E51E, + 0x30AC, + 0x563D, + { 0xA2, 0xD7, 0x79, 0x33, 0x5F, 0x5F, 0xAD, 0x8C } }; -#define I_AVN_SELECTABLE_TEXT_BLOCK_ABI_VERSION 12 +#define I_AVN_SELECTABLE_TEXT_BLOCK_ABI_VERSION 13 struct IAvnSelectableTextBlockVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnSelectableTextBlock* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnSelectableTextBlock* self); /* slot 1 */ @@ -10862,68 +11294,74 @@ struct IAvnSelectableTextBlockVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnSelectableTextBlock* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnSelectableTextBlock* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnSelectableTextBlock* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_padding)(IAvnSelectableTextBlock* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_padding)(IAvnSelectableTextBlock* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background)(IAvnSelectableTextBlock* self, IAvnBrush** value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background)(IAvnSelectableTextBlock* self, IAvnBrush* value); /* slot 78 */ - AvnHResult (AVN_CALL *get_text)(IAvnSelectableTextBlock* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_text)(IAvnSelectableTextBlock* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnSelectableTextBlock* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnSelectableTextBlock* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnSelectableTextBlock* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnSelectableTextBlock* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnSelectableTextBlock* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnSelectableTextBlock* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnSelectableTextBlock* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnSelectableTextBlock* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnSelectableTextBlock* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_line_height)(IAvnSelectableTextBlock* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_line_height)(IAvnSelectableTextBlock* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_line_spacing)(IAvnSelectableTextBlock* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_line_spacing)(IAvnSelectableTextBlock* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnSelectableTextBlock* self, double* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnSelectableTextBlock* self, double value); /* slot 98 */ - AvnHResult (AVN_CALL *get_max_lines)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_max_lines)(IAvnSelectableTextBlock* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_text_wrapping)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_text_wrapping)(IAvnSelectableTextBlock* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_text_trimming)(IAvnSelectableTextBlock* self, uint16_t** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_text_trimming)(IAvnSelectableTextBlock* self, const uint16_t* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_text_alignment)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_text_alignment)(IAvnSelectableTextBlock* self, int32_t value); /* slot 106 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnSelectableTextBlock* self, uint16_t** value); /* slot 107 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnSelectableTextBlock* self, const uint16_t* value); /* slot 108 */ - AvnHResult (AVN_CALL *get_baseline_offset)(IAvnSelectableTextBlock* self, double* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_baseline_offset)(IAvnSelectableTextBlock* self, double value); /* slot 110 */ - AvnHResult (AVN_CALL *get_selection_brush)(IAvnSelectableTextBlock* self, IAvnBrush** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_selection_brush)(IAvnSelectableTextBlock* self, IAvnBrush* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_selection_foreground_brush)(IAvnSelectableTextBlock* self, IAvnBrush** value); /* slot 113 */ - AvnHResult (AVN_CALL *set_selection_foreground_brush)(IAvnSelectableTextBlock* self, IAvnBrush* value); /* slot 114 */ - AvnHResult (AVN_CALL *get_selection_start)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_selection_start)(IAvnSelectableTextBlock* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_selection_end)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_selection_end)(IAvnSelectableTextBlock* self, int32_t value); /* slot 118 */ - AvnHResult (AVN_CALL *get_selected_text)(IAvnSelectableTextBlock* self, uint16_t** value); /* slot 119 */ - AvnHResult (AVN_CALL *get_can_copy)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 120 */ - AvnHResult (AVN_CALL *copy)(IAvnSelectableTextBlock* self); /* slot 121 */ - AvnHResult (AVN_CALL *select_all)(IAvnSelectableTextBlock* self); /* slot 122 */ - AvnHResult (AVN_CALL *clear_selection)(IAvnSelectableTextBlock* self); /* slot 123 */ - AvnHResult (AVN_CALL *advise_copying_to_clipboard)(IAvnSelectableTextBlock* self, IAvnSelectableTextBlockCopyingToClipboardHandler* handler, int64_t* subscription_id); /* slot 124 */ - AvnHResult (AVN_CALL *unadvise_copying_to_clipboard)(IAvnSelectableTextBlock* self, int64_t subscription_id); /* slot 125 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnSelectableTextBlock* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnSelectableTextBlock* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnSelectableTextBlock* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnSelectableTextBlock* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnSelectableTextBlock* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnSelectableTextBlock* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_padding)(IAvnSelectableTextBlock* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_padding)(IAvnSelectableTextBlock* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background)(IAvnSelectableTextBlock* self, IAvnBrush** value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background)(IAvnSelectableTextBlock* self, IAvnBrush* value); /* slot 84 */ + AvnHResult (AVN_CALL *get_text)(IAvnSelectableTextBlock* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_text)(IAvnSelectableTextBlock* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnSelectableTextBlock* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnSelectableTextBlock* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnSelectableTextBlock* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnSelectableTextBlock* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnSelectableTextBlock* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnSelectableTextBlock* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnSelectableTextBlock* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnSelectableTextBlock* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnSelectableTextBlock* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_line_height)(IAvnSelectableTextBlock* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_line_height)(IAvnSelectableTextBlock* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_line_spacing)(IAvnSelectableTextBlock* self, double* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_line_spacing)(IAvnSelectableTextBlock* self, double value); /* slot 102 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnSelectableTextBlock* self, double* value); /* slot 103 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnSelectableTextBlock* self, double value); /* slot 104 */ + AvnHResult (AVN_CALL *get_max_lines)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_max_lines)(IAvnSelectableTextBlock* self, int32_t value); /* slot 106 */ + AvnHResult (AVN_CALL *get_text_wrapping)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_text_wrapping)(IAvnSelectableTextBlock* self, int32_t value); /* slot 108 */ + AvnHResult (AVN_CALL *get_text_trimming)(IAvnSelectableTextBlock* self, uint16_t** value); /* slot 109 */ + AvnHResult (AVN_CALL *set_text_trimming)(IAvnSelectableTextBlock* self, const uint16_t* value); /* slot 110 */ + AvnHResult (AVN_CALL *get_text_alignment)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 111 */ + AvnHResult (AVN_CALL *set_text_alignment)(IAvnSelectableTextBlock* self, int32_t value); /* slot 112 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnSelectableTextBlock* self, uint16_t** value); /* slot 113 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnSelectableTextBlock* self, const uint16_t* value); /* slot 114 */ + AvnHResult (AVN_CALL *get_baseline_offset)(IAvnSelectableTextBlock* self, double* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_baseline_offset)(IAvnSelectableTextBlock* self, double value); /* slot 116 */ + AvnHResult (AVN_CALL *get_selection_brush)(IAvnSelectableTextBlock* self, IAvnBrush** value); /* slot 117 */ + AvnHResult (AVN_CALL *set_selection_brush)(IAvnSelectableTextBlock* self, IAvnBrush* value); /* slot 118 */ + AvnHResult (AVN_CALL *get_selection_foreground_brush)(IAvnSelectableTextBlock* self, IAvnBrush** value); /* slot 119 */ + AvnHResult (AVN_CALL *set_selection_foreground_brush)(IAvnSelectableTextBlock* self, IAvnBrush* value); /* slot 120 */ + AvnHResult (AVN_CALL *get_selection_start)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 121 */ + AvnHResult (AVN_CALL *set_selection_start)(IAvnSelectableTextBlock* self, int32_t value); /* slot 122 */ + AvnHResult (AVN_CALL *get_selection_end)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 123 */ + AvnHResult (AVN_CALL *set_selection_end)(IAvnSelectableTextBlock* self, int32_t value); /* slot 124 */ + AvnHResult (AVN_CALL *get_selected_text)(IAvnSelectableTextBlock* self, uint16_t** value); /* slot 125 */ + AvnHResult (AVN_CALL *get_can_copy)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 126 */ + AvnHResult (AVN_CALL *copy)(IAvnSelectableTextBlock* self); /* slot 127 */ + AvnHResult (AVN_CALL *select_all)(IAvnSelectableTextBlock* self); /* slot 128 */ + AvnHResult (AVN_CALL *clear_selection)(IAvnSelectableTextBlock* self); /* slot 129 */ + AvnHResult (AVN_CALL *advise_copying_to_clipboard)(IAvnSelectableTextBlock* self, IAvnSelectableTextBlockCopyingToClipboardHandler* handler, int64_t* subscription_id); /* slot 130 */ + AvnHResult (AVN_CALL *unadvise_copying_to_clipboard)(IAvnSelectableTextBlock* self, int64_t subscription_id); /* slot 131 */ }; struct IAvnSelectableTextBlock { const IAvnSelectableTextBlockVtbl* vtbl; }; -#define I_AVN_SELECTABLE_TEXT_BLOCK_VTABLE_SLOTS 126 +#define I_AVN_SELECTABLE_TEXT_BLOCK_VTABLE_SLOTS 132 static const AvnGuid I_AVN_SELECTING_ITEMS_CONTROL_IID = { - 0x56020FA9, - 0xD4A4, - 0x52B6, - { 0xB5, 0xFC, 0xEA, 0xEB, 0x6F, 0xD5, 0x63, 0xC2 } + 0x18B99B99, + 0x03A3, + 0x5C68, + { 0x84, 0x71, 0xD4, 0x63, 0xC4, 0xED, 0x17, 0x78 } }; -#define I_AVN_SELECTING_ITEMS_CONTROL_ABI_VERSION 16 +#define I_AVN_SELECTING_ITEMS_CONTROL_ABI_VERSION 17 struct IAvnSelectingItemsControlVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnSelectingItemsControl* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnSelectingItemsControl* self); /* slot 1 */ @@ -11000,71 +11438,77 @@ struct IAvnSelectingItemsControlVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnSelectingItemsControl* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnSelectingItemsControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnSelectingItemsControl* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnSelectingItemsControl* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnSelectingItemsControl* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnSelectingItemsControl* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnSelectingItemsControl* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnSelectingItemsControl* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnSelectingItemsControl* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnSelectingItemsControl* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnSelectingItemsControl* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnSelectingItemsControl* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnSelectingItemsControl* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnSelectingItemsControl* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnSelectingItemsControl* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnSelectingItemsControl* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnSelectingItemsControl* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnSelectingItemsControl* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnSelectingItemsControl* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnSelectingItemsControl* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnSelectingItemsControl* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnSelectingItemsControl* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnSelectingItemsControl* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnSelectingItemsControl* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnSelectingItemsControl* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnSelectingItemsControl* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnSelectingItemsControl* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_items)(IAvnSelectingItemsControl* self, IAvnItemList** value); /* slot 103 */ - AvnHResult (AVN_CALL *get_item_count)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_items_source)(IAvnSelectingItemsControl* self, IAvnVariantList** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_items_source)(IAvnSelectingItemsControl* self, IAvnVariantList* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_item_template)(IAvnSelectingItemsControl* self, IAvnDataTemplate** value); /* slot 107 */ - AvnHResult (AVN_CALL *set_item_template)(IAvnSelectingItemsControl* self, IAvnDataTemplate* value); /* slot 108 */ - AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnSelectingItemsControl* self, int32_t index, IAvnControl** value); /* slot 109 */ - AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnSelectingItemsControl* self, AvnVariant item, IAvnControl** value); /* slot 110 */ - AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnSelectingItemsControl* self, IAvnControl* container, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnSelectingItemsControl* self, IAvnControl* container, AvnVariant* value); /* slot 112 */ - AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnSelectingItemsControl* self, int32_t index); /* slot 113 */ - AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnSelectingItemsControl* self, AvnVariant item); /* slot 114 */ - AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnSelectingItemsControl* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_selected_index)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_selected_index)(IAvnSelectingItemsControl* self, int32_t value); /* slot 118 */ - AvnHResult (AVN_CALL *get_selected_item)(IAvnSelectingItemsControl* self, AvnVariant* value); /* slot 119 */ - AvnHResult (AVN_CALL *set_selected_item)(IAvnSelectingItemsControl* self, AvnVariant value); /* slot 120 */ - AvnHResult (AVN_CALL *get_selected_value)(IAvnSelectingItemsControl* self, AvnVariant* value); /* slot 121 */ - AvnHResult (AVN_CALL *set_selected_value)(IAvnSelectingItemsControl* self, AvnVariant value); /* slot 122 */ - AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnSelectingItemsControl* self, int32_t value); /* slot 124 */ - AvnHResult (AVN_CALL *get_wrap_selection)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 125 */ - AvnHResult (AVN_CALL *set_wrap_selection)(IAvnSelectingItemsControl* self, int32_t value); /* slot 126 */ - AvnHResult (AVN_CALL *advise_selection_changed)(IAvnSelectingItemsControl* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 127 */ - AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnSelectingItemsControl* self, int64_t subscription_id); /* slot 128 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnSelectingItemsControl* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnSelectingItemsControl* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnSelectingItemsControl* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnSelectingItemsControl* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnSelectingItemsControl* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnSelectingItemsControl* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnSelectingItemsControl* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnSelectingItemsControl* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnSelectingItemsControl* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnSelectingItemsControl* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnSelectingItemsControl* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnSelectingItemsControl* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnSelectingItemsControl* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnSelectingItemsControl* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnSelectingItemsControl* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnSelectingItemsControl* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnSelectingItemsControl* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnSelectingItemsControl* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnSelectingItemsControl* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnSelectingItemsControl* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnSelectingItemsControl* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnSelectingItemsControl* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnSelectingItemsControl* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnSelectingItemsControl* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnSelectingItemsControl* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnSelectingItemsControl* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnSelectingItemsControl* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnSelectingItemsControl* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnSelectingItemsControl* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnSelectingItemsControl* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_items)(IAvnSelectingItemsControl* self, IAvnItemList** value); /* slot 109 */ + AvnHResult (AVN_CALL *get_item_count)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 110 */ + AvnHResult (AVN_CALL *get_items_source)(IAvnSelectingItemsControl* self, IAvnVariantList** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_items_source)(IAvnSelectingItemsControl* self, IAvnVariantList* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_item_template)(IAvnSelectingItemsControl* self, IAvnDataTemplate** value); /* slot 113 */ + AvnHResult (AVN_CALL *set_item_template)(IAvnSelectingItemsControl* self, IAvnDataTemplate* value); /* slot 114 */ + AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnSelectingItemsControl* self, int32_t index, IAvnControl** value); /* slot 115 */ + AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnSelectingItemsControl* self, AvnVariant item, IAvnControl** value); /* slot 116 */ + AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnSelectingItemsControl* self, IAvnControl* container, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnSelectingItemsControl* self, IAvnControl* container, AvnVariant* value); /* slot 118 */ + AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnSelectingItemsControl* self, int32_t index); /* slot 119 */ + AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnSelectingItemsControl* self, AvnVariant item); /* slot 120 */ + AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 121 */ + AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnSelectingItemsControl* self, int32_t value); /* slot 122 */ + AvnHResult (AVN_CALL *get_selected_index)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 123 */ + AvnHResult (AVN_CALL *set_selected_index)(IAvnSelectingItemsControl* self, int32_t value); /* slot 124 */ + AvnHResult (AVN_CALL *get_selected_item)(IAvnSelectingItemsControl* self, AvnVariant* value); /* slot 125 */ + AvnHResult (AVN_CALL *set_selected_item)(IAvnSelectingItemsControl* self, AvnVariant value); /* slot 126 */ + AvnHResult (AVN_CALL *get_selected_value)(IAvnSelectingItemsControl* self, AvnVariant* value); /* slot 127 */ + AvnHResult (AVN_CALL *set_selected_value)(IAvnSelectingItemsControl* self, AvnVariant value); /* slot 128 */ + AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 129 */ + AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnSelectingItemsControl* self, int32_t value); /* slot 130 */ + AvnHResult (AVN_CALL *get_wrap_selection)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 131 */ + AvnHResult (AVN_CALL *set_wrap_selection)(IAvnSelectingItemsControl* self, int32_t value); /* slot 132 */ + AvnHResult (AVN_CALL *advise_selection_changed)(IAvnSelectingItemsControl* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 133 */ + AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnSelectingItemsControl* self, int64_t subscription_id); /* slot 134 */ }; struct IAvnSelectingItemsControl { const IAvnSelectingItemsControlVtbl* vtbl; }; -#define I_AVN_SELECTING_ITEMS_CONTROL_VTABLE_SLOTS 129 +#define I_AVN_SELECTING_ITEMS_CONTROL_VTABLE_SLOTS 135 static const AvnGuid I_AVN_SEPARATOR_IID = { - 0x87BD59B4, - 0xCB85, - 0x5216, - { 0xB7, 0x57, 0x72, 0xF9, 0x5F, 0xCB, 0x49, 0xE3 } + 0xC97E1335, + 0x936C, + 0x5319, + { 0x91, 0xB3, 0x09, 0xE2, 0xE1, 0x60, 0x7D, 0x5A } }; -#define I_AVN_SEPARATOR_ABI_VERSION 10 +#define I_AVN_SEPARATOR_ABI_VERSION 11 struct IAvnSeparatorVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnSeparator* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnSeparator* self); /* slot 1 */ @@ -11141,45 +11585,51 @@ struct IAvnSeparatorVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnSeparator* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnSeparator* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnSeparator* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnSeparator* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnSeparator* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnSeparator* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnSeparator* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnSeparator* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnSeparator* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnSeparator* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnSeparator* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnSeparator* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnSeparator* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnSeparator* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnSeparator* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnSeparator* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnSeparator* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnSeparator* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnSeparator* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnSeparator* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnSeparator* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnSeparator* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnSeparator* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnSeparator* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnSeparator* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnSeparator* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnSeparator* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnSeparator* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnSeparator* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnSeparator* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnSeparator* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnSeparator* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnSeparator* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnSeparator* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnSeparator* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnSeparator* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnSeparator* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnSeparator* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnSeparator* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnSeparator* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnSeparator* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnSeparator* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnSeparator* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnSeparator* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnSeparator* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnSeparator* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnSeparator* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnSeparator* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnSeparator* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnSeparator* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnSeparator* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnSeparator* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnSeparator* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnSeparator* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnSeparator* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnSeparator* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnSeparator* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnSeparator* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnSeparator* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnSeparator* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnSeparator* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnSeparator* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnSeparator* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnSeparator* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnSeparator* self, AvnThickness value); /* slot 108 */ }; struct IAvnSeparator { const IAvnSeparatorVtbl* vtbl; }; -#define I_AVN_SEPARATOR_VTABLE_SLOTS 103 +#define I_AVN_SEPARATOR_VTABLE_SLOTS 109 static const AvnGuid I_AVN_SHAPE_IID = { - 0x5CB7105C, - 0xDAF9, - 0x5211, - { 0x96, 0x59, 0x62, 0xEA, 0xB0, 0x32, 0x08, 0xFF } + 0x8C49AE37, + 0x0535, + 0x5DEF, + { 0x92, 0x6C, 0xD0, 0xD6, 0x85, 0x7C, 0xC2, 0x16 } }; -#define I_AVN_SHAPE_ABI_VERSION 9 +#define I_AVN_SHAPE_ABI_VERSION 10 struct IAvnShapeVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnShape* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnShape* self); /* slot 1 */ @@ -11256,35 +11706,41 @@ struct IAvnShapeVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnShape* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnShape* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnShape* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_fill)(IAvnShape* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_fill)(IAvnShape* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_stretch)(IAvnShape* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_stretch)(IAvnShape* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_stroke)(IAvnShape* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_stroke)(IAvnShape* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_stroke_dash_array)(IAvnShape* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_stroke_dash_array)(IAvnShape* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_stroke_dash_offset)(IAvnShape* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_stroke_dash_offset)(IAvnShape* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_stroke_thickness)(IAvnShape* self, double* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_stroke_thickness)(IAvnShape* self, double value); /* slot 86 */ - AvnHResult (AVN_CALL *get_stroke_line_cap)(IAvnShape* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_stroke_line_cap)(IAvnShape* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_stroke_join)(IAvnShape* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_stroke_join)(IAvnShape* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_stroke_miter_limit)(IAvnShape* self, double* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_stroke_miter_limit)(IAvnShape* self, double value); /* slot 92 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnShape* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnShape* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnShape* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnShape* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnShape* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnShape* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_fill)(IAvnShape* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_fill)(IAvnShape* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_stretch)(IAvnShape* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_stretch)(IAvnShape* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_stroke)(IAvnShape* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_stroke)(IAvnShape* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_stroke_dash_array)(IAvnShape* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_stroke_dash_array)(IAvnShape* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_stroke_dash_offset)(IAvnShape* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_stroke_dash_offset)(IAvnShape* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_stroke_thickness)(IAvnShape* self, double* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_stroke_thickness)(IAvnShape* self, double value); /* slot 92 */ + AvnHResult (AVN_CALL *get_stroke_line_cap)(IAvnShape* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_stroke_line_cap)(IAvnShape* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_stroke_join)(IAvnShape* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_stroke_join)(IAvnShape* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_stroke_miter_limit)(IAvnShape* self, double* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_stroke_miter_limit)(IAvnShape* self, double value); /* slot 98 */ }; struct IAvnShape { const IAvnShapeVtbl* vtbl; }; -#define I_AVN_SHAPE_VTABLE_SLOTS 93 +#define I_AVN_SHAPE_VTABLE_SLOTS 99 static const AvnGuid I_AVN_SLIDER_IID = { - 0xBF042391, - 0xAF5A, - 0x5DD4, - { 0xB3, 0x21, 0x05, 0x5C, 0xA9, 0xF7, 0x0D, 0x23 } + 0x8F19D970, + 0x60A0, + 0x5AA7, + { 0xA9, 0xCF, 0xDF, 0x78, 0x82, 0xB1, 0x1E, 0x7A } }; -#define I_AVN_SLIDER_ABI_VERSION 13 +#define I_AVN_SLIDER_ABI_VERSION 14 struct IAvnSliderVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnSlider* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnSlider* self); /* slot 1 */ @@ -11361,69 +11817,75 @@ struct IAvnSliderVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnSlider* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnSlider* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnSlider* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnSlider* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnSlider* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnSlider* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnSlider* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnSlider* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnSlider* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnSlider* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnSlider* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnSlider* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnSlider* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnSlider* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnSlider* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnSlider* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnSlider* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnSlider* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnSlider* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnSlider* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnSlider* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnSlider* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnSlider* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnSlider* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnSlider* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnSlider* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnSlider* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnSlider* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnSlider* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnSlider* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnSlider* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_minimum)(IAvnSlider* self, double* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_minimum)(IAvnSlider* self, double value); /* slot 104 */ - AvnHResult (AVN_CALL *get_maximum)(IAvnSlider* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_maximum)(IAvnSlider* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_value)(IAvnSlider* self, double* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_value)(IAvnSlider* self, double value); /* slot 108 */ - AvnHResult (AVN_CALL *get_small_change)(IAvnSlider* self, double* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_small_change)(IAvnSlider* self, double value); /* slot 110 */ - AvnHResult (AVN_CALL *get_large_change)(IAvnSlider* self, double* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_large_change)(IAvnSlider* self, double value); /* slot 112 */ - AvnHResult (AVN_CALL *advise_value_changed)(IAvnSlider* self, IAvnRangeBaseValueChangedHandler* handler, int64_t* subscription_id); /* slot 113 */ - AvnHResult (AVN_CALL *unadvise_value_changed)(IAvnSlider* self, int64_t subscription_id); /* slot 114 */ - AvnHResult (AVN_CALL *get_ticks)(IAvnSlider* self, uint16_t** value); /* slot 115 */ - AvnHResult (AVN_CALL *set_ticks)(IAvnSlider* self, const uint16_t* value); /* slot 116 */ - AvnHResult (AVN_CALL *get_orientation)(IAvnSlider* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_orientation)(IAvnSlider* self, int32_t value); /* slot 118 */ - AvnHResult (AVN_CALL *get_is_direction_reversed)(IAvnSlider* self, int32_t* value); /* slot 119 */ - AvnHResult (AVN_CALL *set_is_direction_reversed)(IAvnSlider* self, int32_t value); /* slot 120 */ - AvnHResult (AVN_CALL *get_is_snap_to_tick_enabled)(IAvnSlider* self, int32_t* value); /* slot 121 */ - AvnHResult (AVN_CALL *set_is_snap_to_tick_enabled)(IAvnSlider* self, int32_t value); /* slot 122 */ - AvnHResult (AVN_CALL *get_tick_frequency)(IAvnSlider* self, double* value); /* slot 123 */ - AvnHResult (AVN_CALL *set_tick_frequency)(IAvnSlider* self, double value); /* slot 124 */ - AvnHResult (AVN_CALL *get_tick_placement)(IAvnSlider* self, int32_t* value); /* slot 125 */ - AvnHResult (AVN_CALL *set_tick_placement)(IAvnSlider* self, int32_t value); /* slot 126 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnSlider* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnSlider* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnSlider* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnSlider* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnSlider* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnSlider* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnSlider* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnSlider* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnSlider* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnSlider* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnSlider* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnSlider* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnSlider* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnSlider* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnSlider* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnSlider* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnSlider* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnSlider* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnSlider* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnSlider* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnSlider* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnSlider* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnSlider* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnSlider* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnSlider* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnSlider* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnSlider* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnSlider* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnSlider* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnSlider* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnSlider* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnSlider* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnSlider* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnSlider* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_minimum)(IAvnSlider* self, double* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_minimum)(IAvnSlider* self, double value); /* slot 110 */ + AvnHResult (AVN_CALL *get_maximum)(IAvnSlider* self, double* value); /* slot 111 */ + AvnHResult (AVN_CALL *set_maximum)(IAvnSlider* self, double value); /* slot 112 */ + AvnHResult (AVN_CALL *get_value)(IAvnSlider* self, double* value); /* slot 113 */ + AvnHResult (AVN_CALL *set_value)(IAvnSlider* self, double value); /* slot 114 */ + AvnHResult (AVN_CALL *get_small_change)(IAvnSlider* self, double* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_small_change)(IAvnSlider* self, double value); /* slot 116 */ + AvnHResult (AVN_CALL *get_large_change)(IAvnSlider* self, double* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_large_change)(IAvnSlider* self, double value); /* slot 118 */ + AvnHResult (AVN_CALL *advise_value_changed)(IAvnSlider* self, IAvnRangeBaseValueChangedHandler* handler, int64_t* subscription_id); /* slot 119 */ + AvnHResult (AVN_CALL *unadvise_value_changed)(IAvnSlider* self, int64_t subscription_id); /* slot 120 */ + AvnHResult (AVN_CALL *get_ticks)(IAvnSlider* self, uint16_t** value); /* slot 121 */ + AvnHResult (AVN_CALL *set_ticks)(IAvnSlider* self, const uint16_t* value); /* slot 122 */ + AvnHResult (AVN_CALL *get_orientation)(IAvnSlider* self, int32_t* value); /* slot 123 */ + AvnHResult (AVN_CALL *set_orientation)(IAvnSlider* self, int32_t value); /* slot 124 */ + AvnHResult (AVN_CALL *get_is_direction_reversed)(IAvnSlider* self, int32_t* value); /* slot 125 */ + AvnHResult (AVN_CALL *set_is_direction_reversed)(IAvnSlider* self, int32_t value); /* slot 126 */ + AvnHResult (AVN_CALL *get_is_snap_to_tick_enabled)(IAvnSlider* self, int32_t* value); /* slot 127 */ + AvnHResult (AVN_CALL *set_is_snap_to_tick_enabled)(IAvnSlider* self, int32_t value); /* slot 128 */ + AvnHResult (AVN_CALL *get_tick_frequency)(IAvnSlider* self, double* value); /* slot 129 */ + AvnHResult (AVN_CALL *set_tick_frequency)(IAvnSlider* self, double value); /* slot 130 */ + AvnHResult (AVN_CALL *get_tick_placement)(IAvnSlider* self, int32_t* value); /* slot 131 */ + AvnHResult (AVN_CALL *set_tick_placement)(IAvnSlider* self, int32_t value); /* slot 132 */ }; struct IAvnSlider { const IAvnSliderVtbl* vtbl; }; -#define I_AVN_SLIDER_VTABLE_SLOTS 127 +#define I_AVN_SLIDER_VTABLE_SLOTS 133 static const AvnGuid I_AVN_SPINNER_IID = { - 0x4A63E264, - 0xF914, - 0x5256, - { 0x93, 0xAB, 0x12, 0x68, 0x89, 0x5B, 0x90, 0x73 } + 0xCF93246B, + 0xDA27, + 0x5FC8, + { 0x83, 0x82, 0xFE, 0x60, 0x00, 0xF8, 0x3F, 0xA4 } }; -#define I_AVN_SPINNER_ABI_VERSION 10 +#define I_AVN_SPINNER_ABI_VERSION 11 struct IAvnSpinnerVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnSpinner* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnSpinner* self); /* slot 1 */ @@ -11500,57 +11962,63 @@ struct IAvnSpinnerVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnSpinner* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnSpinner* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnSpinner* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnSpinner* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnSpinner* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnSpinner* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnSpinner* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnSpinner* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnSpinner* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnSpinner* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnSpinner* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnSpinner* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnSpinner* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnSpinner* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnSpinner* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnSpinner* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnSpinner* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnSpinner* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnSpinner* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnSpinner* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnSpinner* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnSpinner* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnSpinner* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnSpinner* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnSpinner* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnSpinner* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnSpinner* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnSpinner* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnSpinner* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnSpinner* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnSpinner* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_content)(IAvnSpinner* self, IAvnControl** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_content)(IAvnSpinner* self, IAvnControl* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnSpinner* self, IAvnDataTemplate** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnSpinner* self, IAvnDataTemplate* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnSpinner* self, int32_t* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnSpinner* self, int32_t value); /* slot 108 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnSpinner* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnSpinner* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_valid_spin_direction)(IAvnSpinner* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_valid_spin_direction)(IAvnSpinner* self, int32_t value); /* slot 112 */ - AvnHResult (AVN_CALL *advise_spin)(IAvnSpinner* self, IAvnSpinnerSpinHandler* handler, int64_t* subscription_id); /* slot 113 */ - AvnHResult (AVN_CALL *unadvise_spin)(IAvnSpinner* self, int64_t subscription_id); /* slot 114 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnSpinner* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnSpinner* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnSpinner* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnSpinner* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnSpinner* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnSpinner* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnSpinner* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnSpinner* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnSpinner* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnSpinner* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnSpinner* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnSpinner* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnSpinner* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnSpinner* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnSpinner* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnSpinner* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnSpinner* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnSpinner* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnSpinner* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnSpinner* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnSpinner* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnSpinner* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnSpinner* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnSpinner* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnSpinner* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnSpinner* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnSpinner* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnSpinner* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnSpinner* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnSpinner* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnSpinner* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnSpinner* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnSpinner* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnSpinner* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_content)(IAvnSpinner* self, IAvnControl** value); /* slot 109 */ + AvnHResult (AVN_CALL *set_content)(IAvnSpinner* self, IAvnControl* value); /* slot 110 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnSpinner* self, IAvnDataTemplate** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnSpinner* self, IAvnDataTemplate* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnSpinner* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnSpinner* self, int32_t value); /* slot 114 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnSpinner* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnSpinner* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_valid_spin_direction)(IAvnSpinner* self, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_valid_spin_direction)(IAvnSpinner* self, int32_t value); /* slot 118 */ + AvnHResult (AVN_CALL *advise_spin)(IAvnSpinner* self, IAvnSpinnerSpinHandler* handler, int64_t* subscription_id); /* slot 119 */ + AvnHResult (AVN_CALL *unadvise_spin)(IAvnSpinner* self, int64_t subscription_id); /* slot 120 */ }; struct IAvnSpinner { const IAvnSpinnerVtbl* vtbl; }; -#define I_AVN_SPINNER_VTABLE_SLOTS 115 +#define I_AVN_SPINNER_VTABLE_SLOTS 121 static const AvnGuid I_AVN_SPLIT_BUTTON_IID = { - 0x11D77809, - 0x48B6, - 0x5A29, - { 0xB8, 0xD9, 0x5D, 0x41, 0x3B, 0xC9, 0x6A, 0x85 } + 0x88415351, + 0x1718, + 0x57DE, + { 0x98, 0xD6, 0x5D, 0xEE, 0x17, 0x94, 0x02, 0x9C } }; -#define I_AVN_SPLIT_BUTTON_ABI_VERSION 13 +#define I_AVN_SPLIT_BUTTON_ABI_VERSION 14 struct IAvnSplitButtonVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnSplitButton* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnSplitButton* self); /* slot 1 */ @@ -11627,63 +12095,69 @@ struct IAvnSplitButtonVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnSplitButton* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnSplitButton* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnSplitButton* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnSplitButton* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnSplitButton* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnSplitButton* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnSplitButton* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnSplitButton* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnSplitButton* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnSplitButton* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnSplitButton* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnSplitButton* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnSplitButton* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnSplitButton* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnSplitButton* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnSplitButton* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnSplitButton* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnSplitButton* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnSplitButton* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnSplitButton* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnSplitButton* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnSplitButton* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnSplitButton* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnSplitButton* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnSplitButton* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnSplitButton* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnSplitButton* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnSplitButton* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnSplitButton* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnSplitButton* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnSplitButton* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_content)(IAvnSplitButton* self, IAvnControl** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_content)(IAvnSplitButton* self, IAvnControl* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnSplitButton* self, IAvnDataTemplate** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnSplitButton* self, IAvnDataTemplate* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnSplitButton* self, int32_t* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnSplitButton* self, int32_t value); /* slot 108 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnSplitButton* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnSplitButton* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_command)(IAvnSplitButton* self, IAvnCommand** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_command)(IAvnSplitButton* self, IAvnCommand* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_command_parameter)(IAvnSplitButton* self, AvnVariant* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_command_parameter)(IAvnSplitButton* self, AvnVariant value); /* slot 114 */ - AvnHResult (AVN_CALL *get_flyout)(IAvnSplitButton* self, IAvnFlyoutBase** value); /* slot 115 */ - AvnHResult (AVN_CALL *set_flyout)(IAvnSplitButton* self, IAvnFlyoutBase* value); /* slot 116 */ - AvnHResult (AVN_CALL *get_hot_key)(IAvnSplitButton* self, uint16_t** value); /* slot 117 */ - AvnHResult (AVN_CALL *set_hot_key)(IAvnSplitButton* self, const uint16_t* value); /* slot 118 */ - AvnHResult (AVN_CALL *advise_click)(IAvnSplitButton* self, IAvnSplitButtonClickHandler* handler, int64_t* subscription_id); /* slot 119 */ - AvnHResult (AVN_CALL *unadvise_click)(IAvnSplitButton* self, int64_t subscription_id); /* slot 120 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnSplitButton* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnSplitButton* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnSplitButton* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnSplitButton* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnSplitButton* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnSplitButton* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnSplitButton* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnSplitButton* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnSplitButton* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnSplitButton* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnSplitButton* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnSplitButton* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnSplitButton* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnSplitButton* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnSplitButton* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnSplitButton* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnSplitButton* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnSplitButton* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnSplitButton* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnSplitButton* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnSplitButton* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnSplitButton* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnSplitButton* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnSplitButton* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnSplitButton* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnSplitButton* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnSplitButton* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnSplitButton* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnSplitButton* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnSplitButton* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnSplitButton* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnSplitButton* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnSplitButton* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnSplitButton* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_content)(IAvnSplitButton* self, IAvnControl** value); /* slot 109 */ + AvnHResult (AVN_CALL *set_content)(IAvnSplitButton* self, IAvnControl* value); /* slot 110 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnSplitButton* self, IAvnDataTemplate** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnSplitButton* self, IAvnDataTemplate* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnSplitButton* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnSplitButton* self, int32_t value); /* slot 114 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnSplitButton* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnSplitButton* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_command)(IAvnSplitButton* self, IAvnCommand** value); /* slot 117 */ + AvnHResult (AVN_CALL *set_command)(IAvnSplitButton* self, IAvnCommand* value); /* slot 118 */ + AvnHResult (AVN_CALL *get_command_parameter)(IAvnSplitButton* self, AvnVariant* value); /* slot 119 */ + AvnHResult (AVN_CALL *set_command_parameter)(IAvnSplitButton* self, AvnVariant value); /* slot 120 */ + AvnHResult (AVN_CALL *get_flyout)(IAvnSplitButton* self, IAvnFlyoutBase** value); /* slot 121 */ + AvnHResult (AVN_CALL *set_flyout)(IAvnSplitButton* self, IAvnFlyoutBase* value); /* slot 122 */ + AvnHResult (AVN_CALL *get_hot_key)(IAvnSplitButton* self, uint16_t** value); /* slot 123 */ + AvnHResult (AVN_CALL *set_hot_key)(IAvnSplitButton* self, const uint16_t* value); /* slot 124 */ + AvnHResult (AVN_CALL *advise_click)(IAvnSplitButton* self, IAvnSplitButtonClickHandler* handler, int64_t* subscription_id); /* slot 125 */ + AvnHResult (AVN_CALL *unadvise_click)(IAvnSplitButton* self, int64_t subscription_id); /* slot 126 */ }; struct IAvnSplitButton { const IAvnSplitButtonVtbl* vtbl; }; -#define I_AVN_SPLIT_BUTTON_VTABLE_SLOTS 121 +#define I_AVN_SPLIT_BUTTON_VTABLE_SLOTS 127 static const AvnGuid I_AVN_SPLIT_VIEW_IID = { - 0x048A7E1E, - 0x0539, - 0x5D4A, - { 0x95, 0xD8, 0x5C, 0x2E, 0x6D, 0x42, 0x92, 0x02 } + 0xCF2AF228, + 0xF18D, + 0x57E1, + { 0xB3, 0x62, 0x6A, 0x69, 0x2F, 0xEB, 0x7A, 0xC4 } }; -#define I_AVN_SPLIT_VIEW_ABI_VERSION 10 +#define I_AVN_SPLIT_VIEW_ABI_VERSION 11 struct IAvnSplitViewVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnSplitView* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnSplitView* self); /* slot 1 */ @@ -11760,79 +12234,85 @@ struct IAvnSplitViewVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnSplitView* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnSplitView* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnSplitView* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnSplitView* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnSplitView* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnSplitView* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnSplitView* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnSplitView* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnSplitView* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnSplitView* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnSplitView* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnSplitView* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnSplitView* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnSplitView* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnSplitView* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnSplitView* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnSplitView* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnSplitView* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnSplitView* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnSplitView* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnSplitView* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnSplitView* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnSplitView* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnSplitView* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnSplitView* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnSplitView* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnSplitView* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnSplitView* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnSplitView* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnSplitView* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnSplitView* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_content)(IAvnSplitView* self, IAvnControl** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_content)(IAvnSplitView* self, IAvnControl* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnSplitView* self, IAvnDataTemplate** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnSplitView* self, IAvnDataTemplate* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnSplitView* self, int32_t* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnSplitView* self, int32_t value); /* slot 108 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnSplitView* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnSplitView* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_compact_pane_length)(IAvnSplitView* self, double* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_compact_pane_length)(IAvnSplitView* self, double value); /* slot 112 */ - AvnHResult (AVN_CALL *get_display_mode)(IAvnSplitView* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_display_mode)(IAvnSplitView* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_is_pane_open)(IAvnSplitView* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_is_pane_open)(IAvnSplitView* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_open_pane_length)(IAvnSplitView* self, double* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_open_pane_length)(IAvnSplitView* self, double value); /* slot 118 */ - AvnHResult (AVN_CALL *get_pane_background)(IAvnSplitView* self, IAvnBrush** value); /* slot 119 */ - AvnHResult (AVN_CALL *set_pane_background)(IAvnSplitView* self, IAvnBrush* value); /* slot 120 */ - AvnHResult (AVN_CALL *get_pane_placement)(IAvnSplitView* self, int32_t* value); /* slot 121 */ - AvnHResult (AVN_CALL *set_pane_placement)(IAvnSplitView* self, int32_t value); /* slot 122 */ - AvnHResult (AVN_CALL *get_pane)(IAvnSplitView* self, IAvnControl** value); /* slot 123 */ - AvnHResult (AVN_CALL *set_pane)(IAvnSplitView* self, IAvnControl* value); /* slot 124 */ - AvnHResult (AVN_CALL *get_pane_template)(IAvnSplitView* self, IAvnDataTemplate** value); /* slot 125 */ - AvnHResult (AVN_CALL *set_pane_template)(IAvnSplitView* self, IAvnDataTemplate* value); /* slot 126 */ - AvnHResult (AVN_CALL *get_use_light_dismiss_overlay_mode)(IAvnSplitView* self, int32_t* value); /* slot 127 */ - AvnHResult (AVN_CALL *set_use_light_dismiss_overlay_mode)(IAvnSplitView* self, int32_t value); /* slot 128 */ - AvnHResult (AVN_CALL *advise_pane_closed)(IAvnSplitView* self, IAvnSplitViewPaneClosedHandler* handler, int64_t* subscription_id); /* slot 129 */ - AvnHResult (AVN_CALL *unadvise_pane_closed)(IAvnSplitView* self, int64_t subscription_id); /* slot 130 */ - AvnHResult (AVN_CALL *advise_pane_closing)(IAvnSplitView* self, IAvnSplitViewPaneClosingHandler* handler, int64_t* subscription_id); /* slot 131 */ - AvnHResult (AVN_CALL *unadvise_pane_closing)(IAvnSplitView* self, int64_t subscription_id); /* slot 132 */ - AvnHResult (AVN_CALL *advise_pane_opened)(IAvnSplitView* self, IAvnSplitViewPaneOpenedHandler* handler, int64_t* subscription_id); /* slot 133 */ - AvnHResult (AVN_CALL *unadvise_pane_opened)(IAvnSplitView* self, int64_t subscription_id); /* slot 134 */ - AvnHResult (AVN_CALL *advise_pane_opening)(IAvnSplitView* self, IAvnSplitViewPaneOpeningHandler* handler, int64_t* subscription_id); /* slot 135 */ - AvnHResult (AVN_CALL *unadvise_pane_opening)(IAvnSplitView* self, int64_t subscription_id); /* slot 136 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnSplitView* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnSplitView* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnSplitView* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnSplitView* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnSplitView* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnSplitView* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnSplitView* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnSplitView* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnSplitView* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnSplitView* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnSplitView* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnSplitView* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnSplitView* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnSplitView* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnSplitView* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnSplitView* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnSplitView* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnSplitView* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnSplitView* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnSplitView* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnSplitView* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnSplitView* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnSplitView* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnSplitView* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnSplitView* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnSplitView* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnSplitView* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnSplitView* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnSplitView* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnSplitView* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnSplitView* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnSplitView* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnSplitView* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnSplitView* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_content)(IAvnSplitView* self, IAvnControl** value); /* slot 109 */ + AvnHResult (AVN_CALL *set_content)(IAvnSplitView* self, IAvnControl* value); /* slot 110 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnSplitView* self, IAvnDataTemplate** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnSplitView* self, IAvnDataTemplate* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnSplitView* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnSplitView* self, int32_t value); /* slot 114 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnSplitView* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnSplitView* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_compact_pane_length)(IAvnSplitView* self, double* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_compact_pane_length)(IAvnSplitView* self, double value); /* slot 118 */ + AvnHResult (AVN_CALL *get_display_mode)(IAvnSplitView* self, int32_t* value); /* slot 119 */ + AvnHResult (AVN_CALL *set_display_mode)(IAvnSplitView* self, int32_t value); /* slot 120 */ + AvnHResult (AVN_CALL *get_is_pane_open)(IAvnSplitView* self, int32_t* value); /* slot 121 */ + AvnHResult (AVN_CALL *set_is_pane_open)(IAvnSplitView* self, int32_t value); /* slot 122 */ + AvnHResult (AVN_CALL *get_open_pane_length)(IAvnSplitView* self, double* value); /* slot 123 */ + AvnHResult (AVN_CALL *set_open_pane_length)(IAvnSplitView* self, double value); /* slot 124 */ + AvnHResult (AVN_CALL *get_pane_background)(IAvnSplitView* self, IAvnBrush** value); /* slot 125 */ + AvnHResult (AVN_CALL *set_pane_background)(IAvnSplitView* self, IAvnBrush* value); /* slot 126 */ + AvnHResult (AVN_CALL *get_pane_placement)(IAvnSplitView* self, int32_t* value); /* slot 127 */ + AvnHResult (AVN_CALL *set_pane_placement)(IAvnSplitView* self, int32_t value); /* slot 128 */ + AvnHResult (AVN_CALL *get_pane)(IAvnSplitView* self, IAvnControl** value); /* slot 129 */ + AvnHResult (AVN_CALL *set_pane)(IAvnSplitView* self, IAvnControl* value); /* slot 130 */ + AvnHResult (AVN_CALL *get_pane_template)(IAvnSplitView* self, IAvnDataTemplate** value); /* slot 131 */ + AvnHResult (AVN_CALL *set_pane_template)(IAvnSplitView* self, IAvnDataTemplate* value); /* slot 132 */ + AvnHResult (AVN_CALL *get_use_light_dismiss_overlay_mode)(IAvnSplitView* self, int32_t* value); /* slot 133 */ + AvnHResult (AVN_CALL *set_use_light_dismiss_overlay_mode)(IAvnSplitView* self, int32_t value); /* slot 134 */ + AvnHResult (AVN_CALL *advise_pane_closed)(IAvnSplitView* self, IAvnSplitViewPaneClosedHandler* handler, int64_t* subscription_id); /* slot 135 */ + AvnHResult (AVN_CALL *unadvise_pane_closed)(IAvnSplitView* self, int64_t subscription_id); /* slot 136 */ + AvnHResult (AVN_CALL *advise_pane_closing)(IAvnSplitView* self, IAvnSplitViewPaneClosingHandler* handler, int64_t* subscription_id); /* slot 137 */ + AvnHResult (AVN_CALL *unadvise_pane_closing)(IAvnSplitView* self, int64_t subscription_id); /* slot 138 */ + AvnHResult (AVN_CALL *advise_pane_opened)(IAvnSplitView* self, IAvnSplitViewPaneOpenedHandler* handler, int64_t* subscription_id); /* slot 139 */ + AvnHResult (AVN_CALL *unadvise_pane_opened)(IAvnSplitView* self, int64_t subscription_id); /* slot 140 */ + AvnHResult (AVN_CALL *advise_pane_opening)(IAvnSplitView* self, IAvnSplitViewPaneOpeningHandler* handler, int64_t* subscription_id); /* slot 141 */ + AvnHResult (AVN_CALL *unadvise_pane_opening)(IAvnSplitView* self, int64_t subscription_id); /* slot 142 */ }; struct IAvnSplitView { const IAvnSplitViewVtbl* vtbl; }; -#define I_AVN_SPLIT_VIEW_VTABLE_SLOTS 137 +#define I_AVN_SPLIT_VIEW_VTABLE_SLOTS 143 static const AvnGuid I_AVN_STACK_PANEL_IID = { - 0x17521479, - 0xDA81, - 0x5A88, - { 0x99, 0x84, 0x55, 0x7E, 0xE0, 0x8F, 0xF8, 0x97 } + 0x41C138FB, + 0xC0C9, + 0x579F, + { 0xA3, 0xB9, 0x76, 0x08, 0x07, 0x32, 0xA9, 0x4C } }; -#define I_AVN_STACK_PANEL_ABI_VERSION 13 +#define I_AVN_STACK_PANEL_ABI_VERSION 14 struct IAvnStackPanelVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnStackPanel* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnStackPanel* self); /* slot 1 */ @@ -11909,20 +12389,26 @@ struct IAvnStackPanelVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnStackPanel* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnStackPanel* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnStackPanel* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_children)(IAvnStackPanel* self, IAvnControlList** value); /* slot 75 */ - AvnHResult (AVN_CALL *get_background)(IAvnStackPanel* self, IAvnBrush** value); /* slot 76 */ - AvnHResult (AVN_CALL *set_background)(IAvnStackPanel* self, IAvnBrush* value); /* slot 77 */ - AvnHResult (AVN_CALL *get_spacing)(IAvnStackPanel* self, double* value); /* slot 78 */ - AvnHResult (AVN_CALL *set_spacing)(IAvnStackPanel* self, double value); /* slot 79 */ - AvnHResult (AVN_CALL *get_orientation)(IAvnStackPanel* self, int32_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *set_orientation)(IAvnStackPanel* self, int32_t value); /* slot 81 */ - AvnHResult (AVN_CALL *get_are_horizontal_snap_points_regular)(IAvnStackPanel* self, int32_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *set_are_horizontal_snap_points_regular)(IAvnStackPanel* self, int32_t value); /* slot 83 */ - AvnHResult (AVN_CALL *get_are_vertical_snap_points_regular)(IAvnStackPanel* self, int32_t* value); /* slot 84 */ - AvnHResult (AVN_CALL *set_are_vertical_snap_points_regular)(IAvnStackPanel* self, int32_t value); /* slot 85 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnStackPanel* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnStackPanel* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnStackPanel* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnStackPanel* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnStackPanel* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnStackPanel* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_children)(IAvnStackPanel* self, IAvnControlList** value); /* slot 81 */ + AvnHResult (AVN_CALL *get_background)(IAvnStackPanel* self, IAvnBrush** value); /* slot 82 */ + AvnHResult (AVN_CALL *set_background)(IAvnStackPanel* self, IAvnBrush* value); /* slot 83 */ + AvnHResult (AVN_CALL *get_spacing)(IAvnStackPanel* self, double* value); /* slot 84 */ + AvnHResult (AVN_CALL *set_spacing)(IAvnStackPanel* self, double value); /* slot 85 */ + AvnHResult (AVN_CALL *get_orientation)(IAvnStackPanel* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_orientation)(IAvnStackPanel* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_are_horizontal_snap_points_regular)(IAvnStackPanel* self, int32_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *set_are_horizontal_snap_points_regular)(IAvnStackPanel* self, int32_t value); /* slot 89 */ + AvnHResult (AVN_CALL *get_are_vertical_snap_points_regular)(IAvnStackPanel* self, int32_t* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_are_vertical_snap_points_regular)(IAvnStackPanel* self, int32_t value); /* slot 91 */ }; struct IAvnStackPanel { const IAvnStackPanelVtbl* vtbl; }; -#define I_AVN_STACK_PANEL_VTABLE_SLOTS 86 +#define I_AVN_STACK_PANEL_VTABLE_SLOTS 92 static const AvnGuid I_AVN_STYLED_ELEMENT_IID = { 0x383D0620, @@ -11963,12 +12449,12 @@ struct IAvnStyledElement { const IAvnStyledElementVtbl* vtbl; }; #define I_AVN_STYLED_ELEMENT_VTABLE_SLOTS 26 static const AvnGuid I_AVN_TAB_CONTROL_IID = { - 0x8F087347, - 0x637D, - 0x5F69, - { 0xBA, 0xBE, 0x6D, 0x6E, 0xD3, 0x04, 0x40, 0xC1 } + 0x27DF6FA4, + 0x888C, + 0x53C3, + { 0x86, 0x12, 0x18, 0x67, 0x47, 0xFD, 0x07, 0xBF } }; -#define I_AVN_TAB_CONTROL_ABI_VERSION 13 +#define I_AVN_TAB_CONTROL_ABI_VERSION 14 struct IAvnTabControlVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnTabControl* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnTabControl* self); /* slot 1 */ @@ -12045,83 +12531,89 @@ struct IAvnTabControlVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTabControl* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTabControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTabControl* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnTabControl* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnTabControl* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnTabControl* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnTabControl* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnTabControl* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnTabControl* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnTabControl* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnTabControl* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnTabControl* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnTabControl* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnTabControl* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnTabControl* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnTabControl* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnTabControl* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnTabControl* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnTabControl* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnTabControl* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnTabControl* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnTabControl* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnTabControl* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnTabControl* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnTabControl* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnTabControl* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnTabControl* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTabControl* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTabControl* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnTabControl* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnTabControl* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_items)(IAvnTabControl* self, IAvnItemList** value); /* slot 103 */ - AvnHResult (AVN_CALL *get_item_count)(IAvnTabControl* self, int32_t* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_items_source)(IAvnTabControl* self, IAvnVariantList** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_items_source)(IAvnTabControl* self, IAvnVariantList* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_item_template)(IAvnTabControl* self, IAvnDataTemplate** value); /* slot 107 */ - AvnHResult (AVN_CALL *set_item_template)(IAvnTabControl* self, IAvnDataTemplate* value); /* slot 108 */ - AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnTabControl* self, int32_t index, IAvnControl** value); /* slot 109 */ - AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnTabControl* self, AvnVariant item, IAvnControl** value); /* slot 110 */ - AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnTabControl* self, IAvnControl* container, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnTabControl* self, IAvnControl* container, AvnVariant* value); /* slot 112 */ - AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnTabControl* self, int32_t index); /* slot 113 */ - AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnTabControl* self, AvnVariant item); /* slot 114 */ - AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnTabControl* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnTabControl* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_selected_index)(IAvnTabControl* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_selected_index)(IAvnTabControl* self, int32_t value); /* slot 118 */ - AvnHResult (AVN_CALL *get_selected_item)(IAvnTabControl* self, AvnVariant* value); /* slot 119 */ - AvnHResult (AVN_CALL *set_selected_item)(IAvnTabControl* self, AvnVariant value); /* slot 120 */ - AvnHResult (AVN_CALL *get_selected_value)(IAvnTabControl* self, AvnVariant* value); /* slot 121 */ - AvnHResult (AVN_CALL *set_selected_value)(IAvnTabControl* self, AvnVariant value); /* slot 122 */ - AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnTabControl* self, int32_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnTabControl* self, int32_t value); /* slot 124 */ - AvnHResult (AVN_CALL *get_wrap_selection)(IAvnTabControl* self, int32_t* value); /* slot 125 */ - AvnHResult (AVN_CALL *set_wrap_selection)(IAvnTabControl* self, int32_t value); /* slot 126 */ - AvnHResult (AVN_CALL *advise_selection_changed)(IAvnTabControl* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 127 */ - AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnTabControl* self, int64_t subscription_id); /* slot 128 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnTabControl* self, int32_t* value); /* slot 129 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnTabControl* self, int32_t value); /* slot 130 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnTabControl* self, int32_t* value); /* slot 131 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnTabControl* self, int32_t value); /* slot 132 */ - AvnHResult (AVN_CALL *get_tab_strip_placement)(IAvnTabControl* self, int32_t* value); /* slot 133 */ - AvnHResult (AVN_CALL *set_tab_strip_placement)(IAvnTabControl* self, int32_t value); /* slot 134 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnTabControl* self, IAvnDataTemplate** value); /* slot 135 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnTabControl* self, IAvnDataTemplate* value); /* slot 136 */ - AvnHResult (AVN_CALL *get_selected_content)(IAvnTabControl* self, AvnVariant* value); /* slot 137 */ - AvnHResult (AVN_CALL *get_selected_content_template)(IAvnTabControl* self, IAvnDataTemplate** value); /* slot 138 */ - AvnHResult (AVN_CALL *get_indicator_template)(IAvnTabControl* self, IAvnDataTemplate** value); /* slot 139 */ - AvnHResult (AVN_CALL *set_indicator_template)(IAvnTabControl* self, IAvnDataTemplate* value); /* slot 140 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnTabControl* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnTabControl* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnTabControl* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnTabControl* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnTabControl* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnTabControl* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnTabControl* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnTabControl* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnTabControl* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnTabControl* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnTabControl* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnTabControl* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnTabControl* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnTabControl* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnTabControl* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnTabControl* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnTabControl* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnTabControl* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnTabControl* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnTabControl* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnTabControl* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnTabControl* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnTabControl* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnTabControl* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnTabControl* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnTabControl* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnTabControl* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnTabControl* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnTabControl* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnTabControl* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTabControl* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTabControl* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnTabControl* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnTabControl* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_items)(IAvnTabControl* self, IAvnItemList** value); /* slot 109 */ + AvnHResult (AVN_CALL *get_item_count)(IAvnTabControl* self, int32_t* value); /* slot 110 */ + AvnHResult (AVN_CALL *get_items_source)(IAvnTabControl* self, IAvnVariantList** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_items_source)(IAvnTabControl* self, IAvnVariantList* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_item_template)(IAvnTabControl* self, IAvnDataTemplate** value); /* slot 113 */ + AvnHResult (AVN_CALL *set_item_template)(IAvnTabControl* self, IAvnDataTemplate* value); /* slot 114 */ + AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnTabControl* self, int32_t index, IAvnControl** value); /* slot 115 */ + AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnTabControl* self, AvnVariant item, IAvnControl** value); /* slot 116 */ + AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnTabControl* self, IAvnControl* container, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnTabControl* self, IAvnControl* container, AvnVariant* value); /* slot 118 */ + AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnTabControl* self, int32_t index); /* slot 119 */ + AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnTabControl* self, AvnVariant item); /* slot 120 */ + AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnTabControl* self, int32_t* value); /* slot 121 */ + AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnTabControl* self, int32_t value); /* slot 122 */ + AvnHResult (AVN_CALL *get_selected_index)(IAvnTabControl* self, int32_t* value); /* slot 123 */ + AvnHResult (AVN_CALL *set_selected_index)(IAvnTabControl* self, int32_t value); /* slot 124 */ + AvnHResult (AVN_CALL *get_selected_item)(IAvnTabControl* self, AvnVariant* value); /* slot 125 */ + AvnHResult (AVN_CALL *set_selected_item)(IAvnTabControl* self, AvnVariant value); /* slot 126 */ + AvnHResult (AVN_CALL *get_selected_value)(IAvnTabControl* self, AvnVariant* value); /* slot 127 */ + AvnHResult (AVN_CALL *set_selected_value)(IAvnTabControl* self, AvnVariant value); /* slot 128 */ + AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnTabControl* self, int32_t* value); /* slot 129 */ + AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnTabControl* self, int32_t value); /* slot 130 */ + AvnHResult (AVN_CALL *get_wrap_selection)(IAvnTabControl* self, int32_t* value); /* slot 131 */ + AvnHResult (AVN_CALL *set_wrap_selection)(IAvnTabControl* self, int32_t value); /* slot 132 */ + AvnHResult (AVN_CALL *advise_selection_changed)(IAvnTabControl* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 133 */ + AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnTabControl* self, int64_t subscription_id); /* slot 134 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnTabControl* self, int32_t* value); /* slot 135 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnTabControl* self, int32_t value); /* slot 136 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnTabControl* self, int32_t* value); /* slot 137 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnTabControl* self, int32_t value); /* slot 138 */ + AvnHResult (AVN_CALL *get_tab_strip_placement)(IAvnTabControl* self, int32_t* value); /* slot 139 */ + AvnHResult (AVN_CALL *set_tab_strip_placement)(IAvnTabControl* self, int32_t value); /* slot 140 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnTabControl* self, IAvnDataTemplate** value); /* slot 141 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnTabControl* self, IAvnDataTemplate* value); /* slot 142 */ + AvnHResult (AVN_CALL *get_selected_content)(IAvnTabControl* self, AvnVariant* value); /* slot 143 */ + AvnHResult (AVN_CALL *get_selected_content_template)(IAvnTabControl* self, IAvnDataTemplate** value); /* slot 144 */ + AvnHResult (AVN_CALL *get_indicator_template)(IAvnTabControl* self, IAvnDataTemplate** value); /* slot 145 */ + AvnHResult (AVN_CALL *set_indicator_template)(IAvnTabControl* self, IAvnDataTemplate* value); /* slot 146 */ }; struct IAvnTabControl { const IAvnTabControlVtbl* vtbl; }; -#define I_AVN_TAB_CONTROL_VTABLE_SLOTS 141 +#define I_AVN_TAB_CONTROL_VTABLE_SLOTS 147 static const AvnGuid I_AVN_TAB_ITEM_IID = { - 0x406B7990, - 0x01A7, - 0x533E, - { 0x9A, 0x2A, 0x7B, 0x70, 0xDD, 0xFC, 0xE8, 0xEC } + 0xDED2B477, + 0xBC45, + 0x5613, + { 0xBA, 0x24, 0xCD, 0xBA, 0xB6, 0x35, 0xD7, 0x85 } }; -#define I_AVN_TAB_ITEM_ABI_VERSION 12 +#define I_AVN_TAB_ITEM_ABI_VERSION 13 struct IAvnTabItemVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnTabItem* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnTabItem* self); /* slot 1 */ @@ -12198,66 +12690,72 @@ struct IAvnTabItemVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTabItem* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTabItem* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTabItem* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnTabItem* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnTabItem* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnTabItem* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnTabItem* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnTabItem* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnTabItem* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnTabItem* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnTabItem* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnTabItem* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnTabItem* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnTabItem* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnTabItem* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnTabItem* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnTabItem* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnTabItem* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnTabItem* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnTabItem* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnTabItem* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnTabItem* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnTabItem* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnTabItem* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnTabItem* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnTabItem* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnTabItem* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTabItem* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTabItem* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnTabItem* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnTabItem* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_content)(IAvnTabItem* self, IAvnControl** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_content)(IAvnTabItem* self, IAvnControl* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnTabItem* self, IAvnDataTemplate** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnTabItem* self, IAvnDataTemplate* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnTabItem* self, int32_t* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnTabItem* self, int32_t value); /* slot 108 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnTabItem* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnTabItem* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_header)(IAvnTabItem* self, IAvnControl** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_header)(IAvnTabItem* self, IAvnControl* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_header_template)(IAvnTabItem* self, IAvnDataTemplate** value); /* slot 113 */ - AvnHResult (AVN_CALL *set_header_template)(IAvnTabItem* self, IAvnDataTemplate* value); /* slot 114 */ - AvnHResult (AVN_CALL *get_tab_strip_placement)(IAvnTabItem* self, uint16_t** value); /* slot 115 */ - AvnHResult (AVN_CALL *get_is_selected)(IAvnTabItem* self, int32_t* value); /* slot 116 */ - AvnHResult (AVN_CALL *set_is_selected)(IAvnTabItem* self, int32_t value); /* slot 117 */ - AvnHResult (AVN_CALL *get_icon)(IAvnTabItem* self, AvnVariant* value); /* slot 118 */ - AvnHResult (AVN_CALL *set_icon)(IAvnTabItem* self, AvnVariant value); /* slot 119 */ - AvnHResult (AVN_CALL *get_icon_template)(IAvnTabItem* self, IAvnDataTemplate** value); /* slot 120 */ - AvnHResult (AVN_CALL *set_icon_template)(IAvnTabItem* self, IAvnDataTemplate* value); /* slot 121 */ - AvnHResult (AVN_CALL *get_indicator_template)(IAvnTabItem* self, IAvnDataTemplate** value); /* slot 122 */ - AvnHResult (AVN_CALL *set_indicator_template)(IAvnTabItem* self, IAvnDataTemplate* value); /* slot 123 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnTabItem* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnTabItem* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnTabItem* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnTabItem* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnTabItem* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnTabItem* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnTabItem* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnTabItem* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnTabItem* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnTabItem* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnTabItem* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnTabItem* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnTabItem* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnTabItem* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnTabItem* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnTabItem* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnTabItem* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnTabItem* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnTabItem* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnTabItem* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnTabItem* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnTabItem* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnTabItem* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnTabItem* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnTabItem* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnTabItem* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnTabItem* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnTabItem* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnTabItem* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnTabItem* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTabItem* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTabItem* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnTabItem* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnTabItem* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_content)(IAvnTabItem* self, IAvnControl** value); /* slot 109 */ + AvnHResult (AVN_CALL *set_content)(IAvnTabItem* self, IAvnControl* value); /* slot 110 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnTabItem* self, IAvnDataTemplate** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnTabItem* self, IAvnDataTemplate* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnTabItem* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnTabItem* self, int32_t value); /* slot 114 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnTabItem* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnTabItem* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_header)(IAvnTabItem* self, IAvnControl** value); /* slot 117 */ + AvnHResult (AVN_CALL *set_header)(IAvnTabItem* self, IAvnControl* value); /* slot 118 */ + AvnHResult (AVN_CALL *get_header_template)(IAvnTabItem* self, IAvnDataTemplate** value); /* slot 119 */ + AvnHResult (AVN_CALL *set_header_template)(IAvnTabItem* self, IAvnDataTemplate* value); /* slot 120 */ + AvnHResult (AVN_CALL *get_tab_strip_placement)(IAvnTabItem* self, uint16_t** value); /* slot 121 */ + AvnHResult (AVN_CALL *get_is_selected)(IAvnTabItem* self, int32_t* value); /* slot 122 */ + AvnHResult (AVN_CALL *set_is_selected)(IAvnTabItem* self, int32_t value); /* slot 123 */ + AvnHResult (AVN_CALL *get_icon)(IAvnTabItem* self, AvnVariant* value); /* slot 124 */ + AvnHResult (AVN_CALL *set_icon)(IAvnTabItem* self, AvnVariant value); /* slot 125 */ + AvnHResult (AVN_CALL *get_icon_template)(IAvnTabItem* self, IAvnDataTemplate** value); /* slot 126 */ + AvnHResult (AVN_CALL *set_icon_template)(IAvnTabItem* self, IAvnDataTemplate* value); /* slot 127 */ + AvnHResult (AVN_CALL *get_indicator_template)(IAvnTabItem* self, IAvnDataTemplate** value); /* slot 128 */ + AvnHResult (AVN_CALL *set_indicator_template)(IAvnTabItem* self, IAvnDataTemplate* value); /* slot 129 */ }; struct IAvnTabItem { const IAvnTabItemVtbl* vtbl; }; -#define I_AVN_TAB_ITEM_VTABLE_SLOTS 124 +#define I_AVN_TAB_ITEM_VTABLE_SLOTS 130 static const AvnGuid I_AVN_TABLE_VIEW_IID = { - 0xD4BE6E5C, - 0xB5DD, - 0x5BB0, - { 0xA3, 0x0F, 0x3C, 0xC8, 0x33, 0x76, 0x7F, 0x7C } + 0xBA62A21B, + 0xC26D, + 0x587F, + { 0xA4, 0x1F, 0x35, 0xE6, 0x7E, 0x20, 0x0B, 0x69 } }; -#define I_AVN_TABLE_VIEW_ABI_VERSION 14 +#define I_AVN_TABLE_VIEW_ABI_VERSION 15 struct IAvnTableViewVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnTableView* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnTableView* self); /* slot 1 */ @@ -12334,79 +12832,85 @@ struct IAvnTableViewVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTableView* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTableView* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTableView* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnTableView* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnTableView* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnTableView* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnTableView* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnTableView* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnTableView* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnTableView* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnTableView* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnTableView* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnTableView* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnTableView* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnTableView* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnTableView* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnTableView* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnTableView* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnTableView* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnTableView* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnTableView* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnTableView* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnTableView* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnTableView* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnTableView* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnTableView* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnTableView* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTableView* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTableView* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnTableView* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnTableView* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_items)(IAvnTableView* self, IAvnItemList** value); /* slot 103 */ - AvnHResult (AVN_CALL *get_item_count)(IAvnTableView* self, int32_t* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_items_source)(IAvnTableView* self, IAvnVariantList** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_items_source)(IAvnTableView* self, IAvnVariantList* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_item_template)(IAvnTableView* self, IAvnDataTemplate** value); /* slot 107 */ - AvnHResult (AVN_CALL *set_item_template)(IAvnTableView* self, IAvnDataTemplate* value); /* slot 108 */ - AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnTableView* self, int32_t index, IAvnControl** value); /* slot 109 */ - AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnTableView* self, AvnVariant item, IAvnControl** value); /* slot 110 */ - AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnTableView* self, IAvnControl* container, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnTableView* self, IAvnControl* container, AvnVariant* value); /* slot 112 */ - AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnTableView* self, int32_t index); /* slot 113 */ - AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnTableView* self, AvnVariant item); /* slot 114 */ - AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnTableView* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnTableView* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_selected_index)(IAvnTableView* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_selected_index)(IAvnTableView* self, int32_t value); /* slot 118 */ - AvnHResult (AVN_CALL *get_selected_item)(IAvnTableView* self, AvnVariant* value); /* slot 119 */ - AvnHResult (AVN_CALL *set_selected_item)(IAvnTableView* self, AvnVariant value); /* slot 120 */ - AvnHResult (AVN_CALL *get_selected_value)(IAvnTableView* self, AvnVariant* value); /* slot 121 */ - AvnHResult (AVN_CALL *set_selected_value)(IAvnTableView* self, AvnVariant value); /* slot 122 */ - AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnTableView* self, int32_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnTableView* self, int32_t value); /* slot 124 */ - AvnHResult (AVN_CALL *get_wrap_selection)(IAvnTableView* self, int32_t* value); /* slot 125 */ - AvnHResult (AVN_CALL *set_wrap_selection)(IAvnTableView* self, int32_t value); /* slot 126 */ - AvnHResult (AVN_CALL *advise_selection_changed)(IAvnTableView* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 127 */ - AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnTableView* self, int64_t subscription_id); /* slot 128 */ - AvnHResult (AVN_CALL *get_selection_mode)(IAvnTableView* self, int32_t* value); /* slot 129 */ - AvnHResult (AVN_CALL *set_selection_mode)(IAvnTableView* self, int32_t value); /* slot 130 */ - AvnHResult (AVN_CALL *select_all)(IAvnTableView* self); /* slot 131 */ - AvnHResult (AVN_CALL *unselect_all)(IAvnTableView* self); /* slot 132 */ - AvnHResult (AVN_CALL *get_columns)(IAvnTableView* self, IAvnControlList** value); /* slot 133 */ - AvnHResult (AVN_CALL *set_columns)(IAvnTableView* self, IAvnControlList* value); /* slot 134 */ - AvnHResult (AVN_CALL *get_can_user_resize_columns)(IAvnTableView* self, int32_t* value); /* slot 135 */ - AvnHResult (AVN_CALL *set_can_user_resize_columns)(IAvnTableView* self, int32_t value); /* slot 136 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnTableView* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnTableView* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnTableView* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnTableView* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnTableView* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnTableView* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnTableView* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnTableView* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnTableView* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnTableView* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnTableView* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnTableView* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnTableView* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnTableView* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnTableView* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnTableView* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnTableView* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnTableView* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnTableView* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnTableView* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnTableView* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnTableView* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnTableView* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnTableView* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnTableView* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnTableView* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnTableView* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnTableView* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnTableView* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnTableView* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTableView* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTableView* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnTableView* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnTableView* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_items)(IAvnTableView* self, IAvnItemList** value); /* slot 109 */ + AvnHResult (AVN_CALL *get_item_count)(IAvnTableView* self, int32_t* value); /* slot 110 */ + AvnHResult (AVN_CALL *get_items_source)(IAvnTableView* self, IAvnVariantList** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_items_source)(IAvnTableView* self, IAvnVariantList* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_item_template)(IAvnTableView* self, IAvnDataTemplate** value); /* slot 113 */ + AvnHResult (AVN_CALL *set_item_template)(IAvnTableView* self, IAvnDataTemplate* value); /* slot 114 */ + AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnTableView* self, int32_t index, IAvnControl** value); /* slot 115 */ + AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnTableView* self, AvnVariant item, IAvnControl** value); /* slot 116 */ + AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnTableView* self, IAvnControl* container, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnTableView* self, IAvnControl* container, AvnVariant* value); /* slot 118 */ + AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnTableView* self, int32_t index); /* slot 119 */ + AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnTableView* self, AvnVariant item); /* slot 120 */ + AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnTableView* self, int32_t* value); /* slot 121 */ + AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnTableView* self, int32_t value); /* slot 122 */ + AvnHResult (AVN_CALL *get_selected_index)(IAvnTableView* self, int32_t* value); /* slot 123 */ + AvnHResult (AVN_CALL *set_selected_index)(IAvnTableView* self, int32_t value); /* slot 124 */ + AvnHResult (AVN_CALL *get_selected_item)(IAvnTableView* self, AvnVariant* value); /* slot 125 */ + AvnHResult (AVN_CALL *set_selected_item)(IAvnTableView* self, AvnVariant value); /* slot 126 */ + AvnHResult (AVN_CALL *get_selected_value)(IAvnTableView* self, AvnVariant* value); /* slot 127 */ + AvnHResult (AVN_CALL *set_selected_value)(IAvnTableView* self, AvnVariant value); /* slot 128 */ + AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnTableView* self, int32_t* value); /* slot 129 */ + AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnTableView* self, int32_t value); /* slot 130 */ + AvnHResult (AVN_CALL *get_wrap_selection)(IAvnTableView* self, int32_t* value); /* slot 131 */ + AvnHResult (AVN_CALL *set_wrap_selection)(IAvnTableView* self, int32_t value); /* slot 132 */ + AvnHResult (AVN_CALL *advise_selection_changed)(IAvnTableView* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 133 */ + AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnTableView* self, int64_t subscription_id); /* slot 134 */ + AvnHResult (AVN_CALL *get_selection_mode)(IAvnTableView* self, int32_t* value); /* slot 135 */ + AvnHResult (AVN_CALL *set_selection_mode)(IAvnTableView* self, int32_t value); /* slot 136 */ + AvnHResult (AVN_CALL *select_all)(IAvnTableView* self); /* slot 137 */ + AvnHResult (AVN_CALL *unselect_all)(IAvnTableView* self); /* slot 138 */ + AvnHResult (AVN_CALL *get_columns)(IAvnTableView* self, IAvnControlList** value); /* slot 139 */ + AvnHResult (AVN_CALL *set_columns)(IAvnTableView* self, IAvnControlList* value); /* slot 140 */ + AvnHResult (AVN_CALL *get_can_user_resize_columns)(IAvnTableView* self, int32_t* value); /* slot 141 */ + AvnHResult (AVN_CALL *set_can_user_resize_columns)(IAvnTableView* self, int32_t value); /* slot 142 */ }; struct IAvnTableView { const IAvnTableViewVtbl* vtbl; }; -#define I_AVN_TABLE_VIEW_VTABLE_SLOTS 137 +#define I_AVN_TABLE_VIEW_VTABLE_SLOTS 143 static const AvnGuid I_AVN_TABLE_VIEW_CELL_IID = { - 0x7B4DC408, - 0x8142, - 0x5915, - { 0xB1, 0xA7, 0x15, 0xCE, 0x22, 0x06, 0x25, 0x12 } + 0x2B1B1C38, + 0x97FD, + 0x59A3, + { 0x8B, 0xCD, 0x59, 0xAC, 0xBD, 0xC0, 0x33, 0x68 } }; -#define I_AVN_TABLE_VIEW_CELL_ABI_VERSION 12 +#define I_AVN_TABLE_VIEW_CELL_ABI_VERSION 13 struct IAvnTableViewCellVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnTableViewCell* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnTableViewCell* self); /* slot 1 */ @@ -12483,45 +12987,51 @@ struct IAvnTableViewCellVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTableViewCell* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTableViewCell* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTableViewCell* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnTableViewCell* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnTableViewCell* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnTableViewCell* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnTableViewCell* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnTableViewCell* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnTableViewCell* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnTableViewCell* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnTableViewCell* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnTableViewCell* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnTableViewCell* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnTableViewCell* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnTableViewCell* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnTableViewCell* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnTableViewCell* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnTableViewCell* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnTableViewCell* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnTableViewCell* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnTableViewCell* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnTableViewCell* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnTableViewCell* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnTableViewCell* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnTableViewCell* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnTableViewCell* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnTableViewCell* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTableViewCell* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTableViewCell* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnTableViewCell* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnTableViewCell* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_content)(IAvnTableViewCell* self, IAvnControl** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_content)(IAvnTableViewCell* self, IAvnControl* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnTableViewCell* self, IAvnDataTemplate** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnTableViewCell* self, IAvnDataTemplate* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnTableViewCell* self, int32_t* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnTableViewCell* self, int32_t value); /* slot 108 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnTableViewCell* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnTableViewCell* self, int32_t value); /* slot 110 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnTableViewCell* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnTableViewCell* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnTableViewCell* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnTableViewCell* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnTableViewCell* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnTableViewCell* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnTableViewCell* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnTableViewCell* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnTableViewCell* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnTableViewCell* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnTableViewCell* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnTableViewCell* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnTableViewCell* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnTableViewCell* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnTableViewCell* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnTableViewCell* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnTableViewCell* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnTableViewCell* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnTableViewCell* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnTableViewCell* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnTableViewCell* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnTableViewCell* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnTableViewCell* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnTableViewCell* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnTableViewCell* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnTableViewCell* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnTableViewCell* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnTableViewCell* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnTableViewCell* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnTableViewCell* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTableViewCell* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTableViewCell* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnTableViewCell* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnTableViewCell* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_content)(IAvnTableViewCell* self, IAvnControl** value); /* slot 109 */ + AvnHResult (AVN_CALL *set_content)(IAvnTableViewCell* self, IAvnControl* value); /* slot 110 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnTableViewCell* self, IAvnDataTemplate** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnTableViewCell* self, IAvnDataTemplate* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnTableViewCell* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnTableViewCell* self, int32_t value); /* slot 114 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnTableViewCell* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnTableViewCell* self, int32_t value); /* slot 116 */ }; struct IAvnTableViewCell { const IAvnTableViewCellVtbl* vtbl; }; -#define I_AVN_TABLE_VIEW_CELL_VTABLE_SLOTS 111 +#define I_AVN_TABLE_VIEW_CELL_VTABLE_SLOTS 117 static const AvnGuid I_AVN_TABLE_VIEW_COLUMN_IID = { 0xC3667189, @@ -12580,12 +13090,12 @@ struct IAvnTableViewColumn { const IAvnTableViewColumnVtbl* vtbl; }; #define I_AVN_TABLE_VIEW_COLUMN_VTABLE_SLOTS 44 static const AvnGuid I_AVN_TABLE_VIEW_ROW_IID = { - 0x1A492B55, - 0x9FB8, - 0x5F66, - { 0x98, 0x6E, 0xEF, 0x1D, 0xED, 0x34, 0xA3, 0x8D } + 0x8E3BA93D, + 0xD0BE, + 0x51D9, + { 0xA0, 0x07, 0x2A, 0xF6, 0x14, 0xAC, 0x6A, 0xDB } }; -#define I_AVN_TABLE_VIEW_ROW_ABI_VERSION 10 +#define I_AVN_TABLE_VIEW_ROW_ABI_VERSION 11 struct IAvnTableViewRowVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnTableViewRow* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnTableViewRow* self); /* slot 1 */ @@ -12662,55 +13172,61 @@ struct IAvnTableViewRowVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTableViewRow* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTableViewRow* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTableViewRow* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnTableViewRow* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnTableViewRow* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnTableViewRow* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnTableViewRow* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnTableViewRow* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnTableViewRow* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnTableViewRow* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnTableViewRow* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnTableViewRow* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnTableViewRow* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnTableViewRow* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnTableViewRow* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnTableViewRow* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnTableViewRow* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnTableViewRow* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnTableViewRow* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnTableViewRow* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnTableViewRow* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnTableViewRow* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnTableViewRow* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnTableViewRow* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnTableViewRow* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnTableViewRow* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnTableViewRow* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTableViewRow* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTableViewRow* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnTableViewRow* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnTableViewRow* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_content)(IAvnTableViewRow* self, IAvnControl** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_content)(IAvnTableViewRow* self, IAvnControl* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnTableViewRow* self, IAvnDataTemplate** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnTableViewRow* self, IAvnDataTemplate* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnTableViewRow* self, int32_t* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnTableViewRow* self, int32_t value); /* slot 108 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnTableViewRow* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnTableViewRow* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_is_selected)(IAvnTableViewRow* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_is_selected)(IAvnTableViewRow* self, int32_t value); /* slot 112 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnTableViewRow* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnTableViewRow* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnTableViewRow* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnTableViewRow* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnTableViewRow* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnTableViewRow* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnTableViewRow* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnTableViewRow* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnTableViewRow* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnTableViewRow* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnTableViewRow* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnTableViewRow* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnTableViewRow* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnTableViewRow* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnTableViewRow* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnTableViewRow* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnTableViewRow* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnTableViewRow* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnTableViewRow* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnTableViewRow* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnTableViewRow* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnTableViewRow* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnTableViewRow* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnTableViewRow* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnTableViewRow* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnTableViewRow* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnTableViewRow* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnTableViewRow* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnTableViewRow* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnTableViewRow* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTableViewRow* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTableViewRow* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnTableViewRow* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnTableViewRow* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_content)(IAvnTableViewRow* self, IAvnControl** value); /* slot 109 */ + AvnHResult (AVN_CALL *set_content)(IAvnTableViewRow* self, IAvnControl* value); /* slot 110 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnTableViewRow* self, IAvnDataTemplate** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnTableViewRow* self, IAvnDataTemplate* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnTableViewRow* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnTableViewRow* self, int32_t value); /* slot 114 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnTableViewRow* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnTableViewRow* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_is_selected)(IAvnTableViewRow* self, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_is_selected)(IAvnTableViewRow* self, int32_t value); /* slot 118 */ }; struct IAvnTableViewRow { const IAvnTableViewRowVtbl* vtbl; }; -#define I_AVN_TABLE_VIEW_ROW_VTABLE_SLOTS 113 +#define I_AVN_TABLE_VIEW_ROW_VTABLE_SLOTS 119 static const AvnGuid I_AVN_TEMPLATED_CONTROL_IID = { - 0xE2867468, - 0x09D4, - 0x5D05, - { 0xA9, 0x56, 0xF6, 0x87, 0xA7, 0x8D, 0xF5, 0x1A } + 0x6E80826C, + 0xF337, + 0x5A4D, + { 0xA5, 0xBB, 0x1C, 0x0D, 0xF4, 0x36, 0xB6, 0xD0 } }; -#define I_AVN_TEMPLATED_CONTROL_ABI_VERSION 13 +#define I_AVN_TEMPLATED_CONTROL_ABI_VERSION 14 struct IAvnTemplatedControlVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnTemplatedControl* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnTemplatedControl* self); /* slot 1 */ @@ -12787,45 +13303,51 @@ struct IAvnTemplatedControlVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTemplatedControl* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTemplatedControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTemplatedControl* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnTemplatedControl* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnTemplatedControl* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnTemplatedControl* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnTemplatedControl* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnTemplatedControl* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnTemplatedControl* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnTemplatedControl* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnTemplatedControl* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnTemplatedControl* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnTemplatedControl* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnTemplatedControl* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnTemplatedControl* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnTemplatedControl* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnTemplatedControl* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnTemplatedControl* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnTemplatedControl* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnTemplatedControl* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnTemplatedControl* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnTemplatedControl* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnTemplatedControl* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnTemplatedControl* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnTemplatedControl* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnTemplatedControl* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnTemplatedControl* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTemplatedControl* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTemplatedControl* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnTemplatedControl* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnTemplatedControl* self, AvnThickness value); /* slot 102 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnTemplatedControl* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnTemplatedControl* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnTemplatedControl* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnTemplatedControl* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnTemplatedControl* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnTemplatedControl* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnTemplatedControl* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnTemplatedControl* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnTemplatedControl* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnTemplatedControl* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnTemplatedControl* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnTemplatedControl* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnTemplatedControl* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnTemplatedControl* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnTemplatedControl* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnTemplatedControl* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnTemplatedControl* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnTemplatedControl* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnTemplatedControl* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnTemplatedControl* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnTemplatedControl* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnTemplatedControl* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnTemplatedControl* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnTemplatedControl* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnTemplatedControl* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnTemplatedControl* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnTemplatedControl* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnTemplatedControl* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnTemplatedControl* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnTemplatedControl* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTemplatedControl* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTemplatedControl* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnTemplatedControl* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnTemplatedControl* self, AvnThickness value); /* slot 108 */ }; struct IAvnTemplatedControl { const IAvnTemplatedControlVtbl* vtbl; }; -#define I_AVN_TEMPLATED_CONTROL_VTABLE_SLOTS 103 +#define I_AVN_TEMPLATED_CONTROL_VTABLE_SLOTS 109 static const AvnGuid I_AVN_TEXT_BLOCK_IID = { - 0x06129468, - 0xB036, - 0x5F97, - { 0xAC, 0xA3, 0x6C, 0x51, 0xB8, 0x45, 0x74, 0x6D } + 0x199AE412, + 0xEE08, + 0x5BDE, + { 0xA4, 0x98, 0x66, 0xAE, 0x02, 0x31, 0xAA, 0x3F } }; -#define I_AVN_TEXT_BLOCK_ABI_VERSION 15 +#define I_AVN_TEXT_BLOCK_ABI_VERSION 16 struct IAvnTextBlockVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnTextBlock* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnTextBlock* self); /* slot 1 */ @@ -12902,53 +13424,59 @@ struct IAvnTextBlockVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTextBlock* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTextBlock* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTextBlock* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_padding)(IAvnTextBlock* self, AvnThickness* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_padding)(IAvnTextBlock* self, AvnThickness value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background)(IAvnTextBlock* self, IAvnBrush** value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background)(IAvnTextBlock* self, IAvnBrush* value); /* slot 78 */ - AvnHResult (AVN_CALL *get_text)(IAvnTextBlock* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_text)(IAvnTextBlock* self, const uint16_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnTextBlock* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnTextBlock* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnTextBlock* self, double* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnTextBlock* self, double value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnTextBlock* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnTextBlock* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnTextBlock* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnTextBlock* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnTextBlock* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnTextBlock* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnTextBlock* self, IAvnBrush** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnTextBlock* self, IAvnBrush* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_line_height)(IAvnTextBlock* self, double* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_line_height)(IAvnTextBlock* self, double value); /* slot 94 */ - AvnHResult (AVN_CALL *get_line_spacing)(IAvnTextBlock* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_line_spacing)(IAvnTextBlock* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTextBlock* self, double* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTextBlock* self, double value); /* slot 98 */ - AvnHResult (AVN_CALL *get_max_lines)(IAvnTextBlock* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_max_lines)(IAvnTextBlock* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_text_wrapping)(IAvnTextBlock* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_text_wrapping)(IAvnTextBlock* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_text_trimming)(IAvnTextBlock* self, uint16_t** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_text_trimming)(IAvnTextBlock* self, const uint16_t* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_text_alignment)(IAvnTextBlock* self, int32_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_text_alignment)(IAvnTextBlock* self, int32_t value); /* slot 106 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnTextBlock* self, uint16_t** value); /* slot 107 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnTextBlock* self, const uint16_t* value); /* slot 108 */ - AvnHResult (AVN_CALL *get_baseline_offset)(IAvnTextBlock* self, double* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_baseline_offset)(IAvnTextBlock* self, double value); /* slot 110 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnTextBlock* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnTextBlock* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnTextBlock* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnTextBlock* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnTextBlock* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnTextBlock* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_padding)(IAvnTextBlock* self, AvnThickness* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_padding)(IAvnTextBlock* self, AvnThickness value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background)(IAvnTextBlock* self, IAvnBrush** value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background)(IAvnTextBlock* self, IAvnBrush* value); /* slot 84 */ + AvnHResult (AVN_CALL *get_text)(IAvnTextBlock* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_text)(IAvnTextBlock* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnTextBlock* self, uint16_t** value); /* slot 87 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnTextBlock* self, const uint16_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnTextBlock* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnTextBlock* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnTextBlock* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnTextBlock* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnTextBlock* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnTextBlock* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnTextBlock* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnTextBlock* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnTextBlock* self, IAvnBrush** value); /* slot 97 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnTextBlock* self, IAvnBrush* value); /* slot 98 */ + AvnHResult (AVN_CALL *get_line_height)(IAvnTextBlock* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_line_height)(IAvnTextBlock* self, double value); /* slot 100 */ + AvnHResult (AVN_CALL *get_line_spacing)(IAvnTextBlock* self, double* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_line_spacing)(IAvnTextBlock* self, double value); /* slot 102 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTextBlock* self, double* value); /* slot 103 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTextBlock* self, double value); /* slot 104 */ + AvnHResult (AVN_CALL *get_max_lines)(IAvnTextBlock* self, int32_t* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_max_lines)(IAvnTextBlock* self, int32_t value); /* slot 106 */ + AvnHResult (AVN_CALL *get_text_wrapping)(IAvnTextBlock* self, int32_t* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_text_wrapping)(IAvnTextBlock* self, int32_t value); /* slot 108 */ + AvnHResult (AVN_CALL *get_text_trimming)(IAvnTextBlock* self, uint16_t** value); /* slot 109 */ + AvnHResult (AVN_CALL *set_text_trimming)(IAvnTextBlock* self, const uint16_t* value); /* slot 110 */ + AvnHResult (AVN_CALL *get_text_alignment)(IAvnTextBlock* self, int32_t* value); /* slot 111 */ + AvnHResult (AVN_CALL *set_text_alignment)(IAvnTextBlock* self, int32_t value); /* slot 112 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnTextBlock* self, uint16_t** value); /* slot 113 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnTextBlock* self, const uint16_t* value); /* slot 114 */ + AvnHResult (AVN_CALL *get_baseline_offset)(IAvnTextBlock* self, double* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_baseline_offset)(IAvnTextBlock* self, double value); /* slot 116 */ }; struct IAvnTextBlock { const IAvnTextBlockVtbl* vtbl; }; -#define I_AVN_TEXT_BLOCK_VTABLE_SLOTS 111 +#define I_AVN_TEXT_BLOCK_VTABLE_SLOTS 117 static const AvnGuid I_AVN_TEXT_BOX_IID = { - 0xBCD740F5, - 0x7423, - 0x5B2D, - { 0xAD, 0x5E, 0xCB, 0x40, 0x07, 0x22, 0x26, 0xF8 } + 0x55D76247, + 0x3F6A, + 0x5F45, + { 0xAC, 0x3C, 0x33, 0xB3, 0x4A, 0x38, 0x32, 0x9A } }; -#define I_AVN_TEXT_BOX_ABI_VERSION 19 +#define I_AVN_TEXT_BOX_ABI_VERSION 20 struct IAvnTextBoxVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnTextBox* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnTextBox* self); /* slot 1 */ @@ -13025,134 +13553,140 @@ struct IAvnTextBoxVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTextBox* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTextBox* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTextBox* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnTextBox* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnTextBox* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnTextBox* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnTextBox* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnTextBox* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnTextBox* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnTextBox* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnTextBox* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnTextBox* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnTextBox* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnTextBox* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnTextBox* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnTextBox* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnTextBox* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnTextBox* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnTextBox* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnTextBox* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnTextBox* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnTextBox* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnTextBox* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnTextBox* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnTextBox* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnTextBox* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnTextBox* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTextBox* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTextBox* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnTextBox* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnTextBox* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_is_inactive_selection_highlight_enabled)(IAvnTextBox* self, int32_t* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_is_inactive_selection_highlight_enabled)(IAvnTextBox* self, int32_t value); /* slot 104 */ - AvnHResult (AVN_CALL *get_clear_selection_on_lost_focus)(IAvnTextBox* self, int32_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_clear_selection_on_lost_focus)(IAvnTextBox* self, int32_t value); /* slot 106 */ - AvnHResult (AVN_CALL *get_accepts_return)(IAvnTextBox* self, int32_t* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_accepts_return)(IAvnTextBox* self, int32_t value); /* slot 108 */ - AvnHResult (AVN_CALL *get_accepts_tab)(IAvnTextBox* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_accepts_tab)(IAvnTextBox* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_caret_index)(IAvnTextBox* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_caret_index)(IAvnTextBox* self, int32_t value); /* slot 112 */ - AvnHResult (AVN_CALL *get_is_read_only)(IAvnTextBox* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_is_read_only)(IAvnTextBox* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_password_char)(IAvnTextBox* self, uint16_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_password_char)(IAvnTextBox* self, uint16_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_selection_brush)(IAvnTextBox* self, IAvnBrush** value); /* slot 117 */ - AvnHResult (AVN_CALL *set_selection_brush)(IAvnTextBox* self, IAvnBrush* value); /* slot 118 */ - AvnHResult (AVN_CALL *get_selection_foreground_brush)(IAvnTextBox* self, IAvnBrush** value); /* slot 119 */ - AvnHResult (AVN_CALL *set_selection_foreground_brush)(IAvnTextBox* self, IAvnBrush* value); /* slot 120 */ - AvnHResult (AVN_CALL *get_caret_brush)(IAvnTextBox* self, IAvnBrush** value); /* slot 121 */ - AvnHResult (AVN_CALL *set_caret_brush)(IAvnTextBox* self, IAvnBrush* value); /* slot 122 */ - AvnHResult (AVN_CALL *get_caret_blink_interval)(IAvnTextBox* self, int64_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *set_caret_blink_interval)(IAvnTextBox* self, int64_t value); /* slot 124 */ - AvnHResult (AVN_CALL *get_selection_start)(IAvnTextBox* self, int32_t* value); /* slot 125 */ - AvnHResult (AVN_CALL *set_selection_start)(IAvnTextBox* self, int32_t value); /* slot 126 */ - AvnHResult (AVN_CALL *get_selection_end)(IAvnTextBox* self, int32_t* value); /* slot 127 */ - AvnHResult (AVN_CALL *set_selection_end)(IAvnTextBox* self, int32_t value); /* slot 128 */ - AvnHResult (AVN_CALL *get_max_length)(IAvnTextBox* self, int32_t* value); /* slot 129 */ - AvnHResult (AVN_CALL *set_max_length)(IAvnTextBox* self, int32_t value); /* slot 130 */ - AvnHResult (AVN_CALL *get_max_lines)(IAvnTextBox* self, int32_t* value); /* slot 131 */ - AvnHResult (AVN_CALL *set_max_lines)(IAvnTextBox* self, int32_t value); /* slot 132 */ - AvnHResult (AVN_CALL *get_min_lines)(IAvnTextBox* self, int32_t* value); /* slot 133 */ - AvnHResult (AVN_CALL *set_min_lines)(IAvnTextBox* self, int32_t value); /* slot 134 */ - AvnHResult (AVN_CALL *get_line_height)(IAvnTextBox* self, double* value); /* slot 135 */ - AvnHResult (AVN_CALL *set_line_height)(IAvnTextBox* self, double value); /* slot 136 */ - AvnHResult (AVN_CALL *get_text)(IAvnTextBox* self, uint16_t** value); /* slot 137 */ - AvnHResult (AVN_CALL *set_text)(IAvnTextBox* self, const uint16_t* value); /* slot 138 */ - AvnHResult (AVN_CALL *get_selected_text)(IAvnTextBox* self, uint16_t** value); /* slot 139 */ - AvnHResult (AVN_CALL *set_selected_text)(IAvnTextBox* self, const uint16_t* value); /* slot 140 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnTextBox* self, int32_t* value); /* slot 141 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnTextBox* self, int32_t value); /* slot 142 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnTextBox* self, int32_t* value); /* slot 143 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnTextBox* self, int32_t value); /* slot 144 */ - AvnHResult (AVN_CALL *get_text_alignment)(IAvnTextBox* self, int32_t* value); /* slot 145 */ - AvnHResult (AVN_CALL *set_text_alignment)(IAvnTextBox* self, int32_t value); /* slot 146 */ - AvnHResult (AVN_CALL *get_placeholder_text)(IAvnTextBox* self, uint16_t** value); /* slot 147 */ - AvnHResult (AVN_CALL *set_placeholder_text)(IAvnTextBox* self, const uint16_t* value); /* slot 148 */ - AvnHResult (AVN_CALL *get_use_floating_placeholder)(IAvnTextBox* self, int32_t* value); /* slot 149 */ - AvnHResult (AVN_CALL *set_use_floating_placeholder)(IAvnTextBox* self, int32_t value); /* slot 150 */ - AvnHResult (AVN_CALL *get_placeholder_foreground)(IAvnTextBox* self, IAvnBrush** value); /* slot 151 */ - AvnHResult (AVN_CALL *set_placeholder_foreground)(IAvnTextBox* self, IAvnBrush* value); /* slot 152 */ - AvnHResult (AVN_CALL *get_inner_left_content)(IAvnTextBox* self, IAvnControl** value); /* slot 153 */ - AvnHResult (AVN_CALL *set_inner_left_content)(IAvnTextBox* self, IAvnControl* value); /* slot 154 */ - AvnHResult (AVN_CALL *get_inner_right_content)(IAvnTextBox* self, IAvnControl** value); /* slot 155 */ - AvnHResult (AVN_CALL *set_inner_right_content)(IAvnTextBox* self, IAvnControl* value); /* slot 156 */ - AvnHResult (AVN_CALL *get_reveal_password)(IAvnTextBox* self, int32_t* value); /* slot 157 */ - AvnHResult (AVN_CALL *set_reveal_password)(IAvnTextBox* self, int32_t value); /* slot 158 */ - AvnHResult (AVN_CALL *get_text_wrapping)(IAvnTextBox* self, int32_t* value); /* slot 159 */ - AvnHResult (AVN_CALL *set_text_wrapping)(IAvnTextBox* self, int32_t value); /* slot 160 */ - AvnHResult (AVN_CALL *get_new_line)(IAvnTextBox* self, uint16_t** value); /* slot 161 */ - AvnHResult (AVN_CALL *set_new_line)(IAvnTextBox* self, const uint16_t* value); /* slot 162 */ - AvnHResult (AVN_CALL *get_can_cut)(IAvnTextBox* self, int32_t* value); /* slot 163 */ - AvnHResult (AVN_CALL *get_can_copy)(IAvnTextBox* self, int32_t* value); /* slot 164 */ - AvnHResult (AVN_CALL *get_can_paste)(IAvnTextBox* self, int32_t* value); /* slot 165 */ - AvnHResult (AVN_CALL *get_is_undo_enabled)(IAvnTextBox* self, int32_t* value); /* slot 166 */ - AvnHResult (AVN_CALL *set_is_undo_enabled)(IAvnTextBox* self, int32_t value); /* slot 167 */ - AvnHResult (AVN_CALL *get_undo_limit)(IAvnTextBox* self, int32_t* value); /* slot 168 */ - AvnHResult (AVN_CALL *set_undo_limit)(IAvnTextBox* self, int32_t value); /* slot 169 */ - AvnHResult (AVN_CALL *get_can_undo)(IAvnTextBox* self, int32_t* value); /* slot 170 */ - AvnHResult (AVN_CALL *get_can_redo)(IAvnTextBox* self, int32_t* value); /* slot 171 */ - AvnHResult (AVN_CALL *clear_selection)(IAvnTextBox* self); /* slot 172 */ - AvnHResult (AVN_CALL *get_line_count)(IAvnTextBox* self, int32_t* value); /* slot 173 */ - AvnHResult (AVN_CALL *cut)(IAvnTextBox* self); /* slot 174 */ - AvnHResult (AVN_CALL *copy)(IAvnTextBox* self); /* slot 175 */ - AvnHResult (AVN_CALL *paste)(IAvnTextBox* self); /* slot 176 */ - AvnHResult (AVN_CALL *clear)(IAvnTextBox* self); /* slot 177 */ - AvnHResult (AVN_CALL *scroll_to_line_with_int32)(IAvnTextBox* self, int32_t line_index); /* slot 178 */ - AvnHResult (AVN_CALL *select_all)(IAvnTextBox* self); /* slot 179 */ - AvnHResult (AVN_CALL *undo)(IAvnTextBox* self); /* slot 180 */ - AvnHResult (AVN_CALL *redo)(IAvnTextBox* self); /* slot 181 */ - AvnHResult (AVN_CALL *advise_copying_to_clipboard)(IAvnTextBox* self, IAvnTextBoxCopyingToClipboardHandler* handler, int64_t* subscription_id); /* slot 182 */ - AvnHResult (AVN_CALL *unadvise_copying_to_clipboard)(IAvnTextBox* self, int64_t subscription_id); /* slot 183 */ - AvnHResult (AVN_CALL *advise_cutting_to_clipboard)(IAvnTextBox* self, IAvnTextBoxCuttingToClipboardHandler* handler, int64_t* subscription_id); /* slot 184 */ - AvnHResult (AVN_CALL *unadvise_cutting_to_clipboard)(IAvnTextBox* self, int64_t subscription_id); /* slot 185 */ - AvnHResult (AVN_CALL *advise_pasting_from_clipboard)(IAvnTextBox* self, IAvnTextBoxPastingFromClipboardHandler* handler, int64_t* subscription_id); /* slot 186 */ - AvnHResult (AVN_CALL *unadvise_pasting_from_clipboard)(IAvnTextBox* self, int64_t subscription_id); /* slot 187 */ - AvnHResult (AVN_CALL *advise_text_changed)(IAvnTextBox* self, IAvnTextBoxTextChangedHandler* handler, int64_t* subscription_id); /* slot 188 */ - AvnHResult (AVN_CALL *unadvise_text_changed)(IAvnTextBox* self, int64_t subscription_id); /* slot 189 */ - AvnHResult (AVN_CALL *advise_text_changing)(IAvnTextBox* self, IAvnTextBoxTextChangingHandler* handler, int64_t* subscription_id); /* slot 190 */ - AvnHResult (AVN_CALL *unadvise_text_changing)(IAvnTextBox* self, int64_t subscription_id); /* slot 191 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnTextBox* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnTextBox* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnTextBox* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnTextBox* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnTextBox* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnTextBox* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnTextBox* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnTextBox* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnTextBox* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnTextBox* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnTextBox* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnTextBox* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnTextBox* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnTextBox* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnTextBox* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnTextBox* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnTextBox* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnTextBox* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnTextBox* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnTextBox* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnTextBox* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnTextBox* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnTextBox* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnTextBox* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnTextBox* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnTextBox* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnTextBox* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnTextBox* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnTextBox* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnTextBox* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTextBox* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTextBox* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnTextBox* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnTextBox* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_is_inactive_selection_highlight_enabled)(IAvnTextBox* self, int32_t* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_is_inactive_selection_highlight_enabled)(IAvnTextBox* self, int32_t value); /* slot 110 */ + AvnHResult (AVN_CALL *get_clear_selection_on_lost_focus)(IAvnTextBox* self, int32_t* value); /* slot 111 */ + AvnHResult (AVN_CALL *set_clear_selection_on_lost_focus)(IAvnTextBox* self, int32_t value); /* slot 112 */ + AvnHResult (AVN_CALL *get_accepts_return)(IAvnTextBox* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *set_accepts_return)(IAvnTextBox* self, int32_t value); /* slot 114 */ + AvnHResult (AVN_CALL *get_accepts_tab)(IAvnTextBox* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_accepts_tab)(IAvnTextBox* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_caret_index)(IAvnTextBox* self, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_caret_index)(IAvnTextBox* self, int32_t value); /* slot 118 */ + AvnHResult (AVN_CALL *get_is_read_only)(IAvnTextBox* self, int32_t* value); /* slot 119 */ + AvnHResult (AVN_CALL *set_is_read_only)(IAvnTextBox* self, int32_t value); /* slot 120 */ + AvnHResult (AVN_CALL *get_password_char)(IAvnTextBox* self, uint16_t* value); /* slot 121 */ + AvnHResult (AVN_CALL *set_password_char)(IAvnTextBox* self, uint16_t value); /* slot 122 */ + AvnHResult (AVN_CALL *get_selection_brush)(IAvnTextBox* self, IAvnBrush** value); /* slot 123 */ + AvnHResult (AVN_CALL *set_selection_brush)(IAvnTextBox* self, IAvnBrush* value); /* slot 124 */ + AvnHResult (AVN_CALL *get_selection_foreground_brush)(IAvnTextBox* self, IAvnBrush** value); /* slot 125 */ + AvnHResult (AVN_CALL *set_selection_foreground_brush)(IAvnTextBox* self, IAvnBrush* value); /* slot 126 */ + AvnHResult (AVN_CALL *get_caret_brush)(IAvnTextBox* self, IAvnBrush** value); /* slot 127 */ + AvnHResult (AVN_CALL *set_caret_brush)(IAvnTextBox* self, IAvnBrush* value); /* slot 128 */ + AvnHResult (AVN_CALL *get_caret_blink_interval)(IAvnTextBox* self, int64_t* value); /* slot 129 */ + AvnHResult (AVN_CALL *set_caret_blink_interval)(IAvnTextBox* self, int64_t value); /* slot 130 */ + AvnHResult (AVN_CALL *get_selection_start)(IAvnTextBox* self, int32_t* value); /* slot 131 */ + AvnHResult (AVN_CALL *set_selection_start)(IAvnTextBox* self, int32_t value); /* slot 132 */ + AvnHResult (AVN_CALL *get_selection_end)(IAvnTextBox* self, int32_t* value); /* slot 133 */ + AvnHResult (AVN_CALL *set_selection_end)(IAvnTextBox* self, int32_t value); /* slot 134 */ + AvnHResult (AVN_CALL *get_max_length)(IAvnTextBox* self, int32_t* value); /* slot 135 */ + AvnHResult (AVN_CALL *set_max_length)(IAvnTextBox* self, int32_t value); /* slot 136 */ + AvnHResult (AVN_CALL *get_max_lines)(IAvnTextBox* self, int32_t* value); /* slot 137 */ + AvnHResult (AVN_CALL *set_max_lines)(IAvnTextBox* self, int32_t value); /* slot 138 */ + AvnHResult (AVN_CALL *get_min_lines)(IAvnTextBox* self, int32_t* value); /* slot 139 */ + AvnHResult (AVN_CALL *set_min_lines)(IAvnTextBox* self, int32_t value); /* slot 140 */ + AvnHResult (AVN_CALL *get_line_height)(IAvnTextBox* self, double* value); /* slot 141 */ + AvnHResult (AVN_CALL *set_line_height)(IAvnTextBox* self, double value); /* slot 142 */ + AvnHResult (AVN_CALL *get_text)(IAvnTextBox* self, uint16_t** value); /* slot 143 */ + AvnHResult (AVN_CALL *set_text)(IAvnTextBox* self, const uint16_t* value); /* slot 144 */ + AvnHResult (AVN_CALL *get_selected_text)(IAvnTextBox* self, uint16_t** value); /* slot 145 */ + AvnHResult (AVN_CALL *set_selected_text)(IAvnTextBox* self, const uint16_t* value); /* slot 146 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnTextBox* self, int32_t* value); /* slot 147 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnTextBox* self, int32_t value); /* slot 148 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnTextBox* self, int32_t* value); /* slot 149 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnTextBox* self, int32_t value); /* slot 150 */ + AvnHResult (AVN_CALL *get_text_alignment)(IAvnTextBox* self, int32_t* value); /* slot 151 */ + AvnHResult (AVN_CALL *set_text_alignment)(IAvnTextBox* self, int32_t value); /* slot 152 */ + AvnHResult (AVN_CALL *get_placeholder_text)(IAvnTextBox* self, uint16_t** value); /* slot 153 */ + AvnHResult (AVN_CALL *set_placeholder_text)(IAvnTextBox* self, const uint16_t* value); /* slot 154 */ + AvnHResult (AVN_CALL *get_use_floating_placeholder)(IAvnTextBox* self, int32_t* value); /* slot 155 */ + AvnHResult (AVN_CALL *set_use_floating_placeholder)(IAvnTextBox* self, int32_t value); /* slot 156 */ + AvnHResult (AVN_CALL *get_placeholder_foreground)(IAvnTextBox* self, IAvnBrush** value); /* slot 157 */ + AvnHResult (AVN_CALL *set_placeholder_foreground)(IAvnTextBox* self, IAvnBrush* value); /* slot 158 */ + AvnHResult (AVN_CALL *get_inner_left_content)(IAvnTextBox* self, IAvnControl** value); /* slot 159 */ + AvnHResult (AVN_CALL *set_inner_left_content)(IAvnTextBox* self, IAvnControl* value); /* slot 160 */ + AvnHResult (AVN_CALL *get_inner_right_content)(IAvnTextBox* self, IAvnControl** value); /* slot 161 */ + AvnHResult (AVN_CALL *set_inner_right_content)(IAvnTextBox* self, IAvnControl* value); /* slot 162 */ + AvnHResult (AVN_CALL *get_reveal_password)(IAvnTextBox* self, int32_t* value); /* slot 163 */ + AvnHResult (AVN_CALL *set_reveal_password)(IAvnTextBox* self, int32_t value); /* slot 164 */ + AvnHResult (AVN_CALL *get_text_wrapping)(IAvnTextBox* self, int32_t* value); /* slot 165 */ + AvnHResult (AVN_CALL *set_text_wrapping)(IAvnTextBox* self, int32_t value); /* slot 166 */ + AvnHResult (AVN_CALL *get_new_line)(IAvnTextBox* self, uint16_t** value); /* slot 167 */ + AvnHResult (AVN_CALL *set_new_line)(IAvnTextBox* self, const uint16_t* value); /* slot 168 */ + AvnHResult (AVN_CALL *get_can_cut)(IAvnTextBox* self, int32_t* value); /* slot 169 */ + AvnHResult (AVN_CALL *get_can_copy)(IAvnTextBox* self, int32_t* value); /* slot 170 */ + AvnHResult (AVN_CALL *get_can_paste)(IAvnTextBox* self, int32_t* value); /* slot 171 */ + AvnHResult (AVN_CALL *get_is_undo_enabled)(IAvnTextBox* self, int32_t* value); /* slot 172 */ + AvnHResult (AVN_CALL *set_is_undo_enabled)(IAvnTextBox* self, int32_t value); /* slot 173 */ + AvnHResult (AVN_CALL *get_undo_limit)(IAvnTextBox* self, int32_t* value); /* slot 174 */ + AvnHResult (AVN_CALL *set_undo_limit)(IAvnTextBox* self, int32_t value); /* slot 175 */ + AvnHResult (AVN_CALL *get_can_undo)(IAvnTextBox* self, int32_t* value); /* slot 176 */ + AvnHResult (AVN_CALL *get_can_redo)(IAvnTextBox* self, int32_t* value); /* slot 177 */ + AvnHResult (AVN_CALL *clear_selection)(IAvnTextBox* self); /* slot 178 */ + AvnHResult (AVN_CALL *get_line_count)(IAvnTextBox* self, int32_t* value); /* slot 179 */ + AvnHResult (AVN_CALL *cut)(IAvnTextBox* self); /* slot 180 */ + AvnHResult (AVN_CALL *copy)(IAvnTextBox* self); /* slot 181 */ + AvnHResult (AVN_CALL *paste)(IAvnTextBox* self); /* slot 182 */ + AvnHResult (AVN_CALL *clear)(IAvnTextBox* self); /* slot 183 */ + AvnHResult (AVN_CALL *scroll_to_line_with_int32)(IAvnTextBox* self, int32_t line_index); /* slot 184 */ + AvnHResult (AVN_CALL *select_all)(IAvnTextBox* self); /* slot 185 */ + AvnHResult (AVN_CALL *undo)(IAvnTextBox* self); /* slot 186 */ + AvnHResult (AVN_CALL *redo)(IAvnTextBox* self); /* slot 187 */ + AvnHResult (AVN_CALL *advise_copying_to_clipboard)(IAvnTextBox* self, IAvnTextBoxCopyingToClipboardHandler* handler, int64_t* subscription_id); /* slot 188 */ + AvnHResult (AVN_CALL *unadvise_copying_to_clipboard)(IAvnTextBox* self, int64_t subscription_id); /* slot 189 */ + AvnHResult (AVN_CALL *advise_cutting_to_clipboard)(IAvnTextBox* self, IAvnTextBoxCuttingToClipboardHandler* handler, int64_t* subscription_id); /* slot 190 */ + AvnHResult (AVN_CALL *unadvise_cutting_to_clipboard)(IAvnTextBox* self, int64_t subscription_id); /* slot 191 */ + AvnHResult (AVN_CALL *advise_pasting_from_clipboard)(IAvnTextBox* self, IAvnTextBoxPastingFromClipboardHandler* handler, int64_t* subscription_id); /* slot 192 */ + AvnHResult (AVN_CALL *unadvise_pasting_from_clipboard)(IAvnTextBox* self, int64_t subscription_id); /* slot 193 */ + AvnHResult (AVN_CALL *advise_text_changed)(IAvnTextBox* self, IAvnTextBoxTextChangedHandler* handler, int64_t* subscription_id); /* slot 194 */ + AvnHResult (AVN_CALL *unadvise_text_changed)(IAvnTextBox* self, int64_t subscription_id); /* slot 195 */ + AvnHResult (AVN_CALL *advise_text_changing)(IAvnTextBox* self, IAvnTextBoxTextChangingHandler* handler, int64_t* subscription_id); /* slot 196 */ + AvnHResult (AVN_CALL *unadvise_text_changing)(IAvnTextBox* self, int64_t subscription_id); /* slot 197 */ }; struct IAvnTextBox { const IAvnTextBoxVtbl* vtbl; }; -#define I_AVN_TEXT_BOX_VTABLE_SLOTS 192 +#define I_AVN_TEXT_BOX_VTABLE_SLOTS 198 static const AvnGuid I_AVN_THEME_VARIANT_SCOPE_IID = { - 0x2E35671F, - 0xC418, - 0x50E8, - { 0x86, 0xC1, 0xED, 0x85, 0x8C, 0x03, 0x6A, 0x8D } + 0xFF6B43AB, + 0xB89D, + 0x5574, + { 0xBB, 0xDE, 0x9A, 0xCA, 0xCD, 0x23, 0xDB, 0xA4 } }; -#define I_AVN_THEME_VARIANT_SCOPE_ABI_VERSION 9 +#define I_AVN_THEME_VARIANT_SCOPE_ABI_VERSION 10 struct IAvnThemeVariantScopeVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnThemeVariantScope* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnThemeVariantScope* self); /* slot 1 */ @@ -13229,23 +13763,29 @@ struct IAvnThemeVariantScopeVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnThemeVariantScope* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnThemeVariantScope* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnThemeVariantScope* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_child)(IAvnThemeVariantScope* self, IAvnControl** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_child)(IAvnThemeVariantScope* self, IAvnControl* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_padding)(IAvnThemeVariantScope* self, AvnThickness* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_padding)(IAvnThemeVariantScope* self, AvnThickness value); /* slot 78 */ - AvnHResult (AVN_CALL *get_requested_theme_variant)(IAvnThemeVariantScope* self, uint16_t** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_requested_theme_variant)(IAvnThemeVariantScope* self, const uint16_t* value); /* slot 80 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnThemeVariantScope* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnThemeVariantScope* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnThemeVariantScope* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnThemeVariantScope* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnThemeVariantScope* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnThemeVariantScope* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_child)(IAvnThemeVariantScope* self, IAvnControl** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_child)(IAvnThemeVariantScope* self, IAvnControl* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_padding)(IAvnThemeVariantScope* self, AvnThickness* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_padding)(IAvnThemeVariantScope* self, AvnThickness value); /* slot 84 */ + AvnHResult (AVN_CALL *get_requested_theme_variant)(IAvnThemeVariantScope* self, uint16_t** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_requested_theme_variant)(IAvnThemeVariantScope* self, const uint16_t* value); /* slot 86 */ }; struct IAvnThemeVariantScope { const IAvnThemeVariantScopeVtbl* vtbl; }; -#define I_AVN_THEME_VARIANT_SCOPE_VTABLE_SLOTS 81 +#define I_AVN_THEME_VARIANT_SCOPE_VTABLE_SLOTS 87 static const AvnGuid I_AVN_THUMB_IID = { - 0xB62C6C73, - 0x14C3, - 0x5E0D, - { 0xA7, 0x25, 0xF5, 0x60, 0x61, 0x07, 0xB4, 0x54 } + 0xA9A96FDF, + 0xBFCF, + 0x5E37, + { 0xA1, 0x1E, 0x4B, 0x65, 0x3C, 0xE3, 0x6C, 0x00 } }; -#define I_AVN_THUMB_ABI_VERSION 11 +#define I_AVN_THUMB_ABI_VERSION 12 struct IAvnThumbVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnThumb* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnThumb* self); /* slot 1 */ @@ -13322,51 +13862,57 @@ struct IAvnThumbVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnThumb* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnThumb* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnThumb* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnThumb* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnThumb* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnThumb* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnThumb* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnThumb* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnThumb* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnThumb* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnThumb* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnThumb* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnThumb* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnThumb* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnThumb* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnThumb* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnThumb* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnThumb* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnThumb* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnThumb* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnThumb* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnThumb* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnThumb* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnThumb* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnThumb* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnThumb* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnThumb* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnThumb* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnThumb* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnThumb* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnThumb* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *advise_drag_started)(IAvnThumb* self, IAvnThumbDragStartedHandler* handler, int64_t* subscription_id); /* slot 103 */ - AvnHResult (AVN_CALL *unadvise_drag_started)(IAvnThumb* self, int64_t subscription_id); /* slot 104 */ - AvnHResult (AVN_CALL *advise_drag_delta)(IAvnThumb* self, IAvnThumbDragDeltaHandler* handler, int64_t* subscription_id); /* slot 105 */ - AvnHResult (AVN_CALL *unadvise_drag_delta)(IAvnThumb* self, int64_t subscription_id); /* slot 106 */ - AvnHResult (AVN_CALL *advise_drag_completed)(IAvnThumb* self, IAvnThumbDragCompletedHandler* handler, int64_t* subscription_id); /* slot 107 */ - AvnHResult (AVN_CALL *unadvise_drag_completed)(IAvnThumb* self, int64_t subscription_id); /* slot 108 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnThumb* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnThumb* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnThumb* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnThumb* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnThumb* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnThumb* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnThumb* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnThumb* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnThumb* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnThumb* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnThumb* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnThumb* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnThumb* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnThumb* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnThumb* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnThumb* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnThumb* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnThumb* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnThumb* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnThumb* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnThumb* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnThumb* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnThumb* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnThumb* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnThumb* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnThumb* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnThumb* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnThumb* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnThumb* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnThumb* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnThumb* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnThumb* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnThumb* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnThumb* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *advise_drag_started)(IAvnThumb* self, IAvnThumbDragStartedHandler* handler, int64_t* subscription_id); /* slot 109 */ + AvnHResult (AVN_CALL *unadvise_drag_started)(IAvnThumb* self, int64_t subscription_id); /* slot 110 */ + AvnHResult (AVN_CALL *advise_drag_delta)(IAvnThumb* self, IAvnThumbDragDeltaHandler* handler, int64_t* subscription_id); /* slot 111 */ + AvnHResult (AVN_CALL *unadvise_drag_delta)(IAvnThumb* self, int64_t subscription_id); /* slot 112 */ + AvnHResult (AVN_CALL *advise_drag_completed)(IAvnThumb* self, IAvnThumbDragCompletedHandler* handler, int64_t* subscription_id); /* slot 113 */ + AvnHResult (AVN_CALL *unadvise_drag_completed)(IAvnThumb* self, int64_t subscription_id); /* slot 114 */ }; struct IAvnThumb { const IAvnThumbVtbl* vtbl; }; -#define I_AVN_THUMB_VTABLE_SLOTS 109 +#define I_AVN_THUMB_VTABLE_SLOTS 115 static const AvnGuid I_AVN_TIME_PICKER_IID = { - 0x9F3B7D7A, - 0xE290, - 0x5ADC, - { 0x99, 0x7C, 0x21, 0x3A, 0x25, 0xF2, 0x0D, 0x3B } + 0x5E7CE65A, + 0xFE53, + 0x551C, + { 0x9F, 0x5A, 0x23, 0x44, 0xEE, 0x09, 0xE0, 0x02 } }; -#define I_AVN_TIME_PICKER_ABI_VERSION 12 +#define I_AVN_TIME_PICKER_ABI_VERSION 13 struct IAvnTimePickerVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnTimePicker* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnTimePicker* self); /* slot 1 */ @@ -13443,60 +13989,66 @@ struct IAvnTimePickerVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTimePicker* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTimePicker* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTimePicker* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnTimePicker* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnTimePicker* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnTimePicker* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnTimePicker* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnTimePicker* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnTimePicker* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnTimePicker* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnTimePicker* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnTimePicker* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnTimePicker* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnTimePicker* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnTimePicker* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnTimePicker* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnTimePicker* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnTimePicker* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnTimePicker* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnTimePicker* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnTimePicker* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnTimePicker* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnTimePicker* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnTimePicker* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnTimePicker* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnTimePicker* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnTimePicker* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTimePicker* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTimePicker* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnTimePicker* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnTimePicker* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnTimePicker* self, int32_t* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnTimePicker* self, int32_t value); /* slot 104 */ - AvnHResult (AVN_CALL *get_minute_increment)(IAvnTimePicker* self, int32_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_minute_increment)(IAvnTimePicker* self, int32_t value); /* slot 106 */ - AvnHResult (AVN_CALL *get_second_increment)(IAvnTimePicker* self, int32_t* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_second_increment)(IAvnTimePicker* self, int32_t value); /* slot 108 */ - AvnHResult (AVN_CALL *get_clock_identifier)(IAvnTimePicker* self, uint16_t** value); /* slot 109 */ - AvnHResult (AVN_CALL *set_clock_identifier)(IAvnTimePicker* self, const uint16_t* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_use_seconds)(IAvnTimePicker* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_use_seconds)(IAvnTimePicker* self, int32_t value); /* slot 112 */ - AvnHResult (AVN_CALL *get_selected_time)(IAvnTimePicker* self, uint16_t** value); /* slot 113 */ - AvnHResult (AVN_CALL *set_selected_time)(IAvnTimePicker* self, const uint16_t* value); /* slot 114 */ - AvnHResult (AVN_CALL *clear)(IAvnTimePicker* self); /* slot 115 */ - AvnHResult (AVN_CALL *advise_selected_time_changed)(IAvnTimePicker* self, IAvnTimePickerSelectedTimeChangedHandler* handler, int64_t* subscription_id); /* slot 116 */ - AvnHResult (AVN_CALL *unadvise_selected_time_changed)(IAvnTimePicker* self, int64_t subscription_id); /* slot 117 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnTimePicker* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnTimePicker* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnTimePicker* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnTimePicker* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnTimePicker* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnTimePicker* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnTimePicker* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnTimePicker* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnTimePicker* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnTimePicker* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnTimePicker* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnTimePicker* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnTimePicker* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnTimePicker* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnTimePicker* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnTimePicker* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnTimePicker* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnTimePicker* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnTimePicker* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnTimePicker* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnTimePicker* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnTimePicker* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnTimePicker* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnTimePicker* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnTimePicker* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnTimePicker* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnTimePicker* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnTimePicker* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnTimePicker* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnTimePicker* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTimePicker* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTimePicker* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnTimePicker* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnTimePicker* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnTimePicker* self, int32_t* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnTimePicker* self, int32_t value); /* slot 110 */ + AvnHResult (AVN_CALL *get_minute_increment)(IAvnTimePicker* self, int32_t* value); /* slot 111 */ + AvnHResult (AVN_CALL *set_minute_increment)(IAvnTimePicker* self, int32_t value); /* slot 112 */ + AvnHResult (AVN_CALL *get_second_increment)(IAvnTimePicker* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *set_second_increment)(IAvnTimePicker* self, int32_t value); /* slot 114 */ + AvnHResult (AVN_CALL *get_clock_identifier)(IAvnTimePicker* self, uint16_t** value); /* slot 115 */ + AvnHResult (AVN_CALL *set_clock_identifier)(IAvnTimePicker* self, const uint16_t* value); /* slot 116 */ + AvnHResult (AVN_CALL *get_use_seconds)(IAvnTimePicker* self, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_use_seconds)(IAvnTimePicker* self, int32_t value); /* slot 118 */ + AvnHResult (AVN_CALL *get_selected_time)(IAvnTimePicker* self, uint16_t** value); /* slot 119 */ + AvnHResult (AVN_CALL *set_selected_time)(IAvnTimePicker* self, const uint16_t* value); /* slot 120 */ + AvnHResult (AVN_CALL *clear)(IAvnTimePicker* self); /* slot 121 */ + AvnHResult (AVN_CALL *advise_selected_time_changed)(IAvnTimePicker* self, IAvnTimePickerSelectedTimeChangedHandler* handler, int64_t* subscription_id); /* slot 122 */ + AvnHResult (AVN_CALL *unadvise_selected_time_changed)(IAvnTimePicker* self, int64_t subscription_id); /* slot 123 */ }; struct IAvnTimePicker { const IAvnTimePickerVtbl* vtbl; }; -#define I_AVN_TIME_PICKER_VTABLE_SLOTS 118 +#define I_AVN_TIME_PICKER_VTABLE_SLOTS 124 static const AvnGuid I_AVN_TOGGLE_BUTTON_IID = { - 0xF9840045, - 0x23B2, - 0x5318, - { 0xA7, 0xDA, 0xEB, 0x7F, 0x32, 0x87, 0xFB, 0xD8 } + 0x23A7F6FB, + 0xAFEF, + 0x5E4D, + { 0x8A, 0x9A, 0x94, 0xF4, 0xEF, 0xCF, 0x6B, 0x12 } }; -#define I_AVN_TOGGLE_BUTTON_ABI_VERSION 17 +#define I_AVN_TOGGLE_BUTTON_ABI_VERSION 18 struct IAvnToggleButtonVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnToggleButton* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnToggleButton* self); /* slot 1 */ @@ -13573,76 +14125,82 @@ struct IAvnToggleButtonVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnToggleButton* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnToggleButton* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnToggleButton* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnToggleButton* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnToggleButton* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnToggleButton* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnToggleButton* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnToggleButton* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnToggleButton* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnToggleButton* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnToggleButton* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnToggleButton* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnToggleButton* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnToggleButton* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnToggleButton* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnToggleButton* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnToggleButton* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnToggleButton* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnToggleButton* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnToggleButton* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnToggleButton* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnToggleButton* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnToggleButton* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnToggleButton* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnToggleButton* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnToggleButton* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnToggleButton* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnToggleButton* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnToggleButton* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnToggleButton* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnToggleButton* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_content)(IAvnToggleButton* self, IAvnControl** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_content)(IAvnToggleButton* self, IAvnControl* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnToggleButton* self, IAvnDataTemplate** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnToggleButton* self, IAvnDataTemplate* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnToggleButton* self, int32_t* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnToggleButton* self, int32_t value); /* slot 108 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnToggleButton* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnToggleButton* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_click_mode)(IAvnToggleButton* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_click_mode)(IAvnToggleButton* self, int32_t value); /* slot 112 */ - AvnHResult (AVN_CALL *get_command)(IAvnToggleButton* self, IAvnCommand** value); /* slot 113 */ - AvnHResult (AVN_CALL *set_command)(IAvnToggleButton* self, IAvnCommand* value); /* slot 114 */ - AvnHResult (AVN_CALL *get_hot_key)(IAvnToggleButton* self, uint16_t** value); /* slot 115 */ - AvnHResult (AVN_CALL *set_hot_key)(IAvnToggleButton* self, const uint16_t* value); /* slot 116 */ - AvnHResult (AVN_CALL *get_command_parameter)(IAvnToggleButton* self, AvnVariant* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_command_parameter)(IAvnToggleButton* self, AvnVariant value); /* slot 118 */ - AvnHResult (AVN_CALL *get_is_default)(IAvnToggleButton* self, int32_t* value); /* slot 119 */ - AvnHResult (AVN_CALL *set_is_default)(IAvnToggleButton* self, int32_t value); /* slot 120 */ - AvnHResult (AVN_CALL *get_is_cancel)(IAvnToggleButton* self, int32_t* value); /* slot 121 */ - AvnHResult (AVN_CALL *set_is_cancel)(IAvnToggleButton* self, int32_t value); /* slot 122 */ - AvnHResult (AVN_CALL *get_is_pressed)(IAvnToggleButton* self, int32_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *get_flyout)(IAvnToggleButton* self, IAvnFlyoutBase** value); /* slot 124 */ - AvnHResult (AVN_CALL *set_flyout)(IAvnToggleButton* self, IAvnFlyoutBase* value); /* slot 125 */ - AvnHResult (AVN_CALL *advise_click)(IAvnToggleButton* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 126 */ - AvnHResult (AVN_CALL *unadvise_click)(IAvnToggleButton* self, int64_t subscription_id); /* slot 127 */ - AvnHResult (AVN_CALL *get_is_checked)(IAvnToggleButton* self, int32_t* value); /* slot 128 */ - AvnHResult (AVN_CALL *set_is_checked)(IAvnToggleButton* self, int32_t value); /* slot 129 */ - AvnHResult (AVN_CALL *get_is_three_state)(IAvnToggleButton* self, int32_t* value); /* slot 130 */ - AvnHResult (AVN_CALL *set_is_three_state)(IAvnToggleButton* self, int32_t value); /* slot 131 */ - AvnHResult (AVN_CALL *advise_is_checked_changed)(IAvnToggleButton* self, IAvnToggleButtonIsCheckedChangedHandler* handler, int64_t* subscription_id); /* slot 132 */ - AvnHResult (AVN_CALL *unadvise_is_checked_changed)(IAvnToggleButton* self, int64_t subscription_id); /* slot 133 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnToggleButton* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnToggleButton* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnToggleButton* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnToggleButton* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnToggleButton* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnToggleButton* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnToggleButton* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnToggleButton* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnToggleButton* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnToggleButton* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnToggleButton* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnToggleButton* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnToggleButton* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnToggleButton* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnToggleButton* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnToggleButton* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnToggleButton* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnToggleButton* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnToggleButton* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnToggleButton* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnToggleButton* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnToggleButton* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnToggleButton* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnToggleButton* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnToggleButton* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnToggleButton* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnToggleButton* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnToggleButton* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnToggleButton* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnToggleButton* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnToggleButton* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnToggleButton* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnToggleButton* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnToggleButton* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_content)(IAvnToggleButton* self, IAvnControl** value); /* slot 109 */ + AvnHResult (AVN_CALL *set_content)(IAvnToggleButton* self, IAvnControl* value); /* slot 110 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnToggleButton* self, IAvnDataTemplate** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnToggleButton* self, IAvnDataTemplate* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnToggleButton* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnToggleButton* self, int32_t value); /* slot 114 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnToggleButton* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnToggleButton* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_click_mode)(IAvnToggleButton* self, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_click_mode)(IAvnToggleButton* self, int32_t value); /* slot 118 */ + AvnHResult (AVN_CALL *get_command)(IAvnToggleButton* self, IAvnCommand** value); /* slot 119 */ + AvnHResult (AVN_CALL *set_command)(IAvnToggleButton* self, IAvnCommand* value); /* slot 120 */ + AvnHResult (AVN_CALL *get_hot_key)(IAvnToggleButton* self, uint16_t** value); /* slot 121 */ + AvnHResult (AVN_CALL *set_hot_key)(IAvnToggleButton* self, const uint16_t* value); /* slot 122 */ + AvnHResult (AVN_CALL *get_command_parameter)(IAvnToggleButton* self, AvnVariant* value); /* slot 123 */ + AvnHResult (AVN_CALL *set_command_parameter)(IAvnToggleButton* self, AvnVariant value); /* slot 124 */ + AvnHResult (AVN_CALL *get_is_default)(IAvnToggleButton* self, int32_t* value); /* slot 125 */ + AvnHResult (AVN_CALL *set_is_default)(IAvnToggleButton* self, int32_t value); /* slot 126 */ + AvnHResult (AVN_CALL *get_is_cancel)(IAvnToggleButton* self, int32_t* value); /* slot 127 */ + AvnHResult (AVN_CALL *set_is_cancel)(IAvnToggleButton* self, int32_t value); /* slot 128 */ + AvnHResult (AVN_CALL *get_is_pressed)(IAvnToggleButton* self, int32_t* value); /* slot 129 */ + AvnHResult (AVN_CALL *get_flyout)(IAvnToggleButton* self, IAvnFlyoutBase** value); /* slot 130 */ + AvnHResult (AVN_CALL *set_flyout)(IAvnToggleButton* self, IAvnFlyoutBase* value); /* slot 131 */ + AvnHResult (AVN_CALL *advise_click)(IAvnToggleButton* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 132 */ + AvnHResult (AVN_CALL *unadvise_click)(IAvnToggleButton* self, int64_t subscription_id); /* slot 133 */ + AvnHResult (AVN_CALL *get_is_checked)(IAvnToggleButton* self, int32_t* value); /* slot 134 */ + AvnHResult (AVN_CALL *set_is_checked)(IAvnToggleButton* self, int32_t value); /* slot 135 */ + AvnHResult (AVN_CALL *get_is_three_state)(IAvnToggleButton* self, int32_t* value); /* slot 136 */ + AvnHResult (AVN_CALL *set_is_three_state)(IAvnToggleButton* self, int32_t value); /* slot 137 */ + AvnHResult (AVN_CALL *advise_is_checked_changed)(IAvnToggleButton* self, IAvnToggleButtonIsCheckedChangedHandler* handler, int64_t* subscription_id); /* slot 138 */ + AvnHResult (AVN_CALL *unadvise_is_checked_changed)(IAvnToggleButton* self, int64_t subscription_id); /* slot 139 */ }; struct IAvnToggleButton { const IAvnToggleButtonVtbl* vtbl; }; -#define I_AVN_TOGGLE_BUTTON_VTABLE_SLOTS 134 +#define I_AVN_TOGGLE_BUTTON_VTABLE_SLOTS 140 static const AvnGuid I_AVN_TOGGLE_SPLIT_BUTTON_IID = { - 0x4FD7A582, - 0x1766, - 0x5CC7, - { 0xB1, 0x73, 0x72, 0xF4, 0x7F, 0xDF, 0x6B, 0xFF } + 0x0057E49B, + 0xBB54, + 0x516F, + { 0x8F, 0xDA, 0xB1, 0xE6, 0x46, 0xA1, 0xC8, 0x97 } }; -#define I_AVN_TOGGLE_SPLIT_BUTTON_ABI_VERSION 13 +#define I_AVN_TOGGLE_SPLIT_BUTTON_ABI_VERSION 14 struct IAvnToggleSplitButtonVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnToggleSplitButton* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnToggleSplitButton* self); /* slot 1 */ @@ -13719,67 +14277,73 @@ struct IAvnToggleSplitButtonVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnToggleSplitButton* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnToggleSplitButton* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnToggleSplitButton* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnToggleSplitButton* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnToggleSplitButton* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnToggleSplitButton* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnToggleSplitButton* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnToggleSplitButton* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnToggleSplitButton* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnToggleSplitButton* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnToggleSplitButton* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnToggleSplitButton* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnToggleSplitButton* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnToggleSplitButton* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnToggleSplitButton* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnToggleSplitButton* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnToggleSplitButton* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnToggleSplitButton* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnToggleSplitButton* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnToggleSplitButton* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnToggleSplitButton* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnToggleSplitButton* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnToggleSplitButton* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnToggleSplitButton* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnToggleSplitButton* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnToggleSplitButton* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnToggleSplitButton* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnToggleSplitButton* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnToggleSplitButton* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnToggleSplitButton* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnToggleSplitButton* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_content)(IAvnToggleSplitButton* self, IAvnControl** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_content)(IAvnToggleSplitButton* self, IAvnControl* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnToggleSplitButton* self, IAvnDataTemplate** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnToggleSplitButton* self, IAvnDataTemplate* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnToggleSplitButton* self, int32_t* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnToggleSplitButton* self, int32_t value); /* slot 108 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnToggleSplitButton* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnToggleSplitButton* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_command)(IAvnToggleSplitButton* self, IAvnCommand** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_command)(IAvnToggleSplitButton* self, IAvnCommand* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_command_parameter)(IAvnToggleSplitButton* self, AvnVariant* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_command_parameter)(IAvnToggleSplitButton* self, AvnVariant value); /* slot 114 */ - AvnHResult (AVN_CALL *get_flyout)(IAvnToggleSplitButton* self, IAvnFlyoutBase** value); /* slot 115 */ - AvnHResult (AVN_CALL *set_flyout)(IAvnToggleSplitButton* self, IAvnFlyoutBase* value); /* slot 116 */ - AvnHResult (AVN_CALL *get_hot_key)(IAvnToggleSplitButton* self, uint16_t** value); /* slot 117 */ - AvnHResult (AVN_CALL *set_hot_key)(IAvnToggleSplitButton* self, const uint16_t* value); /* slot 118 */ - AvnHResult (AVN_CALL *advise_click)(IAvnToggleSplitButton* self, IAvnSplitButtonClickHandler* handler, int64_t* subscription_id); /* slot 119 */ - AvnHResult (AVN_CALL *unadvise_click)(IAvnToggleSplitButton* self, int64_t subscription_id); /* slot 120 */ - AvnHResult (AVN_CALL *get_is_checked)(IAvnToggleSplitButton* self, int32_t* value); /* slot 121 */ - AvnHResult (AVN_CALL *set_is_checked)(IAvnToggleSplitButton* self, int32_t value); /* slot 122 */ - AvnHResult (AVN_CALL *advise_is_checked_changed)(IAvnToggleSplitButton* self, IAvnToggleSplitButtonIsCheckedChangedHandler* handler, int64_t* subscription_id); /* slot 123 */ - AvnHResult (AVN_CALL *unadvise_is_checked_changed)(IAvnToggleSplitButton* self, int64_t subscription_id); /* slot 124 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnToggleSplitButton* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnToggleSplitButton* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnToggleSplitButton* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnToggleSplitButton* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnToggleSplitButton* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnToggleSplitButton* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnToggleSplitButton* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnToggleSplitButton* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnToggleSplitButton* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnToggleSplitButton* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnToggleSplitButton* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnToggleSplitButton* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnToggleSplitButton* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnToggleSplitButton* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnToggleSplitButton* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnToggleSplitButton* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnToggleSplitButton* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnToggleSplitButton* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnToggleSplitButton* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnToggleSplitButton* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnToggleSplitButton* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnToggleSplitButton* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnToggleSplitButton* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnToggleSplitButton* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnToggleSplitButton* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnToggleSplitButton* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnToggleSplitButton* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnToggleSplitButton* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnToggleSplitButton* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnToggleSplitButton* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnToggleSplitButton* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnToggleSplitButton* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnToggleSplitButton* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnToggleSplitButton* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_content)(IAvnToggleSplitButton* self, IAvnControl** value); /* slot 109 */ + AvnHResult (AVN_CALL *set_content)(IAvnToggleSplitButton* self, IAvnControl* value); /* slot 110 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnToggleSplitButton* self, IAvnDataTemplate** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnToggleSplitButton* self, IAvnDataTemplate* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnToggleSplitButton* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnToggleSplitButton* self, int32_t value); /* slot 114 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnToggleSplitButton* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnToggleSplitButton* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_command)(IAvnToggleSplitButton* self, IAvnCommand** value); /* slot 117 */ + AvnHResult (AVN_CALL *set_command)(IAvnToggleSplitButton* self, IAvnCommand* value); /* slot 118 */ + AvnHResult (AVN_CALL *get_command_parameter)(IAvnToggleSplitButton* self, AvnVariant* value); /* slot 119 */ + AvnHResult (AVN_CALL *set_command_parameter)(IAvnToggleSplitButton* self, AvnVariant value); /* slot 120 */ + AvnHResult (AVN_CALL *get_flyout)(IAvnToggleSplitButton* self, IAvnFlyoutBase** value); /* slot 121 */ + AvnHResult (AVN_CALL *set_flyout)(IAvnToggleSplitButton* self, IAvnFlyoutBase* value); /* slot 122 */ + AvnHResult (AVN_CALL *get_hot_key)(IAvnToggleSplitButton* self, uint16_t** value); /* slot 123 */ + AvnHResult (AVN_CALL *set_hot_key)(IAvnToggleSplitButton* self, const uint16_t* value); /* slot 124 */ + AvnHResult (AVN_CALL *advise_click)(IAvnToggleSplitButton* self, IAvnSplitButtonClickHandler* handler, int64_t* subscription_id); /* slot 125 */ + AvnHResult (AVN_CALL *unadvise_click)(IAvnToggleSplitButton* self, int64_t subscription_id); /* slot 126 */ + AvnHResult (AVN_CALL *get_is_checked)(IAvnToggleSplitButton* self, int32_t* value); /* slot 127 */ + AvnHResult (AVN_CALL *set_is_checked)(IAvnToggleSplitButton* self, int32_t value); /* slot 128 */ + AvnHResult (AVN_CALL *advise_is_checked_changed)(IAvnToggleSplitButton* self, IAvnToggleSplitButtonIsCheckedChangedHandler* handler, int64_t* subscription_id); /* slot 129 */ + AvnHResult (AVN_CALL *unadvise_is_checked_changed)(IAvnToggleSplitButton* self, int64_t subscription_id); /* slot 130 */ }; struct IAvnToggleSplitButton { const IAvnToggleSplitButtonVtbl* vtbl; }; -#define I_AVN_TOGGLE_SPLIT_BUTTON_VTABLE_SLOTS 125 +#define I_AVN_TOGGLE_SPLIT_BUTTON_VTABLE_SLOTS 131 static const AvnGuid I_AVN_TOGGLE_SWITCH_IID = { - 0x96F69492, - 0x4FBE, - 0x565F, - { 0x85, 0x72, 0xD7, 0xAE, 0xA4, 0x09, 0x97, 0xE9 } + 0xB022C6CE, + 0x8A5D, + 0x5700, + { 0xB3, 0x41, 0x11, 0x4A, 0x6A, 0x4F, 0xBC, 0xA0 } }; -#define I_AVN_TOGGLE_SWITCH_ABI_VERSION 17 +#define I_AVN_TOGGLE_SWITCH_ABI_VERSION 18 struct IAvnToggleSwitchVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnToggleSwitch* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnToggleSwitch* self); /* slot 1 */ @@ -13856,84 +14420,90 @@ struct IAvnToggleSwitchVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnToggleSwitch* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnToggleSwitch* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnToggleSwitch* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnToggleSwitch* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnToggleSwitch* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnToggleSwitch* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnToggleSwitch* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnToggleSwitch* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnToggleSwitch* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnToggleSwitch* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnToggleSwitch* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnToggleSwitch* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnToggleSwitch* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnToggleSwitch* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnToggleSwitch* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnToggleSwitch* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnToggleSwitch* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnToggleSwitch* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnToggleSwitch* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnToggleSwitch* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnToggleSwitch* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnToggleSwitch* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnToggleSwitch* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnToggleSwitch* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnToggleSwitch* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnToggleSwitch* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnToggleSwitch* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnToggleSwitch* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnToggleSwitch* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnToggleSwitch* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnToggleSwitch* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_content)(IAvnToggleSwitch* self, IAvnControl** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_content)(IAvnToggleSwitch* self, IAvnControl* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnToggleSwitch* self, IAvnDataTemplate** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnToggleSwitch* self, IAvnDataTemplate* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnToggleSwitch* self, int32_t* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnToggleSwitch* self, int32_t value); /* slot 108 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnToggleSwitch* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnToggleSwitch* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_click_mode)(IAvnToggleSwitch* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_click_mode)(IAvnToggleSwitch* self, int32_t value); /* slot 112 */ - AvnHResult (AVN_CALL *get_command)(IAvnToggleSwitch* self, IAvnCommand** value); /* slot 113 */ - AvnHResult (AVN_CALL *set_command)(IAvnToggleSwitch* self, IAvnCommand* value); /* slot 114 */ - AvnHResult (AVN_CALL *get_hot_key)(IAvnToggleSwitch* self, uint16_t** value); /* slot 115 */ - AvnHResult (AVN_CALL *set_hot_key)(IAvnToggleSwitch* self, const uint16_t* value); /* slot 116 */ - AvnHResult (AVN_CALL *get_command_parameter)(IAvnToggleSwitch* self, AvnVariant* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_command_parameter)(IAvnToggleSwitch* self, AvnVariant value); /* slot 118 */ - AvnHResult (AVN_CALL *get_is_default)(IAvnToggleSwitch* self, int32_t* value); /* slot 119 */ - AvnHResult (AVN_CALL *set_is_default)(IAvnToggleSwitch* self, int32_t value); /* slot 120 */ - AvnHResult (AVN_CALL *get_is_cancel)(IAvnToggleSwitch* self, int32_t* value); /* slot 121 */ - AvnHResult (AVN_CALL *set_is_cancel)(IAvnToggleSwitch* self, int32_t value); /* slot 122 */ - AvnHResult (AVN_CALL *get_is_pressed)(IAvnToggleSwitch* self, int32_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *get_flyout)(IAvnToggleSwitch* self, IAvnFlyoutBase** value); /* slot 124 */ - AvnHResult (AVN_CALL *set_flyout)(IAvnToggleSwitch* self, IAvnFlyoutBase* value); /* slot 125 */ - AvnHResult (AVN_CALL *advise_click)(IAvnToggleSwitch* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 126 */ - AvnHResult (AVN_CALL *unadvise_click)(IAvnToggleSwitch* self, int64_t subscription_id); /* slot 127 */ - AvnHResult (AVN_CALL *get_is_checked)(IAvnToggleSwitch* self, int32_t* value); /* slot 128 */ - AvnHResult (AVN_CALL *set_is_checked)(IAvnToggleSwitch* self, int32_t value); /* slot 129 */ - AvnHResult (AVN_CALL *get_is_three_state)(IAvnToggleSwitch* self, int32_t* value); /* slot 130 */ - AvnHResult (AVN_CALL *set_is_three_state)(IAvnToggleSwitch* self, int32_t value); /* slot 131 */ - AvnHResult (AVN_CALL *advise_is_checked_changed)(IAvnToggleSwitch* self, IAvnToggleButtonIsCheckedChangedHandler* handler, int64_t* subscription_id); /* slot 132 */ - AvnHResult (AVN_CALL *unadvise_is_checked_changed)(IAvnToggleSwitch* self, int64_t subscription_id); /* slot 133 */ - AvnHResult (AVN_CALL *get_on_content)(IAvnToggleSwitch* self, IAvnControl** value); /* slot 134 */ - AvnHResult (AVN_CALL *set_on_content)(IAvnToggleSwitch* self, IAvnControl* value); /* slot 135 */ - AvnHResult (AVN_CALL *get_off_content)(IAvnToggleSwitch* self, IAvnControl** value); /* slot 136 */ - AvnHResult (AVN_CALL *set_off_content)(IAvnToggleSwitch* self, IAvnControl* value); /* slot 137 */ - AvnHResult (AVN_CALL *get_off_content_template)(IAvnToggleSwitch* self, IAvnDataTemplate** value); /* slot 138 */ - AvnHResult (AVN_CALL *set_off_content_template)(IAvnToggleSwitch* self, IAvnDataTemplate* value); /* slot 139 */ - AvnHResult (AVN_CALL *get_on_content_template)(IAvnToggleSwitch* self, IAvnDataTemplate** value); /* slot 140 */ - AvnHResult (AVN_CALL *set_on_content_template)(IAvnToggleSwitch* self, IAvnDataTemplate* value); /* slot 141 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnToggleSwitch* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnToggleSwitch* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnToggleSwitch* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnToggleSwitch* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnToggleSwitch* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnToggleSwitch* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnToggleSwitch* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnToggleSwitch* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnToggleSwitch* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnToggleSwitch* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnToggleSwitch* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnToggleSwitch* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnToggleSwitch* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnToggleSwitch* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnToggleSwitch* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnToggleSwitch* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnToggleSwitch* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnToggleSwitch* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnToggleSwitch* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnToggleSwitch* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnToggleSwitch* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnToggleSwitch* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnToggleSwitch* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnToggleSwitch* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnToggleSwitch* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnToggleSwitch* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnToggleSwitch* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnToggleSwitch* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnToggleSwitch* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnToggleSwitch* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnToggleSwitch* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnToggleSwitch* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnToggleSwitch* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnToggleSwitch* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_content)(IAvnToggleSwitch* self, IAvnControl** value); /* slot 109 */ + AvnHResult (AVN_CALL *set_content)(IAvnToggleSwitch* self, IAvnControl* value); /* slot 110 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnToggleSwitch* self, IAvnDataTemplate** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnToggleSwitch* self, IAvnDataTemplate* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnToggleSwitch* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnToggleSwitch* self, int32_t value); /* slot 114 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnToggleSwitch* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnToggleSwitch* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_click_mode)(IAvnToggleSwitch* self, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_click_mode)(IAvnToggleSwitch* self, int32_t value); /* slot 118 */ + AvnHResult (AVN_CALL *get_command)(IAvnToggleSwitch* self, IAvnCommand** value); /* slot 119 */ + AvnHResult (AVN_CALL *set_command)(IAvnToggleSwitch* self, IAvnCommand* value); /* slot 120 */ + AvnHResult (AVN_CALL *get_hot_key)(IAvnToggleSwitch* self, uint16_t** value); /* slot 121 */ + AvnHResult (AVN_CALL *set_hot_key)(IAvnToggleSwitch* self, const uint16_t* value); /* slot 122 */ + AvnHResult (AVN_CALL *get_command_parameter)(IAvnToggleSwitch* self, AvnVariant* value); /* slot 123 */ + AvnHResult (AVN_CALL *set_command_parameter)(IAvnToggleSwitch* self, AvnVariant value); /* slot 124 */ + AvnHResult (AVN_CALL *get_is_default)(IAvnToggleSwitch* self, int32_t* value); /* slot 125 */ + AvnHResult (AVN_CALL *set_is_default)(IAvnToggleSwitch* self, int32_t value); /* slot 126 */ + AvnHResult (AVN_CALL *get_is_cancel)(IAvnToggleSwitch* self, int32_t* value); /* slot 127 */ + AvnHResult (AVN_CALL *set_is_cancel)(IAvnToggleSwitch* self, int32_t value); /* slot 128 */ + AvnHResult (AVN_CALL *get_is_pressed)(IAvnToggleSwitch* self, int32_t* value); /* slot 129 */ + AvnHResult (AVN_CALL *get_flyout)(IAvnToggleSwitch* self, IAvnFlyoutBase** value); /* slot 130 */ + AvnHResult (AVN_CALL *set_flyout)(IAvnToggleSwitch* self, IAvnFlyoutBase* value); /* slot 131 */ + AvnHResult (AVN_CALL *advise_click)(IAvnToggleSwitch* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 132 */ + AvnHResult (AVN_CALL *unadvise_click)(IAvnToggleSwitch* self, int64_t subscription_id); /* slot 133 */ + AvnHResult (AVN_CALL *get_is_checked)(IAvnToggleSwitch* self, int32_t* value); /* slot 134 */ + AvnHResult (AVN_CALL *set_is_checked)(IAvnToggleSwitch* self, int32_t value); /* slot 135 */ + AvnHResult (AVN_CALL *get_is_three_state)(IAvnToggleSwitch* self, int32_t* value); /* slot 136 */ + AvnHResult (AVN_CALL *set_is_three_state)(IAvnToggleSwitch* self, int32_t value); /* slot 137 */ + AvnHResult (AVN_CALL *advise_is_checked_changed)(IAvnToggleSwitch* self, IAvnToggleButtonIsCheckedChangedHandler* handler, int64_t* subscription_id); /* slot 138 */ + AvnHResult (AVN_CALL *unadvise_is_checked_changed)(IAvnToggleSwitch* self, int64_t subscription_id); /* slot 139 */ + AvnHResult (AVN_CALL *get_on_content)(IAvnToggleSwitch* self, IAvnControl** value); /* slot 140 */ + AvnHResult (AVN_CALL *set_on_content)(IAvnToggleSwitch* self, IAvnControl* value); /* slot 141 */ + AvnHResult (AVN_CALL *get_off_content)(IAvnToggleSwitch* self, IAvnControl** value); /* slot 142 */ + AvnHResult (AVN_CALL *set_off_content)(IAvnToggleSwitch* self, IAvnControl* value); /* slot 143 */ + AvnHResult (AVN_CALL *get_off_content_template)(IAvnToggleSwitch* self, IAvnDataTemplate** value); /* slot 144 */ + AvnHResult (AVN_CALL *set_off_content_template)(IAvnToggleSwitch* self, IAvnDataTemplate* value); /* slot 145 */ + AvnHResult (AVN_CALL *get_on_content_template)(IAvnToggleSwitch* self, IAvnDataTemplate** value); /* slot 146 */ + AvnHResult (AVN_CALL *set_on_content_template)(IAvnToggleSwitch* self, IAvnDataTemplate* value); /* slot 147 */ }; struct IAvnToggleSwitch { const IAvnToggleSwitchVtbl* vtbl; }; -#define I_AVN_TOGGLE_SWITCH_VTABLE_SLOTS 142 +#define I_AVN_TOGGLE_SWITCH_VTABLE_SLOTS 148 static const AvnGuid I_AVN_TOOL_TIP_IID = { - 0x8158AEAF, - 0xB85C, - 0x59C4, - { 0xBF, 0xCE, 0x98, 0xDF, 0x20, 0xF4, 0xC2, 0xC9 } + 0x2B78EA6B, + 0xFE62, + 0x5508, + { 0xAB, 0x5F, 0x58, 0x6C, 0x35, 0x23, 0xC5, 0xA1 } }; -#define I_AVN_TOOL_TIP_ABI_VERSION 10 +#define I_AVN_TOOL_TIP_ABI_VERSION 11 struct IAvnToolTipVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnToolTip* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnToolTip* self); /* slot 1 */ @@ -14010,53 +14580,59 @@ struct IAvnToolTipVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnToolTip* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnToolTip* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnToolTip* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnToolTip* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnToolTip* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnToolTip* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnToolTip* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnToolTip* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnToolTip* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnToolTip* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnToolTip* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnToolTip* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnToolTip* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnToolTip* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnToolTip* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnToolTip* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnToolTip* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnToolTip* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnToolTip* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnToolTip* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnToolTip* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnToolTip* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnToolTip* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnToolTip* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnToolTip* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnToolTip* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnToolTip* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnToolTip* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnToolTip* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnToolTip* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnToolTip* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_content)(IAvnToolTip* self, IAvnControl** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_content)(IAvnToolTip* self, IAvnControl* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnToolTip* self, IAvnDataTemplate** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnToolTip* self, IAvnDataTemplate* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnToolTip* self, int32_t* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnToolTip* self, int32_t value); /* slot 108 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnToolTip* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnToolTip* self, int32_t value); /* slot 110 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnToolTip* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnToolTip* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnToolTip* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnToolTip* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnToolTip* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnToolTip* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnToolTip* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnToolTip* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnToolTip* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnToolTip* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnToolTip* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnToolTip* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnToolTip* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnToolTip* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnToolTip* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnToolTip* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnToolTip* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnToolTip* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnToolTip* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnToolTip* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnToolTip* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnToolTip* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnToolTip* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnToolTip* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnToolTip* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnToolTip* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnToolTip* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnToolTip* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnToolTip* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnToolTip* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnToolTip* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnToolTip* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnToolTip* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnToolTip* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_content)(IAvnToolTip* self, IAvnControl** value); /* slot 109 */ + AvnHResult (AVN_CALL *set_content)(IAvnToolTip* self, IAvnControl* value); /* slot 110 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnToolTip* self, IAvnDataTemplate** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnToolTip* self, IAvnDataTemplate* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnToolTip* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnToolTip* self, int32_t value); /* slot 114 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnToolTip* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnToolTip* self, int32_t value); /* slot 116 */ }; struct IAvnToolTip { const IAvnToolTipVtbl* vtbl; }; -#define I_AVN_TOOL_TIP_VTABLE_SLOTS 111 +#define I_AVN_TOOL_TIP_VTABLE_SLOTS 117 static const AvnGuid I_AVN_TRANSITIONING_CONTENT_CONTROL_IID = { - 0x643AACDC, - 0xAB53, - 0x56DF, - { 0xA1, 0x97, 0x28, 0x04, 0x2B, 0xF4, 0xD6, 0x9F } + 0xFD0EB25C, + 0x585B, + 0x5EDA, + { 0xB1, 0xED, 0xF6, 0x29, 0xA7, 0x65, 0xB5, 0xA9 } }; -#define I_AVN_TRANSITIONING_CONTENT_CONTROL_ABI_VERSION 11 +#define I_AVN_TRANSITIONING_CONTENT_CONTROL_ABI_VERSION 12 struct IAvnTransitioningContentControlVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnTransitioningContentControl* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnTransitioningContentControl* self); /* slot 1 */ @@ -14133,49 +14709,55 @@ struct IAvnTransitioningContentControlVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTransitioningContentControl* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTransitioningContentControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTransitioningContentControl* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnTransitioningContentControl* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnTransitioningContentControl* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnTransitioningContentControl* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnTransitioningContentControl* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnTransitioningContentControl* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnTransitioningContentControl* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnTransitioningContentControl* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnTransitioningContentControl* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnTransitioningContentControl* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnTransitioningContentControl* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnTransitioningContentControl* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnTransitioningContentControl* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnTransitioningContentControl* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnTransitioningContentControl* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnTransitioningContentControl* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnTransitioningContentControl* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnTransitioningContentControl* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnTransitioningContentControl* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnTransitioningContentControl* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnTransitioningContentControl* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnTransitioningContentControl* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnTransitioningContentControl* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnTransitioningContentControl* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnTransitioningContentControl* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTransitioningContentControl* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTransitioningContentControl* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnTransitioningContentControl* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnTransitioningContentControl* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_content)(IAvnTransitioningContentControl* self, IAvnControl** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_content)(IAvnTransitioningContentControl* self, IAvnControl* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnTransitioningContentControl* self, IAvnDataTemplate** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnTransitioningContentControl* self, IAvnDataTemplate* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnTransitioningContentControl* self, int32_t* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnTransitioningContentControl* self, int32_t value); /* slot 108 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnTransitioningContentControl* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnTransitioningContentControl* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_is_transition_reversed)(IAvnTransitioningContentControl* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_is_transition_reversed)(IAvnTransitioningContentControl* self, int32_t value); /* slot 112 */ - AvnHResult (AVN_CALL *advise_transition_completed)(IAvnTransitioningContentControl* self, IAvnTransitioningContentControlTransitionCompletedHandler* handler, int64_t* subscription_id); /* slot 113 */ - AvnHResult (AVN_CALL *unadvise_transition_completed)(IAvnTransitioningContentControl* self, int64_t subscription_id); /* slot 114 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnTransitioningContentControl* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnTransitioningContentControl* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnTransitioningContentControl* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnTransitioningContentControl* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnTransitioningContentControl* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnTransitioningContentControl* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnTransitioningContentControl* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnTransitioningContentControl* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnTransitioningContentControl* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnTransitioningContentControl* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnTransitioningContentControl* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnTransitioningContentControl* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnTransitioningContentControl* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnTransitioningContentControl* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnTransitioningContentControl* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnTransitioningContentControl* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnTransitioningContentControl* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnTransitioningContentControl* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnTransitioningContentControl* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnTransitioningContentControl* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnTransitioningContentControl* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnTransitioningContentControl* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnTransitioningContentControl* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnTransitioningContentControl* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnTransitioningContentControl* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnTransitioningContentControl* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnTransitioningContentControl* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnTransitioningContentControl* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnTransitioningContentControl* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnTransitioningContentControl* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTransitioningContentControl* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTransitioningContentControl* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnTransitioningContentControl* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnTransitioningContentControl* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_content)(IAvnTransitioningContentControl* self, IAvnControl** value); /* slot 109 */ + AvnHResult (AVN_CALL *set_content)(IAvnTransitioningContentControl* self, IAvnControl* value); /* slot 110 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnTransitioningContentControl* self, IAvnDataTemplate** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnTransitioningContentControl* self, IAvnDataTemplate* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnTransitioningContentControl* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnTransitioningContentControl* self, int32_t value); /* slot 114 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnTransitioningContentControl* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnTransitioningContentControl* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_is_transition_reversed)(IAvnTransitioningContentControl* self, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_is_transition_reversed)(IAvnTransitioningContentControl* self, int32_t value); /* slot 118 */ + AvnHResult (AVN_CALL *advise_transition_completed)(IAvnTransitioningContentControl* self, IAvnTransitioningContentControlTransitionCompletedHandler* handler, int64_t* subscription_id); /* slot 119 */ + AvnHResult (AVN_CALL *unadvise_transition_completed)(IAvnTransitioningContentControl* self, int64_t subscription_id); /* slot 120 */ }; struct IAvnTransitioningContentControl { const IAvnTransitioningContentControlVtbl* vtbl; }; -#define I_AVN_TRANSITIONING_CONTENT_CONTROL_VTABLE_SLOTS 115 +#define I_AVN_TRANSITIONING_CONTENT_CONTROL_VTABLE_SLOTS 121 static const AvnGuid I_AVN_TRAY_ICON_IID = { 0xC05739ED, @@ -14207,12 +14789,12 @@ struct IAvnTrayIcon { const IAvnTrayIconVtbl* vtbl; }; #define I_AVN_TRAY_ICON_VTABLE_SLOTS 17 static const AvnGuid I_AVN_TREE_VIEW_IID = { - 0xE8A54D8B, - 0x7903, - 0x57AE, - { 0x9B, 0xF8, 0xF5, 0xA8, 0x05, 0x50, 0x28, 0xFC } + 0x0B60003F, + 0xEC3F, + 0x5F72, + { 0x97, 0x63, 0x04, 0xC3, 0xC4, 0xFF, 0xE8, 0xDD } }; -#define I_AVN_TREE_VIEW_ABI_VERSION 13 +#define I_AVN_TREE_VIEW_ABI_VERSION 14 struct IAvnTreeViewVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnTreeView* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnTreeView* self); /* slot 1 */ @@ -14289,73 +14871,79 @@ struct IAvnTreeViewVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTreeView* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTreeView* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTreeView* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnTreeView* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnTreeView* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnTreeView* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnTreeView* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnTreeView* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnTreeView* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnTreeView* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnTreeView* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnTreeView* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnTreeView* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnTreeView* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnTreeView* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnTreeView* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnTreeView* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnTreeView* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnTreeView* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnTreeView* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnTreeView* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnTreeView* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnTreeView* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnTreeView* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnTreeView* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnTreeView* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnTreeView* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTreeView* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTreeView* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnTreeView* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnTreeView* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_items)(IAvnTreeView* self, IAvnItemList** value); /* slot 103 */ - AvnHResult (AVN_CALL *get_item_count)(IAvnTreeView* self, int32_t* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_items_source)(IAvnTreeView* self, IAvnVariantList** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_items_source)(IAvnTreeView* self, IAvnVariantList* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_item_template)(IAvnTreeView* self, IAvnDataTemplate** value); /* slot 107 */ - AvnHResult (AVN_CALL *set_item_template)(IAvnTreeView* self, IAvnDataTemplate* value); /* slot 108 */ - AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnTreeView* self, int32_t index, IAvnControl** value); /* slot 109 */ - AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnTreeView* self, AvnVariant item, IAvnControl** value); /* slot 110 */ - AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnTreeView* self, IAvnControl* container, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnTreeView* self, IAvnControl* container, AvnVariant* value); /* slot 112 */ - AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnTreeView* self, int32_t index); /* slot 113 */ - AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnTreeView* self, AvnVariant item); /* slot 114 */ - AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnTreeView* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnTreeView* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_selection_mode)(IAvnTreeView* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_selection_mode)(IAvnTreeView* self, int32_t value); /* slot 118 */ - AvnHResult (AVN_CALL *get_selected_item)(IAvnTreeView* self, AvnVariant* value); /* slot 119 */ - AvnHResult (AVN_CALL *set_selected_item)(IAvnTreeView* self, AvnVariant value); /* slot 120 */ - AvnHResult (AVN_CALL *get_selected_items)(IAvnTreeView* self, IAvnSelectedVariantList** value); /* slot 121 */ - AvnHResult (AVN_CALL *set_selected_items)(IAvnTreeView* self, IAvnSelectedVariantList* value); /* slot 122 */ - AvnHResult (AVN_CALL *expand_sub_tree_with_tree_view_item)(IAvnTreeView* self, IAvnTreeViewItem* item); /* slot 123 */ - AvnHResult (AVN_CALL *collapse_sub_tree_with_tree_view_item)(IAvnTreeView* self, IAvnTreeViewItem* item); /* slot 124 */ - AvnHResult (AVN_CALL *select_all)(IAvnTreeView* self); /* slot 125 */ - AvnHResult (AVN_CALL *unselect_all)(IAvnTreeView* self); /* slot 126 */ - AvnHResult (AVN_CALL *tree_container_from_item_with_object)(IAvnTreeView* self, AvnVariant item, IAvnControl** value); /* slot 127 */ - AvnHResult (AVN_CALL *tree_item_from_container_with_control)(IAvnTreeView* self, IAvnControl* container, AvnVariant* value); /* slot 128 */ - AvnHResult (AVN_CALL *advise_selection_changed)(IAvnTreeView* self, IAvnTreeViewSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 129 */ - AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnTreeView* self, int64_t subscription_id); /* slot 130 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnTreeView* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnTreeView* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnTreeView* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnTreeView* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnTreeView* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnTreeView* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnTreeView* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnTreeView* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnTreeView* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnTreeView* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnTreeView* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnTreeView* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnTreeView* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnTreeView* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnTreeView* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnTreeView* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnTreeView* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnTreeView* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnTreeView* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnTreeView* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnTreeView* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnTreeView* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnTreeView* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnTreeView* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnTreeView* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnTreeView* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnTreeView* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnTreeView* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnTreeView* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnTreeView* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTreeView* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTreeView* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnTreeView* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnTreeView* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_items)(IAvnTreeView* self, IAvnItemList** value); /* slot 109 */ + AvnHResult (AVN_CALL *get_item_count)(IAvnTreeView* self, int32_t* value); /* slot 110 */ + AvnHResult (AVN_CALL *get_items_source)(IAvnTreeView* self, IAvnVariantList** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_items_source)(IAvnTreeView* self, IAvnVariantList* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_item_template)(IAvnTreeView* self, IAvnDataTemplate** value); /* slot 113 */ + AvnHResult (AVN_CALL *set_item_template)(IAvnTreeView* self, IAvnDataTemplate* value); /* slot 114 */ + AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnTreeView* self, int32_t index, IAvnControl** value); /* slot 115 */ + AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnTreeView* self, AvnVariant item, IAvnControl** value); /* slot 116 */ + AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnTreeView* self, IAvnControl* container, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnTreeView* self, IAvnControl* container, AvnVariant* value); /* slot 118 */ + AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnTreeView* self, int32_t index); /* slot 119 */ + AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnTreeView* self, AvnVariant item); /* slot 120 */ + AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnTreeView* self, int32_t* value); /* slot 121 */ + AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnTreeView* self, int32_t value); /* slot 122 */ + AvnHResult (AVN_CALL *get_selection_mode)(IAvnTreeView* self, int32_t* value); /* slot 123 */ + AvnHResult (AVN_CALL *set_selection_mode)(IAvnTreeView* self, int32_t value); /* slot 124 */ + AvnHResult (AVN_CALL *get_selected_item)(IAvnTreeView* self, AvnVariant* value); /* slot 125 */ + AvnHResult (AVN_CALL *set_selected_item)(IAvnTreeView* self, AvnVariant value); /* slot 126 */ + AvnHResult (AVN_CALL *get_selected_items)(IAvnTreeView* self, IAvnSelectedVariantList** value); /* slot 127 */ + AvnHResult (AVN_CALL *set_selected_items)(IAvnTreeView* self, IAvnSelectedVariantList* value); /* slot 128 */ + AvnHResult (AVN_CALL *expand_sub_tree_with_tree_view_item)(IAvnTreeView* self, IAvnTreeViewItem* item); /* slot 129 */ + AvnHResult (AVN_CALL *collapse_sub_tree_with_tree_view_item)(IAvnTreeView* self, IAvnTreeViewItem* item); /* slot 130 */ + AvnHResult (AVN_CALL *select_all)(IAvnTreeView* self); /* slot 131 */ + AvnHResult (AVN_CALL *unselect_all)(IAvnTreeView* self); /* slot 132 */ + AvnHResult (AVN_CALL *tree_container_from_item_with_object)(IAvnTreeView* self, AvnVariant item, IAvnControl** value); /* slot 133 */ + AvnHResult (AVN_CALL *tree_item_from_container_with_control)(IAvnTreeView* self, IAvnControl* container, AvnVariant* value); /* slot 134 */ + AvnHResult (AVN_CALL *advise_selection_changed)(IAvnTreeView* self, IAvnTreeViewSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 135 */ + AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnTreeView* self, int64_t subscription_id); /* slot 136 */ }; struct IAvnTreeView { const IAvnTreeViewVtbl* vtbl; }; -#define I_AVN_TREE_VIEW_VTABLE_SLOTS 131 +#define I_AVN_TREE_VIEW_VTABLE_SLOTS 137 static const AvnGuid I_AVN_TREE_VIEW_ITEM_IID = { - 0xCDD644B1, - 0x7E5B, - 0x5C32, - { 0x92, 0x71, 0x5A, 0x69, 0xCE, 0xE6, 0x50, 0x05 } + 0xF173219D, + 0xC63C, + 0x5669, + { 0xBE, 0x7D, 0x98, 0xE9, 0x8B, 0xF1, 0xC5, 0x4B } }; -#define I_AVN_TREE_VIEW_ITEM_ABI_VERSION 13 +#define I_AVN_TREE_VIEW_ITEM_ABI_VERSION 14 struct IAvnTreeViewItemVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnTreeViewItem* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnTreeViewItem* self); /* slot 1 */ @@ -14432,70 +15020,76 @@ struct IAvnTreeViewItemVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTreeViewItem* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTreeViewItem* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTreeViewItem* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnTreeViewItem* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnTreeViewItem* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnTreeViewItem* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnTreeViewItem* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnTreeViewItem* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnTreeViewItem* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnTreeViewItem* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnTreeViewItem* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnTreeViewItem* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnTreeViewItem* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnTreeViewItem* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnTreeViewItem* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnTreeViewItem* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnTreeViewItem* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnTreeViewItem* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnTreeViewItem* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnTreeViewItem* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnTreeViewItem* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnTreeViewItem* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnTreeViewItem* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnTreeViewItem* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnTreeViewItem* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnTreeViewItem* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnTreeViewItem* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTreeViewItem* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTreeViewItem* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnTreeViewItem* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnTreeViewItem* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_items)(IAvnTreeViewItem* self, IAvnItemList** value); /* slot 103 */ - AvnHResult (AVN_CALL *get_item_count)(IAvnTreeViewItem* self, int32_t* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_items_source)(IAvnTreeViewItem* self, IAvnVariantList** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_items_source)(IAvnTreeViewItem* self, IAvnVariantList* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_item_template)(IAvnTreeViewItem* self, IAvnDataTemplate** value); /* slot 107 */ - AvnHResult (AVN_CALL *set_item_template)(IAvnTreeViewItem* self, IAvnDataTemplate* value); /* slot 108 */ - AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnTreeViewItem* self, int32_t index, IAvnControl** value); /* slot 109 */ - AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnTreeViewItem* self, AvnVariant item, IAvnControl** value); /* slot 110 */ - AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnTreeViewItem* self, IAvnControl* container, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnTreeViewItem* self, IAvnControl* container, AvnVariant* value); /* slot 112 */ - AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnTreeViewItem* self, int32_t index); /* slot 113 */ - AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnTreeViewItem* self, AvnVariant item); /* slot 114 */ - AvnHResult (AVN_CALL *get_header)(IAvnTreeViewItem* self, IAvnControl** value); /* slot 115 */ - AvnHResult (AVN_CALL *set_header)(IAvnTreeViewItem* self, IAvnControl* value); /* slot 116 */ - AvnHResult (AVN_CALL *get_header_template)(IAvnTreeViewItem* self, IAvnDataTemplate** value); /* slot 117 */ - AvnHResult (AVN_CALL *set_header_template)(IAvnTreeViewItem* self, IAvnDataTemplate* value); /* slot 118 */ - AvnHResult (AVN_CALL *get_is_expanded)(IAvnTreeViewItem* self, int32_t* value); /* slot 119 */ - AvnHResult (AVN_CALL *set_is_expanded)(IAvnTreeViewItem* self, int32_t value); /* slot 120 */ - AvnHResult (AVN_CALL *get_is_selected)(IAvnTreeViewItem* self, int32_t* value); /* slot 121 */ - AvnHResult (AVN_CALL *set_is_selected)(IAvnTreeViewItem* self, int32_t value); /* slot 122 */ - AvnHResult (AVN_CALL *get_level)(IAvnTreeViewItem* self, int32_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *advise_expanded)(IAvnTreeViewItem* self, IAvnTreeViewItemExpandedHandler* handler, int64_t* subscription_id); /* slot 124 */ - AvnHResult (AVN_CALL *unadvise_expanded)(IAvnTreeViewItem* self, int64_t subscription_id); /* slot 125 */ - AvnHResult (AVN_CALL *advise_collapsed)(IAvnTreeViewItem* self, IAvnTreeViewItemCollapsedHandler* handler, int64_t* subscription_id); /* slot 126 */ - AvnHResult (AVN_CALL *unadvise_collapsed)(IAvnTreeViewItem* self, int64_t subscription_id); /* slot 127 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnTreeViewItem* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnTreeViewItem* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnTreeViewItem* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnTreeViewItem* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnTreeViewItem* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnTreeViewItem* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnTreeViewItem* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnTreeViewItem* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnTreeViewItem* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnTreeViewItem* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnTreeViewItem* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnTreeViewItem* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnTreeViewItem* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnTreeViewItem* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnTreeViewItem* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnTreeViewItem* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnTreeViewItem* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnTreeViewItem* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnTreeViewItem* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnTreeViewItem* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnTreeViewItem* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnTreeViewItem* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnTreeViewItem* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnTreeViewItem* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnTreeViewItem* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnTreeViewItem* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnTreeViewItem* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnTreeViewItem* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnTreeViewItem* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnTreeViewItem* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTreeViewItem* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTreeViewItem* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnTreeViewItem* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnTreeViewItem* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_items)(IAvnTreeViewItem* self, IAvnItemList** value); /* slot 109 */ + AvnHResult (AVN_CALL *get_item_count)(IAvnTreeViewItem* self, int32_t* value); /* slot 110 */ + AvnHResult (AVN_CALL *get_items_source)(IAvnTreeViewItem* self, IAvnVariantList** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_items_source)(IAvnTreeViewItem* self, IAvnVariantList* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_item_template)(IAvnTreeViewItem* self, IAvnDataTemplate** value); /* slot 113 */ + AvnHResult (AVN_CALL *set_item_template)(IAvnTreeViewItem* self, IAvnDataTemplate* value); /* slot 114 */ + AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnTreeViewItem* self, int32_t index, IAvnControl** value); /* slot 115 */ + AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnTreeViewItem* self, AvnVariant item, IAvnControl** value); /* slot 116 */ + AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnTreeViewItem* self, IAvnControl* container, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnTreeViewItem* self, IAvnControl* container, AvnVariant* value); /* slot 118 */ + AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnTreeViewItem* self, int32_t index); /* slot 119 */ + AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnTreeViewItem* self, AvnVariant item); /* slot 120 */ + AvnHResult (AVN_CALL *get_header)(IAvnTreeViewItem* self, IAvnControl** value); /* slot 121 */ + AvnHResult (AVN_CALL *set_header)(IAvnTreeViewItem* self, IAvnControl* value); /* slot 122 */ + AvnHResult (AVN_CALL *get_header_template)(IAvnTreeViewItem* self, IAvnDataTemplate** value); /* slot 123 */ + AvnHResult (AVN_CALL *set_header_template)(IAvnTreeViewItem* self, IAvnDataTemplate* value); /* slot 124 */ + AvnHResult (AVN_CALL *get_is_expanded)(IAvnTreeViewItem* self, int32_t* value); /* slot 125 */ + AvnHResult (AVN_CALL *set_is_expanded)(IAvnTreeViewItem* self, int32_t value); /* slot 126 */ + AvnHResult (AVN_CALL *get_is_selected)(IAvnTreeViewItem* self, int32_t* value); /* slot 127 */ + AvnHResult (AVN_CALL *set_is_selected)(IAvnTreeViewItem* self, int32_t value); /* slot 128 */ + AvnHResult (AVN_CALL *get_level)(IAvnTreeViewItem* self, int32_t* value); /* slot 129 */ + AvnHResult (AVN_CALL *advise_expanded)(IAvnTreeViewItem* self, IAvnTreeViewItemExpandedHandler* handler, int64_t* subscription_id); /* slot 130 */ + AvnHResult (AVN_CALL *unadvise_expanded)(IAvnTreeViewItem* self, int64_t subscription_id); /* slot 131 */ + AvnHResult (AVN_CALL *advise_collapsed)(IAvnTreeViewItem* self, IAvnTreeViewItemCollapsedHandler* handler, int64_t* subscription_id); /* slot 132 */ + AvnHResult (AVN_CALL *unadvise_collapsed)(IAvnTreeViewItem* self, int64_t subscription_id); /* slot 133 */ }; struct IAvnTreeViewItem { const IAvnTreeViewItemVtbl* vtbl; }; -#define I_AVN_TREE_VIEW_ITEM_VTABLE_SLOTS 128 +#define I_AVN_TREE_VIEW_ITEM_VTABLE_SLOTS 134 static const AvnGuid I_AVN_UNIFORM_GRID_IID = { - 0x600B20CC, - 0x7AA7, - 0x5EC9, - { 0xB7, 0x73, 0xA8, 0x93, 0xB4, 0x37, 0x6F, 0x95 } + 0x061A5BD1, + 0x9360, + 0x53D2, + { 0xBE, 0xF6, 0x7E, 0xB9, 0xEC, 0xAE, 0xA4, 0x93 } }; -#define I_AVN_UNIFORM_GRID_ABI_VERSION 9 +#define I_AVN_UNIFORM_GRID_ABI_VERSION 10 struct IAvnUniformGridVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnUniformGrid* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnUniformGrid* self); /* slot 1 */ @@ -14572,30 +15166,36 @@ struct IAvnUniformGridVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnUniformGrid* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnUniformGrid* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnUniformGrid* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_children)(IAvnUniformGrid* self, IAvnControlList** value); /* slot 75 */ - AvnHResult (AVN_CALL *get_background)(IAvnUniformGrid* self, IAvnBrush** value); /* slot 76 */ - AvnHResult (AVN_CALL *set_background)(IAvnUniformGrid* self, IAvnBrush* value); /* slot 77 */ - AvnHResult (AVN_CALL *get_rows)(IAvnUniformGrid* self, int32_t* value); /* slot 78 */ - AvnHResult (AVN_CALL *set_rows)(IAvnUniformGrid* self, int32_t value); /* slot 79 */ - AvnHResult (AVN_CALL *get_columns)(IAvnUniformGrid* self, int32_t* value); /* slot 80 */ - AvnHResult (AVN_CALL *set_columns)(IAvnUniformGrid* self, int32_t value); /* slot 81 */ - AvnHResult (AVN_CALL *get_first_column)(IAvnUniformGrid* self, int32_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *set_first_column)(IAvnUniformGrid* self, int32_t value); /* slot 83 */ - AvnHResult (AVN_CALL *get_row_spacing)(IAvnUniformGrid* self, double* value); /* slot 84 */ - AvnHResult (AVN_CALL *set_row_spacing)(IAvnUniformGrid* self, double value); /* slot 85 */ - AvnHResult (AVN_CALL *get_column_spacing)(IAvnUniformGrid* self, double* value); /* slot 86 */ - AvnHResult (AVN_CALL *set_column_spacing)(IAvnUniformGrid* self, double value); /* slot 87 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnUniformGrid* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnUniformGrid* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnUniformGrid* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnUniformGrid* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnUniformGrid* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnUniformGrid* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_children)(IAvnUniformGrid* self, IAvnControlList** value); /* slot 81 */ + AvnHResult (AVN_CALL *get_background)(IAvnUniformGrid* self, IAvnBrush** value); /* slot 82 */ + AvnHResult (AVN_CALL *set_background)(IAvnUniformGrid* self, IAvnBrush* value); /* slot 83 */ + AvnHResult (AVN_CALL *get_rows)(IAvnUniformGrid* self, int32_t* value); /* slot 84 */ + AvnHResult (AVN_CALL *set_rows)(IAvnUniformGrid* self, int32_t value); /* slot 85 */ + AvnHResult (AVN_CALL *get_columns)(IAvnUniformGrid* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_columns)(IAvnUniformGrid* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_first_column)(IAvnUniformGrid* self, int32_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *set_first_column)(IAvnUniformGrid* self, int32_t value); /* slot 89 */ + AvnHResult (AVN_CALL *get_row_spacing)(IAvnUniformGrid* self, double* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_row_spacing)(IAvnUniformGrid* self, double value); /* slot 91 */ + AvnHResult (AVN_CALL *get_column_spacing)(IAvnUniformGrid* self, double* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_column_spacing)(IAvnUniformGrid* self, double value); /* slot 93 */ }; struct IAvnUniformGrid { const IAvnUniformGridVtbl* vtbl; }; -#define I_AVN_UNIFORM_GRID_VTABLE_SLOTS 88 +#define I_AVN_UNIFORM_GRID_VTABLE_SLOTS 94 static const AvnGuid I_AVN_USER_CONTROL_IID = { - 0xE3ABA05B, - 0xDFF9, - 0x53C3, - { 0x88, 0x85, 0xCE, 0x2D, 0x78, 0xFE, 0xFF, 0xFC } + 0x0BFF79AB, + 0x0D63, + 0x5654, + { 0x8F, 0x44, 0xDB, 0xBD, 0xA6, 0x30, 0xFA, 0x30 } }; -#define I_AVN_USER_CONTROL_ABI_VERSION 10 +#define I_AVN_USER_CONTROL_ABI_VERSION 11 struct IAvnUserControlVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnUserControl* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnUserControl* self); /* slot 1 */ @@ -14672,53 +15272,59 @@ struct IAvnUserControlVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnUserControl* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnUserControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnUserControl* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnUserControl* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnUserControl* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnUserControl* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnUserControl* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnUserControl* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnUserControl* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnUserControl* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnUserControl* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnUserControl* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnUserControl* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnUserControl* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnUserControl* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnUserControl* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnUserControl* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnUserControl* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnUserControl* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnUserControl* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnUserControl* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnUserControl* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnUserControl* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnUserControl* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnUserControl* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnUserControl* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnUserControl* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnUserControl* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnUserControl* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnUserControl* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnUserControl* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_content)(IAvnUserControl* self, IAvnControl** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_content)(IAvnUserControl* self, IAvnControl* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnUserControl* self, IAvnDataTemplate** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnUserControl* self, IAvnDataTemplate* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnUserControl* self, int32_t* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnUserControl* self, int32_t value); /* slot 108 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnUserControl* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnUserControl* self, int32_t value); /* slot 110 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnUserControl* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnUserControl* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnUserControl* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnUserControl* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnUserControl* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnUserControl* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnUserControl* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnUserControl* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnUserControl* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnUserControl* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnUserControl* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnUserControl* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnUserControl* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnUserControl* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnUserControl* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnUserControl* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnUserControl* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnUserControl* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnUserControl* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnUserControl* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnUserControl* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnUserControl* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnUserControl* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnUserControl* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnUserControl* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnUserControl* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnUserControl* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnUserControl* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnUserControl* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnUserControl* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnUserControl* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnUserControl* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnUserControl* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnUserControl* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_content)(IAvnUserControl* self, IAvnControl** value); /* slot 109 */ + AvnHResult (AVN_CALL *set_content)(IAvnUserControl* self, IAvnControl* value); /* slot 110 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnUserControl* self, IAvnDataTemplate** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnUserControl* self, IAvnDataTemplate* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnUserControl* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnUserControl* self, int32_t value); /* slot 114 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnUserControl* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnUserControl* self, int32_t value); /* slot 116 */ }; struct IAvnUserControl { const IAvnUserControlVtbl* vtbl; }; -#define I_AVN_USER_CONTROL_VTABLE_SLOTS 111 +#define I_AVN_USER_CONTROL_VTABLE_SLOTS 117 static const AvnGuid I_AVN_VIEWBOX_IID = { - 0x3140444B, - 0x2172, - 0x5105, - { 0xB7, 0xAD, 0xD8, 0x10, 0xD5, 0x79, 0x4C, 0x13 } + 0x159B2487, + 0x78B8, + 0x5C1A, + { 0x93, 0x2D, 0xA6, 0x7C, 0x6E, 0x2E, 0x74, 0x20 } }; -#define I_AVN_VIEWBOX_ABI_VERSION 9 +#define I_AVN_VIEWBOX_ABI_VERSION 10 struct IAvnViewboxVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnViewbox* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnViewbox* self); /* slot 1 */ @@ -14795,23 +15401,29 @@ struct IAvnViewboxVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnViewbox* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnViewbox* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnViewbox* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_stretch)(IAvnViewbox* self, int32_t* value); /* slot 75 */ - AvnHResult (AVN_CALL *set_stretch)(IAvnViewbox* self, int32_t value); /* slot 76 */ - AvnHResult (AVN_CALL *get_stretch_direction)(IAvnViewbox* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_stretch_direction)(IAvnViewbox* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_child)(IAvnViewbox* self, IAvnControl** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_child)(IAvnViewbox* self, IAvnControl* value); /* slot 80 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnViewbox* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnViewbox* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnViewbox* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnViewbox* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnViewbox* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnViewbox* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_stretch)(IAvnViewbox* self, int32_t* value); /* slot 81 */ + AvnHResult (AVN_CALL *set_stretch)(IAvnViewbox* self, int32_t value); /* slot 82 */ + AvnHResult (AVN_CALL *get_stretch_direction)(IAvnViewbox* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_stretch_direction)(IAvnViewbox* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_child)(IAvnViewbox* self, IAvnControl** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_child)(IAvnViewbox* self, IAvnControl* value); /* slot 86 */ }; struct IAvnViewbox { const IAvnViewboxVtbl* vtbl; }; -#define I_AVN_VIEWBOX_VTABLE_SLOTS 81 +#define I_AVN_VIEWBOX_VTABLE_SLOTS 87 static const AvnGuid I_AVN_WINDOW_IID = { - 0x29E3362E, - 0xB16E, - 0x5163, - { 0xAE, 0xD3, 0xCF, 0x14, 0xD6, 0xB1, 0x27, 0x84 } + 0xBF221569, + 0x8214, + 0x5478, + { 0x95, 0x05, 0x0B, 0x21, 0xA2, 0x66, 0x35, 0x45 } }; -#define I_AVN_WINDOW_ABI_VERSION 19 +#define I_AVN_WINDOW_ABI_VERSION 20 struct IAvnWindowVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnWindow* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnWindow* self); /* slot 1 */ @@ -14888,94 +15500,100 @@ struct IAvnWindowVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnWindow* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnWindow* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnWindow* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnWindow* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnWindow* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnWindow* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnWindow* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnWindow* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnWindow* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnWindow* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnWindow* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnWindow* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnWindow* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnWindow* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnWindow* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnWindow* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnWindow* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnWindow* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnWindow* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnWindow* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnWindow* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnWindow* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnWindow* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnWindow* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnWindow* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnWindow* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnWindow* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnWindow* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnWindow* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnWindow* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnWindow* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_content)(IAvnWindow* self, IAvnControl** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_content)(IAvnWindow* self, IAvnControl* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnWindow* self, IAvnDataTemplate** value); /* slot 105 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnWindow* self, IAvnDataTemplate* value); /* slot 106 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnWindow* self, int32_t* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnWindow* self, int32_t value); /* slot 108 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnWindow* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnWindow* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_size_to_content)(IAvnWindow* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_size_to_content)(IAvnWindow* self, int32_t value); /* slot 112 */ - AvnHResult (AVN_CALL *get_title)(IAvnWindow* self, uint16_t** value); /* slot 113 */ - AvnHResult (AVN_CALL *set_title)(IAvnWindow* self, const uint16_t* value); /* slot 114 */ - AvnHResult (AVN_CALL *get_extend_client_area_to_decorations_hint)(IAvnWindow* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_extend_client_area_to_decorations_hint)(IAvnWindow* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_extend_client_area_title_bar_height_hint)(IAvnWindow* self, double* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_extend_client_area_title_bar_height_hint)(IAvnWindow* self, double value); /* slot 118 */ - AvnHResult (AVN_CALL *get_is_extended_into_window_decorations)(IAvnWindow* self, int32_t* value); /* slot 119 */ - AvnHResult (AVN_CALL *get_window_decoration_margin)(IAvnWindow* self, AvnThickness* value); /* slot 120 */ - AvnHResult (AVN_CALL *get_off_screen_margin)(IAvnWindow* self, AvnThickness* value); /* slot 121 */ - AvnHResult (AVN_CALL *get_window_decorations)(IAvnWindow* self, int32_t* value); /* slot 122 */ - AvnHResult (AVN_CALL *set_window_decorations)(IAvnWindow* self, int32_t value); /* slot 123 */ - AvnHResult (AVN_CALL *get_show_activated)(IAvnWindow* self, int32_t* value); /* slot 124 */ - AvnHResult (AVN_CALL *set_show_activated)(IAvnWindow* self, int32_t value); /* slot 125 */ - AvnHResult (AVN_CALL *get_show_in_taskbar)(IAvnWindow* self, int32_t* value); /* slot 126 */ - AvnHResult (AVN_CALL *set_show_in_taskbar)(IAvnWindow* self, int32_t value); /* slot 127 */ - AvnHResult (AVN_CALL *get_closing_behavior)(IAvnWindow* self, int32_t* value); /* slot 128 */ - AvnHResult (AVN_CALL *set_closing_behavior)(IAvnWindow* self, int32_t value); /* slot 129 */ - AvnHResult (AVN_CALL *get_window_state)(IAvnWindow* self, int32_t* value); /* slot 130 */ - AvnHResult (AVN_CALL *set_window_state)(IAvnWindow* self, int32_t value); /* slot 131 */ - AvnHResult (AVN_CALL *get_can_resize)(IAvnWindow* self, int32_t* value); /* slot 132 */ - AvnHResult (AVN_CALL *set_can_resize)(IAvnWindow* self, int32_t value); /* slot 133 */ - AvnHResult (AVN_CALL *get_can_minimize)(IAvnWindow* self, int32_t* value); /* slot 134 */ - AvnHResult (AVN_CALL *set_can_minimize)(IAvnWindow* self, int32_t value); /* slot 135 */ - AvnHResult (AVN_CALL *get_can_maximize)(IAvnWindow* self, int32_t* value); /* slot 136 */ - AvnHResult (AVN_CALL *set_can_maximize)(IAvnWindow* self, int32_t value); /* slot 137 */ - AvnHResult (AVN_CALL *get_icon)(IAvnWindow* self, uint16_t** value); /* slot 138 */ - AvnHResult (AVN_CALL *set_icon)(IAvnWindow* self, const uint16_t* value); /* slot 139 */ - AvnHResult (AVN_CALL *get_window_startup_location)(IAvnWindow* self, int32_t* value); /* slot 140 */ - AvnHResult (AVN_CALL *set_window_startup_location)(IAvnWindow* self, int32_t value); /* slot 141 */ - AvnHResult (AVN_CALL *get_position)(IAvnWindow* self, AvnPixelPoint* value); /* slot 142 */ - AvnHResult (AVN_CALL *set_position)(IAvnWindow* self, AvnPixelPoint value); /* slot 143 */ - AvnHResult (AVN_CALL *get_is_dialog)(IAvnWindow* self, int32_t* value); /* slot 144 */ - AvnHResult (AVN_CALL *close)(IAvnWindow* self); /* slot 145 */ - AvnHResult (AVN_CALL *close_with_object)(IAvnWindow* self, AvnVariant dialog_result); /* slot 146 */ - AvnHResult (AVN_CALL *hide)(IAvnWindow* self); /* slot 147 */ - AvnHResult (AVN_CALL *show)(IAvnWindow* self); /* slot 148 */ - AvnHResult (AVN_CALL *show_with_window)(IAvnWindow* self, IAvnWindow* owner); /* slot 149 */ - AvnHResult (AVN_CALL *advise_closing)(IAvnWindow* self, IAvnWindowClosingHandler* handler, int64_t* subscription_id); /* slot 150 */ - AvnHResult (AVN_CALL *unadvise_closing)(IAvnWindow* self, int64_t subscription_id); /* slot 151 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnWindow* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnWindow* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnWindow* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnWindow* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnWindow* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnWindow* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnWindow* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnWindow* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnWindow* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnWindow* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnWindow* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnWindow* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnWindow* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnWindow* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnWindow* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnWindow* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnWindow* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnWindow* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnWindow* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnWindow* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnWindow* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnWindow* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnWindow* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnWindow* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnWindow* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnWindow* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnWindow* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnWindow* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnWindow* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnWindow* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnWindow* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnWindow* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnWindow* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnWindow* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_content)(IAvnWindow* self, IAvnControl** value); /* slot 109 */ + AvnHResult (AVN_CALL *set_content)(IAvnWindow* self, IAvnControl* value); /* slot 110 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnWindow* self, IAvnDataTemplate** value); /* slot 111 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnWindow* self, IAvnDataTemplate* value); /* slot 112 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnWindow* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnWindow* self, int32_t value); /* slot 114 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnWindow* self, int32_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnWindow* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_size_to_content)(IAvnWindow* self, int32_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *set_size_to_content)(IAvnWindow* self, int32_t value); /* slot 118 */ + AvnHResult (AVN_CALL *get_title)(IAvnWindow* self, uint16_t** value); /* slot 119 */ + AvnHResult (AVN_CALL *set_title)(IAvnWindow* self, const uint16_t* value); /* slot 120 */ + AvnHResult (AVN_CALL *get_extend_client_area_to_decorations_hint)(IAvnWindow* self, int32_t* value); /* slot 121 */ + AvnHResult (AVN_CALL *set_extend_client_area_to_decorations_hint)(IAvnWindow* self, int32_t value); /* slot 122 */ + AvnHResult (AVN_CALL *get_extend_client_area_title_bar_height_hint)(IAvnWindow* self, double* value); /* slot 123 */ + AvnHResult (AVN_CALL *set_extend_client_area_title_bar_height_hint)(IAvnWindow* self, double value); /* slot 124 */ + AvnHResult (AVN_CALL *get_is_extended_into_window_decorations)(IAvnWindow* self, int32_t* value); /* slot 125 */ + AvnHResult (AVN_CALL *get_window_decoration_margin)(IAvnWindow* self, AvnThickness* value); /* slot 126 */ + AvnHResult (AVN_CALL *get_off_screen_margin)(IAvnWindow* self, AvnThickness* value); /* slot 127 */ + AvnHResult (AVN_CALL *get_window_decorations)(IAvnWindow* self, int32_t* value); /* slot 128 */ + AvnHResult (AVN_CALL *set_window_decorations)(IAvnWindow* self, int32_t value); /* slot 129 */ + AvnHResult (AVN_CALL *get_show_activated)(IAvnWindow* self, int32_t* value); /* slot 130 */ + AvnHResult (AVN_CALL *set_show_activated)(IAvnWindow* self, int32_t value); /* slot 131 */ + AvnHResult (AVN_CALL *get_show_in_taskbar)(IAvnWindow* self, int32_t* value); /* slot 132 */ + AvnHResult (AVN_CALL *set_show_in_taskbar)(IAvnWindow* self, int32_t value); /* slot 133 */ + AvnHResult (AVN_CALL *get_closing_behavior)(IAvnWindow* self, int32_t* value); /* slot 134 */ + AvnHResult (AVN_CALL *set_closing_behavior)(IAvnWindow* self, int32_t value); /* slot 135 */ + AvnHResult (AVN_CALL *get_window_state)(IAvnWindow* self, int32_t* value); /* slot 136 */ + AvnHResult (AVN_CALL *set_window_state)(IAvnWindow* self, int32_t value); /* slot 137 */ + AvnHResult (AVN_CALL *get_can_resize)(IAvnWindow* self, int32_t* value); /* slot 138 */ + AvnHResult (AVN_CALL *set_can_resize)(IAvnWindow* self, int32_t value); /* slot 139 */ + AvnHResult (AVN_CALL *get_can_minimize)(IAvnWindow* self, int32_t* value); /* slot 140 */ + AvnHResult (AVN_CALL *set_can_minimize)(IAvnWindow* self, int32_t value); /* slot 141 */ + AvnHResult (AVN_CALL *get_can_maximize)(IAvnWindow* self, int32_t* value); /* slot 142 */ + AvnHResult (AVN_CALL *set_can_maximize)(IAvnWindow* self, int32_t value); /* slot 143 */ + AvnHResult (AVN_CALL *get_icon)(IAvnWindow* self, uint16_t** value); /* slot 144 */ + AvnHResult (AVN_CALL *set_icon)(IAvnWindow* self, const uint16_t* value); /* slot 145 */ + AvnHResult (AVN_CALL *get_window_startup_location)(IAvnWindow* self, int32_t* value); /* slot 146 */ + AvnHResult (AVN_CALL *set_window_startup_location)(IAvnWindow* self, int32_t value); /* slot 147 */ + AvnHResult (AVN_CALL *get_position)(IAvnWindow* self, AvnPixelPoint* value); /* slot 148 */ + AvnHResult (AVN_CALL *set_position)(IAvnWindow* self, AvnPixelPoint value); /* slot 149 */ + AvnHResult (AVN_CALL *get_is_dialog)(IAvnWindow* self, int32_t* value); /* slot 150 */ + AvnHResult (AVN_CALL *close)(IAvnWindow* self); /* slot 151 */ + AvnHResult (AVN_CALL *close_with_object)(IAvnWindow* self, AvnVariant dialog_result); /* slot 152 */ + AvnHResult (AVN_CALL *hide)(IAvnWindow* self); /* slot 153 */ + AvnHResult (AVN_CALL *show)(IAvnWindow* self); /* slot 154 */ + AvnHResult (AVN_CALL *show_with_window)(IAvnWindow* self, IAvnWindow* owner); /* slot 155 */ + AvnHResult (AVN_CALL *advise_closing)(IAvnWindow* self, IAvnWindowClosingHandler* handler, int64_t* subscription_id); /* slot 156 */ + AvnHResult (AVN_CALL *unadvise_closing)(IAvnWindow* self, int64_t subscription_id); /* slot 157 */ }; struct IAvnWindow { const IAvnWindowVtbl* vtbl; }; -#define I_AVN_WINDOW_VTABLE_SLOTS 152 +#define I_AVN_WINDOW_VTABLE_SLOTS 158 static const AvnGuid I_AVN_WINDOW_NOTIFICATION_MANAGER_IID = { - 0x7C085288, - 0x6201, - 0x58A3, - { 0xBD, 0x39, 0x14, 0xF2, 0x36, 0x96, 0x50, 0x4B } + 0x2EECEA93, + 0x798A, + 0x57D8, + { 0x9E, 0xD9, 0x91, 0xC4, 0xEA, 0x6D, 0x28, 0x2F } }; -#define I_AVN_WINDOW_NOTIFICATION_MANAGER_ABI_VERSION 11 +#define I_AVN_WINDOW_NOTIFICATION_MANAGER_ABI_VERSION 12 struct IAvnWindowNotificationManagerVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnWindowNotificationManager* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnWindowNotificationManager* self); /* slot 1 */ @@ -15052,54 +15670,60 @@ struct IAvnWindowNotificationManagerVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnWindowNotificationManager* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnWindowNotificationManager* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnWindowNotificationManager* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_background)(IAvnWindowNotificationManager* self, IAvnBrush** value); /* slot 75 */ - AvnHResult (AVN_CALL *set_background)(IAvnWindowNotificationManager* self, IAvnBrush* value); /* slot 76 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnWindowNotificationManager* self, int32_t* value); /* slot 77 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnWindowNotificationManager* self, int32_t value); /* slot 78 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnWindowNotificationManager* self, IAvnBrush** value); /* slot 79 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnWindowNotificationManager* self, IAvnBrush* value); /* slot 80 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnWindowNotificationManager* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnWindowNotificationManager* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnWindowNotificationManager* self, AvnCornerRadius* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnWindowNotificationManager* self, AvnCornerRadius value); /* slot 84 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnWindowNotificationManager* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnWindowNotificationManager* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnWindowNotificationManager* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnWindowNotificationManager* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnWindowNotificationManager* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnWindowNotificationManager* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnWindowNotificationManager* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnWindowNotificationManager* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnWindowNotificationManager* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnWindowNotificationManager* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnWindowNotificationManager* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnWindowNotificationManager* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnWindowNotificationManager* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnWindowNotificationManager* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnWindowNotificationManager* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnWindowNotificationManager* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_padding)(IAvnWindowNotificationManager* self, AvnThickness* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_padding)(IAvnWindowNotificationManager* self, AvnThickness value); /* slot 102 */ - AvnHResult (AVN_CALL *get_position)(IAvnWindowNotificationManager* self, int32_t* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_position)(IAvnWindowNotificationManager* self, int32_t value); /* slot 104 */ - AvnHResult (AVN_CALL *get_max_items)(IAvnWindowNotificationManager* self, int32_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_max_items)(IAvnWindowNotificationManager* self, int32_t value); /* slot 106 */ - AvnHResult (AVN_CALL *show_with_i_notification)(IAvnWindowNotificationManager* self, IAvnNotification* content); /* slot 107 */ - AvnHResult (AVN_CALL *show_with_object)(IAvnWindowNotificationManager* self, AvnVariant content); /* slot 108 */ - AvnHResult (AVN_CALL *close_with_i_notification)(IAvnWindowNotificationManager* self, IAvnNotification* notification); /* slot 109 */ - AvnHResult (AVN_CALL *close_with_object)(IAvnWindowNotificationManager* self, AvnVariant content); /* slot 110 */ - AvnHResult (AVN_CALL *close_all)(IAvnWindowNotificationManager* self); /* slot 111 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnWindowNotificationManager* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnWindowNotificationManager* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnWindowNotificationManager* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnWindowNotificationManager* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnWindowNotificationManager* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnWindowNotificationManager* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_background)(IAvnWindowNotificationManager* self, IAvnBrush** value); /* slot 81 */ + AvnHResult (AVN_CALL *set_background)(IAvnWindowNotificationManager* self, IAvnBrush* value); /* slot 82 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnWindowNotificationManager* self, int32_t* value); /* slot 83 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnWindowNotificationManager* self, int32_t value); /* slot 84 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnWindowNotificationManager* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnWindowNotificationManager* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnWindowNotificationManager* self, AvnThickness* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnWindowNotificationManager* self, AvnThickness value); /* slot 88 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnWindowNotificationManager* self, AvnCornerRadius* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnWindowNotificationManager* self, AvnCornerRadius value); /* slot 90 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnWindowNotificationManager* self, uint16_t** value); /* slot 91 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnWindowNotificationManager* self, const uint16_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnWindowNotificationManager* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnWindowNotificationManager* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnWindowNotificationManager* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnWindowNotificationManager* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnWindowNotificationManager* self, int32_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnWindowNotificationManager* self, int32_t value); /* slot 98 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnWindowNotificationManager* self, int32_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnWindowNotificationManager* self, int32_t value); /* slot 100 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnWindowNotificationManager* self, int32_t* value); /* slot 101 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnWindowNotificationManager* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnWindowNotificationManager* self, IAvnBrush** value); /* slot 103 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnWindowNotificationManager* self, IAvnBrush* value); /* slot 104 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnWindowNotificationManager* self, double* value); /* slot 105 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnWindowNotificationManager* self, double value); /* slot 106 */ + AvnHResult (AVN_CALL *get_padding)(IAvnWindowNotificationManager* self, AvnThickness* value); /* slot 107 */ + AvnHResult (AVN_CALL *set_padding)(IAvnWindowNotificationManager* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_position)(IAvnWindowNotificationManager* self, int32_t* value); /* slot 109 */ + AvnHResult (AVN_CALL *set_position)(IAvnWindowNotificationManager* self, int32_t value); /* slot 110 */ + AvnHResult (AVN_CALL *get_max_items)(IAvnWindowNotificationManager* self, int32_t* value); /* slot 111 */ + AvnHResult (AVN_CALL *set_max_items)(IAvnWindowNotificationManager* self, int32_t value); /* slot 112 */ + AvnHResult (AVN_CALL *show_with_i_notification)(IAvnWindowNotificationManager* self, IAvnNotification* content); /* slot 113 */ + AvnHResult (AVN_CALL *show_with_object)(IAvnWindowNotificationManager* self, AvnVariant content); /* slot 114 */ + AvnHResult (AVN_CALL *close_with_i_notification)(IAvnWindowNotificationManager* self, IAvnNotification* notification); /* slot 115 */ + AvnHResult (AVN_CALL *close_with_object)(IAvnWindowNotificationManager* self, AvnVariant content); /* slot 116 */ + AvnHResult (AVN_CALL *close_all)(IAvnWindowNotificationManager* self); /* slot 117 */ }; struct IAvnWindowNotificationManager { const IAvnWindowNotificationManagerVtbl* vtbl; }; -#define I_AVN_WINDOW_NOTIFICATION_MANAGER_VTABLE_SLOTS 112 +#define I_AVN_WINDOW_NOTIFICATION_MANAGER_VTABLE_SLOTS 118 static const AvnGuid I_AVN_WRAP_PANEL_IID = { - 0x802A39C5, - 0x57F6, - 0x5E1A, - { 0x9D, 0xA8, 0x02, 0x63, 0x45, 0x71, 0xCF, 0x6D } + 0xFE3C3653, + 0x52AA, + 0x529D, + { 0x8A, 0xCE, 0x7F, 0x54, 0xE7, 0xD7, 0x43, 0x87 } }; -#define I_AVN_WRAP_PANEL_ABI_VERSION 9 +#define I_AVN_WRAP_PANEL_ABI_VERSION 10 struct IAvnWrapPanelVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnWrapPanel* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnWrapPanel* self); /* slot 1 */ @@ -15176,24 +15800,30 @@ struct IAvnWrapPanelVtbl { AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnWrapPanel* self, int64_t subscription_id); /* slot 72 */ AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnWrapPanel* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnWrapPanel* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *get_children)(IAvnWrapPanel* self, IAvnControlList** value); /* slot 75 */ - AvnHResult (AVN_CALL *get_background)(IAvnWrapPanel* self, IAvnBrush** value); /* slot 76 */ - AvnHResult (AVN_CALL *set_background)(IAvnWrapPanel* self, IAvnBrush* value); /* slot 77 */ - AvnHResult (AVN_CALL *get_item_spacing)(IAvnWrapPanel* self, double* value); /* slot 78 */ - AvnHResult (AVN_CALL *set_item_spacing)(IAvnWrapPanel* self, double value); /* slot 79 */ - AvnHResult (AVN_CALL *get_line_spacing)(IAvnWrapPanel* self, double* value); /* slot 80 */ - AvnHResult (AVN_CALL *set_line_spacing)(IAvnWrapPanel* self, double value); /* slot 81 */ - AvnHResult (AVN_CALL *get_orientation)(IAvnWrapPanel* self, int32_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *set_orientation)(IAvnWrapPanel* self, int32_t value); /* slot 83 */ - AvnHResult (AVN_CALL *get_items_alignment)(IAvnWrapPanel* self, int32_t* value); /* slot 84 */ - AvnHResult (AVN_CALL *set_items_alignment)(IAvnWrapPanel* self, int32_t value); /* slot 85 */ - AvnHResult (AVN_CALL *get_item_width)(IAvnWrapPanel* self, double* value); /* slot 86 */ - AvnHResult (AVN_CALL *set_item_width)(IAvnWrapPanel* self, double value); /* slot 87 */ - AvnHResult (AVN_CALL *get_item_height)(IAvnWrapPanel* self, double* value); /* slot 88 */ - AvnHResult (AVN_CALL *set_item_height)(IAvnWrapPanel* self, double value); /* slot 89 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnWrapPanel* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnWrapPanel* self, int64_t subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnWrapPanel* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnWrapPanel* self, int64_t subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnWrapPanel* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnWrapPanel* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_children)(IAvnWrapPanel* self, IAvnControlList** value); /* slot 81 */ + AvnHResult (AVN_CALL *get_background)(IAvnWrapPanel* self, IAvnBrush** value); /* slot 82 */ + AvnHResult (AVN_CALL *set_background)(IAvnWrapPanel* self, IAvnBrush* value); /* slot 83 */ + AvnHResult (AVN_CALL *get_item_spacing)(IAvnWrapPanel* self, double* value); /* slot 84 */ + AvnHResult (AVN_CALL *set_item_spacing)(IAvnWrapPanel* self, double value); /* slot 85 */ + AvnHResult (AVN_CALL *get_line_spacing)(IAvnWrapPanel* self, double* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_line_spacing)(IAvnWrapPanel* self, double value); /* slot 87 */ + AvnHResult (AVN_CALL *get_orientation)(IAvnWrapPanel* self, int32_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *set_orientation)(IAvnWrapPanel* self, int32_t value); /* slot 89 */ + AvnHResult (AVN_CALL *get_items_alignment)(IAvnWrapPanel* self, int32_t* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_items_alignment)(IAvnWrapPanel* self, int32_t value); /* slot 91 */ + AvnHResult (AVN_CALL *get_item_width)(IAvnWrapPanel* self, double* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_item_width)(IAvnWrapPanel* self, double value); /* slot 93 */ + AvnHResult (AVN_CALL *get_item_height)(IAvnWrapPanel* self, double* value); /* slot 94 */ + AvnHResult (AVN_CALL *set_item_height)(IAvnWrapPanel* self, double value); /* slot 95 */ }; struct IAvnWrapPanel { const IAvnWrapPanelVtbl* vtbl; }; -#define I_AVN_WRAP_PANEL_VTABLE_SLOTS 90 +#define I_AVN_WRAP_PANEL_VTABLE_SLOTS 96 static const AvnGuid I_AVN_CANVAS_STATICS_IID = { 0x5F4ABE7B, diff --git a/rust/avalonia-sys/src/.avalonia-bindgen.owned.json b/rust/avalonia-sys/src/.avalonia-bindgen.owned.json index 53b88a0..6e43868 100644 --- a/rust/avalonia-sys/src/.avalonia-bindgen.owned.json +++ b/rust/avalonia-sys/src/.avalonia-bindgen.owned.json @@ -3,7 +3,7 @@ "files": [ { "path": "generated.rs", - "sha256": "c0ddac61ff7c3e1845b2c88528f56dc96dea44a8d9e416a007b2806547d8a524" + "sha256": "a6f4e02905602a59c0ed11dcd9c9d1715586d89fec14b9895e06e9fab798b10e" } ] } diff --git a/rust/avalonia-sys/src/generated.rs b/rust/avalonia-sys/src/generated.rs index 89cf761..7de5284 100644 --- a/rust/avalonia-sys/src/generated.rs +++ b/rust/avalonia-sys/src/generated.rs @@ -2642,31 +2642,23 @@ unsafe extern "system" fn i_avn_control_key_up_handler_invoke(this: *mut IAvnCon pub const I_AVN_CONTROL_POINTER_ENTERED_HANDLER_IID: Guid = Guid { data1: 0xCC8694AC, data2: 0xC51C, data3: 0x5791, data4: [0xA8, 0x98, 0x1B, 0x0D, 0xE4, 0xD8, 0x4D, 0xC8] }; +#[derive(Debug)] +pub struct ControlPointerEnteredEventArgs { + pub key_modifiers: i32, +} + #[repr(C)] struct IAvnControlPointerEnteredHandlerVtbl { query_interface: unsafe extern "system" fn(*mut IUnknown, *const Guid, *mut *mut c_void) -> i32, add_ref: unsafe extern "system" fn(*mut IUnknown) -> u32, release: unsafe extern "system" fn(*mut IUnknown) -> u32, - invoke: unsafe extern "system" fn(*mut IAvnControlPointerEnteredHandler) -> i32, + invoke: unsafe extern "system" fn(*mut IAvnControlPointerEnteredHandler, key_modifiers: i32) -> i32, } #[repr(C)] -pub struct IAvnControlPointerEnteredHandler { - vtbl: *const IAvnControlPointerEnteredHandlerVtbl, -} +pub struct IAvnControlPointerEnteredHandler { vtbl: *const IAvnControlPointerEnteredHandlerVtbl } -unsafe impl ComInterface for IAvnControlPointerEnteredHandler { - const IID: Guid = I_AVN_CONTROL_POINTER_ENTERED_HANDLER_IID; -} - -impl ComPtr { - pub fn invoke(&self) -> Result<()> { - unsafe { - let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().invoke)(self.as_raw()); - hresult::check(hr) - } - } -} +unsafe impl ComInterface for IAvnControlPointerEnteredHandler { const IID: Guid = I_AVN_CONTROL_POINTER_ENTERED_HANDLER_IID; } static I_AVN_CONTROL_POINTER_ENTERED_HANDLER_VTBL: IAvnControlPointerEnteredHandlerVtbl = IAvnControlPointerEnteredHandlerVtbl { query_interface: i_avn_control_pointer_entered_handler_query_interface, @@ -2675,46 +2667,213 @@ static I_AVN_CONTROL_POINTER_ENTERED_HANDLER_VTBL: IAvnControlPointerEnteredHand invoke: i_avn_control_pointer_entered_handler_invoke, }; -pub fn control_pointer_entered_handler(mut callback: impl FnMut() -> Result<()> + Send + 'static) -> ComPtr { - crate::event_callback::create::(IAvnControlPointerEnteredHandler { vtbl: &I_AVN_CONTROL_POINTER_ENTERED_HANDLER_VTBL }, move |_| callback()) +pub fn control_pointer_entered_handler(callback: impl FnMut(&mut ControlPointerEnteredEventArgs) -> Result<()> + Send + 'static) -> ComPtr { + crate::event_callback::create(IAvnControlPointerEnteredHandler { vtbl: &I_AVN_CONTROL_POINTER_ENTERED_HANDLER_VTBL }, callback) } unsafe extern "system" fn i_avn_control_pointer_entered_handler_query_interface(this: *mut IUnknown, iid: *const Guid, result: *mut *mut c_void) -> i32 { - crate::event_callback::query_interface::(this, iid, result) + crate::event_callback::query_interface::(this, iid, result) } unsafe extern "system" fn i_avn_control_pointer_entered_handler_add_ref(this: *mut IUnknown) -> u32 { - crate::event_callback::add_ref::(this) + crate::event_callback::add_ref::(this) } unsafe extern "system" fn i_avn_control_pointer_entered_handler_release(this: *mut IUnknown) -> u32 { - crate::event_callback::release::(this) + crate::event_callback::release::(this) } -unsafe extern "system" fn i_avn_control_pointer_entered_handler_invoke(this: *mut IAvnControlPointerEnteredHandler) -> i32 { - crate::event_callback::invoke::(this, &mut ()) +unsafe extern "system" fn i_avn_control_pointer_entered_handler_invoke(this: *mut IAvnControlPointerEnteredHandler, key_modifiers: i32) -> i32 { + let mut arguments = ControlPointerEnteredEventArgs { + key_modifiers, + }; + let hr = crate::event_callback::invoke::(this, &mut arguments); + if hr >= 0 { + } + hr } pub const I_AVN_CONTROL_POINTER_EXITED_HANDLER_IID: Guid = Guid { data1: 0x218295EF, data2: 0xA88D, data3: 0x5B93, data4: [0x8A, 0x33, 0x97, 0xAB, 0xD4, 0x1E, 0x66, 0x45] }; +#[derive(Debug)] +pub struct ControlPointerExitedEventArgs { + pub key_modifiers: i32, +} + #[repr(C)] struct IAvnControlPointerExitedHandlerVtbl { query_interface: unsafe extern "system" fn(*mut IUnknown, *const Guid, *mut *mut c_void) -> i32, add_ref: unsafe extern "system" fn(*mut IUnknown) -> u32, release: unsafe extern "system" fn(*mut IUnknown) -> u32, - invoke: unsafe extern "system" fn(*mut IAvnControlPointerExitedHandler) -> i32, + invoke: unsafe extern "system" fn(*mut IAvnControlPointerExitedHandler, key_modifiers: i32) -> i32, +} + +#[repr(C)] +pub struct IAvnControlPointerExitedHandler { vtbl: *const IAvnControlPointerExitedHandlerVtbl } + +unsafe impl ComInterface for IAvnControlPointerExitedHandler { const IID: Guid = I_AVN_CONTROL_POINTER_EXITED_HANDLER_IID; } + +static I_AVN_CONTROL_POINTER_EXITED_HANDLER_VTBL: IAvnControlPointerExitedHandlerVtbl = IAvnControlPointerExitedHandlerVtbl { + query_interface: i_avn_control_pointer_exited_handler_query_interface, + add_ref: i_avn_control_pointer_exited_handler_add_ref, + release: i_avn_control_pointer_exited_handler_release, + invoke: i_avn_control_pointer_exited_handler_invoke, +}; + +pub fn control_pointer_exited_handler(callback: impl FnMut(&mut ControlPointerExitedEventArgs) -> Result<()> + Send + 'static) -> ComPtr { + crate::event_callback::create(IAvnControlPointerExitedHandler { vtbl: &I_AVN_CONTROL_POINTER_EXITED_HANDLER_VTBL }, callback) +} + +unsafe extern "system" fn i_avn_control_pointer_exited_handler_query_interface(this: *mut IUnknown, iid: *const Guid, result: *mut *mut c_void) -> i32 { + crate::event_callback::query_interface::(this, iid, result) +} + +unsafe extern "system" fn i_avn_control_pointer_exited_handler_add_ref(this: *mut IUnknown) -> u32 { + crate::event_callback::add_ref::(this) +} + +unsafe extern "system" fn i_avn_control_pointer_exited_handler_release(this: *mut IUnknown) -> u32 { + crate::event_callback::release::(this) +} + +unsafe extern "system" fn i_avn_control_pointer_exited_handler_invoke(this: *mut IAvnControlPointerExitedHandler, key_modifiers: i32) -> i32 { + let mut arguments = ControlPointerExitedEventArgs { + key_modifiers, + }; + let hr = crate::event_callback::invoke::(this, &mut arguments); + if hr >= 0 { + } + hr +} + +pub const I_AVN_CONTROL_POINTER_WHEEL_CHANGED_HANDLER_IID: Guid = Guid { data1: 0x4318E60A, data2: 0x86C6, data3: 0x5142, data4: [0x86, 0x00, 0x0D, 0x61, 0xAA, 0x20, 0xCE, 0x93] }; + +#[derive(Debug)] +pub struct ControlPointerWheelChangedEventArgs { + pub delta: AvnVector, + pub key_modifiers: i32, +} + +#[repr(C)] +struct IAvnControlPointerWheelChangedHandlerVtbl { + query_interface: unsafe extern "system" fn(*mut IUnknown, *const Guid, *mut *mut c_void) -> i32, + add_ref: unsafe extern "system" fn(*mut IUnknown) -> u32, + release: unsafe extern "system" fn(*mut IUnknown) -> u32, + invoke: unsafe extern "system" fn(*mut IAvnControlPointerWheelChangedHandler, delta: AvnVector, key_modifiers: i32) -> i32, +} + +#[repr(C)] +pub struct IAvnControlPointerWheelChangedHandler { vtbl: *const IAvnControlPointerWheelChangedHandlerVtbl } + +unsafe impl ComInterface for IAvnControlPointerWheelChangedHandler { const IID: Guid = I_AVN_CONTROL_POINTER_WHEEL_CHANGED_HANDLER_IID; } + +static I_AVN_CONTROL_POINTER_WHEEL_CHANGED_HANDLER_VTBL: IAvnControlPointerWheelChangedHandlerVtbl = IAvnControlPointerWheelChangedHandlerVtbl { + query_interface: i_avn_control_pointer_wheel_changed_handler_query_interface, + add_ref: i_avn_control_pointer_wheel_changed_handler_add_ref, + release: i_avn_control_pointer_wheel_changed_handler_release, + invoke: i_avn_control_pointer_wheel_changed_handler_invoke, +}; + +pub fn control_pointer_wheel_changed_handler(callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) -> Result<()> + Send + 'static) -> ComPtr { + crate::event_callback::create(IAvnControlPointerWheelChangedHandler { vtbl: &I_AVN_CONTROL_POINTER_WHEEL_CHANGED_HANDLER_VTBL }, callback) +} + +unsafe extern "system" fn i_avn_control_pointer_wheel_changed_handler_query_interface(this: *mut IUnknown, iid: *const Guid, result: *mut *mut c_void) -> i32 { + crate::event_callback::query_interface::(this, iid, result) +} + +unsafe extern "system" fn i_avn_control_pointer_wheel_changed_handler_add_ref(this: *mut IUnknown) -> u32 { + crate::event_callback::add_ref::(this) +} + +unsafe extern "system" fn i_avn_control_pointer_wheel_changed_handler_release(this: *mut IUnknown) -> u32 { + crate::event_callback::release::(this) +} + +unsafe extern "system" fn i_avn_control_pointer_wheel_changed_handler_invoke(this: *mut IAvnControlPointerWheelChangedHandler, delta: AvnVector, key_modifiers: i32) -> i32 { + let mut arguments = ControlPointerWheelChangedEventArgs { + delta, + key_modifiers, + }; + let hr = crate::event_callback::invoke::(this, &mut arguments); + if hr >= 0 { + } + hr +} + +pub const I_AVN_CONTROL_TAPPED_HANDLER_IID: Guid = Guid { data1: 0x7784D53F, data2: 0xFAEE, data3: 0x5089, data4: [0x88, 0x44, 0xC9, 0xF5, 0xCC, 0x3E, 0x86, 0x32] }; + +#[derive(Debug)] +pub struct ControlTappedEventArgs { + pub key_modifiers: i32, +} + +#[repr(C)] +struct IAvnControlTappedHandlerVtbl { + query_interface: unsafe extern "system" fn(*mut IUnknown, *const Guid, *mut *mut c_void) -> i32, + add_ref: unsafe extern "system" fn(*mut IUnknown) -> u32, + release: unsafe extern "system" fn(*mut IUnknown) -> u32, + invoke: unsafe extern "system" fn(*mut IAvnControlTappedHandler, key_modifiers: i32) -> i32, +} + +#[repr(C)] +pub struct IAvnControlTappedHandler { vtbl: *const IAvnControlTappedHandlerVtbl } + +unsafe impl ComInterface for IAvnControlTappedHandler { const IID: Guid = I_AVN_CONTROL_TAPPED_HANDLER_IID; } + +static I_AVN_CONTROL_TAPPED_HANDLER_VTBL: IAvnControlTappedHandlerVtbl = IAvnControlTappedHandlerVtbl { + query_interface: i_avn_control_tapped_handler_query_interface, + add_ref: i_avn_control_tapped_handler_add_ref, + release: i_avn_control_tapped_handler_release, + invoke: i_avn_control_tapped_handler_invoke, +}; + +pub fn control_tapped_handler(callback: impl FnMut(&mut ControlTappedEventArgs) -> Result<()> + Send + 'static) -> ComPtr { + crate::event_callback::create(IAvnControlTappedHandler { vtbl: &I_AVN_CONTROL_TAPPED_HANDLER_VTBL }, callback) +} + +unsafe extern "system" fn i_avn_control_tapped_handler_query_interface(this: *mut IUnknown, iid: *const Guid, result: *mut *mut c_void) -> i32 { + crate::event_callback::query_interface::(this, iid, result) +} + +unsafe extern "system" fn i_avn_control_tapped_handler_add_ref(this: *mut IUnknown) -> u32 { + crate::event_callback::add_ref::(this) +} + +unsafe extern "system" fn i_avn_control_tapped_handler_release(this: *mut IUnknown) -> u32 { + crate::event_callback::release::(this) +} + +unsafe extern "system" fn i_avn_control_tapped_handler_invoke(this: *mut IAvnControlTappedHandler, key_modifiers: i32) -> i32 { + let mut arguments = ControlTappedEventArgs { + key_modifiers, + }; + let hr = crate::event_callback::invoke::(this, &mut arguments); + if hr >= 0 { + } + hr +} + +pub const I_AVN_CONTROL_DOUBLE_TAPPED_HANDLER_IID: Guid = Guid { data1: 0x11D5E069, data2: 0xAEFD, data3: 0x566B, data4: [0x92, 0xCC, 0xCD, 0xB4, 0x83, 0x87, 0x7C, 0x33] }; + +#[repr(C)] +struct IAvnControlDoubleTappedHandlerVtbl { + query_interface: unsafe extern "system" fn(*mut IUnknown, *const Guid, *mut *mut c_void) -> i32, + add_ref: unsafe extern "system" fn(*mut IUnknown) -> u32, + release: unsafe extern "system" fn(*mut IUnknown) -> u32, + invoke: unsafe extern "system" fn(*mut IAvnControlDoubleTappedHandler) -> i32, } #[repr(C)] -pub struct IAvnControlPointerExitedHandler { - vtbl: *const IAvnControlPointerExitedHandlerVtbl, +pub struct IAvnControlDoubleTappedHandler { + vtbl: *const IAvnControlDoubleTappedHandlerVtbl, } -unsafe impl ComInterface for IAvnControlPointerExitedHandler { - const IID: Guid = I_AVN_CONTROL_POINTER_EXITED_HANDLER_IID; +unsafe impl ComInterface for IAvnControlDoubleTappedHandler { + const IID: Guid = I_AVN_CONTROL_DOUBLE_TAPPED_HANDLER_IID; } -impl ComPtr { +impl ComPtr { pub fn invoke(&self) -> Result<()> { unsafe { let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().invoke)(self.as_raw()); @@ -2723,31 +2882,31 @@ impl ComPtr { } } -static I_AVN_CONTROL_POINTER_EXITED_HANDLER_VTBL: IAvnControlPointerExitedHandlerVtbl = IAvnControlPointerExitedHandlerVtbl { - query_interface: i_avn_control_pointer_exited_handler_query_interface, - add_ref: i_avn_control_pointer_exited_handler_add_ref, - release: i_avn_control_pointer_exited_handler_release, - invoke: i_avn_control_pointer_exited_handler_invoke, +static I_AVN_CONTROL_DOUBLE_TAPPED_HANDLER_VTBL: IAvnControlDoubleTappedHandlerVtbl = IAvnControlDoubleTappedHandlerVtbl { + query_interface: i_avn_control_double_tapped_handler_query_interface, + add_ref: i_avn_control_double_tapped_handler_add_ref, + release: i_avn_control_double_tapped_handler_release, + invoke: i_avn_control_double_tapped_handler_invoke, }; -pub fn control_pointer_exited_handler(mut callback: impl FnMut() -> Result<()> + Send + 'static) -> ComPtr { - crate::event_callback::create::(IAvnControlPointerExitedHandler { vtbl: &I_AVN_CONTROL_POINTER_EXITED_HANDLER_VTBL }, move |_| callback()) +pub fn control_double_tapped_handler(mut callback: impl FnMut() -> Result<()> + Send + 'static) -> ComPtr { + crate::event_callback::create::(IAvnControlDoubleTappedHandler { vtbl: &I_AVN_CONTROL_DOUBLE_TAPPED_HANDLER_VTBL }, move |_| callback()) } -unsafe extern "system" fn i_avn_control_pointer_exited_handler_query_interface(this: *mut IUnknown, iid: *const Guid, result: *mut *mut c_void) -> i32 { - crate::event_callback::query_interface::(this, iid, result) +unsafe extern "system" fn i_avn_control_double_tapped_handler_query_interface(this: *mut IUnknown, iid: *const Guid, result: *mut *mut c_void) -> i32 { + crate::event_callback::query_interface::(this, iid, result) } -unsafe extern "system" fn i_avn_control_pointer_exited_handler_add_ref(this: *mut IUnknown) -> u32 { - crate::event_callback::add_ref::(this) +unsafe extern "system" fn i_avn_control_double_tapped_handler_add_ref(this: *mut IUnknown) -> u32 { + crate::event_callback::add_ref::(this) } -unsafe extern "system" fn i_avn_control_pointer_exited_handler_release(this: *mut IUnknown) -> u32 { - crate::event_callback::release::(this) +unsafe extern "system" fn i_avn_control_double_tapped_handler_release(this: *mut IUnknown) -> u32 { + crate::event_callback::release::(this) } -unsafe extern "system" fn i_avn_control_pointer_exited_handler_invoke(this: *mut IAvnControlPointerExitedHandler) -> i32 { - crate::event_callback::invoke::(this, &mut ()) +unsafe extern "system" fn i_avn_control_double_tapped_handler_invoke(this: *mut IAvnControlDoubleTappedHandler) -> i32 { + crate::event_callback::invoke::(this, &mut ()) } pub const I_AVN_DATE_PICKER_SELECTED_DATE_CHANGED_HANDLER_IID: Guid = Guid { data1: 0x74C9BE6F, data2: 0xE5CD, data3: 0x5936, data4: [0xB4, 0xBF, 0x59, 0xCC, 0x08, 0x43, 0x09, 0x6F] }; @@ -6148,7 +6307,7 @@ impl ComPtr { } } -pub const I_AVN_AUTO_COMPLETE_BOX_IID: Guid = Guid { data1: 0x86643B56, data2: 0xB59D, data3: 0x5EE3, data4: [0x8A, 0x9B, 0xD4, 0x4F, 0x7D, 0xA9, 0x09, 0xE7] }; +pub const I_AVN_AUTO_COMPLETE_BOX_IID: Guid = Guid { data1: 0x26FFE15E, data2: 0x6149, data3: 0x5898, data4: [0x93, 0xEB, 0x55, 0x90, 0x93, 0x38, 0xDC, 0x9A] }; #[repr(C)] struct IAvnAutoCompleteBoxVtbl { @@ -6227,6 +6386,12 @@ struct IAvnAutoCompleteBoxVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnAutoCompleteBox, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnAutoCompleteBox, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnAutoCompleteBox, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnAutoCompleteBox, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnAutoCompleteBox, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnAutoCompleteBox, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnAutoCompleteBox, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnAutoCompleteBox, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnAutoCompleteBox, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnAutoCompleteBox, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnAutoCompleteBox, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnAutoCompleteBox, *mut i32) -> i32, @@ -6825,6 +6990,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -7453,7 +7657,7 @@ impl ComPtr { } } -pub const I_AVN_BORDER_IID: Guid = Guid { data1: 0xDFE5487A, data2: 0xB7C3, data3: 0x5DD1, data4: [0xA6, 0xEF, 0x0C, 0xC9, 0xB9, 0xE6, 0xFC, 0x9C] }; +pub const I_AVN_BORDER_IID: Guid = Guid { data1: 0xDF677487, data2: 0xF79D, data3: 0x50DF, data4: [0xA4, 0x74, 0x0A, 0xF6, 0x9F, 0x6A, 0x6C, 0x5B] }; #[repr(C)] struct IAvnBorderVtbl { @@ -7532,6 +7736,12 @@ struct IAvnBorderVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnBorder, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnBorder, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnBorder, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnBorder, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnBorder, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnBorder, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnBorder, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnBorder, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnBorder, i64) -> i32, get_child: unsafe extern "system" fn(*mut IAvnBorder, *mut *mut IAvnControl) -> i32, set_child: unsafe extern "system" fn(*mut IAvnBorder, *mut IAvnControl) -> i32, get_padding: unsafe extern "system" fn(*mut IAvnBorder, *mut AvnThickness) -> i32, @@ -8057,6 +8267,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_child(&self) -> Result>> { unsafe { let mut value: *mut IAvnControl = ptr::null_mut(); @@ -8180,7 +8429,7 @@ impl ComPtr { } } -pub const I_AVN_BUTTON_IID: Guid = Guid { data1: 0x39E10286, data2: 0x7BB7, data3: 0x511B, data4: [0x88, 0x85, 0x73, 0x3B, 0x3A, 0xB3, 0x80, 0xF6] }; +pub const I_AVN_BUTTON_IID: Guid = Guid { data1: 0xE66D2CD1, data2: 0xA3CD, data3: 0x538E, data4: [0x96, 0x07, 0xB5, 0xE7, 0x84, 0x66, 0x9C, 0x89] }; #[repr(C)] struct IAvnButtonVtbl { @@ -8259,6 +8508,12 @@ struct IAvnButtonVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnButton, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnButton, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnButton, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnButton, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnButton, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnButton, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnButton, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnButton, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnButton, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnButton, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnButton, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnButton, *mut i32) -> i32, @@ -8820,6 +9075,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -9196,7 +9490,7 @@ impl ComPtr { } } -pub const I_AVN_BUTTON_SPINNER_IID: Guid = Guid { data1: 0x121045E2, data2: 0x0F99, data3: 0x5036, data4: [0xA5, 0xF8, 0x37, 0x3B, 0x15, 0xBC, 0x64, 0x49] }; +pub const I_AVN_BUTTON_SPINNER_IID: Guid = Guid { data1: 0xBD9E8536, data2: 0xAD5B, data3: 0x51C7, data4: [0xB3, 0xE0, 0x2D, 0xB5, 0x21, 0x85, 0x2F, 0x7C] }; #[repr(C)] struct IAvnButtonSpinnerVtbl { @@ -9275,6 +9569,12 @@ struct IAvnButtonSpinnerVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnButtonSpinner, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnButtonSpinner, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnButtonSpinner, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnButtonSpinner, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnButtonSpinner, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnButtonSpinner, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnButtonSpinner, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnButtonSpinner, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnButtonSpinner, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnButtonSpinner, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnButtonSpinner, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnButtonSpinner, *mut i32) -> i32, @@ -9829,6 +10129,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -10154,7 +10493,7 @@ impl ComPtr { } } -pub const I_AVN_CALENDAR_IID: Guid = Guid { data1: 0xD1959E20, data2: 0xE08E, data3: 0x5A66, data4: [0xA6, 0x3B, 0x4B, 0xD7, 0x14, 0xE6, 0x09, 0xD7] }; +pub const I_AVN_CALENDAR_IID: Guid = Guid { data1: 0x9FF3FEBD, data2: 0x5CC5, data3: 0x5DB1, data4: [0x94, 0xDA, 0xE0, 0x3D, 0x3D, 0x41, 0xD9, 0x47] }; #[repr(C)] struct IAvnCalendarVtbl { @@ -10233,6 +10572,12 @@ struct IAvnCalendarVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnCalendar, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnCalendar, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnCalendar, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnCalendar, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnCalendar, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnCalendar, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnCalendar, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnCalendar, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnCalendar, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnCalendar, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnCalendar, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnCalendar, *mut i32) -> i32, @@ -10801,6 +11146,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -11228,7 +11612,7 @@ impl ComPtr { } } -pub const I_AVN_CALENDAR_DATE_PICKER_IID: Guid = Guid { data1: 0x52B3592A, data2: 0xD20D, data3: 0x5C93, data4: [0x8D, 0x31, 0xE0, 0x55, 0x2A, 0x74, 0x45, 0xFE] }; +pub const I_AVN_CALENDAR_DATE_PICKER_IID: Guid = Guid { data1: 0x57923347, data2: 0x6143, data3: 0x59E6, data4: [0xBA, 0xFC, 0xC7, 0x45, 0xA8, 0x98, 0x21, 0x64] }; #[repr(C)] struct IAvnCalendarDatePickerVtbl { @@ -11307,6 +11691,12 @@ struct IAvnCalendarDatePickerVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnCalendarDatePicker, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnCalendarDatePicker, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnCalendarDatePicker, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnCalendarDatePicker, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnCalendarDatePicker, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnCalendarDatePicker, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnCalendarDatePicker, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnCalendarDatePicker, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnCalendarDatePicker, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnCalendarDatePicker, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnCalendarDatePicker, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnCalendarDatePicker, *mut i32) -> i32, @@ -11887,6 +12277,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -12398,7 +12827,7 @@ impl ComPtr { } } -pub const I_AVN_CANVAS_IID: Guid = Guid { data1: 0xCE4E710B, data2: 0xD3A5, data3: 0x5021, data4: [0xA3, 0x43, 0x75, 0x8F, 0xA0, 0x78, 0xE7, 0x91] }; +pub const I_AVN_CANVAS_IID: Guid = Guid { data1: 0xC16EF1BD, data2: 0x5F4F, data3: 0x5C2C, data4: [0xA3, 0xEA, 0x50, 0x8C, 0x4B, 0x05, 0xBA, 0x3C] }; #[repr(C)] struct IAvnCanvasVtbl { @@ -12477,6 +12906,12 @@ struct IAvnCanvasVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnCanvas, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnCanvas, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnCanvas, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnCanvas, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnCanvas, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnCanvas, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnCanvas, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnCanvas, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnCanvas, i64) -> i32, get_children: unsafe extern "system" fn(*mut IAvnCanvas, *mut *mut IAvnControlList) -> i32, get_background: unsafe extern "system" fn(*mut IAvnCanvas, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnCanvas, *mut IAvnBrush) -> i32, @@ -12988,6 +13423,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_children(&self) -> Result> { unsafe { let mut value: *mut IAvnControlList = ptr::null_mut(); @@ -13012,7 +13486,7 @@ impl ComPtr { } } -pub const I_AVN_CAROUSEL_IID: Guid = Guid { data1: 0xB496C390, data2: 0x157D, data3: 0x54E1, data4: [0x84, 0x15, 0xE4, 0x87, 0xE9, 0x3D, 0xAF, 0x7D] }; +pub const I_AVN_CAROUSEL_IID: Guid = Guid { data1: 0x78C353C4, data2: 0x749B, data3: 0x55FC, data4: [0xA9, 0xEF, 0x66, 0x60, 0x81, 0x55, 0xB0, 0xDB] }; #[repr(C)] struct IAvnCarouselVtbl { @@ -13091,6 +13565,12 @@ struct IAvnCarouselVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnCarousel, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnCarousel, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnCarousel, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnCarousel, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnCarousel, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnCarousel, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnCarousel, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnCarousel, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnCarousel, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnCarousel, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnCarousel, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnCarousel, *mut i32) -> i32, @@ -13660,6 +14140,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -14089,7 +14608,7 @@ impl ComPtr { } } -pub const I_AVN_CHECK_BOX_IID: Guid = Guid { data1: 0xAACDB973, data2: 0xAF3D, data3: 0x5BA5, data4: [0xA0, 0x94, 0x63, 0x51, 0x78, 0xEF, 0x2C, 0x2E] }; +pub const I_AVN_CHECK_BOX_IID: Guid = Guid { data1: 0xC4E191D8, data2: 0x29FB, data3: 0x5623, data4: [0xAF, 0x97, 0xE3, 0xAA, 0xD9, 0x50, 0xE2, 0x7B] }; #[repr(C)] struct IAvnCheckBoxVtbl { @@ -14168,6 +14687,12 @@ struct IAvnCheckBoxVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnCheckBox, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnCheckBox, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnCheckBox, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnCheckBox, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnCheckBox, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnCheckBox, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnCheckBox, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnCheckBox, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnCheckBox, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnCheckBox, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnCheckBox, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnCheckBox, *mut i32) -> i32, @@ -14735,6 +15260,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -15152,7 +15716,7 @@ impl ComPtr { } } -pub const I_AVN_COMBO_BOX_IID: Guid = Guid { data1: 0xC05FA67D, data2: 0x1BEE, data3: 0x51A8, data4: [0x93, 0x67, 0x03, 0x00, 0xAA, 0x1C, 0xAE, 0x23] }; +pub const I_AVN_COMBO_BOX_IID: Guid = Guid { data1: 0xEEBBD41C, data2: 0x3704, data3: 0x5BC1, data4: [0xBB, 0x31, 0xE8, 0x7E, 0xF4, 0x07, 0xCB, 0x79] }; #[repr(C)] struct IAvnComboBoxVtbl { @@ -15231,6 +15795,12 @@ struct IAvnComboBoxVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnComboBox, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnComboBox, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnComboBox, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnComboBox, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnComboBox, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnComboBox, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnComboBox, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnComboBox, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnComboBox, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnComboBox, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnComboBox, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnComboBox, *mut i32) -> i32, @@ -15813,6 +16383,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -16334,7 +16943,7 @@ impl ComPtr { } } -pub const I_AVN_COMBO_BOX_ITEM_IID: Guid = Guid { data1: 0x4AF5334E, data2: 0x4FEC, data3: 0x5F97, data4: [0x84, 0xF0, 0xCD, 0x61, 0xFD, 0x0C, 0x6B, 0x88] }; +pub const I_AVN_COMBO_BOX_ITEM_IID: Guid = Guid { data1: 0x66D70CA8, data2: 0x4E9B, data3: 0x5BD6, data4: [0x95, 0x83, 0x82, 0x59, 0x51, 0x61, 0xCB, 0x34] }; #[repr(C)] struct IAvnComboBoxItemVtbl { @@ -16413,6 +17022,12 @@ struct IAvnComboBoxItemVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnComboBoxItem, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnComboBoxItem, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnComboBoxItem, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnComboBoxItem, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnComboBoxItem, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnComboBoxItem, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnComboBoxItem, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnComboBoxItem, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnComboBoxItem, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnComboBoxItem, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnComboBoxItem, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnComboBoxItem, *mut i32) -> i32, @@ -16959,6 +17574,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -17229,7 +17883,7 @@ impl ComPtr { } } -pub const I_AVN_COMMAND_BAR_IID: Guid = Guid { data1: 0x355E12ED, data2: 0x4932, data3: 0x5C4C, data4: [0x8A, 0xC1, 0xAA, 0x74, 0xB6, 0x66, 0xB5, 0x84] }; +pub const I_AVN_COMMAND_BAR_IID: Guid = Guid { data1: 0x180E1033, data2: 0xDD01, data3: 0x5433, data4: [0xA4, 0x91, 0xB2, 0x04, 0x9D, 0x71, 0x94, 0x49] }; #[repr(C)] struct IAvnCommandBarVtbl { @@ -17308,6 +17962,12 @@ struct IAvnCommandBarVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnCommandBar, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnCommandBar, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnCommandBar, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnCommandBar, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnCommandBar, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnCommandBar, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnCommandBar, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnCommandBar, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnCommandBar, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnCommandBar, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnCommandBar, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnCommandBar, *mut i32) -> i32, @@ -17878,6 +18538,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -18316,7 +19015,7 @@ impl ComPtr { } } -pub const I_AVN_COMMAND_BAR_BUTTON_IID: Guid = Guid { data1: 0x3A7F177E, data2: 0xFB8E, data3: 0x5893, data4: [0xB5, 0x74, 0x99, 0xAC, 0xD4, 0xCB, 0xC8, 0xB5] }; +pub const I_AVN_COMMAND_BAR_BUTTON_IID: Guid = Guid { data1: 0x259356D2, data2: 0x8840, data3: 0x5531, data4: [0x94, 0x27, 0x7F, 0xD0, 0xB9, 0x70, 0x7A, 0xC7] }; #[repr(C)] struct IAvnCommandBarButtonVtbl { @@ -18395,6 +19094,12 @@ struct IAvnCommandBarButtonVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnCommandBarButton, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnCommandBarButton, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnCommandBarButton, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnCommandBarButton, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnCommandBarButton, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnCommandBarButton, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnCommandBarButton, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnCommandBarButton, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnCommandBarButton, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnCommandBarButton, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnCommandBarButton, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnCommandBarButton, *mut i32) -> i32, @@ -18968,6 +19673,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -19429,7 +20173,7 @@ impl ComPtr { } } -pub const I_AVN_COMMAND_BAR_SEPARATOR_IID: Guid = Guid { data1: 0x21D4AA3D, data2: 0xADFF, data3: 0x5CC6, data4: [0x9E, 0x76, 0xEA, 0x1F, 0xBB, 0xD1, 0x1C, 0x33] }; +pub const I_AVN_COMMAND_BAR_SEPARATOR_IID: Guid = Guid { data1: 0x3438DF70, data2: 0xF2D1, data3: 0x5474, data4: [0xA2, 0x88, 0xD9, 0x7C, 0xCE, 0xAC, 0xC9, 0xF9] }; #[repr(C)] struct IAvnCommandBarSeparatorVtbl { @@ -19508,6 +20252,12 @@ struct IAvnCommandBarSeparatorVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnCommandBarSeparator, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnCommandBarSeparator, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnCommandBarSeparator, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnCommandBarSeparator, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnCommandBarSeparator, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnCommandBarSeparator, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnCommandBarSeparator, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnCommandBarSeparator, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnCommandBarSeparator, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnCommandBarSeparator, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnCommandBarSeparator, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnCommandBarSeparator, *mut i32) -> i32, @@ -20048,6 +20798,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -20276,7 +21065,7 @@ impl ComPtr { } } -pub const I_AVN_COMMAND_BAR_TOGGLE_BUTTON_IID: Guid = Guid { data1: 0x28AA86DE, data2: 0x6253, data3: 0x5D07, data4: [0x96, 0x4D, 0x23, 0x78, 0x55, 0x52, 0xFB, 0x86] }; +pub const I_AVN_COMMAND_BAR_TOGGLE_BUTTON_IID: Guid = Guid { data1: 0x97BD5478, data2: 0x2731, data3: 0x5994, data4: [0x94, 0x27, 0x4A, 0x6E, 0xCB, 0x9E, 0xE0, 0x4B] }; #[repr(C)] struct IAvnCommandBarToggleButtonVtbl { @@ -20355,6 +21144,12 @@ struct IAvnCommandBarToggleButtonVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnCommandBarToggleButton, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnCommandBarToggleButton, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnCommandBarToggleButton, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnCommandBarToggleButton, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnCommandBarToggleButton, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnCommandBarToggleButton, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnCommandBarToggleButton, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnCommandBarToggleButton, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnCommandBarToggleButton, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnCommandBarToggleButton, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnCommandBarToggleButton, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnCommandBarToggleButton, *mut i32) -> i32, @@ -20934,6 +21729,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -21436,7 +22270,7 @@ impl ComPtr { } } -pub const I_AVN_CONTENT_CONTROL_IID: Guid = Guid { data1: 0x71FA5ADD, data2: 0x9F62, data3: 0x5918, data4: [0x84, 0xD4, 0x4B, 0x30, 0x0B, 0x8E, 0xA1, 0x92] }; +pub const I_AVN_CONTENT_CONTROL_IID: Guid = Guid { data1: 0x611A61DE, data2: 0x9AD0, data3: 0x5456, data4: [0x97, 0x9A, 0xEE, 0x52, 0x5E, 0x51, 0x32, 0xCE] }; #[repr(C)] struct IAvnContentControlVtbl { @@ -21515,6 +22349,12 @@ struct IAvnContentControlVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnContentControl, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnContentControl, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnContentControl, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnContentControl, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnContentControl, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnContentControl, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnContentControl, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnContentControl, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnContentControl, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnContentControl, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnContentControl, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnContentControl, *mut i32) -> i32, @@ -22059,6 +22899,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -22315,7 +23194,7 @@ impl ComPtr { } } -pub const I_AVN_CONTEXT_MENU_IID: Guid = Guid { data1: 0x770B19A7, data2: 0xFB74, data3: 0x5BCA, data4: [0xB1, 0xDD, 0x9E, 0x0E, 0xF1, 0x24, 0xEF, 0xEE] }; +pub const I_AVN_CONTEXT_MENU_IID: Guid = Guid { data1: 0xF63FBE8E, data2: 0x277B, data3: 0x531C, data4: [0xB3, 0xF5, 0xE9, 0xA2, 0xCC, 0xEF, 0x11, 0xA8] }; #[repr(C)] struct IAvnContextMenuVtbl { @@ -22394,6 +23273,12 @@ struct IAvnContextMenuVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnContextMenu, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnContextMenu, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnContextMenu, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnContextMenu, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnContextMenu, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnContextMenu, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnContextMenu, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnContextMenu, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnContextMenu, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnContextMenu, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnContextMenu, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnContextMenu, *mut i32) -> i32, @@ -22988,6 +23873,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -23587,7 +24511,7 @@ impl ComPtr { } } -pub const I_AVN_CONTROL_IID: Guid = Guid { data1: 0xABDFF81D, data2: 0xDB26, data3: 0x5BB7, data4: [0x9A, 0xCA, 0x18, 0x35, 0x3E, 0x6D, 0xB4, 0xD4] }; +pub const I_AVN_CONTROL_IID: Guid = Guid { data1: 0xE2F44292, data2: 0x89FA, data3: 0x5AFA, data4: [0x92, 0x94, 0xFF, 0x2F, 0x26, 0xDB, 0x68, 0xCE] }; #[repr(C)] struct IAvnControlVtbl { @@ -23666,6 +24590,12 @@ struct IAvnControlVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnControl, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnControl, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnControl, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnControl, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnControl, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnControl, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnControl, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnControl, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnControl, i64) -> i32, } #[repr(C)] @@ -24174,9 +25104,48 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } } -pub const I_AVN_DATE_PICKER_IID: Guid = Guid { data1: 0x1441AD02, data2: 0x88FD, data3: 0x5BCE, data4: [0x9A, 0x23, 0x18, 0x60, 0x76, 0x67, 0xFA, 0xA3] }; +pub const I_AVN_DATE_PICKER_IID: Guid = Guid { data1: 0xDF809CB0, data2: 0x67FA, data3: 0x58E8, data4: [0x92, 0x0C, 0x1B, 0x95, 0x74, 0xA7, 0xB3, 0x69] }; #[repr(C)] struct IAvnDatePickerVtbl { @@ -24255,6 +25224,12 @@ struct IAvnDatePickerVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnDatePicker, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnDatePicker, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnDatePicker, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnDatePicker, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnDatePicker, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnDatePicker, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnDatePicker, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnDatePicker, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnDatePicker, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnDatePicker, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnDatePicker, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnDatePicker, *mut i32) -> i32, @@ -24814,6 +25789,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -25179,7 +26193,7 @@ impl ComPtr { } } -pub const I_AVN_DECORATOR_IID: Guid = Guid { data1: 0x73D7A8D4, data2: 0x2B75, data3: 0x5F19, data4: [0x95, 0x8F, 0xDE, 0x0D, 0x15, 0xAC, 0x30, 0x79] }; +pub const I_AVN_DECORATOR_IID: Guid = Guid { data1: 0xC3E4D085, data2: 0x4977, data3: 0x566E, data4: [0xB8, 0x43, 0x75, 0xD8, 0x6B, 0x43, 0xC2, 0xC9] }; #[repr(C)] struct IAvnDecoratorVtbl { @@ -25258,6 +26272,12 @@ struct IAvnDecoratorVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnDecorator, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnDecorator, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnDecorator, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnDecorator, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnDecorator, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnDecorator, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnDecorator, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnDecorator, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnDecorator, i64) -> i32, get_child: unsafe extern "system" fn(*mut IAvnDecorator, *mut *mut IAvnControl) -> i32, set_child: unsafe extern "system" fn(*mut IAvnDecorator, *mut IAvnControl) -> i32, get_padding: unsafe extern "system" fn(*mut IAvnDecorator, *mut AvnThickness) -> i32, @@ -25770,6 +26790,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_child(&self) -> Result>> { unsafe { let mut value: *mut IAvnControl = ptr::null_mut(); @@ -25800,7 +26859,7 @@ impl ComPtr { } } -pub const I_AVN_DOCK_PANEL_IID: Guid = Guid { data1: 0x36376ACD, data2: 0x9F74, data3: 0x59B8, data4: [0xAD, 0xCA, 0xCA, 0xE9, 0x6F, 0x5E, 0x70, 0xB9] }; +pub const I_AVN_DOCK_PANEL_IID: Guid = Guid { data1: 0x8D7E3210, data2: 0x853F, data3: 0x5D42, data4: [0xAE, 0x5B, 0xA5, 0x91, 0x5B, 0xD5, 0x39, 0x28] }; #[repr(C)] struct IAvnDockPanelVtbl { @@ -25879,6 +26938,12 @@ struct IAvnDockPanelVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnDockPanel, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnDockPanel, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnDockPanel, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnDockPanel, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnDockPanel, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnDockPanel, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnDockPanel, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnDockPanel, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnDockPanel, i64) -> i32, get_children: unsafe extern "system" fn(*mut IAvnDockPanel, *mut *mut IAvnControlList) -> i32, get_background: unsafe extern "system" fn(*mut IAvnDockPanel, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnDockPanel, *mut IAvnBrush) -> i32, @@ -26396,6 +27461,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_children(&self) -> Result> { unsafe { let mut value: *mut IAvnControlList = ptr::null_mut(); @@ -26462,7 +27566,7 @@ impl ComPtr { } } -pub const I_AVN_DROP_DOWN_BUTTON_IID: Guid = Guid { data1: 0x85F27971, data2: 0xCEB0, data3: 0x528D, data4: [0x8D, 0x3B, 0xC0, 0xAB, 0x62, 0xE1, 0x1F, 0xDA] }; +pub const I_AVN_DROP_DOWN_BUTTON_IID: Guid = Guid { data1: 0xBCBBD462, data2: 0xBE4D, data3: 0x517B, data4: [0x96, 0xB1, 0xBD, 0xF7, 0x62, 0xCA, 0x9B, 0x4B] }; #[repr(C)] struct IAvnDropDownButtonVtbl { @@ -26541,6 +27645,12 @@ struct IAvnDropDownButtonVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnDropDownButton, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnDropDownButton, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnDropDownButton, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnDropDownButton, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnDropDownButton, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnDropDownButton, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnDropDownButton, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnDropDownButton, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnDropDownButton, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnDropDownButton, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnDropDownButton, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnDropDownButton, *mut i32) -> i32, @@ -27102,6 +28212,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -27478,7 +28627,7 @@ impl ComPtr { } } -pub const I_AVN_EXPANDER_IID: Guid = Guid { data1: 0x5655BDB3, data2: 0xEF10, data3: 0x56D0, data4: [0xBE, 0x24, 0x59, 0xFC, 0x88, 0x35, 0x09, 0x39] }; +pub const I_AVN_EXPANDER_IID: Guid = Guid { data1: 0xDFCCCA83, data2: 0x1ADA, data3: 0x5620, data4: [0x82, 0x30, 0x0C, 0x1D, 0x66, 0x50, 0x7F, 0x12] }; #[repr(C)] struct IAvnExpanderVtbl { @@ -27557,6 +28706,12 @@ struct IAvnExpanderVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnExpander, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnExpander, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnExpander, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnExpander, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnExpander, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnExpander, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnExpander, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnExpander, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnExpander, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnExpander, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnExpander, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnExpander, *mut i32) -> i32, @@ -28117,6 +29272,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -28481,7 +29675,7 @@ impl ComPtr { } } -pub const I_AVN_FLEX_PANEL_IID: Guid = Guid { data1: 0x5E186F8A, data2: 0xD1FB, data3: 0x5989, data4: [0xA4, 0x96, 0x63, 0x98, 0x2A, 0x99, 0x97, 0x52] }; +pub const I_AVN_FLEX_PANEL_IID: Guid = Guid { data1: 0x1CC87ECC, data2: 0x363C, data3: 0x5A07, data4: [0x90, 0x23, 0xAE, 0xA8, 0x0D, 0xBE, 0xF8, 0xB0] }; #[repr(C)] struct IAvnFlexPanelVtbl { @@ -28560,6 +29754,12 @@ struct IAvnFlexPanelVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnFlexPanel, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnFlexPanel, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnFlexPanel, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnFlexPanel, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnFlexPanel, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnFlexPanel, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnFlexPanel, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnFlexPanel, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnFlexPanel, i64) -> i32, get_children: unsafe extern "system" fn(*mut IAvnFlexPanel, *mut *mut IAvnControlList) -> i32, get_background: unsafe extern "system" fn(*mut IAvnFlexPanel, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnFlexPanel, *mut IAvnBrush) -> i32, @@ -29085,6 +30285,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_children(&self) -> Result> { unsafe { let mut value: *mut IAvnControlList = ptr::null_mut(); @@ -29551,7 +30790,7 @@ impl ComPtr { } } -pub const I_AVN_GRID_IID: Guid = Guid { data1: 0x63034BE5, data2: 0x179A, data3: 0x5196, data4: [0x83, 0x38, 0xF1, 0x07, 0x85, 0xC6, 0xDD, 0xDD] }; +pub const I_AVN_GRID_IID: Guid = Guid { data1: 0x887286EA, data2: 0x8097, data3: 0x52EB, data4: [0x9C, 0xEF, 0xFA, 0x1D, 0xA7, 0x82, 0x8D, 0x0F] }; #[repr(C)] struct IAvnGridVtbl { @@ -29630,6 +30869,12 @@ struct IAvnGridVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnGrid, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnGrid, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnGrid, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnGrid, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnGrid, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnGrid, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnGrid, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnGrid, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnGrid, i64) -> i32, get_children: unsafe extern "system" fn(*mut IAvnGrid, *mut *mut IAvnControlList) -> i32, get_background: unsafe extern "system" fn(*mut IAvnGrid, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnGrid, *mut IAvnBrush) -> i32, @@ -30151,6 +31396,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_children(&self) -> Result> { unsafe { let mut value: *mut IAvnControlList = ptr::null_mut(); @@ -30247,7 +31531,7 @@ impl ComPtr { } } -pub const I_AVN_GRID_SPLITTER_IID: Guid = Guid { data1: 0x93629BF6, data2: 0xE409, data3: 0x5BF3, data4: [0xBB, 0x49, 0x45, 0x4A, 0x88, 0x45, 0x50, 0xE3] }; +pub const I_AVN_GRID_SPLITTER_IID: Guid = Guid { data1: 0x9D81E579, data2: 0x275C, data3: 0x53A1, data4: [0x8C, 0x3B, 0x91, 0xF1, 0x0E, 0x2D, 0x84, 0x03] }; #[repr(C)] struct IAvnGridSplitterVtbl { @@ -30326,6 +31610,12 @@ struct IAvnGridSplitterVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnGridSplitter, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnGridSplitter, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnGridSplitter, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnGridSplitter, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnGridSplitter, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnGridSplitter, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnGridSplitter, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnGridSplitter, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnGridSplitter, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnGridSplitter, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnGridSplitter, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnGridSplitter, *mut i32) -> i32, @@ -30878,6 +32168,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -31187,7 +32516,7 @@ impl ComPtr { } } -pub const I_AVN_GROUP_BOX_IID: Guid = Guid { data1: 0xB2A2A0DC, data2: 0x533F, data3: 0x50D6, data4: [0xB4, 0x86, 0x8A, 0xFB, 0x44, 0xB0, 0xE8, 0x2D] }; +pub const I_AVN_GROUP_BOX_IID: Guid = Guid { data1: 0xF8356E2B, data2: 0x46EA, data3: 0x58CC, data4: [0x80, 0x74, 0x78, 0x9B, 0xA4, 0x2F, 0x0C, 0x79] }; #[repr(C)] struct IAvnGroupBoxVtbl { @@ -31266,6 +32595,12 @@ struct IAvnGroupBoxVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnGroupBox, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnGroupBox, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnGroupBox, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnGroupBox, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnGroupBox, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnGroupBox, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnGroupBox, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnGroupBox, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnGroupBox, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnGroupBox, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnGroupBox, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnGroupBox, *mut i32) -> i32, @@ -31814,6 +33149,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -32098,7 +33472,7 @@ impl ComPtr { } } -pub const I_AVN_HYPERLINK_BUTTON_IID: Guid = Guid { data1: 0xCCCE2078, data2: 0xE616, data3: 0x51A8, data4: [0xA5, 0x5F, 0x77, 0xD3, 0x16, 0xF2, 0xC9, 0xAB] }; +pub const I_AVN_HYPERLINK_BUTTON_IID: Guid = Guid { data1: 0x59F93515, data2: 0x012E, data3: 0x5F89, data4: [0x99, 0x98, 0x87, 0xE5, 0x94, 0x70, 0x34, 0xC1] }; #[repr(C)] struct IAvnHyperlinkButtonVtbl { @@ -32177,6 +33551,12 @@ struct IAvnHyperlinkButtonVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnHyperlinkButton, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnHyperlinkButton, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnHyperlinkButton, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnHyperlinkButton, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnHyperlinkButton, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnHyperlinkButton, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnHyperlinkButton, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnHyperlinkButton, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnHyperlinkButton, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnHyperlinkButton, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnHyperlinkButton, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnHyperlinkButton, *mut i32) -> i32, @@ -32742,6 +34122,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -33147,7 +34566,7 @@ impl ComPtr { } } -pub const I_AVN_ICON_ELEMENT_IID: Guid = Guid { data1: 0x0A1BCD24, data2: 0x9DC9, data3: 0x55DB, data4: [0xB2, 0xAA, 0x93, 0x00, 0x41, 0x18, 0x5E, 0x3B] }; +pub const I_AVN_ICON_ELEMENT_IID: Guid = Guid { data1: 0x21137537, data2: 0x05A7, data3: 0x5CD9, data4: [0x8F, 0xED, 0x59, 0xDA, 0xCA, 0x08, 0x64, 0x07] }; #[repr(C)] struct IAvnIconElementVtbl { @@ -33226,6 +34645,12 @@ struct IAvnIconElementVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnIconElement, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnIconElement, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnIconElement, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnIconElement, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnIconElement, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnIconElement, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnIconElement, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnIconElement, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnIconElement, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnIconElement, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnIconElement, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnIconElement, *mut i32) -> i32, @@ -33762,6 +35187,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -33962,7 +35426,7 @@ impl ComPtr { } } -pub const I_AVN_IMAGE_IID: Guid = Guid { data1: 0x4A556F2B, data2: 0x827F, data3: 0x5748, data4: [0xB7, 0xCD, 0xC4, 0x84, 0x52, 0x72, 0x7A, 0x29] }; +pub const I_AVN_IMAGE_IID: Guid = Guid { data1: 0x9CBC9E3A, data2: 0x098A, data3: 0x51D7, data4: [0x96, 0x47, 0xE2, 0x06, 0x15, 0x05, 0x82, 0x87] }; #[repr(C)] struct IAvnImageVtbl { @@ -34041,6 +35505,12 @@ struct IAvnImageVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnImage, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnImage, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnImage, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnImage, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnImage, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnImage, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnImage, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnImage, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnImage, i64) -> i32, get_source: unsafe extern "system" fn(*mut IAvnImage, *mut *mut u16) -> i32, set_source: unsafe extern "system" fn(*mut IAvnImage, *mut u16) -> i32, get_blend_mode: unsafe extern "system" fn(*mut IAvnImage, *mut i32) -> i32, @@ -34557,6 +36027,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_source(&self) -> Result<*mut u16> { unsafe { let mut value: *mut u16 = ptr::null_mut(); @@ -34616,7 +36125,7 @@ impl ComPtr { } } -pub const I_AVN_ITEMS_CONTROL_IID: Guid = Guid { data1: 0xB656735C, data2: 0xEECA, data3: 0x50CC, data4: [0xA8, 0x7D, 0xB4, 0x36, 0x2F, 0x7E, 0x04, 0x5A] }; +pub const I_AVN_ITEMS_CONTROL_IID: Guid = Guid { data1: 0x45705E13, data2: 0xA906, data3: 0x50E2, data4: [0xA0, 0xD8, 0xDC, 0xC2, 0x05, 0x85, 0xFD, 0xA6] }; #[repr(C)] struct IAvnItemsControlVtbl { @@ -34695,6 +36204,12 @@ struct IAvnItemsControlVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnItemsControl, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnItemsControl, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnItemsControl, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnItemsControl, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnItemsControl, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnItemsControl, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnItemsControl, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnItemsControl, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnItemsControl, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnItemsControl, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnItemsControl, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnItemsControl, *mut i32) -> i32, @@ -35243,6 +36758,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -35527,7 +37081,7 @@ impl ComPtr { } } -pub const I_AVN_LABEL_IID: Guid = Guid { data1: 0xA1ACC10D, data2: 0x5788, data3: 0x5CFF, data4: [0x9D, 0x99, 0x79, 0x87, 0x70, 0x89, 0x8E, 0x14] }; +pub const I_AVN_LABEL_IID: Guid = Guid { data1: 0x73C1CCE5, data2: 0x8DB6, data3: 0x5A69, data4: [0xB8, 0xFB, 0xAC, 0x63, 0x95, 0x28, 0xAE, 0x72] }; #[repr(C)] struct IAvnLabelVtbl { @@ -35606,6 +37160,12 @@ struct IAvnLabelVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnLabel, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnLabel, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnLabel, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnLabel, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnLabel, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnLabel, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnLabel, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnLabel, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnLabel, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnLabel, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnLabel, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnLabel, *mut i32) -> i32, @@ -36152,6 +37712,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -36422,7 +38021,7 @@ impl ComPtr { } } -pub const I_AVN_LAYOUT_TRANSFORM_CONTROL_IID: Guid = Guid { data1: 0x5295C33E, data2: 0x5E49, data3: 0x5425, data4: [0xB0, 0x6D, 0xD0, 0xA3, 0x7D, 0x4A, 0xAE, 0x68] }; +pub const I_AVN_LAYOUT_TRANSFORM_CONTROL_IID: Guid = Guid { data1: 0x4CF77BF7, data2: 0x4ED9, data3: 0x59F6, data4: [0x98, 0xC0, 0xAE, 0x96, 0x82, 0xB3, 0xAD, 0xFE] }; #[repr(C)] struct IAvnLayoutTransformControlVtbl { @@ -36501,6 +38100,12 @@ struct IAvnLayoutTransformControlVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnLayoutTransformControl, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnLayoutTransformControl, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnLayoutTransformControl, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnLayoutTransformControl, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnLayoutTransformControl, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnLayoutTransformControl, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnLayoutTransformControl, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnLayoutTransformControl, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnLayoutTransformControl, i64) -> i32, get_child: unsafe extern "system" fn(*mut IAvnLayoutTransformControl, *mut *mut IAvnControl) -> i32, set_child: unsafe extern "system" fn(*mut IAvnLayoutTransformControl, *mut IAvnControl) -> i32, get_padding: unsafe extern "system" fn(*mut IAvnLayoutTransformControl, *mut AvnThickness) -> i32, @@ -37015,6 +38620,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_child(&self) -> Result>> { unsafe { let mut value: *mut IAvnControl = ptr::null_mut(); @@ -37059,7 +38703,7 @@ impl ComPtr { } } -pub const I_AVN_LIST_BOX_IID: Guid = Guid { data1: 0x6D07BC84, data2: 0xD7C4, data3: 0x5226, data4: [0xA6, 0x9E, 0xAA, 0xF3, 0xEE, 0x16, 0x63, 0xA9] }; +pub const I_AVN_LIST_BOX_IID: Guid = Guid { data1: 0xC45989AF, data2: 0x4038, data3: 0x524F, data4: [0x88, 0x5B, 0xE5, 0x71, 0x85, 0xB2, 0x21, 0x59] }; #[repr(C)] struct IAvnListBoxVtbl { @@ -37138,6 +38782,12 @@ struct IAvnListBoxVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnListBox, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnListBox, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnListBox, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnListBox, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnListBox, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnListBox, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnListBox, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnListBox, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnListBox, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnListBox, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnListBox, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnListBox, *mut i32) -> i32, @@ -37704,6 +39354,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -38111,7 +39800,7 @@ impl ComPtr { } } -pub const I_AVN_LIST_BOX_ITEM_IID: Guid = Guid { data1: 0x4BB2FF76, data2: 0xE252, data3: 0x53F1, data4: [0x8A, 0xE0, 0xE3, 0x2A, 0x2C, 0x1B, 0xBE, 0x76] }; +pub const I_AVN_LIST_BOX_ITEM_IID: Guid = Guid { data1: 0xD51DAD4D, data2: 0xC109, data3: 0x5ABD, data4: [0x84, 0xB4, 0xF3, 0xC6, 0x00, 0x7F, 0x61, 0x33] }; #[repr(C)] struct IAvnListBoxItemVtbl { @@ -38190,6 +39879,12 @@ struct IAvnListBoxItemVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnListBoxItem, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnListBoxItem, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnListBoxItem, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnListBoxItem, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnListBoxItem, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnListBoxItem, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnListBoxItem, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnListBoxItem, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnListBoxItem, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnListBoxItem, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnListBoxItem, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnListBoxItem, *mut i32) -> i32, @@ -38736,6 +40431,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -39006,7 +40740,7 @@ impl ComPtr { } } -pub const I_AVN_MASKED_TEXT_BOX_IID: Guid = Guid { data1: 0xE621C745, data2: 0xA587, data3: 0x5BDD, data4: [0xA1, 0xC5, 0x8F, 0x49, 0x8B, 0x86, 0x36, 0xC5] }; +pub const I_AVN_MASKED_TEXT_BOX_IID: Guid = Guid { data1: 0xACF377B4, data2: 0xD865, data3: 0x5245, data4: [0x8C, 0xFE, 0xAE, 0x04, 0x61, 0xEF, 0x95, 0xFB] }; #[repr(C)] struct IAvnMaskedTextBoxVtbl { @@ -39085,6 +40819,12 @@ struct IAvnMaskedTextBoxVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnMaskedTextBox, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnMaskedTextBox, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnMaskedTextBox, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnMaskedTextBox, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnMaskedTextBox, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnMaskedTextBox, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnMaskedTextBox, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnMaskedTextBox, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnMaskedTextBox, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnMaskedTextBox, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnMaskedTextBox, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnMaskedTextBox, *mut i32) -> i32, @@ -39724,6 +41464,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -40643,7 +42422,7 @@ impl ComPtr { } } -pub const I_AVN_MENU_IID: Guid = Guid { data1: 0x0220FC0F, data2: 0xFA60, data3: 0x5173, data4: [0x9E, 0x8B, 0xAD, 0x96, 0x35, 0x1B, 0x3C, 0x6D] }; +pub const I_AVN_MENU_IID: Guid = Guid { data1: 0x71FC2F34, data2: 0x4C1D, data3: 0x591E, data4: [0xA5, 0x67, 0xAB, 0x31, 0x51, 0xC7, 0x77, 0x85] }; #[repr(C)] struct IAvnMenuVtbl { @@ -40722,6 +42501,12 @@ struct IAvnMenuVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnMenu, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnMenu, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnMenu, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnMenu, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnMenu, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnMenu, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnMenu, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnMenu, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnMenu, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnMenu, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnMenu, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnMenu, *mut i32) -> i32, @@ -41291,6 +43076,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -41718,7 +43542,7 @@ impl ComPtr { } } -pub const I_AVN_MENU_BASE_IID: Guid = Guid { data1: 0x3B780634, data2: 0x1A42, data3: 0x576F, data4: [0xA5, 0x87, 0xEE, 0x11, 0xF0, 0xB5, 0xC8, 0xE8] }; +pub const I_AVN_MENU_BASE_IID: Guid = Guid { data1: 0x1E92B6FA, data2: 0x9790, data3: 0x5135, data4: [0x8A, 0xC6, 0xA5, 0x66, 0xA0, 0xEA, 0xD4, 0x14] }; #[repr(C)] struct IAvnMenuBaseVtbl { @@ -41797,6 +43621,12 @@ struct IAvnMenuBaseVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnMenuBase, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnMenuBase, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnMenuBase, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnMenuBase, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnMenuBase, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnMenuBase, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnMenuBase, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnMenuBase, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnMenuBase, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnMenuBase, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnMenuBase, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnMenuBase, *mut i32) -> i32, @@ -42366,6 +44196,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -43146,7 +45015,7 @@ impl ComPtr { } } -pub const I_AVN_MENU_ITEM_IID: Guid = Guid { data1: 0xB08CE5EB, data2: 0xF84F, data3: 0x5466, data4: [0xBB, 0x66, 0x98, 0x6E, 0x09, 0x71, 0x33, 0x3B] }; +pub const I_AVN_MENU_ITEM_IID: Guid = Guid { data1: 0x15CE4E5D, data2: 0xE0E7, data3: 0x5356, data4: [0xAC, 0xFF, 0xD7, 0x42, 0xB7, 0x28, 0x0B, 0x97] }; #[repr(C)] struct IAvnMenuItemVtbl { @@ -43225,6 +45094,12 @@ struct IAvnMenuItemVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnMenuItem, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnMenuItem, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnMenuItem, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnMenuItem, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnMenuItem, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnMenuItem, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnMenuItem, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnMenuItem, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnMenuItem, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnMenuItem, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnMenuItem, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnMenuItem, *mut i32) -> i32, @@ -43821,6 +45696,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -44441,7 +46355,7 @@ impl ComPtr { } } -pub const I_AVN_NOTIFICATION_CARD_IID: Guid = Guid { data1: 0x9E575724, data2: 0x617A, data3: 0x54E5, data4: [0xBF, 0x78, 0xB6, 0xC6, 0x8E, 0x5F, 0x43, 0x43] }; +pub const I_AVN_NOTIFICATION_CARD_IID: Guid = Guid { data1: 0xDB52E2D8, data2: 0xCC48, data3: 0x5F72, data4: [0xB2, 0x20, 0x52, 0xBD, 0xF1, 0x6B, 0xC0, 0x55] }; #[repr(C)] struct IAvnNotificationCardVtbl { @@ -44520,6 +46434,12 @@ struct IAvnNotificationCardVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnNotificationCard, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnNotificationCard, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnNotificationCard, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnNotificationCard, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnNotificationCard, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnNotificationCard, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnNotificationCard, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnNotificationCard, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnNotificationCard, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnNotificationCard, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnNotificationCard, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnNotificationCard, *mut i32) -> i32, @@ -45072,6 +46992,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -45383,7 +47342,7 @@ impl ComPtr { } } -pub const I_AVN_WINDOW_NOTIFICATION_MANAGER_IID: Guid = Guid { data1: 0x7C085288, data2: 0x6201, data3: 0x58A3, data4: [0xBD, 0x39, 0x14, 0xF2, 0x36, 0x96, 0x50, 0x4B] }; +pub const I_AVN_WINDOW_NOTIFICATION_MANAGER_IID: Guid = Guid { data1: 0x2EECEA93, data2: 0x798A, data3: 0x57D8, data4: [0x9E, 0xD9, 0x91, 0xC4, 0xEA, 0x6D, 0x28, 0x2F] }; #[repr(C)] struct IAvnWindowNotificationManagerVtbl { @@ -45462,6 +47421,12 @@ struct IAvnWindowNotificationManagerVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnWindowNotificationManager, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnWindowNotificationManager, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnWindowNotificationManager, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnWindowNotificationManager, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnWindowNotificationManager, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnWindowNotificationManager, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnWindowNotificationManager, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnWindowNotificationManager, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnWindowNotificationManager, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnWindowNotificationManager, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnWindowNotificationManager, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnWindowNotificationManager, *mut i32) -> i32, @@ -46007,6 +47972,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -46265,7 +48269,7 @@ impl ComPtr { } } -pub const I_AVN_NUMERIC_UP_DOWN_IID: Guid = Guid { data1: 0x63426B0F, data2: 0x1A76, data3: 0x51A9, data4: [0x9E, 0x98, 0x34, 0x3D, 0x2E, 0x69, 0xC1, 0x56] }; +pub const I_AVN_NUMERIC_UP_DOWN_IID: Guid = Guid { data1: 0x1082FB46, data2: 0x8635, data3: 0x515E, data4: [0x82, 0x2C, 0x12, 0x62, 0x9B, 0x6D, 0x25, 0xF8] }; #[repr(C)] struct IAvnNumericUpDownVtbl { @@ -46344,6 +48348,12 @@ struct IAvnNumericUpDownVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnNumericUpDown, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnNumericUpDown, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnNumericUpDown, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnNumericUpDown, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnNumericUpDown, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnNumericUpDown, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnNumericUpDown, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnNumericUpDown, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnNumericUpDown, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnNumericUpDown, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnNumericUpDown, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnNumericUpDown, *mut i32) -> i32, @@ -46920,6 +48930,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -47405,7 +49454,7 @@ impl ComPtr { } } -pub const I_AVN_PANEL_IID: Guid = Guid { data1: 0x96AD03DD, data2: 0xF271, data3: 0x537E, data4: [0xA9, 0x33, 0xB7, 0xC7, 0x5D, 0x63, 0xAC, 0x0C] }; +pub const I_AVN_PANEL_IID: Guid = Guid { data1: 0xE6C6B17E, data2: 0x9747, data3: 0x5739, data4: [0xB2, 0x55, 0x52, 0xE7, 0x37, 0xA7, 0xA2, 0xA2] }; #[repr(C)] struct IAvnPanelVtbl { @@ -47484,6 +49533,12 @@ struct IAvnPanelVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnPanel, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnPanel, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnPanel, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnPanel, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnPanel, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnPanel, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnPanel, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnPanel, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnPanel, i64) -> i32, get_children: unsafe extern "system" fn(*mut IAvnPanel, *mut *mut IAvnControlList) -> i32, get_background: unsafe extern "system" fn(*mut IAvnPanel, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnPanel, *mut IAvnBrush) -> i32, @@ -47995,6 +50050,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_children(&self) -> Result> { unsafe { let mut value: *mut IAvnControlList = ptr::null_mut(); @@ -48019,7 +50113,7 @@ impl ComPtr { } } -pub const I_AVN_PATH_ICON_IID: Guid = Guid { data1: 0x885577A3, data2: 0xAC29, data3: 0x51D9, data4: [0xAC, 0xB5, 0xD3, 0x0A, 0xBB, 0xB4, 0x84, 0xFC] }; +pub const I_AVN_PATH_ICON_IID: Guid = Guid { data1: 0x6D274452, data2: 0x1819, data3: 0x559D, data4: [0xBB, 0x43, 0x52, 0xE6, 0x8A, 0xB6, 0x4E, 0x10] }; #[repr(C)] struct IAvnPathIconVtbl { @@ -48098,6 +50192,12 @@ struct IAvnPathIconVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnPathIcon, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnPathIcon, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnPathIcon, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnPathIcon, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnPathIcon, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnPathIcon, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnPathIcon, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnPathIcon, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnPathIcon, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnPathIcon, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnPathIcon, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnPathIcon, *mut i32) -> i32, @@ -48636,6 +50736,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -48851,7 +50990,7 @@ impl ComPtr { } } -pub const I_AVN_PIPS_PAGER_IID: Guid = Guid { data1: 0x6C3C0A8B, data2: 0x3237, data3: 0x50C1, data4: [0x8D, 0xF3, 0x51, 0x71, 0xED, 0xF2, 0xA1, 0xB8] }; +pub const I_AVN_PIPS_PAGER_IID: Guid = Guid { data1: 0xFBFAC5E1, data2: 0xFD39, data3: 0x56C8, data4: [0x82, 0x08, 0x7C, 0x0E, 0x0A, 0xFA, 0x68, 0xCD] }; #[repr(C)] struct IAvnPipsPagerVtbl { @@ -48930,6 +51069,12 @@ struct IAvnPipsPagerVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnPipsPager, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnPipsPager, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnPipsPager, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnPipsPager, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnPipsPager, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnPipsPager, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnPipsPager, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnPipsPager, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnPipsPager, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnPipsPager, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnPipsPager, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnPipsPager, *mut i32) -> i32, @@ -49480,6 +51625,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -49883,7 +52067,7 @@ impl ComPtr { } } -pub const I_AVN_HEADERED_CONTENT_CONTROL_IID: Guid = Guid { data1: 0xC1825F55, data2: 0xDE82, data3: 0x5447, data4: [0x93, 0xA8, 0x4A, 0x55, 0xF6, 0x3B, 0xA6, 0x52] }; +pub const I_AVN_HEADERED_CONTENT_CONTROL_IID: Guid = Guid { data1: 0xD8948145, data2: 0x837B, data3: 0x5DC3, data4: [0xA6, 0x85, 0x14, 0xDF, 0x38, 0x16, 0x7A, 0x93] }; #[repr(C)] struct IAvnHeaderedContentControlVtbl { @@ -49962,6 +52146,12 @@ struct IAvnHeaderedContentControlVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnHeaderedContentControl, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnHeaderedContentControl, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnHeaderedContentControl, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnHeaderedContentControl, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnHeaderedContentControl, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnHeaderedContentControl, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnHeaderedContentControl, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnHeaderedContentControl, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnHeaderedContentControl, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnHeaderedContentControl, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnHeaderedContentControl, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnHeaderedContentControl, *mut i32) -> i32, @@ -50510,6 +52700,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -50794,7 +53023,7 @@ impl ComPtr { } } -pub const I_AVN_HEADERED_ITEMS_CONTROL_IID: Guid = Guid { data1: 0xB6281359, data2: 0x24AB, data3: 0x5280, data4: [0x8B, 0x2C, 0x76, 0x2A, 0x53, 0x52, 0x9C, 0x27] }; +pub const I_AVN_HEADERED_ITEMS_CONTROL_IID: Guid = Guid { data1: 0xD25B235E, data2: 0xD49F, data3: 0x55B2, data4: [0xAD, 0xF8, 0x90, 0xA2, 0xBF, 0xCB, 0x96, 0xAB] }; #[repr(C)] struct IAvnHeaderedItemsControlVtbl { @@ -50873,6 +53102,12 @@ struct IAvnHeaderedItemsControlVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnHeaderedItemsControl, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnHeaderedItemsControl, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnHeaderedItemsControl, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnHeaderedItemsControl, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnHeaderedItemsControl, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnHeaderedItemsControl, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnHeaderedItemsControl, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnHeaderedItemsControl, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnHeaderedItemsControl, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnHeaderedItemsControl, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnHeaderedItemsControl, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnHeaderedItemsControl, *mut i32) -> i32, @@ -51425,6 +53660,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -51737,7 +54011,7 @@ impl ComPtr { } } -pub const I_AVN_HEADERED_SELECTING_ITEMS_CONTROL_IID: Guid = Guid { data1: 0x8640C1BF, data2: 0x2502, data3: 0x5E21, data4: [0xB8, 0x61, 0x1E, 0xCB, 0xD1, 0x91, 0x8F, 0xD1] }; +pub const I_AVN_HEADERED_SELECTING_ITEMS_CONTROL_IID: Guid = Guid { data1: 0xBA5CD52E, data2: 0xECDF, data3: 0x5379, data4: [0xAC, 0x86, 0x58, 0x97, 0xFA, 0x85, 0x3C, 0x60] }; #[repr(C)] struct IAvnHeaderedSelectingItemsControlVtbl { @@ -51816,6 +54090,12 @@ struct IAvnHeaderedSelectingItemsControlVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnHeaderedSelectingItemsControl, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnHeaderedSelectingItemsControl, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnHeaderedSelectingItemsControl, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnHeaderedSelectingItemsControl, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnHeaderedSelectingItemsControl, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnHeaderedSelectingItemsControl, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnHeaderedSelectingItemsControl, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnHeaderedSelectingItemsControl, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnHeaderedSelectingItemsControl, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnHeaderedSelectingItemsControl, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnHeaderedSelectingItemsControl, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnHeaderedSelectingItemsControl, *mut i32) -> i32, @@ -52382,6 +54662,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -52791,7 +55110,7 @@ impl ComPtr { } } -pub const I_AVN_POPUP_IID: Guid = Guid { data1: 0x6CCB1B6A, data2: 0xEC3B, data3: 0x5625, data4: [0xA6, 0x04, 0x97, 0xB5, 0x6F, 0xF5, 0xB8, 0x6F] }; +pub const I_AVN_POPUP_IID: Guid = Guid { data1: 0x30B75D6F, data2: 0x4E12, data3: 0x505C, data4: [0x8C, 0x73, 0xE0, 0x2A, 0x5F, 0xCD, 0xB3, 0x56] }; #[repr(C)] struct IAvnPopupVtbl { @@ -52870,6 +55189,12 @@ struct IAvnPopupVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnPopup, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnPopup, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnPopup, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnPopup, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnPopup, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnPopup, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnPopup, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnPopup, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnPopup, i64) -> i32, get_window_manager_add_shadow_hint: unsafe extern "system" fn(*mut IAvnPopup, *mut i32) -> i32, set_window_manager_add_shadow_hint: unsafe extern "system" fn(*mut IAvnPopup, i32) -> i32, get_child: unsafe extern "system" fn(*mut IAvnPopup, *mut *mut IAvnControl) -> i32, @@ -53424,6 +55749,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_window_manager_add_shadow_hint(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -54058,7 +56422,7 @@ impl ComPtr { } } -pub const I_AVN_RANGE_BASE_IID: Guid = Guid { data1: 0xF1231250, data2: 0xDB6B, data3: 0x52E4, data4: [0xA4, 0x2E, 0x3C, 0x57, 0xE7, 0x3C, 0x70, 0x23] }; +pub const I_AVN_RANGE_BASE_IID: Guid = Guid { data1: 0xD910F3E2, data2: 0xCD14, data3: 0x547A, data4: [0x8E, 0x8C, 0xBF, 0xEC, 0x9F, 0x4C, 0x92, 0x6F] }; #[repr(C)] struct IAvnRangeBaseVtbl { @@ -54137,6 +56501,12 @@ struct IAvnRangeBaseVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnRangeBase, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnRangeBase, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnRangeBase, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnRangeBase, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnRangeBase, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnRangeBase, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnRangeBase, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnRangeBase, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnRangeBase, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnRangeBase, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnRangeBase, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnRangeBase, *mut i32) -> i32, @@ -54685,6 +57055,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -54968,7 +57377,7 @@ impl ComPtr { } } -pub const I_AVN_SELECTING_ITEMS_CONTROL_IID: Guid = Guid { data1: 0x56020FA9, data2: 0xD4A4, data3: 0x52B6, data4: [0xB5, 0xFC, 0xEA, 0xEB, 0x6F, 0xD5, 0x63, 0xC2] }; +pub const I_AVN_SELECTING_ITEMS_CONTROL_IID: Guid = Guid { data1: 0x18B99B99, data2: 0x03A3, data3: 0x5C68, data4: [0x84, 0x71, 0xD4, 0x63, 0xC4, 0xED, 0x17, 0x78] }; #[repr(C)] struct IAvnSelectingItemsControlVtbl { @@ -55047,6 +57456,12 @@ struct IAvnSelectingItemsControlVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnSelectingItemsControl, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnSelectingItemsControl, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnSelectingItemsControl, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnSelectingItemsControl, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnSelectingItemsControl, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnSelectingItemsControl, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnSelectingItemsControl, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnSelectingItemsControl, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnSelectingItemsControl, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnSelectingItemsControl, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnSelectingItemsControl, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnSelectingItemsControl, *mut i32) -> i32, @@ -55609,6 +58024,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -55990,7 +58444,7 @@ impl ComPtr { } } -pub const I_AVN_TEMPLATED_CONTROL_IID: Guid = Guid { data1: 0xE2867468, data2: 0x09D4, data3: 0x5D05, data4: [0xA9, 0x56, 0xF6, 0x87, 0xA7, 0x8D, 0xF5, 0x1A] }; +pub const I_AVN_TEMPLATED_CONTROL_IID: Guid = Guid { data1: 0x6E80826C, data2: 0xF337, data3: 0x5A4D, data4: [0xA5, 0xBB, 0x1C, 0x0D, 0xF4, 0x36, 0xB6, 0xD0] }; #[repr(C)] struct IAvnTemplatedControlVtbl { @@ -56069,6 +58523,12 @@ struct IAvnTemplatedControlVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnTemplatedControl, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnTemplatedControl, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnTemplatedControl, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnTemplatedControl, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnTemplatedControl, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnTemplatedControl, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnTemplatedControl, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnTemplatedControl, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnTemplatedControl, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnTemplatedControl, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnTemplatedControl, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnTemplatedControl, *mut i32) -> i32, @@ -56605,6 +59065,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -56805,7 +59304,7 @@ impl ComPtr { } } -pub const I_AVN_THUMB_IID: Guid = Guid { data1: 0xB62C6C73, data2: 0x14C3, data3: 0x5E0D, data4: [0xA7, 0x25, 0xF5, 0x60, 0x61, 0x07, 0xB4, 0x54] }; +pub const I_AVN_THUMB_IID: Guid = Guid { data1: 0xA9A96FDF, data2: 0xBFCF, data3: 0x5E37, data4: [0xA1, 0x1E, 0x4B, 0x65, 0x3C, 0xE3, 0x6C, 0x00] }; #[repr(C)] struct IAvnThumbVtbl { @@ -56884,6 +59383,12 @@ struct IAvnThumbVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnThumb, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnThumb, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnThumb, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnThumb, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnThumb, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnThumb, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnThumb, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnThumb, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnThumb, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnThumb, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnThumb, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnThumb, *mut i32) -> i32, @@ -57426,6 +59931,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -57665,7 +60209,7 @@ impl ComPtr { } } -pub const I_AVN_TOGGLE_BUTTON_IID: Guid = Guid { data1: 0xF9840045, data2: 0x23B2, data3: 0x5318, data4: [0xA7, 0xDA, 0xEB, 0x7F, 0x32, 0x87, 0xFB, 0xD8] }; +pub const I_AVN_TOGGLE_BUTTON_IID: Guid = Guid { data1: 0x23A7F6FB, data2: 0xAFEF, data3: 0x5E4D, data4: [0x8A, 0x9A, 0x94, 0xF4, 0xEF, 0xCF, 0x6B, 0x12] }; #[repr(C)] struct IAvnToggleButtonVtbl { @@ -57744,6 +60288,12 @@ struct IAvnToggleButtonVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnToggleButton, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnToggleButton, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnToggleButton, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnToggleButton, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnToggleButton, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnToggleButton, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnToggleButton, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnToggleButton, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnToggleButton, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnToggleButton, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnToggleButton, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnToggleButton, *mut i32) -> i32, @@ -58311,6 +60861,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -58728,7 +61317,7 @@ impl ComPtr { } } -pub const I_AVN_UNIFORM_GRID_IID: Guid = Guid { data1: 0x600B20CC, data2: 0x7AA7, data3: 0x5EC9, data4: [0xB7, 0x73, 0xA8, 0x93, 0xB4, 0x37, 0x6F, 0x95] }; +pub const I_AVN_UNIFORM_GRID_IID: Guid = Guid { data1: 0x061A5BD1, data2: 0x9360, data3: 0x53D2, data4: [0xBE, 0xF6, 0x7E, 0xB9, 0xEC, 0xAE, 0xA4, 0x93] }; #[repr(C)] struct IAvnUniformGridVtbl { @@ -58807,6 +61396,12 @@ struct IAvnUniformGridVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnUniformGrid, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnUniformGrid, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnUniformGrid, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnUniformGrid, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnUniformGrid, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnUniformGrid, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnUniformGrid, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnUniformGrid, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnUniformGrid, i64) -> i32, get_children: unsafe extern "system" fn(*mut IAvnUniformGrid, *mut *mut IAvnControlList) -> i32, get_background: unsafe extern "system" fn(*mut IAvnUniformGrid, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnUniformGrid, *mut IAvnBrush) -> i32, @@ -59328,6 +61923,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_children(&self) -> Result> { unsafe { let mut value: *mut IAvnControlList = ptr::null_mut(); @@ -59422,7 +62056,7 @@ impl ComPtr { } } -pub const I_AVN_PROGRESS_BAR_IID: Guid = Guid { data1: 0xA87F44AD, data2: 0x6E9D, data3: 0x5059, data4: [0xA3, 0x55, 0xCB, 0xC9, 0x07, 0xAD, 0x0F, 0x45] }; +pub const I_AVN_PROGRESS_BAR_IID: Guid = Guid { data1: 0x5AD47222, data2: 0x012D, data3: 0x56C8, data4: [0x84, 0x59, 0x42, 0xDD, 0x29, 0x5B, 0x9D, 0xAF] }; #[repr(C)] struct IAvnProgressBarVtbl { @@ -59501,6 +62135,12 @@ struct IAvnProgressBarVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnProgressBar, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnProgressBar, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnProgressBar, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnProgressBar, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnProgressBar, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnProgressBar, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnProgressBar, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnProgressBar, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnProgressBar, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnProgressBar, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnProgressBar, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnProgressBar, *mut i32) -> i32, @@ -60058,6 +62698,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -60406,7 +63085,7 @@ impl ComPtr { } } -pub const I_AVN_RADIO_BUTTON_IID: Guid = Guid { data1: 0x1D9D9433, data2: 0xE351, data3: 0x59FA, data4: [0xA6, 0x5E, 0xF7, 0x8D, 0xF4, 0x22, 0x3F, 0x1C] }; +pub const I_AVN_RADIO_BUTTON_IID: Guid = Guid { data1: 0xA2E6518A, data2: 0x5B2E, data3: 0x5424, data4: [0x84, 0xFE, 0xCF, 0xA3, 0x25, 0xD9, 0x32, 0x88] }; #[repr(C)] struct IAvnRadioButtonVtbl { @@ -60485,6 +63164,12 @@ struct IAvnRadioButtonVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnRadioButton, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnRadioButton, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnRadioButton, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnRadioButton, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnRadioButton, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnRadioButton, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnRadioButton, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnRadioButton, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnRadioButton, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnRadioButton, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnRadioButton, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnRadioButton, *mut i32) -> i32, @@ -61054,6 +63739,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -61486,7 +64210,7 @@ impl ComPtr { } } -pub const I_AVN_REFRESH_CONTAINER_IID: Guid = Guid { data1: 0x3693CF05, data2: 0xF784, data3: 0x5394, data4: [0xB7, 0xD2, 0x6D, 0xF5, 0x11, 0xF8, 0x6F, 0x97] }; +pub const I_AVN_REFRESH_CONTAINER_IID: Guid = Guid { data1: 0x95707491, data2: 0x9943, data3: 0x5B6C, data4: [0xBF, 0x2E, 0x1A, 0x68, 0xA7, 0x97, 0xA8, 0x42] }; #[repr(C)] struct IAvnRefreshContainerVtbl { @@ -61565,6 +64289,12 @@ struct IAvnRefreshContainerVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnRefreshContainer, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnRefreshContainer, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnRefreshContainer, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnRefreshContainer, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnRefreshContainer, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnRefreshContainer, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnRefreshContainer, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnRefreshContainer, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnRefreshContainer, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnRefreshContainer, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnRefreshContainer, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnRefreshContainer, *mut i32) -> i32, @@ -62116,6 +64846,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -62419,7 +65188,7 @@ impl ComPtr { } } -pub const I_AVN_RELATIVE_PANEL_IID: Guid = Guid { data1: 0x0E550183, data2: 0x4D72, data3: 0x5357, data4: [0x8C, 0x3F, 0x9F, 0x15, 0xE4, 0x1B, 0xC9, 0x76] }; +pub const I_AVN_RELATIVE_PANEL_IID: Guid = Guid { data1: 0xA52468AD, data2: 0xE31F, data3: 0x58F2, data4: [0x8A, 0x74, 0x1A, 0xB7, 0xE7, 0x3D, 0x66, 0xE6] }; #[repr(C)] struct IAvnRelativePanelVtbl { @@ -62498,6 +65267,12 @@ struct IAvnRelativePanelVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnRelativePanel, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnRelativePanel, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnRelativePanel, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnRelativePanel, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnRelativePanel, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnRelativePanel, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnRelativePanel, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnRelativePanel, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnRelativePanel, i64) -> i32, get_children: unsafe extern "system" fn(*mut IAvnRelativePanel, *mut *mut IAvnControlList) -> i32, get_background: unsafe extern "system" fn(*mut IAvnRelativePanel, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnRelativePanel, *mut IAvnBrush) -> i32, @@ -63009,6 +65784,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_children(&self) -> Result> { unsafe { let mut value: *mut IAvnControlList = ptr::null_mut(); @@ -63033,7 +65847,7 @@ impl ComPtr { } } -pub const I_AVN_REPEAT_BUTTON_IID: Guid = Guid { data1: 0xE1023A87, data2: 0x3E17, data3: 0x5F1D, data4: [0x86, 0x71, 0x36, 0xC4, 0xFD, 0x0D, 0x1C, 0xC3] }; +pub const I_AVN_REPEAT_BUTTON_IID: Guid = Guid { data1: 0xDF355462, data2: 0x7926, data3: 0x5F77, data4: [0xB4, 0x63, 0x22, 0xB1, 0x64, 0xC7, 0xA4, 0x02] }; #[repr(C)] struct IAvnRepeatButtonVtbl { @@ -63112,6 +65926,12 @@ struct IAvnRepeatButtonVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnRepeatButton, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnRepeatButton, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnRepeatButton, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnRepeatButton, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnRepeatButton, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnRepeatButton, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnRepeatButton, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnRepeatButton, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnRepeatButton, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnRepeatButton, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnRepeatButton, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnRepeatButton, *mut i32) -> i32, @@ -63677,6 +66497,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -64081,7 +66940,7 @@ impl ComPtr { } } -pub const I_AVN_SCROLL_VIEWER_IID: Guid = Guid { data1: 0x74E7350C, data2: 0x320E, data3: 0x5E2A, data4: [0xA8, 0xB9, 0xCD, 0xD9, 0x29, 0xB6, 0xB8, 0x26] }; +pub const I_AVN_SCROLL_VIEWER_IID: Guid = Guid { data1: 0x4CCB656E, data2: 0x34E8, data3: 0x5621, data4: [0xAF, 0x96, 0x1C, 0x2A, 0xF4, 0xF1, 0xDA, 0xAE] }; #[repr(C)] struct IAvnScrollViewerVtbl { @@ -64160,6 +67019,12 @@ struct IAvnScrollViewerVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnScrollViewer, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnScrollViewer, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnScrollViewer, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnScrollViewer, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnScrollViewer, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnScrollViewer, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnScrollViewer, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnScrollViewer, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnScrollViewer, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnScrollViewer, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnScrollViewer, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnScrollViewer, *mut i32) -> i32, @@ -64749,6 +67614,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -65314,7 +68218,7 @@ impl ComPtr { } } -pub const I_AVN_SELECTABLE_TEXT_BLOCK_IID: Guid = Guid { data1: 0x843AC2A4, data2: 0x7FEF, data3: 0x5858, data4: [0x8A, 0x9A, 0xF1, 0x99, 0xBB, 0xA5, 0x26, 0x38] }; +pub const I_AVN_SELECTABLE_TEXT_BLOCK_IID: Guid = Guid { data1: 0x8E36E51E, data2: 0x30AC, data3: 0x563D, data4: [0xA2, 0xD7, 0x79, 0x33, 0x5F, 0x5F, 0xAD, 0x8C] }; #[repr(C)] struct IAvnSelectableTextBlockVtbl { @@ -65393,6 +68297,12 @@ struct IAvnSelectableTextBlockVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnSelectableTextBlock, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnSelectableTextBlock, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnSelectableTextBlock, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnSelectableTextBlock, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnSelectableTextBlock, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnSelectableTextBlock, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnSelectableTextBlock, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnSelectableTextBlock, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnSelectableTextBlock, i64) -> i32, get_padding: unsafe extern "system" fn(*mut IAvnSelectableTextBlock, *mut AvnThickness) -> i32, set_padding: unsafe extern "system" fn(*mut IAvnSelectableTextBlock, AvnThickness) -> i32, get_background: unsafe extern "system" fn(*mut IAvnSelectableTextBlock, *mut *mut IAvnBrush) -> i32, @@ -65952,6 +68862,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_padding(&self) -> Result { unsafe { let mut value: AvnThickness = Default::default(); @@ -66313,7 +69262,7 @@ impl ComPtr { } } -pub const I_AVN_SEPARATOR_IID: Guid = Guid { data1: 0x87BD59B4, data2: 0xCB85, data3: 0x5216, data4: [0xB7, 0x57, 0x72, 0xF9, 0x5F, 0xCB, 0x49, 0xE3] }; +pub const I_AVN_SEPARATOR_IID: Guid = Guid { data1: 0xC97E1335, data2: 0x936C, data3: 0x5319, data4: [0x91, 0xB3, 0x09, 0xE2, 0xE1, 0x60, 0x7D, 0x5A] }; #[repr(C)] struct IAvnSeparatorVtbl { @@ -66392,6 +69341,12 @@ struct IAvnSeparatorVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnSeparator, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnSeparator, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnSeparator, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnSeparator, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnSeparator, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnSeparator, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnSeparator, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnSeparator, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnSeparator, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnSeparator, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnSeparator, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnSeparator, *mut i32) -> i32, @@ -66928,6 +69883,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -67128,7 +70122,7 @@ impl ComPtr { } } -pub const I_AVN_ARC_IID: Guid = Guid { data1: 0x394ACB52, data2: 0x3BF3, data3: 0x52D6, data4: [0x97, 0xE8, 0x4B, 0xF0, 0xC1, 0x02, 0xF4, 0xBE] }; +pub const I_AVN_ARC_IID: Guid = Guid { data1: 0xD707907F, data2: 0xAF00, data3: 0x561A, data4: [0x93, 0x74, 0x03, 0xA9, 0x0D, 0xF5, 0x5B, 0x83] }; #[repr(C)] struct IAvnArcVtbl { @@ -67207,6 +70201,12 @@ struct IAvnArcVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnArc, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnArc, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnArc, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnArc, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnArc, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnArc, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnArc, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnArc, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnArc, i64) -> i32, get_fill: unsafe extern "system" fn(*mut IAvnArc, *mut *mut IAvnBrush) -> i32, set_fill: unsafe extern "system" fn(*mut IAvnArc, *mut IAvnBrush) -> i32, get_stretch: unsafe extern "system" fn(*mut IAvnArc, *mut i32) -> i32, @@ -67737,6 +70737,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_fill(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -67894,7 +70933,7 @@ impl ComPtr { } } -pub const I_AVN_ELLIPSE_IID: Guid = Guid { data1: 0x2AA5065D, data2: 0x5B4C, data3: 0x542B, data4: [0xB6, 0xCC, 0xA2, 0x30, 0xA5, 0x76, 0xE4, 0xF1] }; +pub const I_AVN_ELLIPSE_IID: Guid = Guid { data1: 0xECCCD4F8, data2: 0x7656, data3: 0x5346, data4: [0xB5, 0x62, 0xE8, 0x26, 0xC2, 0x7E, 0x03, 0x9E] }; #[repr(C)] struct IAvnEllipseVtbl { @@ -67973,6 +71012,12 @@ struct IAvnEllipseVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnEllipse, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnEllipse, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnEllipse, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnEllipse, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnEllipse, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnEllipse, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnEllipse, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnEllipse, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnEllipse, i64) -> i32, get_fill: unsafe extern "system" fn(*mut IAvnEllipse, *mut *mut IAvnBrush) -> i32, set_fill: unsafe extern "system" fn(*mut IAvnEllipse, *mut IAvnBrush) -> i32, get_stretch: unsafe extern "system" fn(*mut IAvnEllipse, *mut i32) -> i32, @@ -68499,6 +71544,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_fill(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -68628,7 +71712,7 @@ impl ComPtr { } } -pub const I_AVN_LINE_IID: Guid = Guid { data1: 0x12A0F43A, data2: 0x9EAB, data3: 0x5F5B, data4: [0x96, 0xEF, 0xD9, 0x1E, 0x25, 0xF3, 0x1B, 0x78] }; +pub const I_AVN_LINE_IID: Guid = Guid { data1: 0xC3F76A13, data2: 0x4998, data3: 0x5B6B, data4: [0xAD, 0x06, 0xEF, 0xB5, 0xE4, 0xB9, 0xEC, 0x61] }; #[repr(C)] struct IAvnLineVtbl { @@ -68707,6 +71791,12 @@ struct IAvnLineVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnLine, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnLine, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnLine, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnLine, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnLine, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnLine, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnLine, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnLine, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnLine, i64) -> i32, get_fill: unsafe extern "system" fn(*mut IAvnLine, *mut *mut IAvnBrush) -> i32, set_fill: unsafe extern "system" fn(*mut IAvnLine, *mut IAvnBrush) -> i32, get_stretch: unsafe extern "system" fn(*mut IAvnLine, *mut i32) -> i32, @@ -69237,6 +72327,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_fill(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -69394,7 +72523,7 @@ impl ComPtr { } } -pub const I_AVN_PATH_IID: Guid = Guid { data1: 0xE5A71060, data2: 0x50E1, data3: 0x5554, data4: [0x81, 0xB4, 0x03, 0x08, 0x98, 0xF2, 0x93, 0xCF] }; +pub const I_AVN_PATH_IID: Guid = Guid { data1: 0x708CD7FD, data2: 0x817B, data3: 0x56CB, data4: [0xAE, 0x5C, 0xC7, 0x4F, 0x67, 0xCA, 0xD4, 0xF6] }; #[repr(C)] struct IAvnPathVtbl { @@ -69473,6 +72602,12 @@ struct IAvnPathVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnPath, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnPath, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnPath, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnPath, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnPath, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnPath, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnPath, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnPath, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnPath, i64) -> i32, get_fill: unsafe extern "system" fn(*mut IAvnPath, *mut *mut IAvnBrush) -> i32, set_fill: unsafe extern "system" fn(*mut IAvnPath, *mut IAvnBrush) -> i32, get_stretch: unsafe extern "system" fn(*mut IAvnPath, *mut i32) -> i32, @@ -70001,6 +73136,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_fill(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -70145,7 +73319,7 @@ impl ComPtr { } } -pub const I_AVN_POLYGON_IID: Guid = Guid { data1: 0xE706EC48, data2: 0x3CA1, data3: 0x5BEA, data4: [0x90, 0x7E, 0x46, 0x0C, 0xA5, 0x3B, 0x06, 0xBE] }; +pub const I_AVN_POLYGON_IID: Guid = Guid { data1: 0x4F93F9D8, data2: 0x08E6, data3: 0x56F7, data4: [0xA5, 0x1B, 0x07, 0x39, 0x28, 0x79, 0x5D, 0x7D] }; #[repr(C)] struct IAvnPolygonVtbl { @@ -70224,6 +73398,12 @@ struct IAvnPolygonVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnPolygon, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnPolygon, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnPolygon, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnPolygon, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnPolygon, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnPolygon, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnPolygon, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnPolygon, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnPolygon, i64) -> i32, get_fill: unsafe extern "system" fn(*mut IAvnPolygon, *mut *mut IAvnBrush) -> i32, set_fill: unsafe extern "system" fn(*mut IAvnPolygon, *mut IAvnBrush) -> i32, get_stretch: unsafe extern "system" fn(*mut IAvnPolygon, *mut i32) -> i32, @@ -70754,6 +73934,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_fill(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -70912,7 +74131,7 @@ impl ComPtr { } } -pub const I_AVN_POLYLINE_IID: Guid = Guid { data1: 0x035DBEE9, data2: 0xDC4D, data3: 0x57B6, data4: [0x91, 0x40, 0xDD, 0x59, 0xB2, 0x08, 0xA9, 0xDC] }; +pub const I_AVN_POLYLINE_IID: Guid = Guid { data1: 0x2DBA0D61, data2: 0xC35B, data3: 0x5D12, data4: [0x82, 0xA7, 0x55, 0x5E, 0xDA, 0x62, 0x0B, 0xC5] }; #[repr(C)] struct IAvnPolylineVtbl { @@ -70991,6 +74210,12 @@ struct IAvnPolylineVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnPolyline, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnPolyline, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnPolyline, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnPolyline, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnPolyline, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnPolyline, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnPolyline, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnPolyline, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnPolyline, i64) -> i32, get_fill: unsafe extern "system" fn(*mut IAvnPolyline, *mut *mut IAvnBrush) -> i32, set_fill: unsafe extern "system" fn(*mut IAvnPolyline, *mut IAvnBrush) -> i32, get_stretch: unsafe extern "system" fn(*mut IAvnPolyline, *mut i32) -> i32, @@ -71521,6 +74746,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_fill(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -71679,7 +74943,7 @@ impl ComPtr { } } -pub const I_AVN_RECTANGLE_IID: Guid = Guid { data1: 0xE87D8C84, data2: 0x1090, data3: 0x5B7D, data4: [0x9D, 0xBA, 0x9F, 0x12, 0x2E, 0x19, 0xE3, 0x33] }; +pub const I_AVN_RECTANGLE_IID: Guid = Guid { data1: 0x95D3D828, data2: 0x9CB6, data3: 0x536E, data4: [0x96, 0xD5, 0x2D, 0x5D, 0x67, 0xC3, 0x46, 0x3F] }; #[repr(C)] struct IAvnRectangleVtbl { @@ -71758,6 +75022,12 @@ struct IAvnRectangleVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnRectangle, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnRectangle, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnRectangle, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnRectangle, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnRectangle, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnRectangle, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnRectangle, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnRectangle, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnRectangle, i64) -> i32, get_fill: unsafe extern "system" fn(*mut IAvnRectangle, *mut *mut IAvnBrush) -> i32, set_fill: unsafe extern "system" fn(*mut IAvnRectangle, *mut IAvnBrush) -> i32, get_stretch: unsafe extern "system" fn(*mut IAvnRectangle, *mut i32) -> i32, @@ -72288,6 +75558,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_fill(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -72445,7 +75754,7 @@ impl ComPtr { } } -pub const I_AVN_SECTOR_IID: Guid = Guid { data1: 0x5716DA45, data2: 0x6417, data3: 0x5758, data4: [0x89, 0xE7, 0x30, 0x34, 0x27, 0x80, 0x83, 0x53] }; +pub const I_AVN_SECTOR_IID: Guid = Guid { data1: 0xA6E3E187, data2: 0x67DD, data3: 0x5603, data4: [0x93, 0xD8, 0x74, 0x31, 0xB6, 0x44, 0x9C, 0xD7] }; #[repr(C)] struct IAvnSectorVtbl { @@ -72524,6 +75833,12 @@ struct IAvnSectorVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnSector, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnSector, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnSector, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnSector, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnSector, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnSector, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnSector, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnSector, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnSector, i64) -> i32, get_fill: unsafe extern "system" fn(*mut IAvnSector, *mut *mut IAvnBrush) -> i32, set_fill: unsafe extern "system" fn(*mut IAvnSector, *mut IAvnBrush) -> i32, get_stretch: unsafe extern "system" fn(*mut IAvnSector, *mut i32) -> i32, @@ -73054,6 +76369,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_fill(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -73211,7 +76565,7 @@ impl ComPtr { } } -pub const I_AVN_SHAPE_IID: Guid = Guid { data1: 0x5CB7105C, data2: 0xDAF9, data3: 0x5211, data4: [0x96, 0x59, 0x62, 0xEA, 0xB0, 0x32, 0x08, 0xFF] }; +pub const I_AVN_SHAPE_IID: Guid = Guid { data1: 0x8C49AE37, data2: 0x0535, data3: 0x5DEF, data4: [0x92, 0x6C, 0xD0, 0xD6, 0x85, 0x7C, 0xC2, 0x16] }; #[repr(C)] struct IAvnShapeVtbl { @@ -73290,6 +76644,12 @@ struct IAvnShapeVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnShape, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnShape, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnShape, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnShape, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnShape, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnShape, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnShape, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnShape, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnShape, i64) -> i32, get_fill: unsafe extern "system" fn(*mut IAvnShape, *mut *mut IAvnBrush) -> i32, set_fill: unsafe extern "system" fn(*mut IAvnShape, *mut IAvnBrush) -> i32, get_stretch: unsafe extern "system" fn(*mut IAvnShape, *mut i32) -> i32, @@ -73816,6 +77176,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_fill(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -73945,7 +77344,7 @@ impl ComPtr { } } -pub const I_AVN_SLIDER_IID: Guid = Guid { data1: 0xBF042391, data2: 0xAF5A, data3: 0x5DD4, data4: [0xB3, 0x21, 0x05, 0x5C, 0xA9, 0xF7, 0x0D, 0x23] }; +pub const I_AVN_SLIDER_IID: Guid = Guid { data1: 0x8F19D970, data2: 0x60A0, data3: 0x5AA7, data4: [0xA9, 0xCF, 0xDF, 0x78, 0x82, 0xB1, 0x1E, 0x7A] }; #[repr(C)] struct IAvnSliderVtbl { @@ -74024,6 +77423,12 @@ struct IAvnSliderVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnSlider, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnSlider, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnSlider, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnSlider, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnSlider, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnSlider, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnSlider, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnSlider, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnSlider, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnSlider, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnSlider, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnSlider, *mut i32) -> i32, @@ -74584,6 +77989,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -74952,7 +78396,7 @@ impl ComPtr { } } -pub const I_AVN_SPINNER_IID: Guid = Guid { data1: 0x4A63E264, data2: 0xF914, data3: 0x5256, data4: [0x93, 0xAB, 0x12, 0x68, 0x89, 0x5B, 0x90, 0x73] }; +pub const I_AVN_SPINNER_IID: Guid = Guid { data1: 0xCF93246B, data2: 0xDA27, data3: 0x5FC8, data4: [0x83, 0x82, 0xFE, 0x60, 0x00, 0xF8, 0x3F, 0xA4] }; #[repr(C)] struct IAvnSpinnerVtbl { @@ -75031,6 +78475,12 @@ struct IAvnSpinnerVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnSpinner, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnSpinner, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnSpinner, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnSpinner, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnSpinner, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnSpinner, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnSpinner, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnSpinner, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnSpinner, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnSpinner, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnSpinner, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnSpinner, *mut i32) -> i32, @@ -75579,6 +79029,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -75862,7 +79351,7 @@ impl ComPtr { } } -pub const I_AVN_SPLIT_BUTTON_IID: Guid = Guid { data1: 0x11D77809, data2: 0x48B6, data3: 0x5A29, data4: [0xB8, 0xD9, 0x5D, 0x41, 0x3B, 0xC9, 0x6A, 0x85] }; +pub const I_AVN_SPLIT_BUTTON_IID: Guid = Guid { data1: 0x88415351, data2: 0x1718, data3: 0x57DE, data4: [0x98, 0xD6, 0x5D, 0xEE, 0x17, 0x94, 0x02, 0x9C] }; #[repr(C)] struct IAvnSplitButtonVtbl { @@ -75941,6 +79430,12 @@ struct IAvnSplitButtonVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnSplitButton, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnSplitButton, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnSplitButton, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnSplitButton, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnSplitButton, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnSplitButton, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnSplitButton, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnSplitButton, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnSplitButton, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnSplitButton, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnSplitButton, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnSplitButton, *mut i32) -> i32, @@ -76495,6 +79990,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -76821,7 +80355,7 @@ impl ComPtr { } } -pub const I_AVN_SPLIT_VIEW_IID: Guid = Guid { data1: 0x048A7E1E, data2: 0x0539, data3: 0x5D4A, data4: [0x95, 0xD8, 0x5C, 0x2E, 0x6D, 0x42, 0x92, 0x02] }; +pub const I_AVN_SPLIT_VIEW_IID: Guid = Guid { data1: 0xCF2AF228, data2: 0xF18D, data3: 0x57E1, data4: [0xB3, 0x62, 0x6A, 0x69, 0x2F, 0xEB, 0x7A, 0xC4] }; #[repr(C)] struct IAvnSplitViewVtbl { @@ -76900,6 +80434,12 @@ struct IAvnSplitViewVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnSplitView, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnSplitView, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnSplitView, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnSplitView, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnSplitView, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnSplitView, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnSplitView, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnSplitView, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnSplitView, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnSplitView, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnSplitView, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnSplitView, *mut i32) -> i32, @@ -77470,6 +81010,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -77904,7 +81483,7 @@ impl ComPtr { } } -pub const I_AVN_STACK_PANEL_IID: Guid = Guid { data1: 0x17521479, data2: 0xDA81, data3: 0x5A88, data4: [0x99, 0x84, 0x55, 0x7E, 0xE0, 0x8F, 0xF8, 0x97] }; +pub const I_AVN_STACK_PANEL_IID: Guid = Guid { data1: 0x41C138FB, data2: 0xC0C9, data3: 0x579F, data4: [0xA3, 0xB9, 0x76, 0x08, 0x07, 0x32, 0xA9, 0x4C] }; #[repr(C)] struct IAvnStackPanelVtbl { @@ -77983,6 +81562,12 @@ struct IAvnStackPanelVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnStackPanel, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnStackPanel, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnStackPanel, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnStackPanel, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnStackPanel, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnStackPanel, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnStackPanel, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnStackPanel, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnStackPanel, i64) -> i32, get_children: unsafe extern "system" fn(*mut IAvnStackPanel, *mut *mut IAvnControlList) -> i32, get_background: unsafe extern "system" fn(*mut IAvnStackPanel, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnStackPanel, *mut IAvnBrush) -> i32, @@ -78502,6 +82087,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_children(&self) -> Result> { unsafe { let mut value: *mut IAvnControlList = ptr::null_mut(); @@ -78582,7 +82206,7 @@ impl ComPtr { } } -pub const I_AVN_TAB_CONTROL_IID: Guid = Guid { data1: 0x8F087347, data2: 0x637D, data3: 0x5F69, data4: [0xBA, 0xBE, 0x6D, 0x6E, 0xD3, 0x04, 0x40, 0xC1] }; +pub const I_AVN_TAB_CONTROL_IID: Guid = Guid { data1: 0x27DF6FA4, data2: 0x888C, data3: 0x53C3, data4: [0x86, 0x12, 0x18, 0x67, 0x47, 0xFD, 0x07, 0xBF] }; #[repr(C)] struct IAvnTabControlVtbl { @@ -78661,6 +82285,12 @@ struct IAvnTabControlVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnTabControl, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnTabControl, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnTabControl, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnTabControl, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnTabControl, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnTabControl, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnTabControl, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnTabControl, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnTabControl, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnTabControl, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnTabControl, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnTabControl, *mut i32) -> i32, @@ -79235,6 +82865,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -79702,7 +83371,7 @@ impl ComPtr { } } -pub const I_AVN_TAB_ITEM_IID: Guid = Guid { data1: 0x406B7990, data2: 0x01A7, data3: 0x533E, data4: [0x9A, 0x2A, 0x7B, 0x70, 0xDD, 0xFC, 0xE8, 0xEC] }; +pub const I_AVN_TAB_ITEM_IID: Guid = Guid { data1: 0xDED2B477, data2: 0xBC45, data3: 0x5613, data4: [0xBA, 0x24, 0xCD, 0xBA, 0xB6, 0x35, 0xD7, 0x85] }; #[repr(C)] struct IAvnTabItemVtbl { @@ -79781,6 +83450,12 @@ struct IAvnTabItemVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnTabItem, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnTabItem, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnTabItem, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnTabItem, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnTabItem, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnTabItem, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnTabItem, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnTabItem, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnTabItem, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnTabItem, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnTabItem, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnTabItem, *mut i32) -> i32, @@ -80338,6 +84013,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -80686,7 +84400,7 @@ impl ComPtr { } } -pub const I_AVN_TABLE_VIEW_IID: Guid = Guid { data1: 0xD4BE6E5C, data2: 0xB5DD, data3: 0x5BB0, data4: [0xA3, 0x0F, 0x3C, 0xC8, 0x33, 0x76, 0x7F, 0x7C] }; +pub const I_AVN_TABLE_VIEW_IID: Guid = Guid { data1: 0xBA62A21B, data2: 0xC26D, data3: 0x587F, data4: [0xA4, 0x1F, 0x35, 0xE6, 0x7E, 0x20, 0x0B, 0x69] }; #[repr(C)] struct IAvnTableViewVtbl { @@ -80765,6 +84479,12 @@ struct IAvnTableViewVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnTableView, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnTableView, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnTableView, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnTableView, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnTableView, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnTableView, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnTableView, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnTableView, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnTableView, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnTableView, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnTableView, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnTableView, *mut i32) -> i32, @@ -81335,6 +85055,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -81770,7 +85529,7 @@ impl ComPtr { } } -pub const I_AVN_TABLE_VIEW_CELL_IID: Guid = Guid { data1: 0x7B4DC408, data2: 0x8142, data3: 0x5915, data4: [0xB1, 0xA7, 0x15, 0xCE, 0x22, 0x06, 0x25, 0x12] }; +pub const I_AVN_TABLE_VIEW_CELL_IID: Guid = Guid { data1: 0x2B1B1C38, data2: 0x97FD, data3: 0x59A3, data4: [0x8B, 0xCD, 0x59, 0xAC, 0xBD, 0xC0, 0x33, 0x68] }; #[repr(C)] struct IAvnTableViewCellVtbl { @@ -81849,6 +85608,12 @@ struct IAvnTableViewCellVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnTableViewCell, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnTableViewCell, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnTableViewCell, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnTableViewCell, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnTableViewCell, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnTableViewCell, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnTableViewCell, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnTableViewCell, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnTableViewCell, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnTableViewCell, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnTableViewCell, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnTableViewCell, *mut i32) -> i32, @@ -82393,6 +86158,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -83001,7 +86805,7 @@ impl ComPtr { } } -pub const I_AVN_TABLE_VIEW_ROW_IID: Guid = Guid { data1: 0x1A492B55, data2: 0x9FB8, data3: 0x5F66, data4: [0x98, 0x6E, 0xEF, 0x1D, 0xED, 0x34, 0xA3, 0x8D] }; +pub const I_AVN_TABLE_VIEW_ROW_IID: Guid = Guid { data1: 0x8E3BA93D, data2: 0xD0BE, data3: 0x51D9, data4: [0xA0, 0x07, 0x2A, 0xF6, 0x14, 0xAC, 0x6A, 0xDB] }; #[repr(C)] struct IAvnTableViewRowVtbl { @@ -83080,6 +86884,12 @@ struct IAvnTableViewRowVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnTableViewRow, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnTableViewRow, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnTableViewRow, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnTableViewRow, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnTableViewRow, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnTableViewRow, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnTableViewRow, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnTableViewRow, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnTableViewRow, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnTableViewRow, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnTableViewRow, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnTableViewRow, *mut i32) -> i32, @@ -83626,6 +87436,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -83896,7 +87745,7 @@ impl ComPtr { } } -pub const I_AVN_TEXT_BLOCK_IID: Guid = Guid { data1: 0x06129468, data2: 0xB036, data3: 0x5F97, data4: [0xAC, 0xA3, 0x6C, 0x51, 0xB8, 0x45, 0x74, 0x6D] }; +pub const I_AVN_TEXT_BLOCK_IID: Guid = Guid { data1: 0x199AE412, data2: 0xEE08, data3: 0x5BDE, data4: [0xA4, 0x98, 0x66, 0xAE, 0x02, 0x31, 0xAA, 0x3F] }; #[repr(C)] struct IAvnTextBlockVtbl { @@ -83975,6 +87824,12 @@ struct IAvnTextBlockVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnTextBlock, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnTextBlock, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnTextBlock, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnTextBlock, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnTextBlock, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnTextBlock, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnTextBlock, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnTextBlock, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnTextBlock, i64) -> i32, get_padding: unsafe extern "system" fn(*mut IAvnTextBlock, *mut AvnThickness) -> i32, set_padding: unsafe extern "system" fn(*mut IAvnTextBlock, AvnThickness) -> i32, get_background: unsafe extern "system" fn(*mut IAvnTextBlock, *mut *mut IAvnBrush) -> i32, @@ -84519,6 +88374,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_padding(&self) -> Result { unsafe { let mut value: AvnThickness = Default::default(); @@ -84777,7 +88671,7 @@ impl ComPtr { } } -pub const I_AVN_TEXT_BOX_IID: Guid = Guid { data1: 0xBCD740F5, data2: 0x7423, data3: 0x5B2D, data4: [0xAD, 0x5E, 0xCB, 0x40, 0x07, 0x22, 0x26, 0xF8] }; +pub const I_AVN_TEXT_BOX_IID: Guid = Guid { data1: 0x55D76247, data2: 0x3F6A, data3: 0x5F45, data4: [0xAC, 0x3C, 0x33, 0xB3, 0x4A, 0x38, 0x32, 0x9A] }; #[repr(C)] struct IAvnTextBoxVtbl { @@ -84856,6 +88750,12 @@ struct IAvnTextBoxVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnTextBox, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnTextBox, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnTextBox, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnTextBox, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnTextBox, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnTextBox, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnTextBox, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnTextBox, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnTextBox, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnTextBox, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnTextBox, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnTextBox, *mut i32) -> i32, @@ -85481,6 +89381,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -86299,7 +90238,7 @@ impl ComPtr { } } -pub const I_AVN_THEME_VARIANT_SCOPE_IID: Guid = Guid { data1: 0x2E35671F, data2: 0xC418, data3: 0x50E8, data4: [0x86, 0xC1, 0xED, 0x85, 0x8C, 0x03, 0x6A, 0x8D] }; +pub const I_AVN_THEME_VARIANT_SCOPE_IID: Guid = Guid { data1: 0xFF6B43AB, data2: 0xB89D, data3: 0x5574, data4: [0xBB, 0xDE, 0x9A, 0xCA, 0xCD, 0x23, 0xDB, 0xA4] }; #[repr(C)] struct IAvnThemeVariantScopeVtbl { @@ -86378,6 +90317,12 @@ struct IAvnThemeVariantScopeVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnThemeVariantScope, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnThemeVariantScope, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnThemeVariantScope, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnThemeVariantScope, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnThemeVariantScope, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnThemeVariantScope, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnThemeVariantScope, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnThemeVariantScope, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnThemeVariantScope, i64) -> i32, get_child: unsafe extern "system" fn(*mut IAvnThemeVariantScope, *mut *mut IAvnControl) -> i32, set_child: unsafe extern "system" fn(*mut IAvnThemeVariantScope, *mut IAvnControl) -> i32, get_padding: unsafe extern "system" fn(*mut IAvnThemeVariantScope, *mut AvnThickness) -> i32, @@ -86892,6 +90837,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_child(&self) -> Result>> { unsafe { let mut value: *mut IAvnControl = ptr::null_mut(); @@ -86937,7 +90921,7 @@ impl ComPtr { } } -pub const I_AVN_TIME_PICKER_IID: Guid = Guid { data1: 0x9F3B7D7A, data2: 0xE290, data3: 0x5ADC, data4: [0x99, 0x7C, 0x21, 0x3A, 0x25, 0xF2, 0x0D, 0x3B] }; +pub const I_AVN_TIME_PICKER_IID: Guid = Guid { data1: 0x5E7CE65A, data2: 0xFE53, data3: 0x551C, data4: [0x9F, 0x5A, 0x23, 0x44, 0xEE, 0x09, 0xE0, 0x02] }; #[repr(C)] struct IAvnTimePickerVtbl { @@ -87016,6 +91000,12 @@ struct IAvnTimePickerVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnTimePicker, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnTimePicker, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnTimePicker, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnTimePicker, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnTimePicker, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnTimePicker, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnTimePicker, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnTimePicker, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnTimePicker, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnTimePicker, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnTimePicker, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnTimePicker, *mut i32) -> i32, @@ -87567,6 +91557,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -87872,7 +91901,7 @@ impl ComPtr { } } -pub const I_AVN_TOGGLE_SPLIT_BUTTON_IID: Guid = Guid { data1: 0x4FD7A582, data2: 0x1766, data3: 0x5CC7, data4: [0xB1, 0x73, 0x72, 0xF4, 0x7F, 0xDF, 0x6B, 0xFF] }; +pub const I_AVN_TOGGLE_SPLIT_BUTTON_IID: Guid = Guid { data1: 0x0057E49B, data2: 0xBB54, data3: 0x516F, data4: [0x8F, 0xDA, 0xB1, 0xE6, 0x46, 0xA1, 0xC8, 0x97] }; #[repr(C)] struct IAvnToggleSplitButtonVtbl { @@ -87951,6 +91980,12 @@ struct IAvnToggleSplitButtonVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnToggleSplitButton, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnToggleSplitButton, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnToggleSplitButton, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnToggleSplitButton, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnToggleSplitButton, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnToggleSplitButton, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnToggleSplitButton, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnToggleSplitButton, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnToggleSplitButton, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnToggleSplitButton, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnToggleSplitButton, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnToggleSplitButton, *mut i32) -> i32, @@ -88509,6 +92544,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -88862,7 +92936,7 @@ impl ComPtr { } } -pub const I_AVN_TOGGLE_SWITCH_IID: Guid = Guid { data1: 0x96F69492, data2: 0x4FBE, data3: 0x565F, data4: [0x85, 0x72, 0xD7, 0xAE, 0xA4, 0x09, 0x97, 0xE9] }; +pub const I_AVN_TOGGLE_SWITCH_IID: Guid = Guid { data1: 0xB022C6CE, data2: 0x8A5D, data3: 0x5700, data4: [0xB3, 0x41, 0x11, 0x4A, 0x6A, 0x4F, 0xBC, 0xA0] }; #[repr(C)] struct IAvnToggleSwitchVtbl { @@ -88941,6 +93015,12 @@ struct IAvnToggleSwitchVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnToggleSwitch, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnToggleSwitch, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnToggleSwitch, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnToggleSwitch, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnToggleSwitch, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnToggleSwitch, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnToggleSwitch, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnToggleSwitch, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnToggleSwitch, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnToggleSwitch, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnToggleSwitch, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnToggleSwitch, *mut i32) -> i32, @@ -89516,6 +93596,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -89989,7 +94108,7 @@ impl ComPtr { } } -pub const I_AVN_TOOL_TIP_IID: Guid = Guid { data1: 0x8158AEAF, data2: 0xB85C, data3: 0x59C4, data4: [0xBF, 0xCE, 0x98, 0xDF, 0x20, 0xF4, 0xC2, 0xC9] }; +pub const I_AVN_TOOL_TIP_IID: Guid = Guid { data1: 0x2B78EA6B, data2: 0xFE62, data3: 0x5508, data4: [0xAB, 0x5F, 0x58, 0x6C, 0x35, 0x23, 0xC5, 0xA1] }; #[repr(C)] struct IAvnToolTipVtbl { @@ -90068,6 +94187,12 @@ struct IAvnToolTipVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnToolTip, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnToolTip, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnToolTip, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnToolTip, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnToolTip, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnToolTip, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnToolTip, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnToolTip, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnToolTip, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnToolTip, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnToolTip, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnToolTip, *mut i32) -> i32, @@ -90612,6 +94737,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -90868,7 +95032,7 @@ impl ComPtr { } } -pub const I_AVN_TRANSITIONING_CONTENT_CONTROL_IID: Guid = Guid { data1: 0x643AACDC, data2: 0xAB53, data3: 0x56DF, data4: [0xA1, 0x97, 0x28, 0x04, 0x2B, 0xF4, 0xD6, 0x9F] }; +pub const I_AVN_TRANSITIONING_CONTENT_CONTROL_IID: Guid = Guid { data1: 0xFD0EB25C, data2: 0x585B, data3: 0x5EDA, data4: [0xB1, 0xED, 0xF6, 0x29, 0xA7, 0x65, 0xB5, 0xA9] }; #[repr(C)] struct IAvnTransitioningContentControlVtbl { @@ -90947,6 +95111,12 @@ struct IAvnTransitioningContentControlVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnTransitioningContentControl, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnTransitioningContentControl, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnTransitioningContentControl, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnTransitioningContentControl, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnTransitioningContentControl, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnTransitioningContentControl, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnTransitioningContentControl, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnTransitioningContentControl, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnTransitioningContentControl, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnTransitioningContentControl, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnTransitioningContentControl, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnTransitioningContentControl, *mut i32) -> i32, @@ -91495,6 +95665,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -91912,7 +96121,7 @@ impl ComPtr { } } -pub const I_AVN_TREE_VIEW_IID: Guid = Guid { data1: 0xE8A54D8B, data2: 0x7903, data3: 0x57AE, data4: [0x9B, 0xF8, 0xF5, 0xA8, 0x05, 0x50, 0x28, 0xFC] }; +pub const I_AVN_TREE_VIEW_IID: Guid = Guid { data1: 0x0B60003F, data2: 0xEC3F, data3: 0x5F72, data4: [0x97, 0x63, 0x04, 0xC3, 0xC4, 0xFF, 0xE8, 0xDD] }; #[repr(C)] struct IAvnTreeViewVtbl { @@ -91991,6 +96200,12 @@ struct IAvnTreeViewVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnTreeView, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnTreeView, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnTreeView, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnTreeView, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnTreeView, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnTreeView, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnTreeView, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnTreeView, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnTreeView, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnTreeView, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnTreeView, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnTreeView, *mut i32) -> i32, @@ -92555,6 +96770,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -92946,7 +97200,7 @@ impl ComPtr { } } -pub const I_AVN_TREE_VIEW_ITEM_IID: Guid = Guid { data1: 0xCDD644B1, data2: 0x7E5B, data3: 0x5C32, data4: [0x92, 0x71, 0x5A, 0x69, 0xCE, 0xE6, 0x50, 0x05] }; +pub const I_AVN_TREE_VIEW_ITEM_IID: Guid = Guid { data1: 0xF173219D, data2: 0xC63C, data3: 0x5669, data4: [0xBE, 0x7D, 0x98, 0xE9, 0x8B, 0xF1, 0xC5, 0x4B] }; #[repr(C)] struct IAvnTreeViewItemVtbl { @@ -93025,6 +97279,12 @@ struct IAvnTreeViewItemVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnTreeViewItem, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnTreeViewItem, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnTreeViewItem, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnTreeViewItem, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnTreeViewItem, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnTreeViewItem, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnTreeViewItem, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnTreeViewItem, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnTreeViewItem, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnTreeViewItem, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnTreeViewItem, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnTreeViewItem, *mut i32) -> i32, @@ -93586,6 +97846,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -93960,7 +98259,7 @@ impl ComPtr { } } -pub const I_AVN_USER_CONTROL_IID: Guid = Guid { data1: 0xE3ABA05B, data2: 0xDFF9, data3: 0x53C3, data4: [0x88, 0x85, 0xCE, 0x2D, 0x78, 0xFE, 0xFF, 0xFC] }; +pub const I_AVN_USER_CONTROL_IID: Guid = Guid { data1: 0x0BFF79AB, data2: 0x0D63, data3: 0x5654, data4: [0x8F, 0x44, 0xDB, 0xBD, 0xA6, 0x30, 0xFA, 0x30] }; #[repr(C)] struct IAvnUserControlVtbl { @@ -94039,6 +98338,12 @@ struct IAvnUserControlVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnUserControl, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnUserControl, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnUserControl, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnUserControl, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnUserControl, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnUserControl, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnUserControl, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnUserControl, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnUserControl, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnUserControl, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnUserControl, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnUserControl, *mut i32) -> i32, @@ -94583,6 +98888,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -94839,7 +99183,7 @@ impl ComPtr { } } -pub const I_AVN_VIEWBOX_IID: Guid = Guid { data1: 0x3140444B, data2: 0x2172, data3: 0x5105, data4: [0xB7, 0xAD, 0xD8, 0x10, 0xD5, 0x79, 0x4C, 0x13] }; +pub const I_AVN_VIEWBOX_IID: Guid = Guid { data1: 0x159B2487, data2: 0x78B8, data3: 0x5C1A, data4: [0x93, 0x2D, 0xA6, 0x7C, 0x6E, 0x2E, 0x74, 0x20] }; #[repr(C)] struct IAvnViewboxVtbl { @@ -94918,6 +99262,12 @@ struct IAvnViewboxVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnViewbox, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnViewbox, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnViewbox, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnViewbox, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnViewbox, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnViewbox, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnViewbox, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnViewbox, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnViewbox, i64) -> i32, get_stretch: unsafe extern "system" fn(*mut IAvnViewbox, *mut i32) -> i32, set_stretch: unsafe extern "system" fn(*mut IAvnViewbox, i32) -> i32, get_stretch_direction: unsafe extern "system" fn(*mut IAvnViewbox, *mut i32) -> i32, @@ -95432,6 +99782,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_stretch(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -95476,7 +99865,7 @@ impl ComPtr { } } -pub const I_AVN_WINDOW_IID: Guid = Guid { data1: 0x29E3362E, data2: 0xB16E, data3: 0x5163, data4: [0xAE, 0xD3, 0xCF, 0x14, 0xD6, 0xB1, 0x27, 0x84] }; +pub const I_AVN_WINDOW_IID: Guid = Guid { data1: 0xBF221569, data2: 0x8214, data3: 0x5478, data4: [0x95, 0x05, 0x0B, 0x21, 0xA2, 0x66, 0x35, 0x45] }; #[repr(C)] struct IAvnWindowVtbl { @@ -95555,6 +99944,12 @@ struct IAvnWindowVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnWindow, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnWindow, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnWindow, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnWindow, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnWindow, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnWindow, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnWindow, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnWindow, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnWindow, i64) -> i32, get_background: unsafe extern "system" fn(*mut IAvnWindow, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnWindow, *mut IAvnBrush) -> i32, get_background_sizing: unsafe extern "system" fn(*mut IAvnWindow, *mut i32) -> i32, @@ -96140,6 +100535,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_background(&self) -> Result>> { unsafe { let mut value: *mut IAvnBrush = ptr::null_mut(); @@ -96683,7 +101117,7 @@ impl ComPtr { } } -pub const I_AVN_WRAP_PANEL_IID: Guid = Guid { data1: 0x802A39C5, data2: 0x57F6, data3: 0x5E1A, data4: [0x9D, 0xA8, 0x02, 0x63, 0x45, 0x71, 0xCF, 0x6D] }; +pub const I_AVN_WRAP_PANEL_IID: Guid = Guid { data1: 0xFE3C3653, data2: 0x52AA, data3: 0x529D, data4: [0x8A, 0xCE, 0x7F, 0x54, 0xE7, 0xD7, 0x43, 0x87] }; #[repr(C)] struct IAvnWrapPanelVtbl { @@ -96762,6 +101196,12 @@ struct IAvnWrapPanelVtbl { unadvise_pointer_entered: unsafe extern "system" fn(*mut IAvnWrapPanel, i64) -> i32, advise_pointer_exited: unsafe extern "system" fn(*mut IAvnWrapPanel, *mut IAvnControlPointerExitedHandler, *mut i64) -> i32, unadvise_pointer_exited: unsafe extern "system" fn(*mut IAvnWrapPanel, i64) -> i32, + advise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnWrapPanel, *mut IAvnControlPointerWheelChangedHandler, *mut i64) -> i32, + unadvise_pointer_wheel_changed: unsafe extern "system" fn(*mut IAvnWrapPanel, i64) -> i32, + advise_tapped: unsafe extern "system" fn(*mut IAvnWrapPanel, *mut IAvnControlTappedHandler, *mut i64) -> i32, + unadvise_tapped: unsafe extern "system" fn(*mut IAvnWrapPanel, i64) -> i32, + advise_double_tapped: unsafe extern "system" fn(*mut IAvnWrapPanel, *mut IAvnControlDoubleTappedHandler, *mut i64) -> i32, + unadvise_double_tapped: unsafe extern "system" fn(*mut IAvnWrapPanel, i64) -> i32, get_children: unsafe extern "system" fn(*mut IAvnWrapPanel, *mut *mut IAvnControlList) -> i32, get_background: unsafe extern "system" fn(*mut IAvnWrapPanel, *mut *mut IAvnBrush) -> i32, set_background: unsafe extern "system" fn(*mut IAvnWrapPanel, *mut IAvnBrush) -> i32, @@ -97285,6 +101725,45 @@ impl ComPtr { hresult::check(hr) } } + pub fn advise_pointer_wheel_changed(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_pointer_wheel_changed)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_pointer_wheel_changed(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_pointer_wheel_changed)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } + pub fn advise_double_tapped(&self, handler: &ComPtr) -> Result { + unsafe { + let mut subscription_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().advise_double_tapped)(self.as_raw(), handler.as_raw(), &mut subscription_id); + hresult::check(hr).map(|_| subscription_id) + } + } + pub fn unadvise_double_tapped(&self, subscription_id: i64) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().unadvise_double_tapped)(self.as_raw(), subscription_id); + hresult::check(hr) + } + } pub fn get_children(&self) -> Result> { unsafe { let mut value: *mut IAvnControlList = ptr::null_mut(); diff --git a/rust/avalonia-sys/tests/brush_abi.rs b/rust/avalonia-sys/tests/brush_abi.rs index f829e6e..02dcb12 100644 --- a/rust/avalonia-sys/tests/brush_abi.rs +++ b/rust/avalonia-sys/tests/brush_abi.rs @@ -73,18 +73,18 @@ fn chrome_members_publish_brush_pointers_and_geometry_by_value() { #[test] fn chrome_wave_interfaces_publish_abi_version_four() { for expected in [ - "#define I_AVN_BORDER_ABI_VERSION 13", - "#define I_AVN_PANEL_ABI_VERSION 12", - "#define I_AVN_TEMPLATED_CONTROL_ABI_VERSION 13", - "#define I_AVN_TEXT_BLOCK_ABI_VERSION 15", + "#define I_AVN_BORDER_ABI_VERSION 14", + "#define I_AVN_PANEL_ABI_VERSION 13", + "#define I_AVN_TEMPLATED_CONTROL_ABI_VERSION 14", + "#define I_AVN_TEXT_BLOCK_ABI_VERSION 16", // The factory grew create_solid_color_brush at version 2, a creator per wave A control // at version 3, and a creator per constructible wave B type at version 4. "#define I_AVN_CONTROL_FACTORY_ABI_VERSION 13", // Nothing was added to StyledElement, Control or Decorator, and none of their bases // moved, so their flattened vtables are byte-identical to version 3. "#define I_AVN_STYLED_ELEMENT_ABI_VERSION 6", - "#define I_AVN_CONTROL_ABI_VERSION 9", - "#define I_AVN_DECORATOR_ABI_VERSION 11", + "#define I_AVN_CONTROL_ABI_VERSION 10", + "#define I_AVN_DECORATOR_ABI_VERSION 12", "#define I_AVN_AVALONIA_OBJECT_ABI_VERSION 2", ] { assert!(HEADER.contains(expected), "header is missing `{expected}`"); @@ -133,11 +133,11 @@ fn widened_interfaces_republish_under_fresh_iids() { // republished under fresh IIDs. assert_eq!( format_iid(&I_AVN_CONTROL_IID), - "ABDFF81D-DB26-5BB7-9ACA-18353E6DB4D4" + "E2F44292-89FA-5AFA-9294-FF2F26DB68CE" ); assert_eq!( format_iid(&I_AVN_DECORATOR_IID), - "73D7A8D4-2B75-5F19-958F-DE0D15AC3079" + "C3E4D085-4977-566E-B843-75D86B43C2C9" ); // The brush is a brand new interface, so it starts at version 1 with its own IID. diff --git a/rust/avalonia-sys/tests/control_abi.rs b/rust/avalonia-sys/tests/control_abi.rs index 5c2ce4d..47bd962 100644 --- a/rust/avalonia-sys/tests/control_abi.rs +++ b/rust/avalonia-sys/tests/control_abi.rs @@ -91,28 +91,28 @@ fn completeness_members_are_published_on_the_type_that_declares_them() { #[test] fn widened_interfaces_publish_abi_version_five() { for expected in [ - "#define I_AVN_CONTENT_CONTROL_ABI_VERSION 14", - "#define I_AVN_HEADERED_CONTENT_CONTROL_ABI_VERSION 14", - "#define I_AVN_EXPANDER_ABI_VERSION 14", - "#define I_AVN_BUTTON_ABI_VERSION 17", - "#define I_AVN_TOGGLE_BUTTON_ABI_VERSION 17", - "#define I_AVN_CHECK_BOX_ABI_VERSION 17", - "#define I_AVN_RADIO_BUTTON_ABI_VERSION 17", - "#define I_AVN_TOGGLE_SWITCH_ABI_VERSION 17", - "#define I_AVN_LIST_BOX_ABI_VERSION 17", - "#define I_AVN_LIST_BOX_ITEM_ABI_VERSION 16", - "#define I_AVN_COMBO_BOX_ABI_VERSION 18", - "#define I_AVN_COMBO_BOX_ITEM_ABI_VERSION 16", - "#define I_AVN_SCROLL_VIEWER_ABI_VERSION 16", - "#define I_AVN_WINDOW_ABI_VERSION 19", - "#define I_AVN_TEMPLATED_CONTROL_ABI_VERSION 13", - "#define I_AVN_TEXT_BLOCK_ABI_VERSION 15", - "#define I_AVN_TEXT_BOX_ABI_VERSION 19", - "#define I_AVN_ITEMS_CONTROL_ABI_VERSION 16", - "#define I_AVN_SELECTING_ITEMS_CONTROL_ABI_VERSION 16", - "#define I_AVN_BORDER_ABI_VERSION 13", - "#define I_AVN_PANEL_ABI_VERSION 12", - "#define I_AVN_CONTROL_ABI_VERSION 9", + "#define I_AVN_CONTENT_CONTROL_ABI_VERSION 15", + "#define I_AVN_HEADERED_CONTENT_CONTROL_ABI_VERSION 15", + "#define I_AVN_EXPANDER_ABI_VERSION 15", + "#define I_AVN_BUTTON_ABI_VERSION 18", + "#define I_AVN_TOGGLE_BUTTON_ABI_VERSION 18", + "#define I_AVN_CHECK_BOX_ABI_VERSION 18", + "#define I_AVN_RADIO_BUTTON_ABI_VERSION 18", + "#define I_AVN_TOGGLE_SWITCH_ABI_VERSION 18", + "#define I_AVN_LIST_BOX_ABI_VERSION 18", + "#define I_AVN_LIST_BOX_ITEM_ABI_VERSION 17", + "#define I_AVN_COMBO_BOX_ABI_VERSION 19", + "#define I_AVN_COMBO_BOX_ITEM_ABI_VERSION 17", + "#define I_AVN_SCROLL_VIEWER_ABI_VERSION 17", + "#define I_AVN_WINDOW_ABI_VERSION 20", + "#define I_AVN_TEMPLATED_CONTROL_ABI_VERSION 14", + "#define I_AVN_TEXT_BLOCK_ABI_VERSION 16", + "#define I_AVN_TEXT_BOX_ABI_VERSION 20", + "#define I_AVN_ITEMS_CONTROL_ABI_VERSION 17", + "#define I_AVN_SELECTING_ITEMS_CONTROL_ABI_VERSION 17", + "#define I_AVN_BORDER_ABI_VERSION 14", + "#define I_AVN_PANEL_ABI_VERSION 13", + "#define I_AVN_CONTROL_ABI_VERSION 10", "#define I_AVN_AVALONIA_OBJECT_ABI_VERSION 2", // The factory gained a creator per wave A control plus get_tool_tip_statics at version // 3, and a creator per constructible wave B type at version 4. @@ -240,32 +240,32 @@ fn widened_interfaces_republish_under_fresh_iids() { for (name, expected, current) in [ ( "IAvnContentControl", - "71FA5ADD-9F62-5918-84D4-4B300B8EA192", + "611A61DE-9AD0-5456-979A-EE525E5132CE", I_AVN_CONTENT_CONTROL_IID, ), ( "IAvnButton", - "39E10286-7BB7-511B-8885-733B3AB380F6", + "E66D2CD1-A3CD-538E-9607-B5E784669C89", I_AVN_BUTTON_IID, ), ( "IAvnToggleButton", - "F9840045-23B2-5318-A7DA-EB7F3287FBD8", + "23A7F6FB-AFEF-5E4D-8A9A-94F4EFCF6B12", I_AVN_TOGGLE_BUTTON_IID, ), ( "IAvnListBox", - "6D07BC84-D7C4-5226-A69E-AAF3EE1663A9", + "C45989AF-4038-524F-885B-E57185B22159", I_AVN_LIST_BOX_IID, ), ( "IAvnComboBox", - "C05FA67D-1BEE-51A8-9367-0300AA1CAE23", + "EEBBD41C-3704-5BC1-BB31-E87EF407CB79", I_AVN_COMBO_BOX_IID, ), ( "IAvnWindow", - "29E3362E-B16E-5163-AED3-CF14D6B12784", + "BF221569-8214-5478-9505-0B21A2663545", I_AVN_WINDOW_IID, ), ] { @@ -279,23 +279,23 @@ fn widened_interfaces_republish_under_fresh_iids() { ); assert_eq!( format_iid(&I_AVN_CONTROL_IID), - "ABDFF81D-DB26-5BB7-9ACA-18353E6DB4D4" + "E2F44292-89FA-5AFA-9294-FF2F26DB68CE" ); assert_eq!( format_iid(&I_AVN_BORDER_IID), - "DFE5487A-B7C3-5DD1-A6EF-0CC9B9E6FC9C" + "DF677487-F79D-50DF-A474-0AF69F6A6C5B" ); assert_eq!( format_iid(&I_AVN_PANEL_IID), - "96AD03DD-F271-537E-A933-B7C75D63AC0C" + "E6C6B17E-9747-5739-B255-52E737A7A2A2" ); assert_eq!( format_iid(&I_AVN_TEMPLATED_CONTROL_IID), - "E2867468-09D4-5D05-A956-F687A78DF51A" + "6E80826C-F337-5A4D-A5BB-1C0DF436B6D0" ); assert_eq!( format_iid(&I_AVN_TEXT_BLOCK_IID), - "06129468-B036-5F97-ACA3-6C51B845746D" + "199AE412-EE08-5BDE-A498-66AE0231AA3F" ); } diff --git a/rust/avalonia-sys/tests/definitions_abi.rs b/rust/avalonia-sys/tests/definitions_abi.rs index b38f726..01bc358 100644 --- a/rust/avalonia-sys/tests/definitions_abi.rs +++ b/rust/avalonia-sys/tests/definitions_abi.rs @@ -21,10 +21,10 @@ fn definitions_are_published_as_utf16_string_slots_on_grid() { "*get_row_definitions)(IAvnGrid* self, uint16_t** value)", "*set_row_definitions)(IAvnGrid* self, const uint16_t* value)", // They are appended after the members Grid already published, so no existing slot moved. - // (Wave P added Control's KeyUp/GotFocus/LostFocus advise pairs above these slots.) - "*set_column_spacing)(IAvnGrid* self, double value); /* slot 83 */", - "*get_column_definitions)(IAvnGrid* self, uint16_t** value); /* slot 84 */", - "#define I_AVN_GRID_VTABLE_SLOTS 88", + // (Waves P and Q grew Control above these slots.) + "*set_column_spacing)(IAvnGrid* self, double value); /* slot 89 */", + "*get_column_definitions)(IAvnGrid* self, uint16_t** value); /* slot 90 */", + "#define I_AVN_GRID_VTABLE_SLOTS 94", ] { assert!(HEADER.contains(expected), "header is missing `{expected}`"); } @@ -47,14 +47,14 @@ fn definitions_are_published_as_utf16_string_slots_on_grid() { #[test] fn only_grid_moved_to_abi_version_five_for_the_definitions() { for expected in [ - "#define I_AVN_GRID_ABI_VERSION 13", + "#define I_AVN_GRID_ABI_VERSION 14", // Grid's base and its sibling panels gained nothing, so their flattened vtables are // byte-identical and they keep the version they already published. - "#define I_AVN_PANEL_ABI_VERSION 12", - "#define I_AVN_CANVAS_ABI_VERSION 12", - "#define I_AVN_DOCK_PANEL_ABI_VERSION 12", - "#define I_AVN_STACK_PANEL_ABI_VERSION 13", - "#define I_AVN_CONTROL_ABI_VERSION 9", + "#define I_AVN_PANEL_ABI_VERSION 13", + "#define I_AVN_CANVAS_ABI_VERSION 13", + "#define I_AVN_DOCK_PANEL_ABI_VERSION 13", + "#define I_AVN_STACK_PANEL_ABI_VERSION 14", + "#define I_AVN_CONTROL_ABI_VERSION 10", "#define I_AVN_AVALONIA_OBJECT_ABI_VERSION 2", // The factory mints no definition object, but wave A gave it a creator per new control // and get_tool_tip_statics and wave B gave it seven more, so it now publishes at @@ -69,7 +69,7 @@ fn only_grid_moved_to_abi_version_five_for_the_definitions() { fn grid_republishes_under_a_fresh_iid_and_never_reuses_a_retired_one() { assert_eq!( format_iid(&I_AVN_GRID_IID), - "63034BE5-179A-5196-8338-F10785C6DDDD" + "887286EA-8097-52EB-9CEF-FA1DA7828D0F" ); // Every IID Grid has ever published is retired for good: reusing one for a longer vtable @@ -81,6 +81,8 @@ fn grid_republishes_under_a_fresh_iid_and_never_reuses_a_retired_one() { "240199CD-F2BD-55CD-BE4D-8DA83F228D71", // Wave P: the version 12 identity retired when Control grew input events. "55E75D4C-FC75-51A9-BA87-6D28704EAFC8", + // Wave Q: the version 13 identity retired when Control grew pointer payloads. + "63034BE5-179A-5196-8338-F10785C6DDDD", ] { assert_ne!( format_iid(&I_AVN_GRID_IID), @@ -102,12 +104,12 @@ fn grid_republishes_under_a_fresh_iid_and_never_reuses_a_retired_one() { ), ( "IAvnControl", - "ABDFF81D-DB26-5BB7-9ACA-18353E6DB4D4", + "E2F44292-89FA-5AFA-9294-FF2F26DB68CE", I_AVN_CONTROL_IID, ), ( "IAvnPanel", - "96AD03DD-F271-537E-A933-B7C75D63AC0C", + "E6C6B17E-9747-5739-B255-52E737A7A2A2", I_AVN_PANEL_IID, ), ] { diff --git a/rust/avalonia-sys/tests/layout_abi.rs b/rust/avalonia-sys/tests/layout_abi.rs index 31c2f0b..2b2b806 100644 --- a/rust/avalonia-sys/tests/layout_abi.rs +++ b/rust/avalonia-sys/tests/layout_abi.rs @@ -40,13 +40,13 @@ fn widened_interfaces_publish_their_layout_abi_version() { // Nothing was added to StyledElement, Control or Decorator after the layout wave, so // their flattened vtables — and therefore their version 3 IIDs — still stand. "#define I_AVN_STYLED_ELEMENT_ABI_VERSION 6", - "#define I_AVN_CONTROL_ABI_VERSION 9", - "#define I_AVN_DECORATOR_ABI_VERSION 11", + "#define I_AVN_CONTROL_ABI_VERSION 10", + "#define I_AVN_DECORATOR_ABI_VERSION 12", // Window and Button sit under ContentControl, which the completeness wave widened, // and the window overlay-chrome pass widened the leaf to 8 without disturbing // the content control or factory ABI. - "#define I_AVN_WINDOW_ABI_VERSION 19", - "#define I_AVN_BUTTON_ABI_VERSION 17", + "#define I_AVN_WINDOW_ABI_VERSION 20", + "#define I_AVN_BUTTON_ABI_VERSION 18", // AvaloniaObject projects no members, so its vtable never moved. "#define I_AVN_AVALONIA_OBJECT_ABI_VERSION 2", ] { @@ -96,11 +96,11 @@ fn widened_interfaces_republish_under_fresh_iids() { ); assert_eq!( format_iid(&I_AVN_CONTROL_IID), - "ABDFF81D-DB26-5BB7-9ACA-18353E6DB4D4" + "E2F44292-89FA-5AFA-9294-FF2F26DB68CE" ); assert_eq!( format_iid(&I_AVN_DECORATOR_IID), - "73D7A8D4-2B75-5F19-958F-DE0D15AC3079" + "C3E4D085-4977-566E-B843-75D86B43C2C9" ); // AvaloniaObject gained nothing, so it keeps the IID it published at version 2. diff --git a/rust/avalonia-sys/tests/nativeaot_application.rs b/rust/avalonia-sys/tests/nativeaot_application.rs index 2f2804e..a32f9c1 100644 --- a/rust/avalonia-sys/tests/nativeaot_application.rs +++ b/rust/avalonia-sys/tests/nativeaot_application.rs @@ -1,4 +1,4 @@ -use avalonia_sys::{app_handler, button_click_handler, Error, Host, AVN_E_FIXTURE}; +use avalonia_sys::{app_handler, button_click_handler, Error, Host, AVN_E_FIXTURE}; use libloading::Library; use std::path::PathBuf; use std::sync::atomic::{AtomicBool, Ordering}; diff --git a/rust/avalonia-sys/tests/nativeaot_clipboard.rs b/rust/avalonia-sys/tests/nativeaot_clipboard.rs index 28defb3..6d4d92f 100644 --- a/rust/avalonia-sys/tests/nativeaot_clipboard.rs +++ b/rust/avalonia-sys/tests/nativeaot_clipboard.rs @@ -1,4 +1,4 @@ -//! Raw ABI conformance for the stage 31 clipboard command capability. +//! Raw ABI conformance for the stage 31 clipboard command capability. //! //! These run against the published NativeAOT host and prove that every vtable //! slot of `IAvnApplication4`/`IAvnClipboardData` lines up between the managed diff --git a/rust/avalonia-sys/tests/nativeaot_desktop_files.rs b/rust/avalonia-sys/tests/nativeaot_desktop_files.rs index 5fd82a6..32419c6 100644 --- a/rust/avalonia-sys/tests/nativeaot_desktop_files.rs +++ b/rust/avalonia-sys/tests/nativeaot_desktop_files.rs @@ -1,4 +1,4 @@ -//! Raw ABI conformance for the stage 29 desktop file integration capability. +//! Raw ABI conformance for the stage 29 desktop file integration capability. //! //! These run against the published NativeAOT host and prove that every vtable //! slot of the new, separately versioned interfaces lines up between the diff --git a/rust/avalonia-sys/tests/nativeaot_fixture.rs b/rust/avalonia-sys/tests/nativeaot_fixture.rs index 1117d85..34dabee 100644 --- a/rust/avalonia-sys/tests/nativeaot_fixture.rs +++ b/rust/avalonia-sys/tests/nativeaot_fixture.rs @@ -1,4 +1,4 @@ -use avalonia_sys::{ComPtr, Host, IUnknown, AVN_E_FIXTURE, E_NOINTERFACE}; +use avalonia_sys::{ComPtr, Host, IUnknown, AVN_E_FIXTURE, E_NOINTERFACE}; use libloading::Library; use std::ffi::c_void; use std::path::PathBuf; diff --git a/rust/avalonia-sys/tests/wave_a_abi.rs b/rust/avalonia-sys/tests/wave_a_abi.rs index db89c48..db4eeaf 100644 --- a/rust/avalonia-sys/tests/wave_a_abi.rs +++ b/rust/avalonia-sys/tests/wave_a_abi.rs @@ -26,7 +26,7 @@ fn image_source_is_published_as_a_utf16_string_slot() { "*set_stretch)(IAvnImage* self, int32_t value)", "*set_stretch_direction)(IAvnImage* self, int32_t value)", "*set_blend_mode)(IAvnImage* self, int32_t value)", - "#define I_AVN_IMAGE_ABI_VERSION 9", + "#define I_AVN_IMAGE_ABI_VERSION 10", ] { assert!(HEADER.contains(expected), "header is missing `{expected}`"); } @@ -63,21 +63,21 @@ fn tool_tip_tip_is_a_string_attached_property_beside_the_scalar_ones() { #[test] fn wave_a_interfaces_publish_abi_version_one_and_nothing_else_moved() { for expected in [ - "#define I_AVN_IMAGE_ABI_VERSION 9", - "#define I_AVN_HEADERED_ITEMS_CONTROL_ABI_VERSION 13", - "#define I_AVN_TAB_CONTROL_ABI_VERSION 13", - "#define I_AVN_TAB_ITEM_ABI_VERSION 12", - "#define I_AVN_TREE_VIEW_ABI_VERSION 13", - "#define I_AVN_TREE_VIEW_ITEM_ABI_VERSION 13", - "#define I_AVN_TOOL_TIP_ABI_VERSION 10", + "#define I_AVN_IMAGE_ABI_VERSION 10", + "#define I_AVN_HEADERED_ITEMS_CONTROL_ABI_VERSION 14", + "#define I_AVN_TAB_CONTROL_ABI_VERSION 14", + "#define I_AVN_TAB_ITEM_ABI_VERSION 13", + "#define I_AVN_TREE_VIEW_ABI_VERSION 14", + "#define I_AVN_TREE_VIEW_ITEM_ABI_VERSION 14", + "#define I_AVN_TOOL_TIP_ABI_VERSION 11", // Every base the new interfaces sit on kept the version whose flattened vtable it // still matches, so no shipped consumer has to requery anything but the factory. "#define I_AVN_AVALONIA_OBJECT_ABI_VERSION 2", - "#define I_AVN_CONTROL_ABI_VERSION 9", - "#define I_AVN_ITEMS_CONTROL_ABI_VERSION 16", - "#define I_AVN_SELECTING_ITEMS_CONTROL_ABI_VERSION 16", - "#define I_AVN_CONTENT_CONTROL_ABI_VERSION 14", - "#define I_AVN_HEADERED_CONTENT_CONTROL_ABI_VERSION 14", + "#define I_AVN_CONTROL_ABI_VERSION 10", + "#define I_AVN_ITEMS_CONTROL_ABI_VERSION 17", + "#define I_AVN_SELECTING_ITEMS_CONTROL_ABI_VERSION 17", + "#define I_AVN_CONTENT_CONTROL_ABI_VERSION 15", + "#define I_AVN_HEADERED_CONTENT_CONTROL_ABI_VERSION 15", // Only the factory grew slots. Wave B moved it again, from 3 to 4, for its own // creators; every wave A interface still publishes at version 1. "#define I_AVN_CONTROL_FACTORY_ABI_VERSION 13", @@ -98,27 +98,27 @@ fn wave_a_iids_are_fresh_and_distinct_from_every_shipped_one() { ), ( "IAvnControl", - "ABDFF81D-DB26-5BB7-9ACA-18353E6DB4D4", + "E2F44292-89FA-5AFA-9294-FF2F26DB68CE", I_AVN_CONTROL_IID, ), ( "IAvnItemsControl", - "B656735C-EECA-50CC-A87D-B4362F7E045A", + "45705E13-A906-50E2-A0D8-DCC20585FDA6", I_AVN_ITEMS_CONTROL_IID, ), ( "IAvnSelectingItemsControl", - "56020FA9-D4A4-52B6-B5FC-EAEB6FD563C2", + "18B99B99-03A3-5C68-8471-D463C4ED1778", I_AVN_SELECTING_ITEMS_CONTROL_IID, ), ( "IAvnContentControl", - "71FA5ADD-9F62-5918-84D4-4B300B8EA192", + "611A61DE-9AD0-5456-979A-EE525E5132CE", I_AVN_CONTENT_CONTROL_IID, ), ( "IAvnHeaderedContentControl", - "C1825F55-DE82-5447-93A8-4A55F63BA652", + "D8948145-837B-5DC3-A685-14DF38167A93", I_AVN_HEADERED_CONTENT_CONTROL_IID, ), ] { diff --git a/rust/avalonia-sys/tests/wave_b_abi.rs b/rust/avalonia-sys/tests/wave_b_abi.rs index e340e93..eedbfbe 100644 --- a/rust/avalonia-sys/tests/wave_b_abi.rs +++ b/rust/avalonia-sys/tests/wave_b_abi.rs @@ -175,21 +175,21 @@ fn wave_b_interfaces_publish_abi_version_one_and_nothing_else_moved() { "#define I_AVN_FLYOUT_BASE_ABI_VERSION 1", "#define I_AVN_POPUP_FLYOUT_BASE_ABI_VERSION 6", "#define I_AVN_FLYOUT_ABI_VERSION 4", - "#define I_AVN_MENU_BASE_ABI_VERSION 13", - "#define I_AVN_MENU_ABI_VERSION 13", - "#define I_AVN_MENU_ITEM_ABI_VERSION 16", - "#define I_AVN_HEADERED_SELECTING_ITEMS_CONTROL_ABI_VERSION 13", - "#define I_AVN_SPLIT_VIEW_ABI_VERSION 10", - "#define I_AVN_DATE_PICKER_ABI_VERSION 12", - "#define I_AVN_TIME_PICKER_ABI_VERSION 12", + "#define I_AVN_MENU_BASE_ABI_VERSION 14", + "#define I_AVN_MENU_ABI_VERSION 14", + "#define I_AVN_MENU_ITEM_ABI_VERSION 17", + "#define I_AVN_HEADERED_SELECTING_ITEMS_CONTROL_ABI_VERSION 14", + "#define I_AVN_SPLIT_VIEW_ABI_VERSION 11", + "#define I_AVN_DATE_PICKER_ABI_VERSION 13", + "#define I_AVN_TIME_PICKER_ABI_VERSION 13", "#define I_AVN_AVALONIA_OBJECT_ABI_VERSION 2", - "#define I_AVN_CONTROL_ABI_VERSION 9", - "#define I_AVN_ITEMS_CONTROL_ABI_VERSION 16", - "#define I_AVN_SELECTING_ITEMS_CONTROL_ABI_VERSION 16", - "#define I_AVN_TEMPLATED_CONTROL_ABI_VERSION 13", - "#define I_AVN_CONTENT_CONTROL_ABI_VERSION 14", - "#define I_AVN_HEADERED_ITEMS_CONTROL_ABI_VERSION 13", - "#define I_AVN_TREE_VIEW_ABI_VERSION 13", + "#define I_AVN_CONTROL_ABI_VERSION 10", + "#define I_AVN_ITEMS_CONTROL_ABI_VERSION 17", + "#define I_AVN_SELECTING_ITEMS_CONTROL_ABI_VERSION 17", + "#define I_AVN_TEMPLATED_CONTROL_ABI_VERSION 14", + "#define I_AVN_CONTENT_CONTROL_ABI_VERSION 15", + "#define I_AVN_HEADERED_ITEMS_CONTROL_ABI_VERSION 14", + "#define I_AVN_TREE_VIEW_ABI_VERSION 14", ] { assert!(HEADER.contains(expected), "header is missing `{expected}`"); } @@ -208,22 +208,22 @@ fn wave_b_iids_are_fresh_and_distinct_from_every_shipped_one() { ), ( "IAvnControl", - "ABDFF81D-DB26-5BB7-9ACA-18353E6DB4D4", + "E2F44292-89FA-5AFA-9294-FF2F26DB68CE", I_AVN_CONTROL_IID, ), ( "IAvnItemsControl", - "B656735C-EECA-50CC-A87D-B4362F7E045A", + "45705E13-A906-50E2-A0D8-DCC20585FDA6", I_AVN_ITEMS_CONTROL_IID, ), ( "IAvnSelectingItemsControl", - "56020FA9-D4A4-52B6-B5FC-EAEB6FD563C2", + "18B99B99-03A3-5C68-8471-D463C4ED1778", I_AVN_SELECTING_ITEMS_CONTROL_IID, ), ( "IAvnContentControl", - "71FA5ADD-9F62-5918-84D4-4B300B8EA192", + "611A61DE-9AD0-5456-979A-EE525E5132CE", I_AVN_CONTENT_CONTROL_IID, ), ] { diff --git a/rust/avalonia-sys/tests/wave_c_abi.rs b/rust/avalonia-sys/tests/wave_c_abi.rs index 9a6da3d..5d1336f 100644 --- a/rust/avalonia-sys/tests/wave_c_abi.rs +++ b/rust/avalonia-sys/tests/wave_c_abi.rs @@ -23,7 +23,7 @@ fn wrap_panel_carries_spacing_orientation_and_item_size() { "*set_items_alignment)(IAvnWrapPanel* self, int32_t value)", "*set_item_width)(IAvnWrapPanel* self, double value)", "*set_item_height)(IAvnWrapPanel* self, double value)", - "#define I_AVN_WRAP_PANEL_ABI_VERSION 9", + "#define I_AVN_WRAP_PANEL_ABI_VERSION 10", ] { assert!(HEADER.contains(expected), "header is missing `{expected}`"); } @@ -87,18 +87,18 @@ fn viewbox_child_is_a_control_and_grid_splitter_sits_on_thumb() { #[test] fn wave_c_interfaces_publish_abi_version_one_and_nothing_else_moved() { for expected in [ - "#define I_AVN_WRAP_PANEL_ABI_VERSION 9", - "#define I_AVN_UNIFORM_GRID_ABI_VERSION 9", - "#define I_AVN_RELATIVE_PANEL_ABI_VERSION 9", - "#define I_AVN_VIEWBOX_ABI_VERSION 9", - "#define I_AVN_FLEX_PANEL_ABI_VERSION 9", - "#define I_AVN_THUMB_ABI_VERSION 11", - "#define I_AVN_GRID_SPLITTER_ABI_VERSION 11", + "#define I_AVN_WRAP_PANEL_ABI_VERSION 10", + "#define I_AVN_UNIFORM_GRID_ABI_VERSION 10", + "#define I_AVN_RELATIVE_PANEL_ABI_VERSION 10", + "#define I_AVN_VIEWBOX_ABI_VERSION 10", + "#define I_AVN_FLEX_PANEL_ABI_VERSION 10", + "#define I_AVN_THUMB_ABI_VERSION 12", + "#define I_AVN_GRID_SPLITTER_ABI_VERSION 12", "#define I_AVN_AVALONIA_OBJECT_ABI_VERSION 2", - "#define I_AVN_CONTROL_ABI_VERSION 9", - "#define I_AVN_PANEL_ABI_VERSION 12", - "#define I_AVN_TEMPLATED_CONTROL_ABI_VERSION 13", - "#define I_AVN_CONTENT_CONTROL_ABI_VERSION 14", + "#define I_AVN_CONTROL_ABI_VERSION 10", + "#define I_AVN_PANEL_ABI_VERSION 13", + "#define I_AVN_TEMPLATED_CONTROL_ABI_VERSION 14", + "#define I_AVN_CONTENT_CONTROL_ABI_VERSION 15", "#define I_AVN_FLYOUT_ABI_VERSION 4", ] { assert!(HEADER.contains(expected), "header is missing `{expected}`"); diff --git a/rust/avalonia-sys/tests/wave_d_abi.rs b/rust/avalonia-sys/tests/wave_d_abi.rs index 11fe763..562ead5 100644 --- a/rust/avalonia-sys/tests/wave_d_abi.rs +++ b/rust/avalonia-sys/tests/wave_d_abi.rs @@ -13,9 +13,9 @@ fn repeat_button_and_hyperlink_are_buttons() { "*set_is_visited)(IAvnHyperlinkButton* self, int32_t value)", "*get_navigate_uri)(IAvnHyperlinkButton* self, uint16_t** value)", "*set_navigate_uri)(IAvnHyperlinkButton* self, const uint16_t* value)", - "#define I_AVN_REPEAT_BUTTON_ABI_VERSION 12", - "#define I_AVN_HYPERLINK_BUTTON_ABI_VERSION 12", - "#define I_AVN_DROP_DOWN_BUTTON_ABI_VERSION 12", + "#define I_AVN_REPEAT_BUTTON_ABI_VERSION 13", + "#define I_AVN_HYPERLINK_BUTTON_ABI_VERSION 13", + "#define I_AVN_DROP_DOWN_BUTTON_ABI_VERSION 13", ] { assert!(HEADER.contains(expected), "header is missing `{expected}`"); } @@ -34,8 +34,8 @@ fn split_button_carries_click_and_command() { "*create_toggle_split_button)(IAvnControlFactory* self, IAvnToggleSplitButton** value)", "*create_context_menu)(IAvnControlFactory* self, IAvnContextMenu** value)", "*create_menu_flyout)(IAvnControlFactory* self, IAvnMenuFlyout** value)", - "#define I_AVN_SPLIT_BUTTON_ABI_VERSION 13", - "#define I_AVN_TOGGLE_SPLIT_BUTTON_ABI_VERSION 13", + "#define I_AVN_SPLIT_BUTTON_ABI_VERSION 14", + "#define I_AVN_TOGGLE_SPLIT_BUTTON_ABI_VERSION 14", "#define I_AVN_CONTROL_FACTORY_ABI_VERSION 13", ] { assert!(HEADER.contains(expected), "header is missing `{expected}`"); @@ -49,8 +49,8 @@ fn menu_flyout_items_use_the_existing_item_list() { "*set_placement)(IAvnContextMenu* self, int32_t value)", "*set_horizontal_offset)(IAvnContextMenu* self, double value)", "#define I_AVN_MENU_FLYOUT_ABI_VERSION 5", - "#define I_AVN_CONTEXT_MENU_ABI_VERSION 16", - "#define I_AVN_BUTTON_ABI_VERSION 17", + "#define I_AVN_CONTEXT_MENU_ABI_VERSION 17", + "#define I_AVN_BUTTON_ABI_VERSION 18", ] { assert!(HEADER.contains(expected), "header is missing `{expected}`"); } diff --git a/rust/avalonia-sys/tests/wave_e_abi.rs b/rust/avalonia-sys/tests/wave_e_abi.rs index bd5ba6c..551543a 100644 --- a/rust/avalonia-sys/tests/wave_e_abi.rs +++ b/rust/avalonia-sys/tests/wave_e_abi.rs @@ -10,7 +10,7 @@ fn numeric_up_down_decimals_are_utf16_strings() { "*set_minimum)(IAvnNumericUpDown* self, const uint16_t* value)", "*set_increment)(IAvnNumericUpDown* self, const uint16_t* value)", "*create_numeric_up_down)(IAvnControlFactory* self, IAvnNumericUpDown** value)", - "#define I_AVN_NUMERIC_UP_DOWN_ABI_VERSION 11", + "#define I_AVN_NUMERIC_UP_DOWN_ABI_VERSION 12", "#define I_AVN_CONTROL_FACTORY_ABI_VERSION 13", ] { assert!(HEADER.contains(expected), "header is missing `{expected}`"); @@ -27,9 +27,9 @@ fn remaining_input_controls_publish_at_version_one() { "*set_allow_spin)(IAvnButtonSpinner* self, int32_t value)", "*create_button_spinner)(IAvnControlFactory* self, IAvnButtonSpinner** value)", "*create_auto_complete_box)(IAvnControlFactory* self, IAvnAutoCompleteBox** value)", - "#define I_AVN_SPINNER_ABI_VERSION 10", - "#define I_AVN_MASKED_TEXT_BOX_ABI_VERSION 16", - "#define I_AVN_SELECTABLE_TEXT_BLOCK_ABI_VERSION 12", + "#define I_AVN_SPINNER_ABI_VERSION 11", + "#define I_AVN_MASKED_TEXT_BOX_ABI_VERSION 17", + "#define I_AVN_SELECTABLE_TEXT_BLOCK_ABI_VERSION 13", ] { assert!(HEADER.contains(expected), "header is missing `{expected}`"); } diff --git a/rust/avalonia-sys/tests/wave_f_abi.rs b/rust/avalonia-sys/tests/wave_f_abi.rs index 4cb029d..8222ec3 100644 --- a/rust/avalonia-sys/tests/wave_f_abi.rs +++ b/rust/avalonia-sys/tests/wave_f_abi.rs @@ -11,8 +11,8 @@ fn calendar_days_are_yyyy_mm_dd_strings() { "*set_display_mode)(IAvnCalendar* self, int32_t value)", "*create_calendar)(IAvnControlFactory* self, IAvnCalendar** value)", "*create_calendar_date_picker)(IAvnControlFactory* self, IAvnCalendarDatePicker** value)", - "#define I_AVN_CALENDAR_ABI_VERSION 13", - "#define I_AVN_CALENDAR_DATE_PICKER_ABI_VERSION 12", + "#define I_AVN_CALENDAR_ABI_VERSION 14", + "#define I_AVN_CALENDAR_DATE_PICKER_ABI_VERSION 13", "#define I_AVN_CONTROL_FACTORY_ABI_VERSION 13", ] { assert!(HEADER.contains(expected), "header is missing `{expected}`"); diff --git a/rust/avalonia-sys/tests/wave_g_abi.rs b/rust/avalonia-sys/tests/wave_g_abi.rs index 8d63f82..d9b67e0 100644 --- a/rust/avalonia-sys/tests/wave_g_abi.rs +++ b/rust/avalonia-sys/tests/wave_g_abi.rs @@ -13,11 +13,11 @@ fn content_chrome_publishes_at_version_one() { "*create_carousel)(IAvnControlFactory* self, IAvnCarousel** value)", "*set_target)(IAvnLabel* self, IAvnControl* value)", "*create_label)(IAvnControlFactory* self, IAvnLabel** value)", - "#define I_AVN_LABEL_ABI_VERSION 11", + "#define I_AVN_LABEL_ABI_VERSION 12", "*create_separator)(IAvnControlFactory* self, IAvnSeparator** value)", "*create_group_box)(IAvnControlFactory* self, IAvnGroupBox** value)", "*create_user_control)(IAvnControlFactory* self, IAvnUserControl** value)", - "#define I_AVN_CAROUSEL_ABI_VERSION 14", + "#define I_AVN_CAROUSEL_ABI_VERSION 15", "#define I_AVN_CONTROL_FACTORY_ABI_VERSION 13", ] { assert!(HEADER.contains(expected), "header is missing `{expected}`"); diff --git a/rust/avalonia-sys/tests/wave_h_abi.rs b/rust/avalonia-sys/tests/wave_h_abi.rs index e16df68..1837c5c 100644 --- a/rust/avalonia-sys/tests/wave_h_abi.rs +++ b/rust/avalonia-sys/tests/wave_h_abi.rs @@ -16,7 +16,7 @@ fn shapes_carry_brushes_points_and_path_data() { "*create_ellipse)(IAvnControlFactory* self, IAvnEllipse** value)", "*create_line)(IAvnControlFactory* self, IAvnLine** value)", "*create_path)(IAvnControlFactory* self, IAvnPath** value)", - "#define I_AVN_SHAPE_ABI_VERSION 9", + "#define I_AVN_SHAPE_ABI_VERSION 10", "#define I_AVN_CONTROL_FACTORY_ABI_VERSION 13", ] { assert!(HEADER.contains(expected), "header is missing `{expected}`"); diff --git a/rust/avalonia-sys/tests/wave_i_abi.rs b/rust/avalonia-sys/tests/wave_i_abi.rs index 9a8535a..b58b07a 100644 --- a/rust/avalonia-sys/tests/wave_i_abi.rs +++ b/rust/avalonia-sys/tests/wave_i_abi.rs @@ -20,7 +20,7 @@ fn overlay_controls_publish_at_version_one() { "*set_pull_direction)(IAvnRefreshContainer* self, int32_t value)", "*create_popup)(IAvnControlFactory* self, IAvnPopup** value)", "*create_tray_icon)(IAvnControlFactory* self, IAvnTrayIcon** value)", - "#define I_AVN_POPUP_ABI_VERSION 9", + "#define I_AVN_POPUP_ABI_VERSION 10", "#define I_AVN_TRAY_ICON_ABI_VERSION 3", "#define I_AVN_CONTROL_FACTORY_ABI_VERSION 13", ] { diff --git a/rust/avalonia-sys/tests/wave_j_abi.rs b/rust/avalonia-sys/tests/wave_j_abi.rs index 956d02c..0e234fc 100644 --- a/rust/avalonia-sys/tests/wave_j_abi.rs +++ b/rust/avalonia-sys/tests/wave_j_abi.rs @@ -13,8 +13,8 @@ fn command_bar_family_publishes_at_version_one() { "*set_primary_commands)(IAvnCommandBar* self, IAvnControlList* value)", "*create_pips_pager)(IAvnControlFactory* self, IAvnPipsPager** value)", "*create_theme_variant_scope)(IAvnControlFactory* self, IAvnThemeVariantScope** value)", - "#define I_AVN_COMMAND_BAR_ABI_VERSION 13", - "#define I_AVN_PIPS_PAGER_ABI_VERSION 11", + "#define I_AVN_COMMAND_BAR_ABI_VERSION 14", + "#define I_AVN_PIPS_PAGER_ABI_VERSION 12", "#define I_AVN_CONTROL_FACTORY_ABI_VERSION 13", ] { assert!(HEADER.contains(expected), "header is missing `{expected}`"); diff --git a/rust/avalonia-sys/tests/wave_k_abi.rs b/rust/avalonia-sys/tests/wave_k_abi.rs index 637f249..a049877 100644 --- a/rust/avalonia-sys/tests/wave_k_abi.rs +++ b/rust/avalonia-sys/tests/wave_k_abi.rs @@ -11,8 +11,8 @@ fn icons_and_table_view_publish_at_version_one() { "*create_path_icon)(IAvnControlFactory* self, IAvnPathIcon** value)", "*create_table_view)(IAvnControlFactory* self, IAvnTableView** value)", "*create_table_view_column)(IAvnControlFactory* self, IAvnTableViewColumn** value)", - "#define I_AVN_PATH_ICON_ABI_VERSION 10", - "#define I_AVN_TABLE_VIEW_ABI_VERSION 14", + "#define I_AVN_PATH_ICON_ABI_VERSION 11", + "#define I_AVN_TABLE_VIEW_ABI_VERSION 15", "#define I_AVN_CONTROL_FACTORY_ABI_VERSION 13", ] { assert!(HEADER.contains(expected), "header is missing `{expected}`"); diff --git a/rust/avalonia/examples/imperative_counter.rs b/rust/avalonia/examples/imperative_counter.rs index 46793fb..f00126d 100644 --- a/rust/avalonia/examples/imperative_counter.rs +++ b/rust/avalonia/examples/imperative_counter.rs @@ -8,8 +8,8 @@ use std::sync::atomic::{AtomicI32, Ordering}; use std::sync::Arc; use avalonia::{ - App, AppScope, Brush, Button, Color, HorizontalAlignment, ListBox, Orientation, Result, Slider, - StackPanel, TextBlock, TextBox, Thickness, Window, + App, AppScope, Border, Brush, Button, Color, HorizontalAlignment, ListBox, Orientation, Result, + Slider, StackPanel, TextBlock, TextBox, Thickness, Window, }; fn main() -> Result<()> { @@ -65,6 +65,25 @@ fn build_ui(scope: &AppScope) -> Result<()> { } })?; + // Wave Q payload: the wheel event carries its Vector delta across the ABI. + let wheel_label = TextBlock::new()? + .text("Wheel: -")? + .margin(Thickness::symmetric(12.0, 0.0))?; + let wheel_zone = Border::new()? + .margin(Thickness::symmetric(12.0, 4.0))? + .padding(Thickness::uniform(6.0))? + .background(Brush::solid(Color::new(255, 230, 235, 240)))? + .child(Some( + &TextBlock::new()?.text("Hover here and scroll the wheel")?, + ))?; + let wheel_zone = wheel_zone.on_pointer_wheel_changed(scope, { + let wheel_label = wheel_label.clone(); + move |args| { + let _ = + wheel_label.set_text(format!("Wheel: ({:.0}, {:.0})", args.delta.x, args.delta.y)); + } + })?; + let increment = Button::new()? .content(Some(&TextBlock::new()?.text("Increment")?))? .margin(Thickness::uniform(4.0))? @@ -136,6 +155,8 @@ fn build_ui(scope: &AppScope) -> Result<()> { children.add(echo)?; children.add(slider)?; children.add(slider_label)?; + children.add(wheel_zone)?; + children.add(wheel_label)?; children.add(log)?; children.add(selection_label)?; diff --git a/rust/avalonia/src/.avalonia-bindgen.owned.json b/rust/avalonia/src/.avalonia-bindgen.owned.json index 20eb2f6..7685a79 100644 --- a/rust/avalonia/src/.avalonia-bindgen.owned.json +++ b/rust/avalonia/src/.avalonia-bindgen.owned.json @@ -3,7 +3,7 @@ "files": [ { "path": "generated.rs", - "sha256": "bd35d862b4e6e36073083a55c1bc469a32c01ad3fc9a4e35ce261241966018c6" + "sha256": "a1782864c4d70e7005d71766c9a1fafbdb78dc7b4e479a979be43e7418388e08" } ] } diff --git a/rust/avalonia/src/generated.rs b/rust/avalonia/src/generated.rs index e8770d5..f34c3c5 100644 --- a/rust/avalonia/src/generated.rs +++ b/rust/avalonia/src/generated.rs @@ -2642,6 +2642,10 @@ pub use sys::ControlSizeChangedEventArgs; pub use sys::ControlGotFocusEventArgs; pub use sys::ControlKeyDownEventArgs; pub use sys::ControlKeyUpEventArgs; +pub use sys::ControlPointerEnteredEventArgs; +pub use sys::ControlPointerExitedEventArgs; +pub use sys::ControlPointerWheelChangedEventArgs; +pub use sys::ControlTappedEventArgs; pub use sys::DatePickerSelectedDateChangedEventArgs; pub use sys::ExpanderCollapsingEventArgs; pub use sys::ExpanderExpandingEventArgs; @@ -3163,32 +3167,63 @@ impl AutoCompleteBox { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -3997,32 +4032,63 @@ impl Border { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_child(&self) -> Result> { Ok(self.raw.get_child()?.map(|raw| Control { raw })) } @@ -4461,32 +4527,63 @@ impl Button { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -5108,32 +5205,63 @@ impl ButtonSpinner { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -5718,32 +5846,63 @@ impl Calendar { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -6401,32 +6560,63 @@ impl CalendarDatePicker { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -7149,32 +7339,63 @@ impl Canvas { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn children(&self) -> Result { Ok(ControlList { raw: self.raw.get_children()? }) } @@ -7579,32 +7800,63 @@ impl Carousel { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -8224,32 +8476,63 @@ impl CheckBox { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -8900,32 +9183,63 @@ impl ComboBox { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -9623,32 +9937,63 @@ impl ComboBoxItem { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -10195,32 +10540,63 @@ impl CommandBar { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -10877,32 +11253,63 @@ impl CommandBarButton { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -11581,32 +11988,63 @@ impl CommandBarSeparator { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -12118,32 +12556,63 @@ impl CommandBarToggleButton { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -12851,32 +13320,63 @@ impl ContentControl { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -13415,32 +13915,63 @@ impl ContextMenu { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -14186,32 +14717,63 @@ impl Control { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } } impl AsControl for Control { @@ -14562,32 +15124,63 @@ impl DatePicker { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -15196,32 +15789,63 @@ impl Decorator { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_child(&self) -> Result> { Ok(self.raw.get_child()?.map(|raw| Control { raw })) } @@ -15593,32 +16217,63 @@ impl DockPanel { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn children(&self) -> Result { Ok(ControlList { raw: self.raw.get_children()? }) } @@ -16020,32 +16675,63 @@ impl DropDownButton { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -16667,32 +17353,63 @@ impl Expander { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -17319,32 +18036,63 @@ impl FlexPanel { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn children(&self) -> Result { Ok(ControlList { raw: self.raw.get_children()? }) } @@ -17982,32 +18730,63 @@ impl Grid { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn children(&self) -> Result { Ok(ControlList { raw: self.raw.get_children()? }) } @@ -18467,32 +19246,63 @@ impl GridSplitter { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -19067,32 +19877,63 @@ impl GroupBox { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -19652,32 +20493,63 @@ impl HyperlinkButton { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -20314,32 +21186,63 @@ impl IconElement { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -20835,32 +21738,63 @@ impl Image { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_source(&self) -> Result> { unsafe { Ok(sys::take_utf16(self.raw.get_source()?)) } } @@ -21255,32 +22189,63 @@ impl ItemsControl { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -21816,32 +22781,63 @@ impl Label { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -22391,32 +23387,63 @@ impl LayoutTransformControl { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_child(&self) -> Result> { Ok(self.raw.get_child()?.map(|raw| Control { raw })) } @@ -22796,32 +23823,63 @@ impl ListBox { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -23432,32 +24490,63 @@ impl ListBoxItem { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -24004,32 +25093,63 @@ impl MaskedTextBox { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -24960,32 +26080,63 @@ impl Menu { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -25611,32 +26762,63 @@ impl MenuBase { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -26470,32 +27652,63 @@ impl MenuItem { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -27255,32 +28468,63 @@ impl NotificationCard { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -27853,32 +29097,63 @@ impl WindowNotificationManager { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -28398,32 +29673,63 @@ impl NumericUpDown { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -29129,32 +30435,63 @@ impl Panel { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn children(&self) -> Result { Ok(ControlList { raw: self.raw.get_children()? }) } @@ -29523,32 +30860,63 @@ impl PathIcon { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -30055,32 +31423,63 @@ impl PipsPager { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -30691,32 +32090,63 @@ impl HeaderedContentControl { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -31276,32 +32706,63 @@ impl HeaderedItemsControl { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -31858,32 +33319,63 @@ impl HeaderedSelectingItemsControl { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -32505,32 +33997,63 @@ impl Popup { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_window_manager_add_shadow_hint(&self) -> Result { Ok(self.raw.get_window_manager_add_shadow_hint()?) } pub fn set_window_manager_add_shadow_hint(&self, value: bool) -> Result<()> { Ok(self.raw.set_window_manager_add_shadow_hint(value)?) @@ -33248,32 +34771,63 @@ impl RangeBase { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -33820,32 +35374,63 @@ impl SelectingItemsControl { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -34446,32 +36031,63 @@ impl TemplatedControl { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -34967,32 +36583,63 @@ impl Thumb { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -35521,32 +37168,63 @@ impl ToggleButton { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -36197,32 +37875,63 @@ impl UniformGrid { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn children(&self) -> Result { Ok(ControlList { raw: self.raw.get_children()? }) } @@ -36631,32 +38340,63 @@ impl ProgressBar { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -37242,32 +38982,63 @@ impl RadioButton { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -37929,32 +39700,63 @@ impl RefreshContainer { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -38526,32 +40328,63 @@ impl RelativePanel { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn children(&self) -> Result { Ok(ControlList { raw: self.raw.get_children()? }) } @@ -38974,32 +40807,63 @@ impl RepeatButton { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -39637,32 +41501,63 @@ impl ScrollViewer { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -40367,32 +42262,63 @@ impl SelectableTextBlock { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_padding(&self) -> Result { Ok(self.raw.get_padding()?.into()) } @@ -40980,32 +42906,63 @@ impl Separator { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -41501,32 +43458,63 @@ impl Arc { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_fill(&self) -> Result> { self.raw.get_fill()?.as_ref().map(Brush::from_raw).transpose() } @@ -41983,32 +43971,63 @@ impl Ellipse { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_fill(&self) -> Result> { self.raw.get_fill()?.as_ref().map(Brush::from_raw).transpose() } @@ -42449,32 +44468,63 @@ impl Line { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_fill(&self) -> Result> { self.raw.get_fill()?.as_ref().map(Brush::from_raw).transpose() } @@ -42935,32 +44985,63 @@ impl Path { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_fill(&self) -> Result> { self.raw.get_fill()?.as_ref().map(Brush::from_raw).transpose() } @@ -43412,32 +45493,63 @@ impl Polygon { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_fill(&self) -> Result> { self.raw.get_fill()?.as_ref().map(Brush::from_raw).transpose() } @@ -43900,32 +46012,63 @@ impl Polyline { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_fill(&self) -> Result> { self.raw.get_fill()?.as_ref().map(Brush::from_raw).transpose() } @@ -44388,32 +46531,63 @@ impl Rectangle { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_fill(&self) -> Result> { self.raw.get_fill()?.as_ref().map(Brush::from_raw).transpose() } @@ -44870,32 +47044,63 @@ impl Sector { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_fill(&self) -> Result> { self.raw.get_fill()?.as_ref().map(Brush::from_raw).transpose() } @@ -45348,32 +47553,63 @@ impl Shape { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_fill(&self) -> Result> { self.raw.get_fill()?.as_ref().map(Brush::from_raw).transpose() } @@ -45814,32 +48050,63 @@ impl Slider { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -46439,32 +48706,63 @@ impl Spinner { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -47022,32 +49320,63 @@ impl SplitButton { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -47641,32 +49970,63 @@ impl SplitView { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -48339,32 +50699,63 @@ impl StackPanel { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn children(&self) -> Result { Ok(ControlList { raw: self.raw.get_children()? }) } @@ -48768,32 +51159,63 @@ impl TabControl { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -49453,32 +51875,63 @@ impl TabItem { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -50080,32 +52533,63 @@ impl TableView { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -50734,32 +53218,63 @@ impl TableViewCell { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -51501,32 +54016,63 @@ impl TableViewRow { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -52073,32 +54619,63 @@ impl TextBlock { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_padding(&self) -> Result { Ok(self.raw.get_padding()?.into()) } @@ -52628,32 +55205,63 @@ impl TextBox { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -53531,32 +56139,63 @@ impl ThemeVariantScope { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_child(&self) -> Result> { Ok(self.raw.get_child()?.map(|raw| Control { raw })) } @@ -53939,32 +56578,63 @@ impl TimePicker { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -54529,32 +57199,63 @@ impl ToggleSplitButton { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -55169,32 +57870,63 @@ impl ToggleSwitch { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -55887,32 +58619,63 @@ impl ToolTip { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -56533,32 +59296,63 @@ impl TransitioningContentControl { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -57193,32 +59987,63 @@ impl TreeView { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -57811,32 +60636,63 @@ impl TreeViewItem { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -58436,32 +61292,63 @@ impl UserControl { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -59000,32 +61887,63 @@ impl Viewbox { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_stretch(&self) -> Result { let value = self.raw.get_stretch()?; Stretch::try_from(value) @@ -59409,32 +62327,63 @@ impl Window { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn get_background(&self) -> Result> { self.raw.get_background()?.as_ref().map(Brush::from_raw).transpose() } @@ -60137,32 +63086,63 @@ impl WrapPanel { scope.retain_subscription(self.subscribe_key_up(callback)?); Ok(self) } - pub fn subscribe_pointer_entered(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_entered_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_entered(&self, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_entered_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_entered(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_entered(subscription_id))) } - pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_entered(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerEnteredEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_entered(callback)?); Ok(self) } - pub fn subscribe_pointer_exited(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::control_pointer_exited_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_pointer_exited(&self, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_exited_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_pointer_exited(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_pointer_exited(subscription_id))) } - pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_pointer_exited(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerExitedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_pointer_exited(callback)?); Ok(self) } + pub fn subscribe_pointer_wheel_changed(&self, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_pointer_wheel_changed_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_pointer_wheel_changed(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_pointer_wheel_changed(subscription_id))) + } + pub fn on_pointer_wheel_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlPointerWheelChangedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_pointer_wheel_changed(callback)?); + Ok(self) + } + pub fn subscribe_tapped(&self, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::control_tapped_handler(move |event| { callback(event); Ok(()) }); + let subscription_id = self.raw.advise_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_tapped(subscription_id))) + } + pub fn on_tapped(self, scope: &crate::AppScope, callback: impl FnMut(&mut ControlTappedEventArgs) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_tapped(callback)?); + Ok(self) + } + pub fn subscribe_double_tapped(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { + let handler = sys::control_double_tapped_handler(move || { + callback(()); + Ok(()) + }); + let subscription_id = self.raw.advise_double_tapped(&handler)?; + let source = self.raw.clone(); + Ok(EventSubscription::new(move || source.unadvise_double_tapped(subscription_id))) + } + pub fn on_double_tapped(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + scope.retain_subscription(self.subscribe_double_tapped(callback)?); + Ok(self) + } pub fn children(&self) -> Result { Ok(ControlList { raw: self.raw.get_children()? }) } diff --git a/rust/projection.ir.json b/rust/projection.ir.json index c747778..e74c23d 100644 --- a/rust/projection.ir.json +++ b/rust/projection.ir.json @@ -47,8 +47,8 @@ "name": "IAvnAutoCompleteBox", "fullName": "Avalonia.Host.Com.IAvnAutoCompleteBox", "kind": "Class", - "iid": "86643B56-B59D-5EE3-8A9B-D44F7DA909E7", - "abiVersion": 17, + "iid": "26FFE15E-6149-5898-93EB-55909338DC9A", + "abiVersion": 18, "baseFullName": "Avalonia.Host.Com.IAvnTemplatedControl", "managedFullName": "Avalonia.Controls.AutoCompleteBox", "isConstructible": true, @@ -421,8 +421,8 @@ "name": "IAvnBorder", "fullName": "Avalonia.Host.Com.IAvnBorder", "kind": "Class", - "iid": "DFE5487A-B7C3-5DD1-A6EF-0CC9B9E6FC9C", - "abiVersion": 13, + "iid": "DF677487-F79D-50DF-A474-0AF69F6A6C5B", + "abiVersion": 14, "baseFullName": "Avalonia.Host.Com.IAvnDecorator", "managedFullName": "Avalonia.Controls.Border", "isConstructible": true, @@ -503,8 +503,8 @@ "name": "IAvnButton", "fullName": "Avalonia.Host.Com.IAvnButton", "kind": "Class", - "iid": "39E10286-7BB7-511B-8885-733B3AB380F6", - "abiVersion": 17, + "iid": "E66D2CD1-A3CD-538E-9607-B5E784669C89", + "abiVersion": 18, "baseFullName": "Avalonia.Host.Com.IAvnContentControl", "managedFullName": "Avalonia.Controls.Button", "isConstructible": true, @@ -601,8 +601,8 @@ "name": "IAvnButtonSpinner", "fullName": "Avalonia.Host.Com.IAvnButtonSpinner", "kind": "Class", - "iid": "121045E2-0F99-5036-A5F8-373B15BC6449", - "abiVersion": 10, + "iid": "BD9E8536-AD5B-51C7-B3E0-2DB521852F7C", + "abiVersion": 11, "baseFullName": "Avalonia.Host.Com.IAvnSpinner", "managedFullName": "Avalonia.Controls.ButtonSpinner", "isConstructible": true, @@ -642,8 +642,8 @@ "name": "IAvnCalendar", "fullName": "Avalonia.Host.Com.IAvnCalendar", "kind": "Class", - "iid": "D1959E20-E08E-5A66-A63B-4BD714E609D7", - "abiVersion": 13, + "iid": "9FF3FEBD-5CC5-5DB1-94DA-E03D3D41D947", + "abiVersion": 14, "baseFullName": "Avalonia.Host.Com.IAvnTemplatedControl", "managedFullName": "Avalonia.Controls.Calendar", "isConstructible": true, @@ -871,8 +871,8 @@ "name": "IAvnCalendarDatePicker", "fullName": "Avalonia.Host.Com.IAvnCalendarDatePicker", "kind": "Class", - "iid": "52B3592A-D20D-5C93-8D31-E0552A7445FE", - "abiVersion": 12, + "iid": "57923347-6143-59E6-BAFC-C745A8982164", + "abiVersion": 13, "baseFullName": "Avalonia.Host.Com.IAvnTemplatedControl", "managedFullName": "Avalonia.Controls.CalendarDatePicker", "isConstructible": true, @@ -1134,8 +1134,8 @@ "name": "IAvnCanvas", "fullName": "Avalonia.Host.Com.IAvnCanvas", "kind": "Class", - "iid": "CE4E710B-D3A5-5021-A343-758FA078E791", - "abiVersion": 12, + "iid": "C16EF1BD-5F4F-5C2C-A3EA-508C4B05BA3C", + "abiVersion": 13, "baseFullName": "Avalonia.Host.Com.IAvnPanel", "managedFullName": "Avalonia.Controls.Canvas", "isConstructible": true, @@ -1147,8 +1147,8 @@ "name": "IAvnCarousel", "fullName": "Avalonia.Host.Com.IAvnCarousel", "kind": "Class", - "iid": "B496C390-157D-54E1-8415-E487E93DAF7D", - "abiVersion": 14, + "iid": "78C353C4-749B-55FC-A9EF-66608155B0DB", + "abiVersion": 15, "baseFullName": "Avalonia.Host.Com.IAvnSelectingItemsControl", "managedFullName": "Avalonia.Controls.Carousel", "isConstructible": true, @@ -1203,8 +1203,8 @@ "name": "IAvnCheckBox", "fullName": "Avalonia.Host.Com.IAvnCheckBox", "kind": "Class", - "iid": "AACDB973-AF3D-5BA5-A094-635178EF2C2E", - "abiVersion": 17, + "iid": "C4E191D8-29FB-5623-AF97-E3AAD950E27B", + "abiVersion": 18, "baseFullName": "Avalonia.Host.Com.IAvnToggleButton", "managedFullName": "Avalonia.Controls.CheckBox", "isConstructible": true, @@ -1216,8 +1216,8 @@ "name": "IAvnComboBox", "fullName": "Avalonia.Host.Com.IAvnComboBox", "kind": "Class", - "iid": "C05FA67D-1BEE-51A8-9367-0300AA1CAE23", - "abiVersion": 18, + "iid": "EEBBD41C-3704-5BC1-BB31-E87EF407CB79", + "abiVersion": 19, "baseFullName": "Avalonia.Host.Com.IAvnSelectingItemsControl", "managedFullName": "Avalonia.Controls.ComboBox", "isConstructible": true, @@ -1332,8 +1332,8 @@ "name": "IAvnComboBoxItem", "fullName": "Avalonia.Host.Com.IAvnComboBoxItem", "kind": "Class", - "iid": "4AF5334E-4FEC-5F97-84F0-CD61FD0C6B88", - "abiVersion": 16, + "iid": "66D70CA8-4E9B-5BD6-9583-82595161CB34", + "abiVersion": 17, "baseFullName": "Avalonia.Host.Com.IAvnListBoxItem", "managedFullName": "Avalonia.Controls.ComboBoxItem", "isConstructible": true, @@ -1345,8 +1345,8 @@ "name": "IAvnCommandBar", "fullName": "Avalonia.Host.Com.IAvnCommandBar", "kind": "Class", - "iid": "355E12ED-4932-5C4C-8AC1-AA74B666B584", - "abiVersion": 13, + "iid": "180E1033-DD01-5433-A491-B2049D719449", + "abiVersion": 14, "baseFullName": "Avalonia.Host.Com.IAvnTemplatedControl", "managedFullName": "Avalonia.Controls.CommandBar", "isConstructible": true, @@ -1552,8 +1552,8 @@ "name": "IAvnCommandBarButton", "fullName": "Avalonia.Host.Com.IAvnCommandBarButton", "kind": "Class", - "iid": "3A7F177E-FB8E-5893-B574-99ACD4CBC8B5", - "abiVersion": 12, + "iid": "259356D2-8840-5531-9427-7FD0B9707AC7", + "abiVersion": 13, "baseFullName": "Avalonia.Host.Com.IAvnButton", "managedFullName": "Avalonia.Controls.CommandBarButton", "isConstructible": true, @@ -1620,8 +1620,8 @@ "name": "IAvnCommandBarSeparator", "fullName": "Avalonia.Host.Com.IAvnCommandBarSeparator", "kind": "Class", - "iid": "21D4AA3D-ADFF-5CC6-9E76-EA1FBBD11C33", - "abiVersion": 10, + "iid": "3438DF70-F2D1-5474-A288-D97CCEACC9F9", + "abiVersion": 11, "baseFullName": "Avalonia.Host.Com.IAvnSeparator", "managedFullName": "Avalonia.Controls.CommandBarSeparator", "isConstructible": true, @@ -1652,8 +1652,8 @@ "name": "IAvnCommandBarToggleButton", "fullName": "Avalonia.Host.Com.IAvnCommandBarToggleButton", "kind": "Class", - "iid": "28AA86DE-6253-5D07-964D-23785552FB86", - "abiVersion": 12, + "iid": "97BD5478-2731-5994-9427-4A6ECB9EE04B", + "abiVersion": 13, "baseFullName": "Avalonia.Host.Com.IAvnToggleButton", "managedFullName": "Avalonia.Controls.CommandBarToggleButton", "isConstructible": true, @@ -1720,8 +1720,8 @@ "name": "IAvnContentControl", "fullName": "Avalonia.Host.Com.IAvnContentControl", "kind": "Class", - "iid": "71FA5ADD-9F62-5918-84D4-4B300B8EA192", - "abiVersion": 14, + "iid": "611A61DE-9AD0-5456-979A-EE525E5132CE", + "abiVersion": 15, "baseFullName": "Avalonia.Host.Com.IAvnTemplatedControl", "managedFullName": "Avalonia.Controls.ContentControl", "isConstructible": true, @@ -1772,8 +1772,8 @@ "name": "IAvnContextMenu", "fullName": "Avalonia.Host.Com.IAvnContextMenu", "kind": "Class", - "iid": "770B19A7-FB74-5BCA-B1DD-9E0EF124EFEE", - "abiVersion": 16, + "iid": "F63FBE8E-277B-531C-B3F5-E9A2CCEF11A8", + "abiVersion": 17, "baseFullName": "Avalonia.Host.Com.IAvnMenuBase", "managedFullName": "Avalonia.Controls.ContextMenu", "isConstructible": true, @@ -1930,8 +1930,8 @@ "name": "IAvnControl", "fullName": "Avalonia.Host.Com.IAvnControl", "kind": "Class", - "iid": "ABDFF81D-DB26-5BB7-9ACA-18353E6DB4D4", - "abiVersion": 9, + "iid": "E2F44292-89FA-5AFA-9294-FF2F26DB68CE", + "abiVersion": 10, "baseFullName": "Avalonia.Host.Com.IAvnStyledElement", "managedFullName": "Avalonia.Controls.Control", "isConstructible": true, @@ -2255,17 +2255,83 @@ "handlerInterfaceName": "Avalonia.Host.Com.IAvnControlPointerEnteredHandler", "handlerInterfaceIid": "CC8694AC-C51C-5791-A898-1B0DE4D84DC8", "handlerInterfaceAbiVersion": 1, - "payloadKind": "None", + "payloadKind": "Fields", "managedHandlerTypeName": "System.EventHandler\u003CAvalonia.Input.PointerEventArgs\u003E", - "parameters": [] + "parameters": [ + { + "name": "KeyModifiers", + "kind": "I32", + "direction": "In", + "managedTypeName": "Avalonia.Input.KeyModifiers", + "isNullable": false + } + ] }, { "name": "PointerExited", "handlerInterfaceName": "Avalonia.Host.Com.IAvnControlPointerExitedHandler", "handlerInterfaceIid": "218295EF-A88D-5B93-8A33-97ABD41E6645", "handlerInterfaceAbiVersion": 1, - "payloadKind": "None", + "payloadKind": "Fields", "managedHandlerTypeName": "System.EventHandler\u003CAvalonia.Input.PointerEventArgs\u003E", + "parameters": [ + { + "name": "KeyModifiers", + "kind": "I32", + "direction": "In", + "managedTypeName": "Avalonia.Input.KeyModifiers", + "isNullable": false + } + ] + }, + { + "name": "PointerWheelChanged", + "handlerInterfaceName": "Avalonia.Host.Com.IAvnControlPointerWheelChangedHandler", + "handlerInterfaceIid": "4318E60A-86C6-5142-8600-0D61AA20CE93", + "handlerInterfaceAbiVersion": 1, + "payloadKind": "Fields", + "managedHandlerTypeName": "System.EventHandler\u003CAvalonia.Input.PointerWheelEventArgs\u003E", + "parameters": [ + { + "name": "Delta", + "kind": "Vector", + "direction": "In", + "managedTypeName": "Avalonia.Vector", + "isNullable": false + }, + { + "name": "KeyModifiers", + "kind": "I32", + "direction": "In", + "managedTypeName": "Avalonia.Input.KeyModifiers", + "isNullable": false + } + ] + }, + { + "name": "Tapped", + "handlerInterfaceName": "Avalonia.Host.Com.IAvnControlTappedHandler", + "handlerInterfaceIid": "7784D53F-FAEE-5089-8844-C9F5CC3E8632", + "handlerInterfaceAbiVersion": 1, + "payloadKind": "Fields", + "managedHandlerTypeName": "System.EventHandler\u003CAvalonia.Input.TappedEventArgs\u003E", + "parameters": [ + { + "name": "KeyModifiers", + "kind": "I32", + "direction": "In", + "managedTypeName": "Avalonia.Input.KeyModifiers", + "isNullable": false + } + ] + }, + { + "name": "DoubleTapped", + "handlerInterfaceName": "Avalonia.Host.Com.IAvnControlDoubleTappedHandler", + "handlerInterfaceIid": "11D5E069-AEFD-566B-92CC-CDB483877C33", + "handlerInterfaceAbiVersion": 1, + "payloadKind": "None", + "managedHandlerTypeName": "System.EventHandler\u003CAvalonia.Input.TappedEventArgs\u003E", "parameters": [] } ] @@ -2274,8 +2340,8 @@ "name": "IAvnDatePicker", "fullName": "Avalonia.Host.Com.IAvnDatePicker", "kind": "Class", - "iid": "1441AD02-88FD-5BCE-9A23-18607667FAA3", - "abiVersion": 12, + "iid": "DF809CB0-67FA-58E8-920C-1B9574A7B369", + "abiVersion": 13, "baseFullName": "Avalonia.Host.Com.IAvnTemplatedControl", "managedFullName": "Avalonia.Controls.DatePicker", "isConstructible": true, @@ -2414,8 +2480,8 @@ "name": "IAvnDecorator", "fullName": "Avalonia.Host.Com.IAvnDecorator", "kind": "Class", - "iid": "73D7A8D4-2B75-5F19-958F-DE0D15AC3079", - "abiVersion": 11, + "iid": "C3E4D085-4977-566E-B843-75D86B43C2C9", + "abiVersion": 12, "baseFullName": "Avalonia.Host.Com.IAvnControl", "managedFullName": "Avalonia.Controls.Decorator", "isConstructible": true, @@ -2447,8 +2513,8 @@ "name": "IAvnDockPanel", "fullName": "Avalonia.Host.Com.IAvnDockPanel", "kind": "Class", - "iid": "36376ACD-9F74-59B8-ADCA-CAE96F5E70B9", - "abiVersion": 12, + "iid": "8D7E3210-853F-5D42-AE5B-A5915BD53928", + "abiVersion": 13, "baseFullName": "Avalonia.Host.Com.IAvnPanel", "managedFullName": "Avalonia.Controls.DockPanel", "isConstructible": true, @@ -2488,8 +2554,8 @@ "name": "IAvnDropDownButton", "fullName": "Avalonia.Host.Com.IAvnDropDownButton", "kind": "Class", - "iid": "85F27971-CEB0-528D-8D3B-C0AB62E11FDA", - "abiVersion": 12, + "iid": "BCBBD462-BE4D-517B-96B1-BDF762CA9B4B", + "abiVersion": 13, "baseFullName": "Avalonia.Host.Com.IAvnButton", "managedFullName": "Avalonia.Controls.DropDownButton", "isConstructible": true, @@ -2501,8 +2567,8 @@ "name": "IAvnExpander", "fullName": "Avalonia.Host.Com.IAvnExpander", "kind": "Class", - "iid": "5655BDB3-EF10-56D0-BE24-59FC88350939", - "abiVersion": 14, + "iid": "DFCCCA83-1ADA-5620-8230-0C1D66507F12", + "abiVersion": 15, "baseFullName": "Avalonia.Host.Com.IAvnHeaderedContentControl", "managedFullName": "Avalonia.Controls.Expander", "isConstructible": true, @@ -2586,8 +2652,8 @@ "name": "IAvnFlexPanel", "fullName": "Avalonia.Host.Com.IAvnFlexPanel", "kind": "Class", - "iid": "5E186F8A-D1FB-5989-A496-63982A999752", - "abiVersion": 9, + "iid": "1CC87ECC-363C-5A07-9023-AEA80DBEF8B0", + "abiVersion": 10, "baseFullName": "Avalonia.Host.Com.IAvnPanel", "managedFullName": "Avalonia.Controls.FlexPanel", "isConstructible": true, @@ -2697,8 +2763,8 @@ "name": "IAvnGrid", "fullName": "Avalonia.Host.Com.IAvnGrid", "kind": "Class", - "iid": "63034BE5-179A-5196-8338-F10785C6DDDD", - "abiVersion": 13, + "iid": "887286EA-8097-52EB-9CEF-FA1DA7828D0F", + "abiVersion": 14, "baseFullName": "Avalonia.Host.Com.IAvnPanel", "managedFullName": "Avalonia.Controls.Grid", "isConstructible": true, @@ -2756,8 +2822,8 @@ "name": "IAvnGridSplitter", "fullName": "Avalonia.Host.Com.IAvnGridSplitter", "kind": "Class", - "iid": "93629BF6-E409-5BF3-BB49-454A884550E3", - "abiVersion": 11, + "iid": "9D81E579-275C-53A1-8C3B-91F10E2D8403", + "abiVersion": 12, "baseFullName": "Avalonia.Host.Com.IAvnThumb", "managedFullName": "Avalonia.Controls.GridSplitter", "isConstructible": true, @@ -2815,8 +2881,8 @@ "name": "IAvnGroupBox", "fullName": "Avalonia.Host.Com.IAvnGroupBox", "kind": "Class", - "iid": "B2A2A0DC-533F-50D6-B486-8AFB44B0E82D", - "abiVersion": 10, + "iid": "F8356E2B-46EA-58CC-8074-789BA42F0C79", + "abiVersion": 11, "baseFullName": "Avalonia.Host.Com.IAvnHeaderedContentControl", "managedFullName": "Avalonia.Controls.GroupBox", "isConstructible": true, @@ -2828,8 +2894,8 @@ "name": "IAvnHyperlinkButton", "fullName": "Avalonia.Host.Com.IAvnHyperlinkButton", "kind": "Class", - "iid": "CCCE2078-E616-51A8-A55F-77D316F2C9AB", - "abiVersion": 12, + "iid": "59F93515-012E-5F89-9998-87E5947034C1", + "abiVersion": 13, "baseFullName": "Avalonia.Host.Com.IAvnButton", "managedFullName": "Avalonia.Controls.HyperlinkButton", "isConstructible": true, @@ -2861,8 +2927,8 @@ "name": "IAvnIconElement", "fullName": "Avalonia.Host.Com.IAvnIconElement", "kind": "Class", - "iid": "0A1BCD24-9DC9-55DB-B2AA-930041185E3B", - "abiVersion": 10, + "iid": "21137537-05A7-5CD9-8FED-59DACA086407", + "abiVersion": 11, "baseFullName": "Avalonia.Host.Com.IAvnTemplatedControl", "managedFullName": "Avalonia.Controls.IconElement", "isConstructible": false, @@ -2874,8 +2940,8 @@ "name": "IAvnImage", "fullName": "Avalonia.Host.Com.IAvnImage", "kind": "Class", - "iid": "4A556F2B-827F-5748-B7CD-C48452727A29", - "abiVersion": 9, + "iid": "9CBC9E3A-098A-51D7-9647-E20615058287", + "abiVersion": 10, "baseFullName": "Avalonia.Host.Com.IAvnControl", "managedFullName": "Avalonia.Controls.Image", "isConstructible": true, @@ -2925,8 +2991,8 @@ "name": "IAvnItemsControl", "fullName": "Avalonia.Host.Com.IAvnItemsControl", "kind": "Class", - "iid": "B656735C-EECA-50CC-A87D-B4362F7E045A", - "abiVersion": 16, + "iid": "45705E13-A906-50E2-A0D8-DCC20585FDA6", + "abiVersion": 17, "baseFullName": "Avalonia.Host.Com.IAvnTemplatedControl", "managedFullName": "Avalonia.Controls.ItemsControl", "isConstructible": true, @@ -3107,8 +3173,8 @@ "name": "IAvnLabel", "fullName": "Avalonia.Host.Com.IAvnLabel", "kind": "Class", - "iid": "A1ACC10D-5788-5CFF-9D99-798770898E14", - "abiVersion": 11, + "iid": "73C1CCE5-8DB6-5A69-B8FB-AC639528AE72", + "abiVersion": 12, "baseFullName": "Avalonia.Host.Com.IAvnContentControl", "managedFullName": "Avalonia.Controls.Label", "isConstructible": true, @@ -3131,8 +3197,8 @@ "name": "IAvnLayoutTransformControl", "fullName": "Avalonia.Host.Com.IAvnLayoutTransformControl", "kind": "Class", - "iid": "5295C33E-5E49-5425-B06D-D0A37D4AAE68", - "abiVersion": 9, + "iid": "4CF77BF7-4ED9-59F6-98C0-AE9682B3ADFE", + "abiVersion": 10, "baseFullName": "Avalonia.Host.Com.IAvnDecorator", "managedFullName": "Avalonia.Controls.LayoutTransformControl", "isConstructible": true, @@ -3154,8 +3220,8 @@ "name": "IAvnListBox", "fullName": "Avalonia.Host.Com.IAvnListBox", "kind": "Class", - "iid": "6D07BC84-D7C4-5226-A69E-AAF3EE1663A9", - "abiVersion": 17, + "iid": "C45989AF-4038-524F-885B-E57185B22159", + "abiVersion": 18, "baseFullName": "Avalonia.Host.Com.IAvnSelectingItemsControl", "managedFullName": "Avalonia.Controls.ListBox", "isConstructible": true, @@ -3192,8 +3258,8 @@ "name": "IAvnListBoxItem", "fullName": "Avalonia.Host.Com.IAvnListBoxItem", "kind": "Class", - "iid": "4BB2FF76-E252-53F1-8AE0-E32A2C1BBE76", - "abiVersion": 16, + "iid": "D51DAD4D-C109-5ABD-84B4-F3C6007F6133", + "abiVersion": 17, "baseFullName": "Avalonia.Host.Com.IAvnContentControl", "managedFullName": "Avalonia.Controls.ListBoxItem", "isConstructible": true, @@ -3215,8 +3281,8 @@ "name": "IAvnMaskedTextBox", "fullName": "Avalonia.Host.Com.IAvnMaskedTextBox", "kind": "Class", - "iid": "E621C745-A587-5BDD-A1C5-8F498B8636C5", - "abiVersion": 16, + "iid": "ACF377B4-D865-5245-8CFE-AE0461EF95FB", + "abiVersion": 17, "baseFullName": "Avalonia.Host.Com.IAvnTextBox", "managedFullName": "Avalonia.Controls.MaskedTextBox", "isConstructible": true, @@ -3301,8 +3367,8 @@ "name": "IAvnMenu", "fullName": "Avalonia.Host.Com.IAvnMenu", "kind": "Class", - "iid": "0220FC0F-FA60-5173-9E8B-AD96351B3C6D", - "abiVersion": 13, + "iid": "71FC2F34-4C1D-591E-A567-AB3151C77785", + "abiVersion": 14, "baseFullName": "Avalonia.Host.Com.IAvnMenuBase", "managedFullName": "Avalonia.Controls.Menu", "isConstructible": true, @@ -3314,8 +3380,8 @@ "name": "IAvnMenuBase", "fullName": "Avalonia.Host.Com.IAvnMenuBase", "kind": "Class", - "iid": "3B780634-1A42-576F-A587-EE11F0B5C8E8", - "abiVersion": 13, + "iid": "1E92B6FA-9790-5135-8AC6-A566A0EAD414", + "abiVersion": 14, "baseFullName": "Avalonia.Host.Com.IAvnSelectingItemsControl", "managedFullName": "Avalonia.Controls.MenuBase", "isConstructible": false, @@ -3421,8 +3487,8 @@ "name": "IAvnMenuItem", "fullName": "Avalonia.Host.Com.IAvnMenuItem", "kind": "Class", - "iid": "B08CE5EB-F84F-5466-BB66-986E0971333B", - "abiVersion": 16, + "iid": "15CE4E5D-E0E7-5356-ACFF-D742B7280B97", + "abiVersion": 17, "baseFullName": "Avalonia.Host.Com.IAvnHeaderedSelectingItemsControl", "managedFullName": "Avalonia.Controls.MenuItem", "isConstructible": true, @@ -3588,8 +3654,8 @@ "name": "IAvnNotificationCard", "fullName": "Avalonia.Host.Com.IAvnNotificationCard", "kind": "Class", - "iid": "9E575724-617A-54E5-BF78-B6C68E5F4343", - "abiVersion": 11, + "iid": "DB52E2D8-CC48-5F72-B220-52BDF16BC055", + "abiVersion": 12, "baseFullName": "Avalonia.Host.Com.IAvnContentControl", "managedFullName": "Avalonia.Controls.Notifications.NotificationCard", "isConstructible": true, @@ -3647,8 +3713,8 @@ "name": "IAvnWindowNotificationManager", "fullName": "Avalonia.Host.Com.IAvnWindowNotificationManager", "kind": "Class", - "iid": "7C085288-6201-58A3-BD39-14F23696504B", - "abiVersion": 11, + "iid": "2EECEA93-798A-57D8-9ED9-91C4EA6D282F", + "abiVersion": 12, "baseFullName": "Avalonia.Host.Com.IAvnTemplatedControl", "managedFullName": "Avalonia.Controls.Notifications.WindowNotificationManager", "isConstructible": true, @@ -3749,8 +3815,8 @@ "name": "IAvnNumericUpDown", "fullName": "Avalonia.Host.Com.IAvnNumericUpDown", "kind": "Class", - "iid": "63426B0F-1A76-51A9-9E98-343D2E69C156", - "abiVersion": 11, + "iid": "1082FB46-8635-515E-822C-12629B6D25F8", + "abiVersion": 12, "baseFullName": "Avalonia.Host.Com.IAvnTemplatedControl", "managedFullName": "Avalonia.Controls.NumericUpDown", "isConstructible": true, @@ -3967,8 +4033,8 @@ "name": "IAvnPanel", "fullName": "Avalonia.Host.Com.IAvnPanel", "kind": "Class", - "iid": "96AD03DD-F271-537E-A933-B7C75D63AC0C", - "abiVersion": 12, + "iid": "E6C6B17E-9747-5739-B255-52E737A7A2A2", + "abiVersion": 13, "baseFullName": "Avalonia.Host.Com.IAvnControl", "managedFullName": "Avalonia.Controls.Panel", "isConstructible": true, @@ -4005,8 +4071,8 @@ "name": "IAvnPathIcon", "fullName": "Avalonia.Host.Com.IAvnPathIcon", "kind": "Class", - "iid": "885577A3-AC29-51D9-ACB5-D30ABBB484FC", - "abiVersion": 10, + "iid": "6D274452-1819-559D-BB43-52E68AB64E10", + "abiVersion": 11, "baseFullName": "Avalonia.Host.Com.IAvnIconElement", "managedFullName": "Avalonia.Controls.PathIcon", "isConstructible": true, @@ -4029,8 +4095,8 @@ "name": "IAvnPipsPager", "fullName": "Avalonia.Host.Com.IAvnPipsPager", "kind": "Class", - "iid": "6C3C0A8B-3237-50C1-8DF3-5171EDF2A1B8", - "abiVersion": 11, + "iid": "FBFAC5E1-FD39-56C8-8208-7C0E0AFA68CD", + "abiVersion": 12, "baseFullName": "Avalonia.Host.Com.IAvnTemplatedControl", "managedFullName": "Avalonia.Controls.PipsPager", "isConstructible": true, @@ -4183,8 +4249,8 @@ "name": "IAvnHeaderedContentControl", "fullName": "Avalonia.Host.Com.IAvnHeaderedContentControl", "kind": "Class", - "iid": "C1825F55-DE82-5447-93A8-4A55F63BA652", - "abiVersion": 14, + "iid": "D8948145-837B-5DC3-A685-14DF38167A93", + "abiVersion": 15, "baseFullName": "Avalonia.Host.Com.IAvnContentControl", "managedFullName": "Avalonia.Controls.Primitives.HeaderedContentControl", "isConstructible": true, @@ -4217,8 +4283,8 @@ "name": "IAvnHeaderedItemsControl", "fullName": "Avalonia.Host.Com.IAvnHeaderedItemsControl", "kind": "Class", - "iid": "B6281359-24AB-5280-8B2C-762A53529C27", - "abiVersion": 13, + "iid": "D25B235E-D49F-55B2-ADF8-90A2BFCB96AB", + "abiVersion": 14, "baseFullName": "Avalonia.Host.Com.IAvnItemsControl", "managedFullName": "Avalonia.Controls.Primitives.HeaderedItemsControl", "isConstructible": true, @@ -4251,8 +4317,8 @@ "name": "IAvnHeaderedSelectingItemsControl", "fullName": "Avalonia.Host.Com.IAvnHeaderedSelectingItemsControl", "kind": "Class", - "iid": "8640C1BF-2502-5E21-B861-1ECBD1918FD1", - "abiVersion": 13, + "iid": "BA5CD52E-ECDF-5379-AC86-5897FA853C60", + "abiVersion": 14, "baseFullName": "Avalonia.Host.Com.IAvnSelectingItemsControl", "managedFullName": "Avalonia.Controls.Primitives.HeaderedSelectingItemsControl", "isConstructible": true, @@ -4285,8 +4351,8 @@ "name": "IAvnPopup", "fullName": "Avalonia.Host.Com.IAvnPopup", "kind": "Class", - "iid": "6CCB1B6A-EC3B-5625-A604-97B56FF5B86F", - "abiVersion": 9, + "iid": "30B75D6F-4E12-505C-8C73-E02A5FCDB356", + "abiVersion": 10, "baseFullName": "Avalonia.Host.Com.IAvnControl", "managedFullName": "Avalonia.Controls.Primitives.Popup", "isConstructible": true, @@ -4693,8 +4759,8 @@ "name": "IAvnRangeBase", "fullName": "Avalonia.Host.Com.IAvnRangeBase", "kind": "Class", - "iid": "F1231250-DB6B-52E4-A42E-3C57E73C7023", - "abiVersion": 13, + "iid": "D910F3E2-CD14-547A-8E8C-BFEC9F4C926F", + "abiVersion": 14, "baseFullName": "Avalonia.Host.Com.IAvnTemplatedControl", "managedFullName": "Avalonia.Controls.Primitives.RangeBase", "isConstructible": false, @@ -4777,8 +4843,8 @@ "name": "IAvnSelectingItemsControl", "fullName": "Avalonia.Host.Com.IAvnSelectingItemsControl", "kind": "Class", - "iid": "56020FA9-D4A4-52B6-B5FC-EAEB6FD563C2", - "abiVersion": 16, + "iid": "18B99B99-03A3-5C68-8471-D463C4ED1778", + "abiVersion": 17, "baseFullName": "Avalonia.Host.Com.IAvnItemsControl", "managedFullName": "Avalonia.Controls.Primitives.SelectingItemsControl", "isConstructible": true, @@ -4872,8 +4938,8 @@ "name": "IAvnTemplatedControl", "fullName": "Avalonia.Host.Com.IAvnTemplatedControl", "kind": "Class", - "iid": "E2867468-09D4-5D05-A956-F687A78DF51A", - "abiVersion": 13, + "iid": "6E80826C-F337-5A4D-A5BB-1C0DF436B6D0", + "abiVersion": 14, "baseFullName": "Avalonia.Host.Com.IAvnControl", "managedFullName": "Avalonia.Controls.Primitives.TemplatedControl", "isConstructible": true, @@ -5019,8 +5085,8 @@ "name": "IAvnThumb", "fullName": "Avalonia.Host.Com.IAvnThumb", "kind": "Class", - "iid": "B62C6C73-14C3-5E0D-A725-F5606107B454", - "abiVersion": 11, + "iid": "A9A96FDF-BFCF-5E37-A11E-4B653CE36C00", + "abiVersion": 12, "baseFullName": "Avalonia.Host.Com.IAvnTemplatedControl", "managedFullName": "Avalonia.Controls.Primitives.Thumb", "isConstructible": true, @@ -5084,8 +5150,8 @@ "name": "IAvnToggleButton", "fullName": "Avalonia.Host.Com.IAvnToggleButton", "kind": "Class", - "iid": "F9840045-23B2-5318-A7DA-EB7F3287FBD8", - "abiVersion": 17, + "iid": "23A7F6FB-AFEF-5E4D-8A9A-94F4EFCF6B12", + "abiVersion": 18, "baseFullName": "Avalonia.Host.Com.IAvnButton", "managedFullName": "Avalonia.Controls.Primitives.ToggleButton", "isConstructible": true, @@ -5126,8 +5192,8 @@ "name": "IAvnUniformGrid", "fullName": "Avalonia.Host.Com.IAvnUniformGrid", "kind": "Class", - "iid": "600B20CC-7AA7-5EC9-B773-A893B4376F95", - "abiVersion": 9, + "iid": "061A5BD1-9360-53D2-BEF6-7EB9ECAEA493", + "abiVersion": 10, "baseFullName": "Avalonia.Host.Com.IAvnPanel", "managedFullName": "Avalonia.Controls.Primitives.UniformGrid", "isConstructible": true, @@ -5185,8 +5251,8 @@ "name": "IAvnProgressBar", "fullName": "Avalonia.Host.Com.IAvnProgressBar", "kind": "Class", - "iid": "A87F44AD-6E9D-5059-A355-CBC907AD0F45", - "abiVersion": 14, + "iid": "5AD47222-012D-56C8-8459-42DD295B9DAF", + "abiVersion": 15, "baseFullName": "Avalonia.Host.Com.IAvnRangeBase", "managedFullName": "Avalonia.Controls.ProgressBar", "isConstructible": true, @@ -5244,8 +5310,8 @@ "name": "IAvnRadioButton", "fullName": "Avalonia.Host.Com.IAvnRadioButton", "kind": "Class", - "iid": "1D9D9433-E351-59FA-A65E-F78DF4223F1C", - "abiVersion": 17, + "iid": "A2E6518A-5B2E-5424-84FE-CFA325D93288", + "abiVersion": 18, "baseFullName": "Avalonia.Host.Com.IAvnToggleButton", "managedFullName": "Avalonia.Controls.RadioButton", "isConstructible": true, @@ -5267,8 +5333,8 @@ "name": "IAvnRefreshContainer", "fullName": "Avalonia.Host.Com.IAvnRefreshContainer", "kind": "Class", - "iid": "3693CF05-F784-5394-B7D2-6DF511F86F97", - "abiVersion": 11, + "iid": "95707491-9943-5B6C-BF2E-1A68A797A842", + "abiVersion": 12, "baseFullName": "Avalonia.Host.Com.IAvnContentControl", "managedFullName": "Avalonia.Controls.RefreshContainer", "isConstructible": true, @@ -5317,8 +5383,8 @@ "name": "IAvnRelativePanel", "fullName": "Avalonia.Host.Com.IAvnRelativePanel", "kind": "Class", - "iid": "0E550183-4D72-5357-8C3F-9F15E41BC976", - "abiVersion": 9, + "iid": "A52468AD-E31F-58F2-8A74-1AB7E73D66E6", + "abiVersion": 10, "baseFullName": "Avalonia.Host.Com.IAvnPanel", "managedFullName": "Avalonia.Controls.RelativePanel", "isConstructible": true, @@ -5330,8 +5396,8 @@ "name": "IAvnRepeatButton", "fullName": "Avalonia.Host.Com.IAvnRepeatButton", "kind": "Class", - "iid": "E1023A87-3E17-5F1D-8671-36C4FD0D1CC3", - "abiVersion": 12, + "iid": "DF355462-7926-5F77-B463-22B164C7A402", + "abiVersion": 13, "baseFullName": "Avalonia.Host.Com.IAvnButton", "managedFullName": "Avalonia.Controls.RepeatButton", "isConstructible": true, @@ -5362,8 +5428,8 @@ "name": "IAvnScrollViewer", "fullName": "Avalonia.Host.Com.IAvnScrollViewer", "kind": "Class", - "iid": "74E7350C-320E-5E2A-A8B9-CDD929B6B826", - "abiVersion": 16, + "iid": "4CCB656E-34E8-5621-AF96-1C2AF4F1DAAE", + "abiVersion": 17, "baseFullName": "Avalonia.Host.Com.IAvnContentControl", "managedFullName": "Avalonia.Controls.ScrollViewer", "isConstructible": true, @@ -5661,8 +5727,8 @@ "name": "IAvnSelectableTextBlock", "fullName": "Avalonia.Host.Com.IAvnSelectableTextBlock", "kind": "Class", - "iid": "843AC2A4-7FEF-5858-8A9A-F199BBA52638", - "abiVersion": 12, + "iid": "8E36E51E-30AC-563D-A2D7-79335F5FAD8C", + "abiVersion": 13, "baseFullName": "Avalonia.Host.Com.IAvnTextBlock", "managedFullName": "Avalonia.Controls.SelectableTextBlock", "isConstructible": true, @@ -5765,8 +5831,8 @@ "name": "IAvnSeparator", "fullName": "Avalonia.Host.Com.IAvnSeparator", "kind": "Class", - "iid": "87BD59B4-CB85-5216-B757-72F95FCB49E3", - "abiVersion": 10, + "iid": "C97E1335-936C-5319-91B3-09E2E1607D5A", + "abiVersion": 11, "baseFullName": "Avalonia.Host.Com.IAvnTemplatedControl", "managedFullName": "Avalonia.Controls.Separator", "isConstructible": true, @@ -5778,8 +5844,8 @@ "name": "IAvnArc", "fullName": "Avalonia.Host.Com.IAvnArc", "kind": "Class", - "iid": "394ACB52-3BF3-52D6-97E8-4BF0C102F4BE", - "abiVersion": 9, + "iid": "D707907F-AF00-561A-9374-03A90DF55B83", + "abiVersion": 10, "baseFullName": "Avalonia.Host.Com.IAvnShape", "managedFullName": "Avalonia.Controls.Shapes.Arc", "isConstructible": true, @@ -5810,8 +5876,8 @@ "name": "IAvnEllipse", "fullName": "Avalonia.Host.Com.IAvnEllipse", "kind": "Class", - "iid": "2AA5065D-5B4C-542B-B6CC-A230A576E4F1", - "abiVersion": 9, + "iid": "ECCCD4F8-7656-5346-B562-E826C27E039E", + "abiVersion": 10, "baseFullName": "Avalonia.Host.Com.IAvnShape", "managedFullName": "Avalonia.Controls.Shapes.Ellipse", "isConstructible": true, @@ -5823,8 +5889,8 @@ "name": "IAvnLine", "fullName": "Avalonia.Host.Com.IAvnLine", "kind": "Class", - "iid": "12A0F43A-9EAB-5F5B-96EF-D91E25F31B78", - "abiVersion": 9, + "iid": "C3F76A13-4998-5B6B-AD06-EFB5E4B9EC61", + "abiVersion": 10, "baseFullName": "Avalonia.Host.Com.IAvnShape", "managedFullName": "Avalonia.Controls.Shapes.Line", "isConstructible": true, @@ -5855,8 +5921,8 @@ "name": "IAvnPath", "fullName": "Avalonia.Host.Com.IAvnPath", "kind": "Class", - "iid": "E5A71060-50E1-5554-81B4-030898F293CF", - "abiVersion": 9, + "iid": "708CD7FD-817B-56CB-AE5C-C74F67CAD4F6", + "abiVersion": 10, "baseFullName": "Avalonia.Host.Com.IAvnShape", "managedFullName": "Avalonia.Controls.Shapes.Path", "isConstructible": true, @@ -5879,8 +5945,8 @@ "name": "IAvnPolygon", "fullName": "Avalonia.Host.Com.IAvnPolygon", "kind": "Class", - "iid": "E706EC48-3CA1-5BEA-907E-460CA53B06BE", - "abiVersion": 9, + "iid": "4F93F9D8-08E6-56F7-A51B-073928795D7D", + "abiVersion": 10, "baseFullName": "Avalonia.Host.Com.IAvnShape", "managedFullName": "Avalonia.Controls.Shapes.Polygon", "isConstructible": true, @@ -5912,8 +5978,8 @@ "name": "IAvnPolyline", "fullName": "Avalonia.Host.Com.IAvnPolyline", "kind": "Class", - "iid": "035DBEE9-DC4D-57B6-9140-DD59B208A9DC", - "abiVersion": 9, + "iid": "2DBA0D61-C35B-5D12-82A7-555EDA620BC5", + "abiVersion": 10, "baseFullName": "Avalonia.Host.Com.IAvnShape", "managedFullName": "Avalonia.Controls.Shapes.Polyline", "isConstructible": true, @@ -5945,8 +6011,8 @@ "name": "IAvnRectangle", "fullName": "Avalonia.Host.Com.IAvnRectangle", "kind": "Class", - "iid": "E87D8C84-1090-5B7D-9DBA-9F122E19E333", - "abiVersion": 9, + "iid": "95D3D828-9CB6-536E-96D5-2D5D67C3463F", + "abiVersion": 10, "baseFullName": "Avalonia.Host.Com.IAvnShape", "managedFullName": "Avalonia.Controls.Shapes.Rectangle", "isConstructible": true, @@ -5977,8 +6043,8 @@ "name": "IAvnSector", "fullName": "Avalonia.Host.Com.IAvnSector", "kind": "Class", - "iid": "5716DA45-6417-5758-89E7-303427808353", - "abiVersion": 9, + "iid": "A6E3E187-67DD-5603-93D8-7431B6449CD7", + "abiVersion": 10, "baseFullName": "Avalonia.Host.Com.IAvnShape", "managedFullName": "Avalonia.Controls.Shapes.Sector", "isConstructible": true, @@ -6009,8 +6075,8 @@ "name": "IAvnShape", "fullName": "Avalonia.Host.Com.IAvnShape", "kind": "Class", - "iid": "5CB7105C-DAF9-5211-9659-62EAB03208FF", - "abiVersion": 9, + "iid": "8C49AE37-0535-5DEF-926C-D0D6857CC216", + "abiVersion": 10, "baseFullName": "Avalonia.Host.Com.IAvnControl", "managedFullName": "Avalonia.Controls.Shapes.Shape", "isConstructible": false, @@ -6109,8 +6175,8 @@ "name": "IAvnSlider", "fullName": "Avalonia.Host.Com.IAvnSlider", "kind": "Class", - "iid": "BF042391-AF5A-5DD4-B321-055CA9F70D23", - "abiVersion": 13, + "iid": "8F19D970-60A0-5AA7-A9CF-DF7882B11E7A", + "abiVersion": 14, "baseFullName": "Avalonia.Host.Com.IAvnRangeBase", "managedFullName": "Avalonia.Controls.Slider", "isConstructible": true, @@ -6178,8 +6244,8 @@ "name": "IAvnSpinner", "fullName": "Avalonia.Host.Com.IAvnSpinner", "kind": "Class", - "iid": "4A63E264-F914-5256-93AB-1268895B9073", - "abiVersion": 10, + "iid": "CF93246B-DA27-5FC8-8382-FE6000F83FA4", + "abiVersion": 11, "baseFullName": "Avalonia.Host.Com.IAvnContentControl", "managedFullName": "Avalonia.Controls.Spinner", "isConstructible": false, @@ -6226,8 +6292,8 @@ "name": "IAvnSplitButton", "fullName": "Avalonia.Host.Com.IAvnSplitButton", "kind": "Class", - "iid": "11D77809-48B6-5A29-B8D9-5D413BC96A85", - "abiVersion": 13, + "iid": "88415351-1718-57DE-98D6-5DEE1794029C", + "abiVersion": 14, "baseFullName": "Avalonia.Host.Com.IAvnContentControl", "managedFullName": "Avalonia.Controls.SplitButton", "isConstructible": true, @@ -6288,8 +6354,8 @@ "name": "IAvnSplitView", "fullName": "Avalonia.Host.Com.IAvnSplitView", "kind": "Class", - "iid": "048A7E1E-0539-5D4A-95D8-5C2E6D429202", - "abiVersion": 10, + "iid": "CF2AF228-F18D-57E1-B362-6A692FEB7AC4", + "abiVersion": 11, "baseFullName": "Avalonia.Host.Com.IAvnContentControl", "managedFullName": "Avalonia.Controls.SplitView", "isConstructible": true, @@ -6440,8 +6506,8 @@ "name": "IAvnStackPanel", "fullName": "Avalonia.Host.Com.IAvnStackPanel", "kind": "Class", - "iid": "17521479-DA81-5A88-9984-557EE08FF897", - "abiVersion": 13, + "iid": "41C138FB-C0C9-579F-A3B9-76080732A94C", + "abiVersion": 14, "baseFullName": "Avalonia.Host.Com.IAvnPanel", "managedFullName": "Avalonia.Controls.StackPanel", "isConstructible": true, @@ -6490,8 +6556,8 @@ "name": "IAvnTabControl", "fullName": "Avalonia.Host.Com.IAvnTabControl", "kind": "Class", - "iid": "8F087347-637D-5F69-BABE-6D6ED30440C1", - "abiVersion": 13, + "iid": "27DF6FA4-888C-53C3-8612-186747FD07BF", + "abiVersion": 14, "baseFullName": "Avalonia.Host.Com.IAvnSelectingItemsControl", "managedFullName": "Avalonia.Controls.TabControl", "isConstructible": true, @@ -6570,8 +6636,8 @@ "name": "IAvnTabItem", "fullName": "Avalonia.Host.Com.IAvnTabItem", "kind": "Class", - "iid": "406B7990-01A7-533E-9A2A-7B70DDFCE8EC", - "abiVersion": 12, + "iid": "DED2B477-BC45-5613-BA24-CDBAB635D785", + "abiVersion": 13, "baseFullName": "Avalonia.Host.Com.IAvnHeaderedContentControl", "managedFullName": "Avalonia.Controls.TabItem", "isConstructible": true, @@ -6632,8 +6698,8 @@ "name": "IAvnTableView", "fullName": "Avalonia.Host.Com.IAvnTableView", "kind": "Class", - "iid": "D4BE6E5C-B5DD-5BB0-A30F-3CC833767F7C", - "abiVersion": 14, + "iid": "BA62A21B-C26D-587F-A41F-35E67E200B69", + "abiVersion": 15, "baseFullName": "Avalonia.Host.Com.IAvnListBox", "managedFullName": "Avalonia.Controls.TableView", "isConstructible": true, @@ -6669,8 +6735,8 @@ "name": "IAvnTableViewCell", "fullName": "Avalonia.Host.Com.IAvnTableViewCell", "kind": "Class", - "iid": "7B4DC408-8142-5915-B1A7-15CE22062512", - "abiVersion": 12, + "iid": "2B1B1C38-97FD-59A3-8BCD-59ACBDC03368", + "abiVersion": 13, "baseFullName": "Avalonia.Host.Com.IAvnContentControl", "managedFullName": "Avalonia.Controls.TableViewCell", "isConstructible": true, @@ -6788,8 +6854,8 @@ "name": "IAvnTableViewRow", "fullName": "Avalonia.Host.Com.IAvnTableViewRow", "kind": "Class", - "iid": "1A492B55-9FB8-5F66-986E-EF1DED34A38D", - "abiVersion": 10, + "iid": "8E3BA93D-D0BE-51D9-A007-2AF614AC6ADB", + "abiVersion": 11, "baseFullName": "Avalonia.Host.Com.IAvnListBoxItem", "managedFullName": "Avalonia.Controls.TableViewRow", "isConstructible": true, @@ -6801,8 +6867,8 @@ "name": "IAvnTextBlock", "fullName": "Avalonia.Host.Com.IAvnTextBlock", "kind": "Class", - "iid": "06129468-B036-5F97-ACA3-6C51B845746D", - "abiVersion": 15, + "iid": "199AE412-EE08-5BDE-A498-66AE0231AA3F", + "abiVersion": 16, "baseFullName": "Avalonia.Host.Com.IAvnControl", "managedFullName": "Avalonia.Controls.TextBlock", "isConstructible": true, @@ -6983,8 +7049,8 @@ "name": "IAvnTextBox", "fullName": "Avalonia.Host.Com.IAvnTextBox", "kind": "Class", - "iid": "BCD740F5-7423-5B2D-AD5E-CB40072226F8", - "abiVersion": 19, + "iid": "55D76247-3F6A-5F45-AC3C-33B34A38329A", + "abiVersion": 20, "baseFullName": "Avalonia.Host.Com.IAvnTemplatedControl", "managedFullName": "Avalonia.Controls.TextBox", "isConstructible": true, @@ -7473,8 +7539,8 @@ "name": "IAvnThemeVariantScope", "fullName": "Avalonia.Host.Com.IAvnThemeVariantScope", "kind": "Class", - "iid": "2E35671F-C418-50E8-86C1-ED858C036A8D", - "abiVersion": 9, + "iid": "FF6B43AB-B89D-5574-BBDE-9ACACD23DBA4", + "abiVersion": 10, "baseFullName": "Avalonia.Host.Com.IAvnDecorator", "managedFullName": "Avalonia.Controls.ThemeVariantScope", "isConstructible": true, @@ -7497,8 +7563,8 @@ "name": "IAvnTimePicker", "fullName": "Avalonia.Host.Com.IAvnTimePicker", "kind": "Class", - "iid": "9F3B7D7A-E290-5ADC-997C-213A25F20D3B", - "abiVersion": 12, + "iid": "5E7CE65A-FE53-551C-9F5A-2344EE09E002", + "abiVersion": 13, "baseFullName": "Avalonia.Host.Com.IAvnTemplatedControl", "managedFullName": "Avalonia.Controls.TimePicker", "isConstructible": true, @@ -7599,8 +7665,8 @@ "name": "IAvnToggleSplitButton", "fullName": "Avalonia.Host.Com.IAvnToggleSplitButton", "kind": "Class", - "iid": "4FD7A582-1766-5CC7-B173-72F47FDF6BFF", - "abiVersion": 13, + "iid": "0057E49B-BB54-516F-8FDA-B1E646A1C897", + "abiVersion": 14, "baseFullName": "Avalonia.Host.Com.IAvnSplitButton", "managedFullName": "Avalonia.Controls.ToggleSplitButton", "isConstructible": true, @@ -7632,8 +7698,8 @@ "name": "IAvnToggleSwitch", "fullName": "Avalonia.Host.Com.IAvnToggleSwitch", "kind": "Class", - "iid": "96F69492-4FBE-565F-8572-D7AEA40997E9", - "abiVersion": 17, + "iid": "B022C6CE-8A5D-5700-B341-114A6A4FBCA0", + "abiVersion": 18, "baseFullName": "Avalonia.Host.Com.IAvnToggleButton", "managedFullName": "Avalonia.Controls.ToggleSwitch", "isConstructible": true, @@ -7686,8 +7752,8 @@ "name": "IAvnToolTip", "fullName": "Avalonia.Host.Com.IAvnToolTip", "kind": "Class", - "iid": "8158AEAF-B85C-59C4-BFCE-98DF20F4C2C9", - "abiVersion": 10, + "iid": "2B78EA6B-FE62-5508-AB5F-586C3523C5A1", + "abiVersion": 11, "baseFullName": "Avalonia.Host.Com.IAvnContentControl", "managedFullName": "Avalonia.Controls.ToolTip", "isConstructible": true, @@ -7699,8 +7765,8 @@ "name": "IAvnTransitioningContentControl", "fullName": "Avalonia.Host.Com.IAvnTransitioningContentControl", "kind": "Class", - "iid": "643AACDC-AB53-56DF-A197-28042BF4D69F", - "abiVersion": 11, + "iid": "FD0EB25C-585B-5EDA-B1ED-F629A765B5A9", + "abiVersion": 12, "baseFullName": "Avalonia.Host.Com.IAvnContentControl", "managedFullName": "Avalonia.Controls.TransitioningContentControl", "isConstructible": true, @@ -7825,8 +7891,8 @@ "name": "IAvnTreeView", "fullName": "Avalonia.Host.Com.IAvnTreeView", "kind": "Class", - "iid": "E8A54D8B-7903-57AE-9BF8-F5A8055028FC", - "abiVersion": 13, + "iid": "0B60003F-EC3F-5F72-9763-04C3C4FFE8DD", + "abiVersion": 14, "baseFullName": "Avalonia.Host.Com.IAvnItemsControl", "managedFullName": "Avalonia.Controls.TreeView", "isConstructible": true, @@ -7999,8 +8065,8 @@ "name": "IAvnTreeViewItem", "fullName": "Avalonia.Host.Com.IAvnTreeViewItem", "kind": "Class", - "iid": "CDD644B1-7E5B-5C32-9271-5A69CEE65005", - "abiVersion": 13, + "iid": "F173219D-C63C-5669-BE7D-98E98BF1C54B", + "abiVersion": 14, "baseFullName": "Avalonia.Host.Com.IAvnHeaderedItemsControl", "managedFullName": "Avalonia.Controls.TreeViewItem", "isConstructible": true, @@ -8059,8 +8125,8 @@ "name": "IAvnUserControl", "fullName": "Avalonia.Host.Com.IAvnUserControl", "kind": "Class", - "iid": "E3ABA05B-DFF9-53C3-8885-CE2D78FEFFFC", - "abiVersion": 10, + "iid": "0BFF79AB-0D63-5654-8F44-DBBDA630FA30", + "abiVersion": 11, "baseFullName": "Avalonia.Host.Com.IAvnContentControl", "managedFullName": "Avalonia.Controls.UserControl", "isConstructible": true, @@ -8072,8 +8138,8 @@ "name": "IAvnViewbox", "fullName": "Avalonia.Host.Com.IAvnViewbox", "kind": "Class", - "iid": "3140444B-2172-5105-B7AD-D810D5794C13", - "abiVersion": 9, + "iid": "159B2487-78B8-5C1A-932D-A67C6E2E7420", + "abiVersion": 10, "baseFullName": "Avalonia.Host.Com.IAvnControl", "managedFullName": "Avalonia.Controls.Viewbox", "isConstructible": true, @@ -8114,8 +8180,8 @@ "name": "IAvnWindow", "fullName": "Avalonia.Host.Com.IAvnWindow", "kind": "Class", - "iid": "29E3362E-B16E-5163-AED3-CF14D6B12784", - "abiVersion": 19, + "iid": "BF221569-8214-5478-9505-0B21A2663545", + "abiVersion": 20, "baseFullName": "Avalonia.Host.Com.IAvnContentControl", "managedFullName": "Avalonia.Controls.Window", "isConstructible": true, @@ -8385,8 +8451,8 @@ "name": "IAvnWrapPanel", "fullName": "Avalonia.Host.Com.IAvnWrapPanel", "kind": "Class", - "iid": "802A39C5-57F6-5E1A-9DA8-02634571CF6D", - "abiVersion": 9, + "iid": "FE3C3653-52AA-529D-8ACE-7F54E7D74387", + "abiVersion": 10, "baseFullName": "Avalonia.Host.Com.IAvnPanel", "managedFullName": "Avalonia.Controls.WrapPanel", "isConstructible": true, diff --git a/tests/Avalonia.Projection.Generator.Tests/BrushMarshallingEmitterTests.cs b/tests/Avalonia.Projection.Generator.Tests/BrushMarshallingEmitterTests.cs index c15cf5b..82506b0 100644 --- a/tests/Avalonia.Projection.Generator.Tests/BrushMarshallingEmitterTests.cs +++ b/tests/Avalonia.Projection.Generator.Tests/BrushMarshallingEmitterTests.cs @@ -153,11 +153,11 @@ public void Emits_the_native_brush_vtable_and_the_chrome_slots() // Widened interfaces republish at version 4; the ones whose flattened vtable did not // move keep the version they already published. - Assert.Contains("#define I_AVN_BORDER_ABI_VERSION 13", header, StringComparison.Ordinal); - Assert.Contains("#define I_AVN_PANEL_ABI_VERSION 12", header, StringComparison.Ordinal); - Assert.Contains("#define I_AVN_TEXT_BLOCK_ABI_VERSION 15", header, StringComparison.Ordinal); - Assert.Contains("#define I_AVN_CONTROL_ABI_VERSION 9", header, StringComparison.Ordinal); - Assert.Contains("#define I_AVN_DECORATOR_ABI_VERSION 11", header, StringComparison.Ordinal); + Assert.Contains("#define I_AVN_BORDER_ABI_VERSION 14", header, StringComparison.Ordinal); + Assert.Contains("#define I_AVN_PANEL_ABI_VERSION 13", header, StringComparison.Ordinal); + Assert.Contains("#define I_AVN_TEXT_BLOCK_ABI_VERSION 16", header, StringComparison.Ordinal); + Assert.Contains("#define I_AVN_CONTROL_ABI_VERSION 10", header, StringComparison.Ordinal); + Assert.Contains("#define I_AVN_DECORATOR_ABI_VERSION 12", header, StringComparison.Ordinal); Assert.Contains( "#define I_AVN_AVALONIA_OBJECT_ABI_VERSION 2", header, diff --git a/tests/Avalonia.Projection.Generator.Tests/ComSourceEmitterTests.cs b/tests/Avalonia.Projection.Generator.Tests/ComSourceEmitterTests.cs index 3004df0..176c434 100644 --- a/tests/Avalonia.Projection.Generator.Tests/ComSourceEmitterTests.cs +++ b/tests/Avalonia.Projection.Generator.Tests/ComSourceEmitterTests.cs @@ -630,7 +630,7 @@ public void Checked_in_ir_and_host_sources_match_generator() var buttonEnd = header.IndexOf("struct IAvnButton {", buttonStart, StringComparison.Ordinal); var buttonHeader = header[buttonStart..buttonEnd]; Assert.Contains("get_object_id", buttonHeader, StringComparison.Ordinal); - Assert.Contains("#define I_AVN_BUTTON_ABI_VERSION 17", header, StringComparison.Ordinal); + Assert.Contains("#define I_AVN_BUTTON_ABI_VERSION 18", header, StringComparison.Ordinal); Assert.True( buttonHeader.IndexOf("get_object_id", StringComparison.Ordinal) < buttonHeader.IndexOf("get_classes", StringComparison.Ordinal)); diff --git a/tests/Avalonia.Projection.Generator.Tests/GeometryMarshallingEmitterTests.cs b/tests/Avalonia.Projection.Generator.Tests/GeometryMarshallingEmitterTests.cs index ac33c09..85ee8e7 100644 --- a/tests/Avalonia.Projection.Generator.Tests/GeometryMarshallingEmitterTests.cs +++ b/tests/Avalonia.Projection.Generator.Tests/GeometryMarshallingEmitterTests.cs @@ -169,7 +169,7 @@ public void Kernel_header_publishes_the_geometry_structs_and_live_by_value_slots // Widening IAvnControl republishes it at version 3; IAvnAvaloniaObject projects no // members, so its vtable and version are untouched. - Assert.Contains("#define I_AVN_CONTROL_ABI_VERSION 9", header, StringComparison.Ordinal); + Assert.Contains("#define I_AVN_CONTROL_ABI_VERSION 10", header, StringComparison.Ordinal); Assert.Contains( "#define I_AVN_AVALONIA_OBJECT_ABI_VERSION 2", header, diff --git a/tests/Avalonia.Projection.Ir.Tests/ClrTypeExtractorTests.cs b/tests/Avalonia.Projection.Ir.Tests/ClrTypeExtractorTests.cs index 6a21ea2..35511b5 100644 --- a/tests/Avalonia.Projection.Ir.Tests/ClrTypeExtractorTests.cs +++ b/tests/Avalonia.Projection.Ir.Tests/ClrTypeExtractorTests.cs @@ -170,7 +170,7 @@ public void Projects_kernel_types_properties_commands_and_nearest_bases() Assert.Equal(MarshallingKind.NullableBool, isChecked.Kind); var controlEvents = Type(ir, "IAvnControl").Events; - Assert.Equal(9, controlEvents.Count); + Assert.Equal(12, controlEvents.Count); var sizeChanged = controlEvents.Single(@event => @event.Name == "SizeChanged"); Assert.Equal(EventPayloadKind.Fields, sizeChanged.PayloadKind); Assert.Equal(2, sizeChanged.Parameters.Count); @@ -194,9 +194,24 @@ public void Projects_kernel_types_properties_commands_and_nearest_bases() Assert.Equal( EventPayloadKind.None, controlEvents.Single(@event => @event.Name == "LostFocus").PayloadKind); - Assert.All( - controlEvents.Where(@event => @event.Name.StartsWith("Pointer", StringComparison.Ordinal)), - @event => Assert.Equal(EventPayloadKind.None, @event.PayloadKind)); + // Wave Q: the pointer events carry the device-independent payload that does + // not need a host-typed object (modifiers; the wheel adds its Vector delta). + // DoubleTapped has no payload of its own. + foreach (var eventName in new[] { "PointerEntered", "PointerExited", "Tapped" }) + { + var pointerEvent = controlEvents.Single(@event => @event.Name == eventName); + Assert.Equal(EventPayloadKind.Fields, pointerEvent.PayloadKind); + Assert.Equal("KeyModifiers", Assert.Single(pointerEvent.Parameters).Name); + } + var wheel = controlEvents.Single(@event => @event.Name == "PointerWheelChanged"); + Assert.Equal(EventPayloadKind.Fields, wheel.PayloadKind); + Assert.Equal(MarshallingKind.Vector, + wheel.Parameters.Single(parameter => parameter.Name == "Delta").Kind); + Assert.Equal("KeyModifiers", wheel.Parameters[1].Name); + Assert.Equal( + EventPayloadKind.None, + controlEvents.Single(@event => @event.Name == "DoubleTapped").PayloadKind); + Assert.Equal(12, controlEvents.Count); Assert.All( Type(ir, "IAvnControl").Properties.Where(property => property.Name is nameof(Control.Width) or nameof(Control.Height)), @@ -297,11 +312,11 @@ public void Layout_members_keep_the_abi_version_of_the_interfaces_they_widened() // republishes with every Control growth plus its own; U19 grew ContentControl // above Decorator too. Assert.Equal(6, Type(ir, "IAvnStyledElement").AbiVersion); - Assert.Equal(9, Type(ir, "IAvnControl").AbiVersion); - Assert.Equal(11, Type(ir, "IAvnDecorator").AbiVersion); + Assert.Equal(10, Type(ir, "IAvnControl").AbiVersion); + Assert.Equal(12, Type(ir, "IAvnDecorator").AbiVersion); Assert.Equal( ClrTypeExtractor.CreateDeterministicIid( - Type(ir, "IAvnDecorator").FullName, 11), + Type(ir, "IAvnDecorator").FullName, 12), Type(ir, "IAvnDecorator").Iid); } @@ -314,9 +329,9 @@ public void Chrome_members_keep_the_abi_version_of_the_interfaces_they_widened() // so they stay on their version 4 IIDs. TemplatedControl and TextBlock moved in wave M. Assert.All( new[] { "IAvnPanel", "IAvnCanvas", "IAvnDockPanel" }, - name => { var type = Type(ir, name); Assert.Equal(12, type.AbiVersion); + name => { var type = Type(ir, name); Assert.Equal(13, type.AbiVersion); Assert.Equal( - ClrTypeExtractor.CreateDeterministicIid(type.FullName, 12), + ClrTypeExtractor.CreateDeterministicIid(type.FullName, 13), type.Iid); }); Assert.All( @@ -324,9 +339,9 @@ public void Chrome_members_keep_the_abi_version_of_the_interfaces_they_widened() name => { var type = Type(ir, name); - Assert.Equal(13, type.AbiVersion); + Assert.Equal(14, type.AbiVersion); Assert.Equal( - ClrTypeExtractor.CreateDeterministicIid(type.FullName, 13), + ClrTypeExtractor.CreateDeterministicIid(type.FullName, 14), type.Iid); }); @@ -346,9 +361,9 @@ public void Completeness_members_keep_the_abi_version_of_every_widened_interface // Grid is a Panel descendant, so it republishes with every Control/StyledElement // growth in addition to its own waves. - Assert.Equal(13, Type(ir, "IAvnGrid").AbiVersion); + Assert.Equal(14, Type(ir, "IAvnGrid").AbiVersion); Assert.Equal( - ClrTypeExtractor.CreateDeterministicIid(Type(ir, "IAvnGrid").FullName, 13), + ClrTypeExtractor.CreateDeterministicIid(Type(ir, "IAvnGrid").FullName, 14), Type(ir, "IAvnGrid").Iid); // Completeness-wave types sat at 5 until wave M grew TemplatedControl under them, @@ -359,9 +374,9 @@ public void Completeness_members_keep_the_abi_version_of_every_widened_interface name => { var type = Type(ir, name); - Assert.Equal(14, type.AbiVersion); + Assert.Equal(15, type.AbiVersion); Assert.Equal( - ClrTypeExtractor.CreateDeterministicIid(type.FullName, 14), + ClrTypeExtractor.CreateDeterministicIid(type.FullName, 15), type.Iid); }); Assert.All( @@ -369,16 +384,16 @@ public void Completeness_members_keep_the_abi_version_of_every_widened_interface name => { var type = Type(ir, name); - Assert.Equal(16, type.AbiVersion); + Assert.Equal(17, type.AbiVersion); Assert.Equal( - ClrTypeExtractor.CreateDeterministicIid(type.FullName, 16), + ClrTypeExtractor.CreateDeterministicIid(type.FullName, 17), type.Iid); }); var window = Type(ir, "IAvnWindow"); - Assert.Equal(19, window.AbiVersion); + Assert.Equal(20, window.AbiVersion); Assert.Equal( - ClrTypeExtractor.CreateDeterministicIid(window.FullName, 19), + ClrTypeExtractor.CreateDeterministicIid(window.FullName, 20), window.Iid); } @@ -389,17 +404,17 @@ public void Wave_a_controls_publish_new_interfaces_at_version_one() // Every wave A interface is brand new, so it publishes at version 1 rather than // inheriting the version its neighbours happen to sit on. - Assert.Equal(9, Type(ir, "IAvnImage").AbiVersion); + Assert.Equal(10, Type(ir, "IAvnImage").AbiVersion); // U17 republished TabItem with the items lineage; ToolTip was untouched. - Assert.Equal(12, Type(ir, "IAvnTabItem").AbiVersion); - Assert.Equal(10, Type(ir, "IAvnToolTip").AbiVersion); + Assert.Equal(13, Type(ir, "IAvnTabItem").AbiVersion); + Assert.Equal(11, Type(ir, "IAvnToolTip").AbiVersion); Assert.All( new[] { "IAvnHeaderedItemsControl", "IAvnTabControl", "IAvnTreeView", "IAvnTreeViewItem", }, - name => { var type = Type(ir, name); Assert.Equal(13, type.AbiVersion); + name => { var type = Type(ir, name); Assert.Equal(14, type.AbiVersion); }); // Wave M grew TemplatedControl, so every previously published interface below it @@ -408,12 +423,12 @@ public void Wave_a_controls_publish_new_interfaces_at_version_one() { ["IAvnAvaloniaObject"] = 2, ["IAvnStyledElement"] = 6, - ["IAvnControl"] = 9, - ["IAvnDecorator"] = 11, - ["IAvnItemsControl"] = 16, - ["IAvnSelectingItemsControl"] = 16, - ["IAvnContentControl"] = 14, - ["IAvnHeaderedContentControl"] = 14, + ["IAvnControl"] = 10, + ["IAvnDecorator"] = 12, + ["IAvnItemsControl"] = 17, + ["IAvnSelectingItemsControl"] = 17, + ["IAvnContentControl"] = 15, + ["IAvnHeaderedContentControl"] = 15, }; Assert.All(pinned, entry => { @@ -538,9 +553,9 @@ public void Wave_b_controls_publish_new_interfaces_at_version_one() name => { var type = Type(ir, name); - Assert.Equal(10, type.AbiVersion); + Assert.Equal(11, type.AbiVersion); Assert.Equal( - ClrTypeExtractor.CreateDeterministicIid(type.FullName, 10), + ClrTypeExtractor.CreateDeterministicIid(type.FullName, 11), type.Iid); }); Assert.All( @@ -548,23 +563,23 @@ public void Wave_b_controls_publish_new_interfaces_at_version_one() name => { var type = Type(ir, name); - Assert.Equal(12, type.AbiVersion); + Assert.Equal(13, type.AbiVersion); Assert.Equal( - ClrTypeExtractor.CreateDeterministicIid(type.FullName, 12), + ClrTypeExtractor.CreateDeterministicIid(type.FullName, 13), type.Iid); }); Assert.All( - new[] { "IAvnMenuBase", "IAvnMenu", "IAvnHeaderedSelectingItemsControl" }, name => Assert.Equal(13, Type(ir, name).AbiVersion)); - Assert.Equal(16, Type(ir, "IAvnMenuItem").AbiVersion); + new[] { "IAvnMenuBase", "IAvnMenu", "IAvnHeaderedSelectingItemsControl" }, name => Assert.Equal(14, Type(ir, name).AbiVersion)); + Assert.Equal(17, Type(ir, "IAvnMenuItem").AbiVersion); var pinned = new Dictionary(StringComparer.Ordinal) { ["IAvnAvaloniaObject"] = 2, - ["IAvnControl"] = 9, - ["IAvnItemsControl"] = 16, - ["IAvnSelectingItemsControl"] = 16, - ["IAvnTemplatedControl"] = 13, - ["IAvnContentControl"] = 14, + ["IAvnControl"] = 10, + ["IAvnItemsControl"] = 17, + ["IAvnSelectingItemsControl"] = 17, + ["IAvnTemplatedControl"] = 14, + ["IAvnContentControl"] = 15, }; Assert.All(pinned, entry => { @@ -1159,9 +1174,9 @@ public void Wave_c_layout_panels_publish_new_interfaces_at_version_one() name => { var type = Type(ir, name); - Assert.Equal(9, type.AbiVersion); + Assert.Equal(10, type.AbiVersion); Assert.Equal( - ClrTypeExtractor.CreateDeterministicIid(type.FullName, 9), + ClrTypeExtractor.CreateDeterministicIid(type.FullName, 10), type.Iid); Assert.True(type.IsConstructible); }); @@ -1170,7 +1185,7 @@ public void Wave_c_layout_panels_publish_new_interfaces_at_version_one() name => { var type = Type(ir, name); - Assert.Equal(11, type.AbiVersion); + Assert.Equal(12, type.AbiVersion); Assert.True(type.IsConstructible); }); @@ -1269,14 +1284,14 @@ public void Wave_d_button_family_publishes_new_interfaces_at_version_one() var ir = ClrTypeExtractor.Extract(KernelTypes, AvaloniaProjectionProfiles.ObjectModelKernel); Assert.Equal(5, Type(ir, "IAvnMenuFlyout").AbiVersion); - Assert.Equal(16, Type(ir, "IAvnContextMenu").AbiVersion); + Assert.Equal(17, Type(ir, "IAvnContextMenu").AbiVersion); Assert.All( new[] { "IAvnRepeatButton", "IAvnDropDownButton", "IAvnHyperlinkButton", }, - name => { var type = Type(ir, name); Assert.Equal(12, type.AbiVersion); + name => { var type = Type(ir, name); Assert.Equal(13, type.AbiVersion); Assert.True(type.IsConstructible); }); Assert.All( @@ -1284,7 +1299,7 @@ public void Wave_d_button_family_publishes_new_interfaces_at_version_one() name => { var type = Type(ir, name); - Assert.Equal(13, type.AbiVersion); + Assert.Equal(14, type.AbiVersion); Assert.True(type.IsConstructible); }); @@ -1330,7 +1345,7 @@ public void Wave_e_input_controls_publish_new_interfaces_at_version_one() var ir = ClrTypeExtractor.Extract(KernelTypes, AvaloniaProjectionProfiles.ObjectModelKernel); var spinner = Type(ir, "IAvnSpinner"); - Assert.Equal(10, spinner.AbiVersion); + Assert.Equal(11, spinner.AbiVersion); Assert.False(spinner.IsConstructible); Assert.Equal("Avalonia.Host.Com.IAvnContentControl", spinner.BaseFullName); @@ -1339,14 +1354,14 @@ public void Wave_e_input_controls_publish_new_interfaces_at_version_one() name => { var type = Type(ir, name); - Assert.Equal(10, type.AbiVersion); + Assert.Equal(11, type.AbiVersion); Assert.True(type.IsConstructible); }); - Assert.Equal(12, Type(ir, "IAvnSelectableTextBlock").AbiVersion); + Assert.Equal(13, Type(ir, "IAvnSelectableTextBlock").AbiVersion); Assert.True(Type(ir, "IAvnSelectableTextBlock").IsConstructible); - Assert.Equal(11, Type(ir, "IAvnNumericUpDown").AbiVersion); - Assert.Equal(17, Type(ir, "IAvnAutoCompleteBox").AbiVersion); - Assert.Equal(16, Type(ir, "IAvnMaskedTextBox").AbiVersion); + Assert.Equal(12, Type(ir, "IAvnNumericUpDown").AbiVersion); + Assert.Equal(18, Type(ir, "IAvnAutoCompleteBox").AbiVersion); + Assert.Equal(17, Type(ir, "IAvnMaskedTextBox").AbiVersion); Assert.Equal("Avalonia.Host.Com.IAvnSpinner", Type(ir, "IAvnButtonSpinner").BaseFullName); Assert.Equal("Avalonia.Host.Com.IAvnTemplatedControl", Type(ir, "IAvnNumericUpDown").BaseFullName); @@ -1383,8 +1398,8 @@ public void Wave_f_calendar_family_publishes_new_interfaces_at_version_one() Assert.Equal("Avalonia.Host.Com.IAvnTemplatedControl", type.BaseFullName); }); // U17 grew Calendar alone (DisplayDateChanged); the picker did not move. - Assert.Equal(13, Type(ir, "IAvnCalendar").AbiVersion); - Assert.Equal(12, Type(ir, "IAvnCalendarDatePicker").AbiVersion); + Assert.Equal(14, Type(ir, "IAvnCalendar").AbiVersion); + Assert.Equal(13, Type(ir, "IAvnCalendarDatePicker").AbiVersion); var selected = Type(ir, "IAvnCalendar").Properties.Single(p => p.Name == "SelectedDate"); Assert.Equal(MarshallingKind.StringUtf16, selected.Kind); @@ -1416,7 +1431,7 @@ public void Wave_g_content_chrome_publishes_new_interfaces_at_version_one() Assert.Equal("Avalonia.Host.Com.IAvnSelectingItemsControl", Type(ir, "IAvnCarousel").BaseFullName); Assert.Equal("Avalonia.Host.Com.IAvnContentControl", Type(ir, "IAvnTransitioningContentControl").BaseFullName); Assert.Equal("Avalonia.Host.Com.IAvnContentControl", Type(ir, "IAvnLabel").BaseFullName); - Assert.Equal(11, Type(ir, "IAvnLabel").AbiVersion); + Assert.Equal(12, Type(ir, "IAvnLabel").AbiVersion); Assert.Equal("Avalonia.Host.Com.IAvnTemplatedControl", Type(ir, "IAvnSeparator").BaseFullName); Assert.Equal("Avalonia.Host.Com.IAvnHeaderedContentControl", Type(ir, "IAvnGroupBox").BaseFullName); Assert.Equal("Avalonia.Host.Com.IAvnContentControl", Type(ir, "IAvnUserControl").BaseFullName); @@ -1443,7 +1458,7 @@ public void Wave_h_shapes_publish_new_interfaces_at_version_one() var ir = ClrTypeExtractor.Extract(KernelTypes, AvaloniaProjectionProfiles.ObjectModelKernel); var shape = Type(ir, "IAvnShape"); - Assert.Equal(9, shape.AbiVersion); + Assert.Equal(10, shape.AbiVersion); Assert.False(shape.IsConstructible); Assert.Equal("Avalonia.Host.Com.IAvnControl", shape.BaseFullName); Assert.All( @@ -1458,7 +1473,7 @@ public void Wave_h_shapes_publish_new_interfaces_at_version_one() name => { var type = Type(ir, name); - Assert.Equal(9, type.AbiVersion); + Assert.Equal(10, type.AbiVersion); Assert.True(type.IsConstructible); Assert.Equal("Avalonia.Host.Com.IAvnShape", type.BaseFullName); }); @@ -1565,7 +1580,7 @@ public void Wave_l_window_chrome_bumps_only_window() { var ir = ClrTypeExtractor.Extract(KernelTypes, AvaloniaProjectionProfiles.ObjectModelKernel); var window = Type(ir, "IAvnWindow"); - Assert.Equal(19, window.AbiVersion); + Assert.Equal(20, window.AbiVersion); Assert.Contains(window.Methods, m => m.Name == "Hide"); Assert.All( new[] @@ -1590,7 +1605,7 @@ public void Wave_l_window_chrome_bumps_only_window() Assert.Contains(closing.Parameters, p => p.Name == "Cancel" && p.Direction == ParameterDirection.InOut); Assert.Contains(closing.Parameters, p => p.Name == "CloseReason" && p.Kind == MarshallingKind.I32); Assert.Contains(closing.Parameters, p => p.Name == "IsProgrammatic" && p.Kind == MarshallingKind.Bool); - Assert.Equal(14, Type(ir, "IAvnContentControl").AbiVersion); + Assert.Equal(15, Type(ir, "IAvnContentControl").AbiVersion); } [Fact] @@ -1599,7 +1614,7 @@ public void Wave_m_fonts_bump_templated_control_and_text_block() var ir = ClrTypeExtractor.Extract(KernelTypes, AvaloniaProjectionProfiles.ObjectModelKernel); var templated = Type(ir, "IAvnTemplatedControl"); - Assert.Equal(13, templated.AbiVersion); + Assert.Equal(14, templated.AbiVersion); Assert.All( new[] { "FontFamily", "FontStyle", "FontWeight", "FontStretch", "LetterSpacing", "Padding" }, name => Assert.Contains(templated.Properties, p => p.Name == name)); @@ -1609,14 +1624,14 @@ public void Wave_m_fonts_bump_templated_control_and_text_block() Assert.Null(fontFamily.StringConverterTypeName); var textBlock = Type(ir, "IAvnTextBlock"); - Assert.Equal(15, textBlock.AbiVersion); + Assert.Equal(16, textBlock.AbiVersion); Assert.All( new[] { "FontFamily", "FontStyle", "FontStretch", "Background", "LetterSpacing", "LineSpacing", "MaxLines", "TextWrapping" }, name => Assert.Contains(textBlock.Properties, p => p.Name == name)); - Assert.Equal(12, Type(ir, "IAvnSelectableTextBlock").AbiVersion); - Assert.Equal(13, Type(ir, "IAvnBorder").AbiVersion); + Assert.Equal(13, Type(ir, "IAvnSelectableTextBlock").AbiVersion); + Assert.Equal(14, Type(ir, "IAvnBorder").AbiVersion); var trimming = textBlock.Properties.Single(p => p.Name == "TextTrimming"); Assert.Equal(MarshallingKind.StringUtf16, trimming.Kind); Assert.Equal("Avalonia.Host.Com.AvnTextTrimming", trimming.StringConverterTypeName); @@ -1628,7 +1643,7 @@ public void Wave_n_textbox_remainder_bumps_only_textbox_and_masked_textbox() { var ir = ClrTypeExtractor.Extract(KernelTypes, AvaloniaProjectionProfiles.ObjectModelKernel); var textBox = Type(ir, "IAvnTextBox"); - Assert.Equal(19, textBox.AbiVersion); + Assert.Equal(20, textBox.AbiVersion); Assert.All( new[] { "SelectedText", "TextAlignment", "SelectionBrush", "InnerLeftContent", "UseFloatingPlaceholder", "PlaceholderForeground" }, @@ -1642,9 +1657,9 @@ public void Wave_n_textbox_remainder_bumps_only_textbox_and_masked_textbox() MarshallingKind.TimeSpanI64, textBox.Properties.Single(p => p.Name == "CaretBlinkInterval").Kind); Assert.DoesNotContain(textBox.Properties, p => p.Name == "Watermark"); - Assert.Equal(16, Type(ir, "IAvnMaskedTextBox").AbiVersion); + Assert.Equal(17, Type(ir, "IAvnMaskedTextBox").AbiVersion); Assert.Contains(Type(ir, "IAvnMaskedTextBox").Properties, p => p.Name == "MaskCompleted"); - Assert.Equal(13, Type(ir, "IAvnTemplatedControl").AbiVersion); + Assert.Equal(14, Type(ir, "IAvnTemplatedControl").AbiVersion); Assert.Equal(13, ir.FactoryAbiVersion); } @@ -1653,20 +1668,20 @@ public void Wave_o_combo_and_scroll_use_vector_and_size() { var ir = ClrTypeExtractor.Extract(KernelTypes, AvaloniaProjectionProfiles.ObjectModelKernel); var combo = Type(ir, "IAvnComboBox"); - Assert.Equal(18, combo.AbiVersion); + Assert.Equal(19, combo.AbiVersion); Assert.Contains(combo.Properties, p => p.Name == "Text"); Assert.Contains(combo.Methods, m => m.Name == "Clear"); Assert.Contains(combo.Events, e => e.Name == "DropDownOpened"); var scroll = Type(ir, "IAvnScrollViewer"); - Assert.Equal(16, scroll.AbiVersion); + Assert.Equal(17, scroll.AbiVersion); Assert.Equal(MarshallingKind.Size, scroll.Properties.Single(p => p.Name == "Extent").Kind); Assert.Equal(MarshallingKind.Vector, scroll.Properties.Single(p => p.Name == "Offset").Kind); Assert.Equal(MarshallingKind.Size, scroll.Properties.Single(p => p.Name == "Viewport").Kind); Assert.Equal(MarshallingKind.Vector, scroll.Properties.Single(p => p.Name == "ScrollBarMaximum").Kind); Assert.False(scroll.Properties.Single(p => p.Name == "Extent").CanWrite); Assert.True(scroll.Properties.Single(p => p.Name == "Offset").CanWrite); - Assert.Equal(14, Type(ir, "IAvnContentControl").AbiVersion); + Assert.Equal(15, Type(ir, "IAvnContentControl").AbiVersion); Assert.Equal(13, ir.FactoryAbiVersion); } @@ -1675,22 +1690,22 @@ public void Wave_p_projects_instance_flyout_and_menu_item_open() { var ir = ClrTypeExtractor.Extract(KernelTypes, AvaloniaProjectionProfiles.ObjectModelKernel); var button = Type(ir, "IAvnButton"); - Assert.Equal(17, button.AbiVersion); + Assert.Equal(18, button.AbiVersion); var flyout = button.Properties.Single(p => p.Name == "Flyout"); Assert.Equal(MarshallingKind.ComInterface, flyout.Kind); Assert.Equal("Avalonia.Host.Com.IAvnFlyoutBase", flyout.InterfaceName); Assert.True(flyout.IsNullable); var split = Type(ir, "IAvnSplitButton"); - Assert.Equal(13, split.AbiVersion); + Assert.Equal(14, split.AbiVersion); Assert.Contains(split.Properties, p => p.Name == "Flyout"); var menu = Type(ir, "IAvnMenuItem"); - Assert.Equal(16, menu.AbiVersion); + Assert.Equal(17, menu.AbiVersion); Assert.Contains(menu.Properties, p => p.Name == "HasSubMenu"); Assert.Contains(menu.Methods, m => m.Name == "Open"); Assert.Contains(menu.Methods, m => m.Name == "Close"); - Assert.Equal(14, Type(ir, "IAvnContentControl").AbiVersion); + Assert.Equal(15, Type(ir, "IAvnContentControl").AbiVersion); Assert.Equal(13, ir.FactoryAbiVersion); } @@ -1698,13 +1713,13 @@ public void Wave_p_projects_instance_flyout_and_menu_item_open() public void Wave_q_sweeps_leaf_input_scalars() { var ir = ClrTypeExtractor.Extract(KernelTypes, AvaloniaProjectionProfiles.ObjectModelKernel); - Assert.Equal(17, Type(ir, "IAvnAutoCompleteBox").AbiVersion); + Assert.Equal(18, Type(ir, "IAvnAutoCompleteBox").AbiVersion); Assert.Contains(Type(ir, "IAvnAutoCompleteBox").Properties, p => p.Name == "SearchText"); - Assert.Equal(13, Type(ir, "IAvnCalendar").AbiVersion); + Assert.Equal(14, Type(ir, "IAvnCalendar").AbiVersion); Assert.Contains(Type(ir, "IAvnCalendar").Properties, p => p.Name == "IsWeekNumberVisible"); - Assert.Equal(12, Type(ir, "IAvnCalendarDatePicker").AbiVersion); + Assert.Equal(13, Type(ir, "IAvnCalendarDatePicker").AbiVersion); Assert.Contains(Type(ir, "IAvnCalendarDatePicker").Methods, m => m.Name == "Clear"); - Assert.Equal(11, Type(ir, "IAvnNumericUpDown").AbiVersion); + Assert.Equal(12, Type(ir, "IAvnNumericUpDown").AbiVersion); Assert.Contains(Type(ir, "IAvnNumericUpDown").Properties, p => p.Name == "TextAlignment"); Assert.Equal(13, ir.FactoryAbiVersion); } @@ -1714,17 +1729,17 @@ public void Items_control_leftovers_keep_items_and_selection() { var ir = ClrTypeExtractor.Extract(KernelTypes, AvaloniaProjectionProfiles.ObjectModelKernel); var items = Type(ir, "IAvnItemsControl"); - Assert.Equal(16, items.AbiVersion); + Assert.Equal(17, items.AbiVersion); Assert.Contains(items.Properties, p => p.Name == "Items"); Assert.Contains(items.Properties, p => p.Name == "ItemCount"); Assert.Contains(items.Methods, m => m.ManagedName == "ScrollIntoView"); var selecting = Type(ir, "IAvnSelectingItemsControl"); - Assert.Equal(16, selecting.AbiVersion); + Assert.Equal(17, selecting.AbiVersion); Assert.Contains(selecting.Properties, p => p.Name == "SelectedIndex"); Assert.Contains(selecting.Events, e => e.Name == "SelectionChanged"); Assert.Contains(selecting.Properties, p => p.Name == "AutoScrollToSelectedItem"); - Assert.Equal(14, Type(ir, "IAvnContentControl").AbiVersion); - Assert.Equal(19, Type(ir, "IAvnWindow").AbiVersion); + Assert.Equal(15, Type(ir, "IAvnContentControl").AbiVersion); + Assert.Equal(20, Type(ir, "IAvnWindow").AbiVersion); Assert.Equal(13, ir.FactoryAbiVersion); } @@ -1733,24 +1748,24 @@ public void Text_leftovers_project_line_metrics_and_scroll_to_line() { var ir = ClrTypeExtractor.Extract(KernelTypes, AvaloniaProjectionProfiles.ObjectModelKernel); var textBlock = Type(ir, "IAvnTextBlock"); - Assert.Equal(15, textBlock.AbiVersion); + Assert.Equal(16, textBlock.AbiVersion); Assert.Contains(textBlock.Properties, p => p.Name == "LineHeight"); Assert.Contains(textBlock.Properties, p => p.Name == "BaselineOffset"); Assert.Contains(textBlock.Properties, p => p.Name == "TextTrimming"); var selectable = Type(ir, "IAvnSelectableTextBlock"); - Assert.Equal(12, selectable.AbiVersion); + Assert.Equal(13, selectable.AbiVersion); Assert.Contains(selectable.Properties, p => p.Name == "SelectionBrush"); Assert.Contains(selectable.Methods, m => m.Name == "SelectAll"); Assert.Contains(selectable.Events, e => e.Name == "CopyingToClipboard"); var textBox = Type(ir, "IAvnTextBox"); - Assert.Equal(19, textBox.AbiVersion); + Assert.Equal(20, textBox.AbiVersion); Assert.Contains(textBox.Methods, m => m.ManagedName == "ScrollToLine"); var lineCount = textBox.Methods.Single(m => m.ManagedName == "GetLineCount"); Assert.Contains(lineCount.Parameters, p => p.Name == "value" && p.Direction == ParameterDirection.Out); Assert.Equal(MarshallingKind.CharUtf16, textBox.Properties.Single(p => p.Name == "PasswordChar").Kind); - Assert.Equal(16, Type(ir, "IAvnMaskedTextBox").AbiVersion); + Assert.Equal(17, Type(ir, "IAvnMaskedTextBox").AbiVersion); Assert.Equal(13, ir.FactoryAbiVersion); } @@ -1758,19 +1773,19 @@ public void Text_leftovers_project_line_metrics_and_scroll_to_line() public void Leaf_leftovers_project_marshallable_scalars_and_commands() { var ir = ClrTypeExtractor.Extract(KernelTypes, AvaloniaProjectionProfiles.ObjectModelKernel); - Assert.Equal(13, Type(ir, "IAvnCommandBar").AbiVersion); + Assert.Equal(14, Type(ir, "IAvnCommandBar").AbiVersion); Assert.Contains(Type(ir, "IAvnCommandBar").Properties, p => p.Name == "HasSecondaryCommands"); Assert.Contains(Type(ir, "IAvnCommandBar").Events, e => e.Name == "Opened"); - Assert.Equal(14, Type(ir, "IAvnCarousel").AbiVersion); + Assert.Equal(15, Type(ir, "IAvnCarousel").AbiVersion); Assert.Contains(Type(ir, "IAvnCarousel").Methods, m => m.Name == "Next"); - Assert.Equal(18, Type(ir, "IAvnComboBox").AbiVersion); - Assert.Equal(12, Type(ir, "IAvnDatePicker").AbiVersion); + Assert.Equal(19, Type(ir, "IAvnComboBox").AbiVersion); + Assert.Equal(13, Type(ir, "IAvnDatePicker").AbiVersion); Assert.Contains(Type(ir, "IAvnDatePicker").Properties, p => p.Name == "VerticalContentAlignment"); - Assert.Equal(16, Type(ir, "IAvnContextMenu").AbiVersion); - Assert.Equal(14, Type(ir, "IAvnProgressBar").AbiVersion); + Assert.Equal(17, Type(ir, "IAvnContextMenu").AbiVersion); + Assert.Equal(15, Type(ir, "IAvnProgressBar").AbiVersion); Assert.Contains(Type(ir, "IAvnProgressBar").Properties, p => p.Name == "Percentage"); - Assert.Equal(13, Type(ir, "IAvnStackPanel").AbiVersion); - Assert.Equal(13, Type(ir, "IAvnBorder").AbiVersion); + Assert.Equal(14, Type(ir, "IAvnStackPanel").AbiVersion); + Assert.Equal(14, Type(ir, "IAvnBorder").AbiVersion); Assert.Contains(Type(ir, "IAvnBorder").Properties, p => p.Name == "ClipToBoundsRadius"); Assert.Equal(13, ir.FactoryAbiVersion); } @@ -1780,7 +1795,7 @@ public void Overlay_chrome_projects_popup_open_close_and_placement_target() { var ir = ClrTypeExtractor.Extract(KernelTypes, AvaloniaProjectionProfiles.ObjectModelKernel); var popup = Type(ir, "IAvnPopup"); - Assert.Equal(9, popup.AbiVersion); + Assert.Equal(10, popup.AbiVersion); Assert.Contains(popup.Methods, m => m.Name == "Open"); Assert.Contains(popup.Methods, m => m.Name == "Close"); Assert.Contains(popup.Events, e => e.Name == "Opened"); @@ -1797,7 +1812,7 @@ public void Overlay_chrome_projects_popup_open_close_and_placement_target() var popupProp = flyoutBase.Properties.Single(p => p.Name == "Popup"); Assert.Equal("Avalonia.Host.Com.IAvnPopup", popupProp.InterfaceName); - Assert.Equal(16, Type(ir, "IAvnContextMenu").AbiVersion); + Assert.Equal(17, Type(ir, "IAvnContextMenu").AbiVersion); Assert.Contains(Type(ir, "IAvnContextMenu").Properties, p => p.Name == "PlacementTarget"); var openWithControl = Type(ir, "IAvnContextMenu").Methods .Single(m => m.Name == "OpenWithControl"); @@ -1813,7 +1828,7 @@ public void Control_leftovers_project_context_menu_and_loaded() { var ir = ClrTypeExtractor.Extract(KernelTypes, AvaloniaProjectionProfiles.ObjectModelKernel); var control = Type(ir, "IAvnControl"); - Assert.Equal(9, control.AbiVersion); + Assert.Equal(10, control.AbiVersion); var menu = control.Properties.Single(p => p.Name == "ContextMenu"); Assert.Equal(MarshallingKind.ComInterface, menu.Kind); Assert.Equal("Avalonia.Host.Com.IAvnContextMenu", menu.InterfaceName); @@ -1824,7 +1839,7 @@ public void Control_leftovers_project_context_menu_and_loaded() Assert.Contains(control.Events, e => e.Name == "Loaded"); Assert.Contains(control.Events, e => e.Name == "Unloaded"); Assert.Equal(6, Type(ir, "IAvnStyledElement").AbiVersion); - Assert.Equal(17, Type(ir, "IAvnButton").AbiVersion); + Assert.Equal(18, Type(ir, "IAvnButton").AbiVersion); Assert.Equal(4, Type(ir, "IAvnFlyout").AbiVersion); Assert.Equal(13, ir.FactoryAbiVersion); } From 5795a03e30f1639104183b944739326716ee9a78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Moreau?= Date: Thu, 10 Sep 2026 21:04:53 -0400 Subject: [PATCH 3/6] Wave R: NumericUpDown value-change payload and event-parameter marshalling overrides The last payload-less input event a form UI reaches for. The decimal? old/new pair has no numeric ABI shape, so it crosses as invariant UTF-16 through the AvnDecimal converter the Value property already uses: - EventParameterProjection gains an optional MarshallingOverride, so a Fields payload can carry a CLR type the default extractor mapping rejects (decimal? here) through an explicitly named host converter. - ProjectedParameter gains StringConverterTypeName and the C# event read/write expressions route StringUtf16 event fields through it. - IAvnNumericUpDownValueChangedHandler republishes at version 2 with the payload; the control itself is untouched. Rust bindgen emits Option slots natively, so no bindgen change was needed. - imperative_counter grows a NumericUpDown whose label renders the old/new pair; verified live over UIA ('Number: 3.2 -> 3.25'). --- .../.avalonia-projection.owned.json | 4 +- .../ObjectModel/IAvnNumericUpDown.g.cs | 2 +- .../IAvnNumericUpDownValueChangedHandler.g.cs | 4 +- .../ComSourceEmitter.cs | 6 + .../AvaloniaProjectionProfiles.cs | 28 +- .../ClrTypeExtractor.cs | 16 + .../ProjectedParameter.cs | 7 + .../ProjectionPolicy.cs | 8 + rust/.avalonia-projection.owned.json | 2 +- rust/abi-baseline.json | 2329 +++++++++-------- .../include/.avalonia-projection.owned.json | 2 +- rust/avalonia-sys/include/avalonia-rust-abi.h | 12 +- .../src/.avalonia-bindgen.owned.json | 2 +- rust/avalonia-sys/src/generated.rs | 48 +- rust/avalonia/examples/imperative_counter.rs | 28 +- .../avalonia/src/.avalonia-bindgen.owned.json | 2 +- rust/avalonia/src/generated.rs | 11 +- rust/projection.ir.json | 25 +- .../ClrTypeExtractorTests.cs | 25 + 19 files changed, 1354 insertions(+), 1207 deletions(-) diff --git a/host/Generated/ObjectModel/.avalonia-projection.owned.json b/host/Generated/ObjectModel/.avalonia-projection.owned.json index f68fe2b..2de7595 100644 --- a/host/Generated/ObjectModel/.avalonia-projection.owned.json +++ b/host/Generated/ObjectModel/.avalonia-projection.owned.json @@ -455,7 +455,7 @@ }, { "path": "IAvnNumericUpDown.g.cs", - "sha256": "faf8e8a96f780712d59dd8a6a7ba03738dfc830ffa665d30530d8baf23569f59" + "sha256": "14e8e08bf87fa2710d9529b2baa68dd77e126d2dba46718b0a0c5164094afb66" }, { "path": "IAvnNumericUpDownSpinnedHandler.g.cs", @@ -463,7 +463,7 @@ }, { "path": "IAvnNumericUpDownValueChangedHandler.g.cs", - "sha256": "9becd19a0ca1df6bfd0b9c858c2b05ede19d28f783461941373d8e94983959fd" + "sha256": "7f759b9baccf1a0c98d4c5783e3d5dea7d60e50c557354f3d4b24e751336d8e3" }, { "path": "IAvnPanel.g.cs", diff --git a/host/Generated/ObjectModel/IAvnNumericUpDown.g.cs b/host/Generated/ObjectModel/IAvnNumericUpDown.g.cs index 725af26..0404406 100644 --- a/host/Generated/ObjectModel/IAvnNumericUpDown.g.cs +++ b/host/Generated/ObjectModel/IAvnNumericUpDown.g.cs @@ -2720,7 +2720,7 @@ public int AdviseValueChanged(IAvnNumericUpDownValueChangedHandler? handler, out var eventSource = _value; var callback = new global::System.EventHandler((_, eventArgs) => { - var hr = handler.Invoke(); + var hr = handler.Invoke(global::Avalonia.Host.Com.AvnDecimal.ToAbi(eventArgs.OldValue), global::Avalonia.Host.Com.AvnDecimal.ToAbi(eventArgs.NewValue)); if (hr < 0) global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr); }); diff --git a/host/Generated/ObjectModel/IAvnNumericUpDownValueChangedHandler.g.cs b/host/Generated/ObjectModel/IAvnNumericUpDownValueChangedHandler.g.cs index a3f65ed..37efc0e 100644 --- a/host/Generated/ObjectModel/IAvnNumericUpDownValueChangedHandler.g.cs +++ b/host/Generated/ObjectModel/IAvnNumericUpDownValueChangedHandler.g.cs @@ -6,9 +6,9 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("68A72F63-B469-5312-925F-F7FCCF35A0DF")] +[Guid("A605166E-63BA-5359-A3F5-997F780B611B")] public partial interface IAvnNumericUpDownValueChangedHandler { [PreserveSig] - int Invoke(); + int Invoke(string? OldValue, string? NewValue); } diff --git a/projection/Avalonia.Projection.Generator/ComSourceEmitter.cs b/projection/Avalonia.Projection.Generator/ComSourceEmitter.cs index 17acc24..ca98449 100644 --- a/projection/Avalonia.Projection.Generator/ComSourceEmitter.cs +++ b/projection/Avalonia.Projection.Generator/ComSourceEmitter.cs @@ -2085,6 +2085,10 @@ private static string EventReadExpression(ProjectedParameter parameter) => MarshallingKind.NullableBool => $"!eventArgs.{parameter.Name}.HasValue ? -1 : eventArgs.{parameter.Name}.Value ? 1 : 0", MarshallingKind.Variant => $"AvnVariant.FromObject(eventArgs.{parameter.Name})", + // A StringUtf16 event field whose CLR type is not string converts through the + // host-side converter named by the projection (decimal? rides AvnDecimal). + MarshallingKind.StringUtf16 when parameter.StringConverterTypeName is { } converter => + $"global::{converter}.ToAbi(eventArgs.{parameter.Name})", _ when GeometryMarshalling.TryGet(parameter.Kind, out var geometry) => $"{geometry.AbiName}.FromAvalonia(eventArgs.{parameter.Name})", MarshallingKind.DateTimeI64 when parameter.IsNullable && @@ -2106,6 +2110,8 @@ private static string EventWriteExpression(ProjectedParameter parameter, string { MarshallingKind.I32 when parameter.ManagedTypeName is not "System.Int32" => $"(global::{parameter.ManagedTypeName}){value}", + MarshallingKind.StringUtf16 when parameter.StringConverterTypeName is { } writeConverter => + $"global::{writeConverter}.FromAbi({value})", MarshallingKind.Bool => $"{value} != 0", MarshallingKind.NullableBool => $"{value} switch {{ -1 => null, 0 => false, 1 => true, _ => throw new global::System.ArgumentOutOfRangeException(nameof({value})) }}", diff --git a/projection/Avalonia.Projection.Ir/AvaloniaProjectionProfiles.cs b/projection/Avalonia.Projection.Ir/AvaloniaProjectionProfiles.cs index 1067182..f3ff4a5 100644 --- a/projection/Avalonia.Projection.Ir/AvaloniaProjectionProfiles.cs +++ b/projection/Avalonia.Projection.Ir/AvaloniaProjectionProfiles.cs @@ -146,6 +146,9 @@ public static class AvaloniaProjectionProfiles ["Avalonia.Host.Com.IAvnSelectingItemsControlSelectionChangedHandler"] = 2, ["Avalonia.Host.Com.IAvnTreeViewSelectionChangedHandler"] = 2, ["Avalonia.Host.Com.IAvnRangeBaseValueChangedHandler"] = 2, + // Wave R: the NumericUpDown value-change handler gains the old/new invariant-string + // decimal payload, so it mints a new IID at version 2. + ["Avalonia.Host.Com.IAvnNumericUpDownValueChangedHandler"] = 2, }, IncludeTypeNames = [ @@ -1447,9 +1450,32 @@ public static class AvaloniaProjectionProfiles { PayloadKind = EventPayloadKind.None, }, + // Wave R: the old/new decimal pair crosses as invariant UTF-16 strings through + // the same AvnDecimal converter the Value property already uses. ["Avalonia.Controls.NumericUpDown.ValueChanged"] = new() { - PayloadKind = EventPayloadKind.None, + PayloadKind = EventPayloadKind.Fields, + Parameters = + [ + new() + { + Name = "OldValue", + Override = new() + { + Kind = MarshallingKind.StringUtf16, + StringConverterTypeName = "Avalonia.Host.Com.AvnDecimal", + }, + }, + new() + { + Name = "NewValue", + Override = new() + { + Kind = MarshallingKind.StringUtf16, + StringConverterTypeName = "Avalonia.Host.Com.AvnDecimal", + }, + }, + ], }, ["Avalonia.Controls.CalendarDatePicker.CalendarOpened"] = new() { diff --git a/projection/Avalonia.Projection.Ir/ClrTypeExtractor.cs b/projection/Avalonia.Projection.Ir/ClrTypeExtractor.cs index ab20155..f52cca4 100644 --- a/projection/Avalonia.Projection.Ir/ClrTypeExtractor.cs +++ b/projection/Avalonia.Projection.Ir/ClrTypeExtractor.cs @@ -320,6 +320,22 @@ private static ProjectedType ProjectType( eventParameters.Clear(); break; } + + if (parameterProjection.Override is { } parameterOverride) + { + eventParameters.Add(new ProjectedParameter + { + Name = property.Name, + Kind = parameterOverride.Kind, + InterfaceName = parameterOverride.InterfaceName, + ManagedTypeName = property.PropertyType.FullName, + IsNullable = parameterOverride.IsNullable ?? IsNullable(property), + Direction = parameterProjection.Direction, + StringConverterTypeName = parameterOverride.StringConverterTypeName, + }); + continue; + } + if (!TryMapType( property.PropertyType, projectedNames, diff --git a/projection/Avalonia.Projection.Ir/ProjectedParameter.cs b/projection/Avalonia.Projection.Ir/ProjectedParameter.cs index e0ef3ca..23d0118 100644 --- a/projection/Avalonia.Projection.Ir/ProjectedParameter.cs +++ b/projection/Avalonia.Projection.Ir/ProjectedParameter.cs @@ -8,4 +8,11 @@ public sealed class ProjectedParameter public string? InterfaceName { get; init; } public string? ManagedTypeName { get; init; } public bool IsNullable { get; init; } + + /// + /// For event fields whose CLR type is not + /// System.String: the host-side static class that owns the string round-trip. + /// Mirrors . + /// + public string? StringConverterTypeName { get; init; } } diff --git a/projection/Avalonia.Projection.Ir/ProjectionPolicy.cs b/projection/Avalonia.Projection.Ir/ProjectionPolicy.cs index 1213b2c..986e814 100644 --- a/projection/Avalonia.Projection.Ir/ProjectionPolicy.cs +++ b/projection/Avalonia.Projection.Ir/ProjectionPolicy.cs @@ -129,6 +129,14 @@ public sealed class EventParameterProjection { public required string Name { get; init; } public ParameterDirection Direction { get; init; } = ParameterDirection.In; + + /// + /// An optional per-parameter marshalling override for argument properties whose CLR + /// type has no direct ABI shape (for example decimal?, which crosses as an + /// invariant UTF-16 string through a host converter). Overrides the extractor's + /// type-driven mapping for this one parameter. + /// + public MarshallingOverride? Override { get; init; } } public sealed class MarshallingOverride diff --git a/rust/.avalonia-projection.owned.json b/rust/.avalonia-projection.owned.json index b8b7d16..c3b01c6 100644 --- a/rust/.avalonia-projection.owned.json +++ b/rust/.avalonia-projection.owned.json @@ -7,7 +7,7 @@ }, { "path": "projection.ir.json", - "sha256": "21c2c271f4f18e9f2be997ef462ffe10a49936d8bb2762ff3e2a48911d7679fd" + "sha256": "67b550d7ee930e281686990747f8a25003e32ad59f7aa3802eed1f92136bff30" } ] } diff --git a/rust/abi-baseline.json b/rust/abi-baseline.json index 4799e5c..9729a28 100644 --- a/rust/abi-baseline.json +++ b/rust/abi-baseline.json @@ -743,6 +743,25 @@ } ] }, + { + "name": "invoke", + "callingConvention": "AVN_CALL", + "returnType": "AvnHResult", + "parameters": [ + { + "type": "$self", + "name": "self" + }, + { + "type": "const uint16_t*", + "name": "old_value" + }, + { + "type": "const uint16_t*", + "name": "new_value" + } + ] + }, { "name": "invoke", "callingConvention": "AVN_CALL", @@ -18202,7 +18221,7 @@ "IAvnNumericUpDown.P.InnerLeftContent:ComInterface:1:1:1:", "IAvnNumericUpDown.P.InnerRightContent:ComInterface:1:1:1:", "IAvnNumericUpDown.E.Spinned:Fields:Direction:I32:In:0,UsingMouseWheel:Bool:In:0", - "IAvnNumericUpDown.E.ValueChanged:None:", + "IAvnNumericUpDown.E.ValueChanged:Fields:OldValue:StringUtf16:In:1,NewValue:StringUtf16:In:1", "IAvnPath.P.Data:StringUtf16:1:1:1:", "IAvnPathIcon.P.Data:StringUtf16:1:1:1:", "IAvnPipsPager.P.MaxVisiblePips:I32:0:1:1:", @@ -18471,7 +18490,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -18496,8 +18514,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -18570,7 +18588,8 @@ 164, 165, 166, - 167 + 167, + 168 ], "irBases": [ "IAvnAvaloniaObject", @@ -18643,7 +18662,7 @@ 0, 1, 2, - 47 + 48 ] }, { @@ -18655,7 +18674,7 @@ 0, 1, 2, - 46 + 47 ] }, { @@ -18667,241 +18686,241 @@ 0, 1, 2, - 69, - 70, - 71, - 72, - 73, - 74, - 75, - 76, - 77, - 78, - 79, - 80, - 81, - 82, - 83, - 84, - 85, - 86, - 87, - 88, - 89, - 90, - 91, - 92, - 93, - 34, - 94, - 95, - 96, - 97, - 98, - 99, - 100, - 101, - 102, - 103, - 104, - 105, - 106, - 107, - 108, - 109, - 110, - 111, - 112, - 113, - 114, - 115, - 116, - 117, - 118, - 119, - 120, - 121, - 122, - 123, - 124, - 125, - 126, - 127, - 128, - 129, - 130, - 131, - 132, - 133, - 134, - 135, - 136, - 137, - 138, - 139, - 140, - 141, - 142, - 143, - 144, - 145, - 168, - 169, - 170, - 171, - 172, - 173, - 174, - 175, - 176, - 177, - 178, - 179, - 180, - 181, - 182, - 183, - 184, - 185, - 186, - 187, - 188, - 189, - 190, - 191, - 192, - 193, - 194, - 195, - 196, - 197, - 198, - 199, - 200, - 201, - 202, - 203, - 204, - 205, - 206, - 207, - 208, - 209, - 210, - 211, - 212, - 213, - 214, - 215, - 216, - 217, - 218, - 219, - 220, - 221, - 222, - 223, - 224, - 225, - 226, - 227, - 228, - 229, - 230, - 231, - 232, - 233, - 234, - 235, - 236, - 237, - 238, - 239, - 240, - 241, - 242, - 243, - 244, - 245, - 246, - 247, - 248, - 249, - 250, - 251, - 252, - 253, - 254, - 255, - 256, - 257 - ], - "irBases": [ - "IAvnAvaloniaObject", - "IAvnStyledElement", - "IAvnControl", - "IAvnTemplatedControl", - "IAvnAutoCompleteBox" - ], - "irMembers": [ - 0, - 1, - 2, - 3, - 4, - 5, - 6, - 7, - 8, - 9, - 10, - 11, - 12, - 13, - 14, - 15, - 16, - 17, - 18, - 19, - 20, - 21, - 22, - 23, - 24, - 25, - 26, - 27, - 28, - 29, - 30, - 31, - 32, - 33, - 34, - 35, - 36, - 37, - 38, - 39, - 40, - 52, - 53, - 54, - 55, - 56, - 57, - 58, - 59, - 60, - 61, - 62, - 63, - 64, - 65, - 66, - 67, - 68, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 35, + 95, + 96, + 97, + 98, + 99, + 100, + 101, + 102, + 103, + 104, + 105, + 106, + 107, + 108, + 109, + 110, + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 146, + 169, + 170, + 171, + 172, + 173, + 174, + 175, + 176, + 177, + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, + 196, + 197, + 198, + 199, + 200, + 201, + 202, + 203, + 204, + 205, + 206, + 207, + 208, + 209, + 210, + 211, + 212, + 213, + 214, + 215, + 216, + 217, + 218, + 219, + 220, + 221, + 222, + 223, + 224, + 225, + 226, + 227, + 228, + 229, + 230, + 231, + 232, + 233, + 234, + 235, + 236, + 237, + 238, + 239, + 240, + 241, + 242, + 243, + 244, + 245, + 246, + 247, + 248, + 249, + 250, + 251, + 252, + 253, + 254, + 255, + 256, + 257, + 258 + ], + "irBases": [ + "IAvnAvaloniaObject", + "IAvnStyledElement", + "IAvnControl", + "IAvnTemplatedControl", + "IAvnAutoCompleteBox" + ], + "irMembers": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, 69, 70, 71, @@ -19066,8 +19085,8 @@ 0, 1, 2, - 69, - 70 + 70, + 71 ], "irBases": [ "IAvnAvaloniaObject" @@ -19082,7 +19101,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -19107,8 +19125,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -19160,11 +19178,11 @@ 143, 144, 145, - 258, + 146, 259, - 194, + 260, 195, - 168, + 196, 169, 170, 171, @@ -19174,9 +19192,10 @@ 175, 176, 177, - 260, + 178, 261, - 262 + 262, + 263 ], "irBases": [ "IAvnAvaloniaObject", @@ -19247,8 +19266,8 @@ 0, 1, 2, - 33, - 34 + 34, + 35 ] }, { @@ -19260,7 +19279,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -19285,8 +19303,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -19338,7 +19356,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -19366,7 +19384,7 @@ 193, 194, 195, - 263, + 196, 264, 265, 266, @@ -19390,7 +19408,8 @@ 284, 285, 286, - 287 + 287, + 288 ], "irBases": [ "IAvnAvaloniaObject", @@ -19492,7 +19511,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -19517,8 +19535,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -19570,7 +19588,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -19598,7 +19616,7 @@ 193, 194, 195, - 263, + 196, 264, 265, 266, @@ -19606,7 +19624,7 @@ 268, 269, 270, - 288, + 271, 289, 290, 291, @@ -19615,7 +19633,8 @@ 294, 295, 296, - 297 + 297, + 298 ], "irBases": [ "IAvnAvaloniaObject", @@ -19702,7 +19721,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -19727,8 +19745,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -19780,7 +19798,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -19808,7 +19826,7 @@ 193, 194, 195, - 298, + 196, 299, 300, 301, @@ -19839,7 +19857,8 @@ 326, 327, 328, - 329 + 329, + 330 ], "irBases": [ "IAvnAvaloniaObject", @@ -19932,7 +19951,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -19957,8 +19975,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -20010,7 +20028,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -20038,50 +20056,51 @@ 193, 194, 195, - 321, - 317, + 196, + 322, 318, 319, 320, - 322, + 321, 323, - 298, + 324, 299, - 208, - 209, 300, + 209, + 210, 301, - 314, + 302, 315, - 330, + 316, 331, 332, 333, - 214, + 334, 215, - 219, + 216, 220, - 334, - 335, 221, + 335, + 336, 222, - 267, + 223, 268, 269, 270, - 304, + 271, 305, 306, 307, - 59, - 336, + 308, + 60, 337, 338, 339, 340, 341, 342, - 343 + 343, + 344 ], "irBases": [ "IAvnAvaloniaObject", @@ -20294,7 +20313,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -20319,8 +20337,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -20372,9 +20390,10 @@ 143, 144, 145, - 344, - 168, - 169 + 146, + 345, + 169, + 170 ], "irBases": [ "IAvnAvaloniaObject", @@ -20438,14 +20457,14 @@ 0, 1, 2, - 965, 966, 967, 968, 969, 970, 971, - 972 + 972, + 973 ] }, { @@ -20457,7 +20476,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -20482,8 +20500,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -20535,7 +20553,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -20563,13 +20581,13 @@ 193, 194, 195, - 345, + 196, 346, - 233, + 347, 234, - 202, + 235, 203, - 347, + 204, 348, 349, 350, @@ -20579,23 +20597,24 @@ 354, 355, 356, - 212, - 213, 357, + 213, + 214, 358, 359, 360, 361, 362, 363, - 257, 364, + 258, 365, 366, 367, 368, 369, - 370 + 370, + 371 ], "irBases": [ "IAvnAvaloniaObject", @@ -20695,7 +20714,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -20720,8 +20738,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -20773,7 +20791,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -20801,7 +20819,7 @@ 193, 194, 195, - 263, + 196, 264, 265, 266, @@ -20826,12 +20844,13 @@ 285, 286, 287, - 371, + 288, 372, 373, 374, 375, - 376 + 376, + 377 ], "irBases": [ "IAvnAvaloniaObject", @@ -20926,7 +20945,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -20951,8 +20969,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -21004,7 +21022,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -21032,13 +21050,13 @@ 193, 194, 195, - 345, + 196, 346, - 233, + 347, 234, - 202, + 235, 203, - 347, + 204, 348, 349, 350, @@ -21048,36 +21066,37 @@ 354, 355, 356, - 212, - 213, 357, + 213, + 214, 358, 359, 360, 361, 362, 363, - 257, - 208, + 364, + 258, 209, - 377, + 210, 378, - 206, - 207, 379, - 219, + 207, + 208, + 380, 220, 221, 222, - 380, + 223, 381, - 214, - 215, - 59, 382, - 255, + 215, + 216, + 60, 383, - 251 + 256, + 384, + 252 ], "irBases": [ "IAvnAvaloniaObject", @@ -21207,7 +21226,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -21232,8 +21250,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -21285,7 +21303,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -21313,7 +21331,7 @@ 193, 194, 195, - 263, + 196, 264, 265, 266, @@ -21321,8 +21339,9 @@ 268, 269, 270, - 384, - 385 + 271, + 385, + 386 ], "irBases": [ "IAvnAvaloniaObject", @@ -21405,10 +21424,10 @@ 0, 1, 2, - 35, 36, 37, - 38 + 38, + 39 ] }, { @@ -21420,7 +21439,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -21445,8 +21463,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -21498,7 +21516,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -21526,15 +21544,15 @@ 193, 194, 195, - 386, + 196, 387, 388, 389, 390, 391, - 263, - 264, 392, + 264, + 265, 393, 394, 395, @@ -21559,7 +21577,8 @@ 414, 415, 416, - 417 + 417, + 418 ], "irBases": [ "IAvnAvaloniaObject", @@ -21654,7 +21673,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -21679,8 +21697,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -21732,7 +21750,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -21760,7 +21778,7 @@ 193, 194, 195, - 263, + 196, 264, 265, 266, @@ -21785,7 +21803,7 @@ 285, 286, 287, - 418, + 288, 419, 420, 421, @@ -21796,7 +21814,8 @@ 426, 427, 428, - 429 + 429, + 430 ], "irBases": [ "IAvnAvaloniaObject", @@ -21941,7 +21960,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -21966,8 +21984,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -22019,7 +22037,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -22047,10 +22065,11 @@ 193, 194, 195, - 422, + 196, 423, - 428, - 429 + 424, + 429, + 430 ], "irBases": [ "IAvnAvaloniaObject", @@ -22129,7 +22148,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -22154,8 +22172,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -22207,7 +22225,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -22235,7 +22253,7 @@ 193, 194, 195, - 263, + 196, 264, 265, 266, @@ -22260,13 +22278,13 @@ 285, 286, 287, - 371, + 288, 372, 373, 374, 375, 376, - 418, + 377, 419, 420, 421, @@ -22277,7 +22295,8 @@ 426, 427, 428, - 429 + 429, + 430 ], "irBases": [ "IAvnAvaloniaObject", @@ -22390,7 +22409,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -22415,8 +22433,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -22468,7 +22486,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -22496,14 +22514,15 @@ 193, 194, 195, - 263, + 196, 264, 265, 266, 267, 268, 269, - 270 + 270, + 271 ], "irBases": [ "IAvnAvaloniaObject", @@ -22583,7 +22602,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -22608,11 +22626,11 @@ 91, 92, 93, - 34, 94, + 35, 95, - 430, - 97, + 96, + 431, 98, 99, 100, @@ -22661,7 +22679,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -22689,13 +22707,13 @@ 193, 194, 195, - 345, + 196, 346, - 233, + 347, 234, - 202, + 235, 203, - 347, + 204, 348, 349, 350, @@ -22705,24 +22723,24 @@ 354, 355, 356, - 212, - 213, 357, + 213, + 214, 358, 359, 360, 361, 362, 363, - 257, - 398, - 431, + 364, + 258, + 399, 432, 433, - 413, 434, - 417, + 414, 435, + 418, 436, 437, 438, @@ -22744,9 +22762,10 @@ 454, 455, 456, - 411, 457, - 415 + 412, + 458, + 416 ], "irBases": [ "IAvnAvaloniaObject", @@ -22884,7 +22903,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -22909,8 +22927,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -22961,7 +22979,8 @@ 142, 143, 144, - 145 + 145, + 146 ], "irBases": [ "IAvnAvaloniaObject", @@ -23033,7 +23052,6 @@ 0, 1, 2, - 1015, 1016, 1017, 1018, @@ -23135,7 +23153,8 @@ 1114, 1115, 1116, - 1117 + 1117, + 1118 ] }, { @@ -23183,12 +23202,12 @@ 0, 1, 2, - 54, 55, 56, 57, 58, - 59 + 59, + 60 ] }, { @@ -23296,8 +23315,8 @@ 0, 1, 2, - 39, - 40 + 40, + 41 ] }, { @@ -23309,7 +23328,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -23334,8 +23352,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -23387,7 +23405,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -23415,9 +23433,9 @@ 193, 194, 195, - 269, + 196, 270, - 458, + 271, 459, 460, 461, @@ -23433,11 +23451,12 @@ 471, 472, 473, - 314, - 315, - 59, 474, - 343 + 315, + 316, + 60, + 475, + 344 ], "irBases": [ "IAvnAvaloniaObject", @@ -23537,12 +23556,12 @@ 0, 1, 2, - 54, - 60, + 55, 61, 62, - 58, - 59 + 63, + 59, + 60 ] }, { @@ -23554,7 +23573,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -23579,8 +23597,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -23632,10 +23650,11 @@ 143, 144, 145, - 258, + 146, 259, - 194, - 195 + 260, + 195, + 196 ], "irBases": [ "IAvnAvaloniaObject", @@ -23698,7 +23717,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -23723,8 +23741,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -23776,15 +23794,16 @@ 143, 144, 145, - 344, - 168, + 146, + 345, 169, - 475, + 170, 476, 477, 478, 479, - 480 + 480, + 481 ], "irBases": [ "IAvnAvaloniaObject", @@ -23851,8 +23870,8 @@ 0, 1, 2, - 973, - 974 + 974, + 975 ] }, { @@ -23864,7 +23883,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -23889,8 +23907,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -23942,7 +23960,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -23970,7 +23988,7 @@ 193, 194, 195, - 263, + 196, 264, 265, 266, @@ -23994,7 +24012,8 @@ 284, 285, 286, - 287 + 287, + 288 ], "irBases": [ "IAvnAvaloniaObject", @@ -24085,7 +24104,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -24110,8 +24128,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -24180,7 +24198,8 @@ 160, 161, 162, - 163 + 163, + 164 ], "irBases": [ "IAvnAvaloniaObject", @@ -24251,7 +24270,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -24276,8 +24294,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -24329,7 +24347,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -24357,7 +24375,7 @@ 193, 194, 195, - 263, + 196, 264, 265, 266, @@ -24365,7 +24383,7 @@ 268, 269, 270, - 481, + 271, 482, 483, 484, @@ -24380,7 +24398,8 @@ 493, 494, 495, - 496 + 496, + 497 ], "irBases": [ "IAvnAvaloniaObject", @@ -24518,7 +24537,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -24543,8 +24561,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -24596,10 +24614,10 @@ 143, 144, 145, - 344, - 168, + 146, + 345, 169, - 497, + 170, 498, 499, 500, @@ -24612,7 +24630,8 @@ 507, 508, 509, - 510 + 510, + 511 ], "irBases": [ "IAvnAvaloniaObject", @@ -24683,47 +24702,47 @@ 0, 1, 2, - 69, 70, - 398, + 71, 399, - 511, + 400, 512, 513, 514, - 413, 515, - 417, + 414, 516, - 445, + 418, + 517, 446, - 443, + 447, 444, - 439, + 445, 440, - 435, + 441, 436, 437, 438, - 453, + 439, 454, - 517, + 455, 518, 519, 520, 521, 522, - 441, - 442, 523, + 442, + 443, 524, - 415, 525, - 411, - 263, + 416, + 526, + 412, 264, 265, - 266 + 266, + 267 ], "irBases": [ "IAvnAvaloniaObject", @@ -24765,17 +24784,17 @@ 0, 1, 2, - 69, 70, - 398, + 71, 399, - 511, + 400, 512, 513, 514, - 413, 515, - 417 + 414, + 516, + 418 ], "irBases": [ "IAvnAvaloniaObject", @@ -24823,7 +24842,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -24848,8 +24866,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -24901,19 +24919,20 @@ 143, 144, 145, - 344, - 168, + 146, + 345, 169, - 526, + 170, 527, - 509, + 528, 510, - 507, + 511, 508, - 528, + 509, 529, 530, - 531 + 531, + 532 ], "irBases": [ "IAvnAvaloniaObject", @@ -24982,7 +25001,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -25007,8 +25025,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -25060,7 +25078,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -25088,7 +25106,7 @@ 193, 194, 195, - 532, + 196, 533, 534, 535, @@ -25103,7 +25121,8 @@ 544, 545, 546, - 547 + 547, + 548 ], "irBases": [ "IAvnAvaloniaObject", @@ -25188,7 +25207,6 @@ 0, 1, 2, - 975, 976, 977, 978, @@ -25197,7 +25215,8 @@ 981, 982, 983, - 984 + 984, + 985 ] }, { @@ -25209,7 +25228,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -25234,8 +25252,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -25287,7 +25305,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -25315,7 +25333,7 @@ 193, 194, 195, - 263, + 196, 264, 265, 266, @@ -25323,10 +25341,11 @@ 268, 269, 270, - 481, + 271, 482, 483, - 484 + 484, + 485 ], "irBases": [ "IAvnAvaloniaObject", @@ -25410,7 +25429,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -25435,8 +25453,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -25488,7 +25506,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -25516,7 +25534,7 @@ 193, 194, 195, - 263, + 196, 264, 265, 266, @@ -25524,10 +25542,11 @@ 268, 269, 270, - 481, + 271, 482, 483, - 484 + 484, + 485 ], "irBases": [ "IAvnAvaloniaObject", @@ -25610,7 +25629,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -25635,8 +25653,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -25688,7 +25706,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -25716,22 +25734,23 @@ 193, 194, 195, - 345, + 196, 346, - 233, + 347, 234, - 202, + 235, 203, - 347, + 204, 348, 349, 350, 351, 352, - 481, + 353, 482, 483, - 484 + 484, + 485 ], "irBases": [ "IAvnAvaloniaObject", @@ -25820,7 +25839,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -25845,8 +25863,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -25898,7 +25916,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -25926,13 +25944,13 @@ 193, 194, 195, - 345, + 196, 346, - 233, + 347, 234, - 202, + 235, 203, - 347, + 204, 348, 349, 350, @@ -25942,20 +25960,21 @@ 354, 355, 356, - 212, - 213, 357, + 213, + 214, 358, 359, 360, 361, 362, 363, - 257, - 481, + 364, + 258, 482, 483, - 484 + 484, + 485 ], "irBases": [ "IAvnAvaloniaObject", @@ -26052,7 +26071,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -26077,8 +26095,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -26130,7 +26148,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -26158,7 +26176,7 @@ 193, 194, 195, - 263, + 196, 264, 265, 266, @@ -26183,10 +26201,11 @@ 285, 286, 287, - 548, + 288, 549, 550, - 551 + 551, + 552 ], "irBases": [ "IAvnAvaloniaObject", @@ -26279,7 +26298,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -26304,8 +26322,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -26357,7 +26375,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -26384,7 +26402,8 @@ 192, 193, 194, - 195 + 195, + 196 ], "irBases": [ "IAvnAvaloniaObject", @@ -26460,7 +26479,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -26485,8 +26503,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -26538,14 +26556,15 @@ 143, 144, 145, - 552, + 146, 553, 554, 555, - 148, - 149, 556, - 557 + 149, + 150, + 557, + 558 ], "irBases": [ "IAvnAvaloniaObject", @@ -26610,7 +26629,7 @@ 0, 1, 2, - 41 + 42 ] }, { @@ -26622,12 +26641,12 @@ 0, 1, 2, - 54, 55, 56, 57, 58, - 59 + 59, + 60 ] }, { @@ -26639,7 +26658,7 @@ 0, 1, 2, - 43 + 44 ] }, { @@ -26651,7 +26670,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -26676,8 +26694,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -26729,7 +26747,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -26757,18 +26775,19 @@ 193, 194, 195, - 345, + 196, 346, - 233, + 347, 234, - 202, + 235, 203, - 347, + 204, 348, 349, 350, 351, - 352 + 352, + 353 ], "irBases": [ "IAvnAvaloniaObject", @@ -26854,7 +26873,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -26879,8 +26897,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -26932,7 +26950,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -26960,7 +26978,7 @@ 193, 194, 195, - 263, + 196, 264, 265, 266, @@ -26968,8 +26986,9 @@ 268, 269, 270, - 511, - 558 + 271, + 512, + 559 ], "irBases": [ "IAvnAvaloniaObject", @@ -27051,7 +27070,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -27076,8 +27094,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -27129,12 +27147,13 @@ 143, 144, 145, - 258, + 146, 259, - 194, + 260, 195, - 559, - 560 + 196, + 560, + 561 ], "irBases": [ "IAvnAvaloniaObject", @@ -27199,7 +27218,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -27224,8 +27242,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -27295,10 +27313,11 @@ 161, 162, 163, - 561, + 164, 562, 563, - 564 + 564, + 565 ], "irBases": [ "IAvnAvaloniaObject", @@ -27371,7 +27390,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -27396,8 +27414,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -27449,7 +27467,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -27477,13 +27495,13 @@ 193, 194, 195, - 345, + 196, 346, - 233, + 347, 234, - 202, + 235, 203, - 347, + 204, 348, 349, 350, @@ -27493,20 +27511,21 @@ 354, 355, 356, - 212, - 213, 357, + 213, + 214, 358, 359, 360, 361, 362, 363, - 257, - 310, + 364, + 258, 311, - 565, - 566 + 312, + 566, + 567 ], "irBases": [ "IAvnAvaloniaObject", @@ -27604,7 +27623,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -27629,8 +27647,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -27682,7 +27700,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -27710,7 +27728,7 @@ 193, 194, 195, - 263, + 196, 264, 265, 266, @@ -27718,8 +27736,9 @@ 268, 269, 270, - 384, - 385 + 271, + 385, + 386 ], "irBases": [ "IAvnAvaloniaObject", @@ -27801,7 +27820,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -27826,8 +27844,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -27879,7 +27897,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -27907,17 +27925,17 @@ 193, 194, 195, - 567, + 196, 568, - 210, - 211, 569, + 211, + 212, 570, 571, 572, - 196, - 197, 573, + 197, + 198, 574, 575, 576, @@ -27933,35 +27951,35 @@ 586, 587, 588, - 235, - 236, 589, + 236, + 237, 590, 591, 592, 593, 594, - 214, - 215, 595, + 215, + 216, 596, - 267, + 597, 268, 269, 270, - 597, + 271, 598, - 219, + 599, 220, - 334, - 335, 221, + 335, + 336, 222, - 237, + 223, 238, 239, 240, - 599, + 241, 600, 601, 602, @@ -27981,10 +27999,10 @@ 616, 617, 618, - 59, 619, - 565, + 60, 620, + 566, 621, 622, 623, @@ -27993,8 +28011,8 @@ 626, 627, 628, - 243, 629, + 244, 630, 631, 632, @@ -28009,7 +28027,8 @@ 641, 642, 643, - 644 + 644, + 645 ], "irBases": [ "IAvnAvaloniaObject", @@ -28146,7 +28165,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -28171,8 +28189,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -28224,7 +28242,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -28252,13 +28270,13 @@ 193, 194, 195, - 345, + 196, 346, - 233, + 347, 234, - 202, + 235, 203, - 347, + 204, 348, 349, 350, @@ -28268,23 +28286,24 @@ 354, 355, 356, - 212, - 213, 357, + 213, + 214, 358, 359, 360, 361, 362, 363, - 257, - 398, - 431, + 364, + 258, + 399, 432, 433, - 413, 434, - 417 + 414, + 435, + 418 ], "irBases": [ "IAvnAvaloniaObject", @@ -28385,7 +28404,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -28410,8 +28428,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -28463,7 +28481,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -28491,13 +28509,13 @@ 193, 194, 195, - 345, + 196, 346, - 233, + 347, 234, - 202, + 235, 203, - 347, + 204, 348, 349, 350, @@ -28507,23 +28525,24 @@ 354, 355, 356, - 212, - 213, 357, + 213, + 214, 358, 359, 360, 361, 362, 363, - 257, - 398, - 431, + 364, + 258, + 399, 432, 433, - 413, 434, - 417 + 414, + 435, + 418 ], "irBases": [ "IAvnAvaloniaObject", @@ -28647,48 +28666,48 @@ 0, 1, 2, - 69, 70, - 398, + 71, 399, - 511, + 400, 512, 513, 514, - 413, 515, - 417, + 414, 516, - 445, + 418, + 517, 446, - 443, + 447, 444, - 439, + 445, 440, - 435, + 441, 436, 437, 438, - 453, + 439, 454, - 517, + 455, 518, 519, 520, 521, 522, - 441, - 442, 523, + 442, + 443, 524, - 415, 525, - 411, - 345, - 233, + 416, + 526, + 412, + 346, 234, - 202, - 203 + 235, + 203, + 204 ], "irBases": [ "IAvnAvaloniaObject", @@ -28731,7 +28750,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -28756,8 +28774,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -28809,7 +28827,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -28837,13 +28855,13 @@ 193, 194, 195, - 345, + 196, 346, - 233, + 347, 234, - 202, + 235, 203, - 347, + 204, 348, 349, 350, @@ -28853,50 +28871,51 @@ 354, 355, 356, - 212, - 213, 357, + 213, + 214, 358, 359, 360, 361, 362, 363, - 257, - 481, + 364, + 258, 482, 483, 484, - 273, + 485, 274, 275, 276, 277, 278, - 645, + 279, 646, 647, 648, - 384, - 385, 649, + 385, + 386, 650, 651, 652, 653, 654, - 371, - 372, 655, + 372, + 373, 656, 657, 658, - 432, - 431, 659, - 287, + 433, + 432, 660, - 661 + 288, + 661, + 662 ], "irBases": [ "IAvnAvaloniaObject", @@ -29035,12 +29054,12 @@ 0, 1, 2, - 48, 49, 50, 51, 52, - 53 + 53, + 54 ] }, { @@ -29064,7 +29083,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -29089,8 +29107,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -29142,7 +29160,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -29170,7 +29188,7 @@ 193, 194, 195, - 263, + 196, 264, 265, 266, @@ -29178,14 +29196,15 @@ 268, 269, 270, - 662, + 271, 663, 664, 665, 666, - 431, 667, - 668 + 432, + 668, + 669 ], "irBases": [ "IAvnAvaloniaObject", @@ -29283,7 +29302,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -29308,8 +29326,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -29361,7 +29379,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -29389,46 +29407,47 @@ 193, 194, 195, - 292, + 196, 293, - 296, - 297, 294, + 297, + 298, 295, - 669, + 296, 670, 671, 672, 673, 674, - 573, - 574, 675, + 574, + 575, 676, 677, 678, - 214, - 215, 679, + 215, + 216, 680, - 219, + 681, 220, 221, 222, - 267, + 223, 268, 269, 270, - 597, + 271, 598, - 237, + 599, 238, 239, 240, - 681, + 241, 682, 683, - 684 + 684, + 685 ], "irBases": [ "IAvnAvaloniaObject", @@ -29529,14 +29548,14 @@ }, { "name": "IAvnNumericUpDownValueChangedHandler", - "iid": "68A72F63-B469-5312-925F-F7FCCF35A0DF", + "iid": "A605166E-63BA-5359-A3F5-997F780B611B", "iidConstant": "I_AVN_NUMERIC_UP_DOWN_VALUE_CHANGED_HANDLER_IID", - "abiVersion": 1, + "abiVersion": 2, "slots": [ 0, 1, 2, - 3 + 26 ] }, { @@ -29548,7 +29567,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -29573,8 +29591,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -29626,9 +29644,10 @@ 143, 144, 145, - 344, - 168, - 169 + 146, + 345, + 169, + 170 ], "irBases": [ "IAvnAvaloniaObject", @@ -29691,7 +29710,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -29716,8 +29734,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -29787,8 +29805,9 @@ 161, 162, 163, - 685, - 686 + 164, + 686, + 687 ], "irBases": [ "IAvnAvaloniaObject", @@ -29860,7 +29879,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -29885,8 +29903,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -29938,7 +29956,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -29966,8 +29984,9 @@ 193, 194, 195, - 685, - 686 + 196, + 686, + 687 ], "irBases": [ "IAvnAvaloniaObject", @@ -30045,7 +30064,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -30070,8 +30088,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -30123,7 +30141,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -30151,7 +30169,7 @@ 193, 194, 195, - 687, + 196, 688, 689, 690, @@ -30164,7 +30182,8 @@ 697, 698, 699, - 700 + 700, + 701 ], "irBases": [ "IAvnAvaloniaObject", @@ -30259,7 +30278,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -30284,8 +30302,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -30355,10 +30373,11 @@ 161, 162, 163, - 701, + 164, 702, 703, - 704 + 704, + 705 ], "irBases": [ "IAvnAvaloniaObject", @@ -30431,7 +30450,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -30456,8 +30474,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -30527,10 +30545,11 @@ 161, 162, 163, - 701, + 164, 702, 703, - 704 + 704, + 705 ], "irBases": [ "IAvnAvaloniaObject", @@ -30603,7 +30622,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -30628,8 +30646,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -30681,17 +30699,17 @@ 143, 144, 145, - 447, + 146, 448, - 258, + 449, 259, - 705, + 260, 706, 707, 708, - 398, + 709, 399, - 439, + 400, 440, 441, 442, @@ -30699,21 +30717,21 @@ 444, 445, 446, - 449, + 447, 450, 451, 452, 453, 454, - 519, + 455, 520, 521, 522, - 435, + 523, 436, 437, 438, - 709, + 439, 710, 711, 712, @@ -30721,12 +30739,13 @@ 714, 715, 716, - 432, - 431, 717, - 417, + 433, + 432, 718, - 413 + 418, + 719, + 414 ], "irBases": [ "IAvnAvaloniaObject", @@ -30824,43 +30843,43 @@ 0, 1, 2, - 69, 70, - 398, + 71, 399, - 511, + 400, 512, 513, 514, - 413, 515, - 417, + 414, 516, - 445, + 418, + 517, 446, - 443, + 447, 444, - 439, + 445, 440, - 435, + 441, 436, 437, 438, - 453, + 439, 454, - 517, + 455, 518, 519, 520, 521, 522, - 441, - 442, 523, + 442, + 443, 524, - 415, 525, - 411 + 416, + 526, + 412 ], "irBases": [ "IAvnAvaloniaObject", @@ -30935,7 +30954,7 @@ 0, 1, 2, - 45 + 46 ] }, { @@ -30947,7 +30966,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -30972,8 +30990,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -31025,7 +31043,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -31053,7 +31071,7 @@ 193, 194, 195, - 719, + 196, 720, 721, 722, @@ -31064,16 +31082,17 @@ 727, 728, 729, - 684, 730, + 685, 731, 732, 733, 734, 735, 736, - 693, - 694 + 737, + 694, + 695 ], "irBases": [ "IAvnAvaloniaObject", @@ -31161,7 +31180,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -31186,8 +31204,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -31239,7 +31257,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -31267,7 +31285,7 @@ 193, 194, 195, - 263, + 196, 264, 265, 266, @@ -31292,14 +31310,15 @@ 285, 286, 287, - 371, + 288, 372, 373, 374, 375, 376, - 655, - 656 + 377, + 656, + 657 ], "irBases": [ "IAvnAvaloniaObject", @@ -31395,7 +31414,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -31420,8 +31438,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -31473,7 +31491,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -31501,7 +31519,7 @@ 193, 194, 195, - 719, + 196, 720, 721, 722, @@ -31512,7 +31530,8 @@ 727, 728, 729, - 684 + 730, + 685 ], "irBases": [ "IAvnAvaloniaObject", @@ -31594,7 +31613,7 @@ 0, 1, 2, - 26 + 27 ] }, { @@ -31606,7 +31625,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -31631,8 +31649,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -31702,10 +31720,11 @@ 161, 162, 163, - 737, + 164, 738, 739, - 740 + 740, + 741 ], "irBases": [ "IAvnAvaloniaObject", @@ -31778,7 +31797,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -31803,8 +31821,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -31856,7 +31874,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -31884,7 +31902,7 @@ 193, 194, 195, - 263, + 196, 264, 265, 266, @@ -31892,13 +31910,14 @@ 268, 269, 270, - 741, + 271, 742, 743, 744, 745, 746, - 747 + 747, + 748 ], "irBases": [ "IAvnAvaloniaObject", @@ -31995,7 +32014,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -32020,8 +32038,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -32073,9 +32091,10 @@ 143, 144, 145, - 344, - 168, - 169 + 146, + 345, + 169, + 170 ], "irBases": [ "IAvnAvaloniaObject", @@ -32139,7 +32158,6 @@ 0, 1, 2, - 985, 986, 987, 988, @@ -32150,7 +32168,8 @@ 993, 994, 995, - 996 + 996, + 997 ] }, { @@ -32162,7 +32181,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -32187,8 +32205,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -32240,7 +32258,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -32268,7 +32286,7 @@ 193, 194, 195, - 263, + 196, 264, 265, 266, @@ -32293,10 +32311,11 @@ 285, 286, 287, - 748, + 288, 749, 750, - 751 + 751, + 752 ], "irBases": [ "IAvnAvaloniaObject", @@ -32389,7 +32408,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -32414,8 +32432,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -32467,7 +32485,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -32495,7 +32513,7 @@ 193, 194, 195, - 263, + 196, 264, 265, 266, @@ -32503,7 +32521,7 @@ 268, 269, 270, - 752, + 271, 753, 754, 755, @@ -32517,8 +32535,8 @@ 763, 764, 765, - 487, 766, + 488, 767, 768, 769, @@ -32547,7 +32565,8 @@ 792, 793, 794, - 795 + 795, + 796 ], "irBases": [ "IAvnAvaloniaObject", @@ -32672,7 +32691,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -32697,8 +32715,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -32771,7 +32789,8 @@ 164, 165, 166, - 167 + 167, + 168 ], "irBases": [ "IAvnAvaloniaObject", @@ -32844,7 +32863,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -32869,8 +32887,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -32922,15 +32940,15 @@ 143, 144, 145, - 194, + 146, 195, - 168, + 196, 169, - 214, + 170, 215, - 178, + 216, 179, - 182, + 180, 183, 184, 185, @@ -32940,39 +32958,40 @@ 189, 190, 191, - 593, + 192, 594, - 796, + 595, 797, - 192, + 798, 193, - 589, + 194, 590, - 601, + 591, 602, - 798, + 603, 799, - 597, + 800, 598, - 180, + 599, 181, - 800, + 182, 801, - 577, + 802, 578, 579, 580, - 585, + 581, 586, 587, 588, - 595, - 606, - 617, - 565, - 614, - 802, - 623 + 589, + 596, + 607, + 618, + 566, + 615, + 803, + 624 ], "irBases": [ "IAvnAvaloniaObject", @@ -33074,12 +33093,12 @@ 0, 1, 2, - 54, - 63, + 55, 64, 65, - 58, - 59 + 66, + 59, + 60 ] }, { @@ -33091,7 +33110,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -33116,8 +33134,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -33169,7 +33187,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -33197,13 +33215,13 @@ 193, 194, 195, - 345, + 196, 346, - 233, + 347, 234, - 202, + 235, 203, - 347, + 204, 348, 349, 350, @@ -33213,16 +33231,17 @@ 354, 355, 356, - 212, - 213, 357, + 213, + 214, 358, 359, 360, 361, 362, 363, - 257 + 364, + 258 ], "irBases": [ "IAvnAvaloniaObject", @@ -33331,7 +33350,7 @@ 0, 1, 2, - 27 + 28 ] }, { @@ -33343,7 +33362,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -33368,8 +33386,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -33421,7 +33439,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -33448,7 +33466,8 @@ 192, 193, 194, - 195 + 195, + 196 ], "irBases": [ "IAvnAvaloniaObject", @@ -33524,7 +33543,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -33549,8 +33567,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -33619,7 +33637,8 @@ 160, 161, 162, - 163 + 163, + 164 ], "irBases": [ "IAvnAvaloniaObject", @@ -33689,7 +33708,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -33714,8 +33732,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -33767,7 +33785,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -33795,7 +33813,7 @@ 193, 194, 195, - 719, + 196, 720, 721, 722, @@ -33806,19 +33824,20 @@ 727, 728, 729, - 684, - 803, + 730, + 685, 804, - 693, - 694, 805, + 694, + 695, 806, 807, 808, 809, 810, 811, - 812 + 812, + 813 ], "irBases": [ "IAvnAvaloniaObject", @@ -33907,7 +33926,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -33932,8 +33950,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -33985,7 +34003,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -34013,7 +34031,7 @@ 193, 194, 195, - 263, + 196, 264, 265, 266, @@ -34021,10 +34039,11 @@ 268, 269, 270, - 288, + 271, 289, 290, - 291 + 291, + 292 ], "irBases": [ "IAvnAvaloniaObject", @@ -34119,7 +34138,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -34144,8 +34162,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -34197,7 +34215,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -34225,7 +34243,7 @@ 193, 194, 195, - 263, + 196, 264, 265, 266, @@ -34233,16 +34251,17 @@ 268, 269, 270, - 273, + 271, 274, - 277, + 275, 278, - 284, + 279, 285, - 275, + 286, 276, - 813, - 287 + 277, + 814, + 288 ], "irBases": [ "IAvnAvaloniaObject", @@ -34340,7 +34359,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -34365,8 +34383,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -34418,7 +34436,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -34446,7 +34464,7 @@ 193, 194, 195, - 263, + 196, 264, 265, 266, @@ -34454,11 +34472,11 @@ 268, 269, 270, - 814, + 271, 815, - 308, - 309, 816, + 309, + 310, 817, 818, 819, @@ -34479,7 +34497,8 @@ 834, 835, 836, - 837 + 837, + 838 ], "irBases": [ "IAvnAvaloniaObject", @@ -34621,7 +34640,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -34646,8 +34664,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -34699,17 +34717,18 @@ 143, 144, 145, - 344, - 168, + 146, + 345, 169, - 838, + 170, 839, - 693, - 694, 840, + 694, + 695, 841, 842, - 843 + 843, + 844 ], "irBases": [ "IAvnAvaloniaObject", @@ -34777,12 +34796,12 @@ 0, 1, 2, - 54, - 66, + 55, 67, 68, - 58, - 59 + 69, + 59, + 60 ] }, { @@ -34794,7 +34813,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -34816,7 +34834,8 @@ 88, 89, 90, - 91 + 91, + 92 ], "irBases": [ "IAvnAvaloniaObject", @@ -34919,7 +34938,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -34944,8 +34962,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -34997,7 +35015,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -35025,13 +35043,13 @@ 193, 194, 195, - 345, + 196, 346, - 233, + 347, 234, - 202, + 235, 203, - 347, + 204, 348, 349, 350, @@ -35041,28 +35059,29 @@ 354, 355, 356, - 212, - 213, 357, + 213, + 214, 358, 359, 360, 361, 362, 363, - 257, - 267, + 364, + 258, 268, 269, 270, - 844, + 271, 845, - 265, - 266, 846, + 266, + 267, 847, 848, - 849 + 849, + 850 ], "irBases": [ "IAvnAvaloniaObject", @@ -35164,7 +35183,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -35189,8 +35207,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -35242,7 +35260,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -35270,7 +35288,7 @@ 193, 194, 195, - 263, + 196, 264, 265, 266, @@ -35278,19 +35296,20 @@ 268, 269, 270, - 481, + 271, 482, 483, 484, - 850, - 384, + 485, + 851, 385, - 420, + 386, 421, - 851, + 422, 852, - 848, - 849 + 853, + 849, + 850 ], "irBases": [ "IAvnAvaloniaObject", @@ -35379,7 +35398,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -35404,8 +35422,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -35457,7 +35475,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -35485,13 +35503,13 @@ 193, 194, 195, - 345, + 196, 346, - 233, + 347, 234, - 202, + 235, 203, - 347, + 204, 348, 349, 350, @@ -35501,24 +35519,25 @@ 354, 355, 356, - 212, - 213, 357, + 213, + 214, 358, 359, 360, 361, 362, 363, - 257, - 310, + 364, + 258, 311, - 565, + 312, 566, - 853, + 567, 854, 855, - 856 + 856, + 857 ], "irBases": [ "IAvnAvaloniaObject", @@ -35619,7 +35638,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -35644,8 +35662,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -35697,7 +35715,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -35725,14 +35743,15 @@ 193, 194, 195, - 263, + 196, 264, 265, 266, 267, 268, 269, - 270 + 270, + 271 ], "irBases": [ "IAvnAvaloniaObject", @@ -35813,7 +35832,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -35836,24 +35854,25 @@ 89, 90, 91, - 483, + 92, 484, - 481, + 485, 482, - 857, + 483, 858, - 106, + 859, 107, 108, 109, - 92, + 110, 93, - 859, + 94, 860, - 267, - 268, 861, - 862 + 268, + 269, + 862, + 863 ], "irBases": [ "IAvnAvaloniaObject", @@ -35895,7 +35914,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -35920,8 +35938,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -35973,7 +35991,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -36001,7 +36019,7 @@ 193, 194, 195, - 263, + 196, 264, 265, 266, @@ -36009,8 +36027,9 @@ 268, 269, 270, - 384, - 385 + 271, + 385, + 386 ], "irBases": [ "IAvnAvaloniaObject", @@ -36093,7 +36112,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -36118,8 +36136,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -36171,7 +36189,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -36198,7 +36216,8 @@ 192, 193, 194, - 195 + 195, + 196 ], "irBases": [ "IAvnAvaloniaObject", @@ -36273,7 +36292,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -36298,8 +36316,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -36351,15 +36369,15 @@ 143, 144, 145, - 194, + 146, 195, - 168, + 196, 169, - 214, + 170, 215, - 178, + 216, 179, - 182, + 180, 183, 184, 185, @@ -36369,24 +36387,25 @@ 189, 190, 191, - 593, + 192, 594, - 796, + 595, 797, - 192, + 798, 193, - 589, + 194, 590, - 601, + 591, 602, - 798, + 603, 799, - 597, + 800, 598, - 180, + 599, 181, - 800, - 801 + 182, + 801, + 802 ], "irBases": [ "IAvnAvaloniaObject", @@ -36465,7 +36484,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -36490,8 +36508,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -36543,7 +36561,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -36571,17 +36589,17 @@ 193, 194, 195, - 567, + 196, 568, - 210, - 211, 569, + 211, + 212, 570, 571, 572, - 196, - 197, 573, + 197, + 198, 574, 575, 576, @@ -36597,35 +36615,35 @@ 586, 587, 588, - 235, - 236, 589, + 236, + 237, 590, 591, 592, 593, 594, - 214, - 215, 595, + 215, + 216, 596, - 267, + 597, 268, 269, 270, - 597, + 271, 598, - 219, + 599, 220, - 334, - 335, 221, + 335, + 336, 222, - 237, + 223, 238, 239, 240, - 599, + 241, 600, 601, 602, @@ -36645,10 +36663,10 @@ 616, 617, 618, - 59, 619, - 565, + 60, 620, + 566, 621, 622, 623, @@ -36657,9 +36675,10 @@ 626, 627, 628, - 243, 629, - 630 + 244, + 630, + 631 ], "irBases": [ "IAvnAvaloniaObject", @@ -36847,7 +36866,7 @@ 0, 1, 2, - 42 + 43 ] }, { @@ -36859,7 +36878,7 @@ 0, 1, 2, - 44 + 45 ] }, { @@ -36871,7 +36890,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -36896,8 +36914,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -36949,12 +36967,13 @@ 143, 144, 145, - 258, + 146, 259, - 194, + 260, 195, - 863, - 864 + 196, + 864, + 865 ], "irBases": [ "IAvnAvaloniaObject", @@ -37019,7 +37038,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -37044,8 +37062,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -37097,7 +37115,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -37125,12 +37143,13 @@ 193, 194, 195, - 532, + 196, 533, 534, 535, 536, - 537 + 537, + 538 ], "irBases": [ "IAvnAvaloniaObject", @@ -37209,7 +37228,7 @@ 0, 1, 2, - 28 + 29 ] }, { @@ -37221,7 +37240,7 @@ 0, 1, 2, - 28 + 29 ] }, { @@ -37233,7 +37252,7 @@ 0, 1, 2, - 28 + 29 ] }, { @@ -37245,7 +37264,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -37270,8 +37288,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -37323,7 +37341,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -37351,9 +37369,9 @@ 193, 194, 195, - 269, + 196, 270, - 865, + 271, 866, 867, 868, @@ -37363,9 +37381,10 @@ 872, 873, 874, - 59, 875, - 876 + 60, + 876, + 877 ], "irBases": [ "IAvnAvaloniaObject", @@ -37449,7 +37468,7 @@ 0, 1, 2, - 29 + 30 ] }, { @@ -37461,7 +37480,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -37486,8 +37504,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -37539,7 +37557,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -37567,7 +37585,7 @@ 193, 194, 195, - 263, + 196, 264, 265, 266, @@ -37592,12 +37610,13 @@ 285, 286, 287, - 371, + 288, 372, 373, 374, 375, - 376 + 376, + 377 ], "irBases": [ "IAvnAvaloniaObject", @@ -37703,7 +37722,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -37728,8 +37746,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -37781,7 +37799,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -37809,7 +37827,7 @@ 193, 194, 195, - 263, + 196, 264, 265, 266, @@ -37817,20 +37835,21 @@ 268, 269, 270, - 273, + 271, 274, - 277, + 275, 278, - 284, + 279, 285, - 275, + 286, 276, - 813, - 287, - 371, + 277, + 814, + 288, 372, - 877, - 376 + 373, + 878, + 377 ], "irBases": [ "IAvnAvaloniaObject", @@ -37931,7 +37950,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -37956,8 +37974,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -38009,7 +38027,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -38037,7 +38055,7 @@ 193, 194, 195, - 263, + 196, 264, 265, 266, @@ -38062,20 +38080,21 @@ 285, 286, 287, - 371, + 288, 372, 373, 374, 375, 376, - 878, + 377, 879, 880, 881, 882, 883, 884, - 885 + 885, + 886 ], "irBases": [ "IAvnAvaloniaObject", @@ -38174,7 +38193,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -38199,8 +38217,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -38252,7 +38270,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -38280,14 +38298,15 @@ 193, 194, 195, - 263, + 196, 264, 265, 266, 267, 268, 269, - 270 + 270, + 271 ], "irBases": [ "IAvnAvaloniaObject", @@ -38368,7 +38387,6 @@ 0, 1, 2, - 997, 998, 999, 1000, @@ -38385,7 +38403,8 @@ 1011, 1012, 1013, - 1014 + 1014, + 1015 ] }, { @@ -38397,7 +38416,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -38422,8 +38440,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -38475,7 +38493,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -38503,7 +38521,7 @@ 193, 194, 195, - 263, + 196, 264, 265, 266, @@ -38511,10 +38529,11 @@ 268, 269, 270, - 886, + 271, 887, 888, - 889 + 889, + 890 ], "irBases": [ "IAvnAvaloniaObject", @@ -38597,7 +38616,7 @@ 0, 1, 2, - 30 + 31 ] }, { @@ -38609,20 +38628,20 @@ 0, 1, 2, - 69, 70, - 273, + 71, 274, - 277, + 275, 278, - 890, + 279, 891, 892, 893, - 92, - 93, 894, - 895 + 93, + 94, + 895, + 896 ], "irBases": [ "IAvnAvaloniaObject", @@ -38658,7 +38677,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -38683,8 +38701,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -38736,7 +38754,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -38764,13 +38782,13 @@ 193, 194, 195, - 345, + 196, 346, - 233, + 347, 234, - 202, + 235, 203, - 347, + 204, 348, 349, 350, @@ -38778,20 +38796,21 @@ 352, 353, 354, - 310, + 355, 311, - 212, + 312, 213, - 896, + 214, 897, 898, 899, - 565, - 566, 900, + 566, + 567, 901, 902, - 257 + 903, + 258 ], "irBases": [ "IAvnAvaloniaObject", @@ -38889,7 +38908,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -38914,8 +38932,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -38967,7 +38985,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -38995,31 +39013,32 @@ 193, 194, 195, - 345, + 196, 346, - 233, + 347, 234, - 202, + 235, 203, - 347, + 204, 348, 349, 350, 351, 352, - 481, + 353, 482, 483, 484, - 487, + 485, 488, - 384, + 489, 385, - 903, + 386, 904, - 494, 905, - 490 + 495, + 906, + 491 ], "irBases": [ "IAvnAvaloniaObject", @@ -39153,7 +39172,7 @@ 0, 1, 2, - 31 + 32 ] }, { @@ -39165,7 +39184,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -39190,8 +39208,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -39243,19 +39261,20 @@ 143, 144, 145, - 344, - 168, + 146, + 345, 169, - 906, + 170, 907, 908, 909, 910, 911, - 509, + 912, 510, - 507, - 508 + 511, + 508, + 509 ], "irBases": [ "IAvnAvaloniaObject", @@ -39324,7 +39343,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -39349,8 +39367,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -39402,7 +39420,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -39430,14 +39448,15 @@ 193, 194, 195, - 263, + 196, 264, 265, 266, 267, 268, 269, - 270 + 270, + 271 ], "irBases": [ "IAvnAvaloniaObject", @@ -39518,12 +39537,12 @@ 0, 1, 2, - 54, - 63, + 55, 64, 65, - 58, - 59 + 66, + 59, + 60 ] }, { @@ -39535,7 +39554,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -39560,8 +39578,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -39613,12 +39631,13 @@ 143, 144, 145, - 148, + 146, 149, - 556, + 150, 557, - 258, - 259 + 558, + 259, + 260 ], "irBases": [ "IAvnAvaloniaObject", @@ -39682,7 +39701,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -39707,8 +39725,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -39760,7 +39778,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -39788,7 +39806,7 @@ 193, 194, 195, - 263, + 196, 264, 265, 266, @@ -39796,7 +39814,7 @@ 268, 269, 270, - 912, + 271, 913, 914, 915, @@ -39823,20 +39841,21 @@ 936, 937, 938, - 890, - 891, 939, + 891, + 892, 940, 941, 942, 943, - 431, 944, - 513, + 432, 945, + 514, 946, 947, - 415 + 948, + 416 ], "irBases": [ "IAvnAvaloniaObject", @@ -39942,7 +39961,7 @@ 0, 1, 2, - 32 + 33 ] }, { @@ -39954,7 +39973,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -39979,8 +39997,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -40032,7 +40050,7 @@ 143, 144, 145, - 168, + 146, 169, 170, 171, @@ -40060,7 +40078,7 @@ 193, 194, 195, - 948, + 196, 949, 950, 951, @@ -40068,7 +40086,8 @@ 953, 954, 955, - 956 + 956, + 957 ], "irBases": [ "IAvnAvaloniaObject", @@ -40151,7 +40170,6 @@ 0, 1, 2, - 69, 70, 71, 72, @@ -40176,8 +40194,8 @@ 91, 92, 93, - 34, 94, + 35, 95, 96, 97, @@ -40229,21 +40247,22 @@ 143, 144, 145, - 344, - 168, + 146, + 345, 169, - 957, + 170, 958, - 796, + 959, 797, - 693, + 798, 694, - 959, + 695, 960, 961, 962, 963, - 964 + 964, + 965 ], "irBases": [ "IAvnAvaloniaObject", diff --git a/rust/avalonia-sys/include/.avalonia-projection.owned.json b/rust/avalonia-sys/include/.avalonia-projection.owned.json index e01ddbd..6009311 100644 --- a/rust/avalonia-sys/include/.avalonia-projection.owned.json +++ b/rust/avalonia-sys/include/.avalonia-projection.owned.json @@ -3,7 +3,7 @@ "files": [ { "path": "avalonia-rust-abi.h", - "sha256": "5ee3b92aa457dbc862cb5d10e245780c57cb944a694543bcfb39e12c91ca61c1" + "sha256": "f3b3156acd5a58de1011cef09463296756ad7300683eb1fbf47174eecf6d2513" } ] } diff --git a/rust/avalonia-sys/include/avalonia-rust-abi.h b/rust/avalonia-sys/include/avalonia-rust-abi.h index aa346dc..d3f9e8e 100644 --- a/rust/avalonia-sys/include/avalonia-rust-abi.h +++ b/rust/avalonia-sys/include/avalonia-rust-abi.h @@ -1422,17 +1422,17 @@ struct IAvnNumericUpDownSpinnedHandler { const IAvnNumericUpDownSpinnedHandlerVt #define I_AVN_NUMERIC_UP_DOWN_SPINNED_HANDLER_VTABLE_SLOTS 4 static const AvnGuid I_AVN_NUMERIC_UP_DOWN_VALUE_CHANGED_HANDLER_IID = { - 0x68A72F63, - 0xB469, - 0x5312, - { 0x92, 0x5F, 0xF7, 0xFC, 0xCF, 0x35, 0xA0, 0xDF } + 0xA605166E, + 0x63BA, + 0x5359, + { 0xA3, 0xF5, 0x99, 0x7F, 0x78, 0x0B, 0x61, 0x1B } }; -#define I_AVN_NUMERIC_UP_DOWN_VALUE_CHANGED_HANDLER_ABI_VERSION 1 +#define I_AVN_NUMERIC_UP_DOWN_VALUE_CHANGED_HANDLER_ABI_VERSION 2 struct IAvnNumericUpDownValueChangedHandlerVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnNumericUpDownValueChangedHandler* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnNumericUpDownValueChangedHandler* self); /* slot 1 */ uint32_t (AVN_CALL *release)(IAvnNumericUpDownValueChangedHandler* self); /* slot 2 */ - AvnHResult (AVN_CALL *invoke)(IAvnNumericUpDownValueChangedHandler* self); /* slot 3 */ + AvnHResult (AVN_CALL *invoke)(IAvnNumericUpDownValueChangedHandler* self, const uint16_t* old_value, const uint16_t* new_value); /* slot 3 */ }; struct IAvnNumericUpDownValueChangedHandler { const IAvnNumericUpDownValueChangedHandlerVtbl* vtbl; }; #define I_AVN_NUMERIC_UP_DOWN_VALUE_CHANGED_HANDLER_VTABLE_SLOTS 4 diff --git a/rust/avalonia-sys/src/.avalonia-bindgen.owned.json b/rust/avalonia-sys/src/.avalonia-bindgen.owned.json index 6e43868..9e33648 100644 --- a/rust/avalonia-sys/src/.avalonia-bindgen.owned.json +++ b/rust/avalonia-sys/src/.avalonia-bindgen.owned.json @@ -3,7 +3,7 @@ "files": [ { "path": "generated.rs", - "sha256": "a6f4e02905602a59c0ed11dcd9c9d1715586d89fec14b9895e06e9fab798b10e" + "sha256": "e0f5a050a17e3a5cbf1a44465a3a31a583be51e24acb0ae761430b9343a69279" } ] } diff --git a/rust/avalonia-sys/src/generated.rs b/rust/avalonia-sys/src/generated.rs index 7de5284..0a5bdc8 100644 --- a/rust/avalonia-sys/src/generated.rs +++ b/rust/avalonia-sys/src/generated.rs @@ -3514,33 +3514,26 @@ unsafe extern "system" fn i_avn_numeric_up_down_spinned_handler_invoke(this: *mu hr } -pub const I_AVN_NUMERIC_UP_DOWN_VALUE_CHANGED_HANDLER_IID: Guid = Guid { data1: 0x68A72F63, data2: 0xB469, data3: 0x5312, data4: [0x92, 0x5F, 0xF7, 0xFC, 0xCF, 0x35, 0xA0, 0xDF] }; +pub const I_AVN_NUMERIC_UP_DOWN_VALUE_CHANGED_HANDLER_IID: Guid = Guid { data1: 0xA605166E, data2: 0x63BA, data3: 0x5359, data4: [0xA3, 0xF5, 0x99, 0x7F, 0x78, 0x0B, 0x61, 0x1B] }; + +#[derive(Debug)] +pub struct NumericUpDownValueChangedEventArgs { + pub old_value: Option, + pub new_value: Option, +} #[repr(C)] struct IAvnNumericUpDownValueChangedHandlerVtbl { query_interface: unsafe extern "system" fn(*mut IUnknown, *const Guid, *mut *mut c_void) -> i32, add_ref: unsafe extern "system" fn(*mut IUnknown) -> u32, release: unsafe extern "system" fn(*mut IUnknown) -> u32, - invoke: unsafe extern "system" fn(*mut IAvnNumericUpDownValueChangedHandler) -> i32, + invoke: unsafe extern "system" fn(*mut IAvnNumericUpDownValueChangedHandler, old_value: *mut u16, new_value: *mut u16) -> i32, } #[repr(C)] -pub struct IAvnNumericUpDownValueChangedHandler { - vtbl: *const IAvnNumericUpDownValueChangedHandlerVtbl, -} +pub struct IAvnNumericUpDownValueChangedHandler { vtbl: *const IAvnNumericUpDownValueChangedHandlerVtbl } -unsafe impl ComInterface for IAvnNumericUpDownValueChangedHandler { - const IID: Guid = I_AVN_NUMERIC_UP_DOWN_VALUE_CHANGED_HANDLER_IID; -} - -impl ComPtr { - pub fn invoke(&self) -> Result<()> { - unsafe { - let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().invoke)(self.as_raw()); - hresult::check(hr) - } - } -} +unsafe impl ComInterface for IAvnNumericUpDownValueChangedHandler { const IID: Guid = I_AVN_NUMERIC_UP_DOWN_VALUE_CHANGED_HANDLER_IID; } static I_AVN_NUMERIC_UP_DOWN_VALUE_CHANGED_HANDLER_VTBL: IAvnNumericUpDownValueChangedHandlerVtbl = IAvnNumericUpDownValueChangedHandlerVtbl { query_interface: i_avn_numeric_up_down_value_changed_handler_query_interface, @@ -3549,24 +3542,31 @@ static I_AVN_NUMERIC_UP_DOWN_VALUE_CHANGED_HANDLER_VTBL: IAvnNumericUpDownValueC invoke: i_avn_numeric_up_down_value_changed_handler_invoke, }; -pub fn numeric_up_down_value_changed_handler(mut callback: impl FnMut() -> Result<()> + Send + 'static) -> ComPtr { - crate::event_callback::create::(IAvnNumericUpDownValueChangedHandler { vtbl: &I_AVN_NUMERIC_UP_DOWN_VALUE_CHANGED_HANDLER_VTBL }, move |_| callback()) +pub fn numeric_up_down_value_changed_handler(callback: impl FnMut(&mut NumericUpDownValueChangedEventArgs) -> Result<()> + Send + 'static) -> ComPtr { + crate::event_callback::create(IAvnNumericUpDownValueChangedHandler { vtbl: &I_AVN_NUMERIC_UP_DOWN_VALUE_CHANGED_HANDLER_VTBL }, callback) } unsafe extern "system" fn i_avn_numeric_up_down_value_changed_handler_query_interface(this: *mut IUnknown, iid: *const Guid, result: *mut *mut c_void) -> i32 { - crate::event_callback::query_interface::(this, iid, result) + crate::event_callback::query_interface::(this, iid, result) } unsafe extern "system" fn i_avn_numeric_up_down_value_changed_handler_add_ref(this: *mut IUnknown) -> u32 { - crate::event_callback::add_ref::(this) + crate::event_callback::add_ref::(this) } unsafe extern "system" fn i_avn_numeric_up_down_value_changed_handler_release(this: *mut IUnknown) -> u32 { - crate::event_callback::release::(this) + crate::event_callback::release::(this) } -unsafe extern "system" fn i_avn_numeric_up_down_value_changed_handler_invoke(this: *mut IAvnNumericUpDownValueChangedHandler) -> i32 { - crate::event_callback::invoke::(this, &mut ()) +unsafe extern "system" fn i_avn_numeric_up_down_value_changed_handler_invoke(this: *mut IAvnNumericUpDownValueChangedHandler, old_value: *mut u16, new_value: *mut u16) -> i32 { + let mut arguments = NumericUpDownValueChangedEventArgs { + old_value: crate::clone_utf16(old_value), + new_value: crate::clone_utf16(new_value), + }; + let hr = crate::event_callback::invoke::(this, &mut arguments); + if hr >= 0 { + } + hr } pub const I_AVN_PIPS_PAGER_SELECTED_INDEX_CHANGED_HANDLER_IID: Guid = Guid { data1: 0xF40B94E7, data2: 0xCD23, data3: 0x55D9, data4: [0xA4, 0x62, 0x55, 0x90, 0xA6, 0xFB, 0xB2, 0xB7] }; diff --git a/rust/avalonia/examples/imperative_counter.rs b/rust/avalonia/examples/imperative_counter.rs index f00126d..ca5a2fd 100644 --- a/rust/avalonia/examples/imperative_counter.rs +++ b/rust/avalonia/examples/imperative_counter.rs @@ -8,8 +8,8 @@ use std::sync::atomic::{AtomicI32, Ordering}; use std::sync::Arc; use avalonia::{ - App, AppScope, Border, Brush, Button, Color, HorizontalAlignment, ListBox, Orientation, Result, - Slider, StackPanel, TextBlock, TextBox, Thickness, Window, + App, AppScope, Border, Brush, Button, Color, HorizontalAlignment, ListBox, NumericUpDown, + Orientation, Result, Slider, StackPanel, TextBlock, TextBox, Thickness, Window, }; fn main() -> Result<()> { @@ -84,6 +84,28 @@ fn build_ui(scope: &AppScope) -> Result<()> { } })?; + // Wave R payload: NumericUpDown.ValueChanged carries the old/new decimal pair as + // invariant strings across the ABI. + let numeric_label = TextBlock::new()? + .text("Number: -")? + .margin(Thickness::symmetric(12.0, 0.0))?; + let numeric = NumericUpDown::new()? + .margin(Thickness::symmetric(12.0, 4.0))? + .minimum("0")? + .maximum("10")? + .increment("0.5")? + .value("1.5")? + .on_value_changed(scope, { + let numeric_label = numeric_label.clone(); + move |args| { + let _ = numeric_label.set_text(format!( + "Number: {} -> {}", + args.old_value.as_deref().unwrap_or("∅"), + args.new_value.as_deref().unwrap_or("∅") + )); + } + })?; + let increment = Button::new()? .content(Some(&TextBlock::new()?.text("Increment")?))? .margin(Thickness::uniform(4.0))? @@ -157,6 +179,8 @@ fn build_ui(scope: &AppScope) -> Result<()> { children.add(slider_label)?; children.add(wheel_zone)?; children.add(wheel_label)?; + children.add(numeric)?; + children.add(numeric_label)?; children.add(log)?; children.add(selection_label)?; diff --git a/rust/avalonia/src/.avalonia-bindgen.owned.json b/rust/avalonia/src/.avalonia-bindgen.owned.json index 7685a79..6b044f6 100644 --- a/rust/avalonia/src/.avalonia-bindgen.owned.json +++ b/rust/avalonia/src/.avalonia-bindgen.owned.json @@ -3,7 +3,7 @@ "files": [ { "path": "generated.rs", - "sha256": "a1782864c4d70e7005d71766c9a1fafbdb78dc7b4e479a979be43e7418388e08" + "sha256": "7c51f0c963997619b5986140a26f999dd151499ca9097b8b30ac1e5cb1772a75" } ] } diff --git a/rust/avalonia/src/generated.rs b/rust/avalonia/src/generated.rs index f34c3c5..532ea7d 100644 --- a/rust/avalonia/src/generated.rs +++ b/rust/avalonia/src/generated.rs @@ -2650,6 +2650,7 @@ pub use sys::DatePickerSelectedDateChangedEventArgs; pub use sys::ExpanderCollapsingEventArgs; pub use sys::ExpanderExpandingEventArgs; pub use sys::NumericUpDownSpinnedEventArgs; +pub use sys::NumericUpDownValueChangedEventArgs; pub use sys::PopupFlyoutBaseClosingEventArgs; pub use sys::RangeBaseValueChangedEventArgs; pub use sys::IAvnSelectingItemsControlSelectionChangedArgs; @@ -30072,16 +30073,14 @@ impl NumericUpDown { scope.retain_subscription(self.subscribe_spinned(callback)?); Ok(self) } - pub fn subscribe_value_changed(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { - let handler = sys::numeric_up_down_value_changed_handler(move || { - callback(()); - Ok(()) - }); + pub fn subscribe_value_changed(&self, callback: impl FnMut(&mut NumericUpDownValueChangedEventArgs) + Send + 'static) -> Result { + let mut callback = callback; + let handler = sys::numeric_up_down_value_changed_handler(move |event| { callback(event); Ok(()) }); let subscription_id = self.raw.advise_value_changed(&handler)?; let source = self.raw.clone(); Ok(EventSubscription::new(move || source.unadvise_value_changed(subscription_id))) } - pub fn on_value_changed(self, scope: &crate::AppScope, callback: impl FnMut(()) + Send + 'static) -> Result { + pub fn on_value_changed(self, scope: &crate::AppScope, callback: impl FnMut(&mut NumericUpDownValueChangedEventArgs) + Send + 'static) -> Result { scope.retain_subscription(self.subscribe_value_changed(callback)?); Ok(self) } diff --git a/rust/projection.ir.json b/rust/projection.ir.json index e74c23d..2c13ab7 100644 --- a/rust/projection.ir.json +++ b/rust/projection.ir.json @@ -4021,11 +4021,28 @@ { "name": "ValueChanged", "handlerInterfaceName": "Avalonia.Host.Com.IAvnNumericUpDownValueChangedHandler", - "handlerInterfaceIid": "68A72F63-B469-5312-925F-F7FCCF35A0DF", - "handlerInterfaceAbiVersion": 1, - "payloadKind": "None", + "handlerInterfaceIid": "A605166E-63BA-5359-A3F5-997F780B611B", + "handlerInterfaceAbiVersion": 2, + "payloadKind": "Fields", "managedHandlerTypeName": "System.EventHandler\u003CAvalonia.Controls.NumericUpDownValueChangedEventArgs\u003E", - "parameters": [] + "parameters": [ + { + "name": "OldValue", + "kind": "StringUtf16", + "direction": "In", + "managedTypeName": "System.Nullable\u00601[[System.Decimal, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]", + "isNullable": true, + "stringConverterTypeName": "Avalonia.Host.Com.AvnDecimal" + }, + { + "name": "NewValue", + "kind": "StringUtf16", + "direction": "In", + "managedTypeName": "System.Nullable\u00601[[System.Decimal, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]", + "isNullable": true, + "stringConverterTypeName": "Avalonia.Host.Com.AvnDecimal" + } + ] } ] }, diff --git a/tests/Avalonia.Projection.Ir.Tests/ClrTypeExtractorTests.cs b/tests/Avalonia.Projection.Ir.Tests/ClrTypeExtractorTests.cs index 35511b5..0eba7d1 100644 --- a/tests/Avalonia.Projection.Ir.Tests/ClrTypeExtractorTests.cs +++ b/tests/Avalonia.Projection.Ir.Tests/ClrTypeExtractorTests.cs @@ -1658,6 +1658,31 @@ public void Wave_n_textbox_remainder_bumps_only_textbox_and_masked_textbox() textBox.Properties.Single(p => p.Name == "CaretBlinkInterval").Kind); Assert.DoesNotContain(textBox.Properties, p => p.Name == "Watermark"); Assert.Equal(17, Type(ir, "IAvnMaskedTextBox").AbiVersion); + } + + [Fact] + public void Wave_r_numeric_up_down_value_changed_carries_the_decimal_pair_as_invariant_strings() + { + var ir = ClrTypeExtractor.Extract(KernelTypes, AvaloniaProjectionProfiles.ObjectModelKernel); + + // The decimal? old/new pair has no numeric ABI shape; it crosses as invariant + // UTF-16 through the AvnDecimal converter the Value property already uses, so the + // payload-carrying handler republishes at version 2 while the control itself moves + // only with its own members. + var valueChanged = Type(ir, "IAvnNumericUpDown").Events + .Single(@event => @event.Name == nameof(NumericUpDown.ValueChanged)); + Assert.Equal(EventPayloadKind.Fields, valueChanged.PayloadKind); + Assert.Equal(2, valueChanged.HandlerInterfaceAbiVersion); + Assert.All(valueChanged.Parameters, parameter => + { + Assert.Equal(MarshallingKind.StringUtf16, parameter.Kind); + Assert.Equal("Avalonia.Host.Com.AvnDecimal", parameter.StringConverterTypeName); + Assert.True(parameter.IsNullable); + }); + Assert.Equal( + [nameof(NumericUpDownValueChangedEventArgs.OldValue), + nameof(NumericUpDownValueChangedEventArgs.NewValue)], + valueChanged.Parameters.Select(parameter => parameter.Name)); Assert.Contains(Type(ir, "IAvnMaskedTextBox").Properties, p => p.Name == "MaskCompleted"); Assert.Equal(14, Type(ir, "IAvnTemplatedControl").AbiVersion); Assert.Equal(13, ir.FactoryAbiVersion); From 96ae36efbcbe94a178e8dc4eec4326d18b694b89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Moreau?= Date: Thu, 10 Sep 2026 21:21:43 -0400 Subject: [PATCH 4/6] Wave S: project Control.Focus and Focusable Input focus was entirely off the projected surface, so no Rust consumer could move focus programmatically. Focus lives on InputElement and is inherited by every projected Control; the projection names it explicitly and carries the navigation context: - Control.FocusWithNavigationMethodAndKeyModifiers crosses with the NavigationMethod and KeyModifiers enums and returns whether focus took; Control.Focusable crosses as a Bool property. - The new method slots republish Control and every descendant under fresh IIDs (version bump via AbiVersions); the stale wave-Q IIDs are recorded as retired in the sys ABI tests. - imperative_counter focuses its text box after mount and renders the result; verified live over UIA ('Focus: true'). --- .../.avalonia-projection.owned.json | 192 +- host/Generated/ObjectModel/IAvnArc.g.cs | 49 +- .../ObjectModel/IAvnAutoCompleteBox.g.cs | 49 +- host/Generated/ObjectModel/IAvnBorder.g.cs | 49 +- host/Generated/ObjectModel/IAvnButton.g.cs | 49 +- .../ObjectModel/IAvnButtonSpinner.g.cs | 49 +- host/Generated/ObjectModel/IAvnCalendar.g.cs | 49 +- .../ObjectModel/IAvnCalendarDatePicker.g.cs | 49 +- host/Generated/ObjectModel/IAvnCanvas.g.cs | 49 +- host/Generated/ObjectModel/IAvnCarousel.g.cs | 49 +- host/Generated/ObjectModel/IAvnCheckBox.g.cs | 49 +- host/Generated/ObjectModel/IAvnComboBox.g.cs | 49 +- .../ObjectModel/IAvnComboBoxItem.g.cs | 49 +- .../Generated/ObjectModel/IAvnCommandBar.g.cs | 49 +- .../ObjectModel/IAvnCommandBarButton.g.cs | 49 +- .../ObjectModel/IAvnCommandBarSeparator.g.cs | 49 +- .../IAvnCommandBarToggleButton.g.cs | 49 +- .../ObjectModel/IAvnContentControl.g.cs | 49 +- .../ObjectModel/IAvnContextMenu.g.cs | 49 +- host/Generated/ObjectModel/IAvnControl.g.cs | 58 +- .../Generated/ObjectModel/IAvnDatePicker.g.cs | 49 +- host/Generated/ObjectModel/IAvnDecorator.g.cs | 49 +- host/Generated/ObjectModel/IAvnDockPanel.g.cs | 49 +- .../ObjectModel/IAvnDropDownButton.g.cs | 49 +- host/Generated/ObjectModel/IAvnEllipse.g.cs | 49 +- host/Generated/ObjectModel/IAvnExpander.g.cs | 49 +- host/Generated/ObjectModel/IAvnFlexPanel.g.cs | 49 +- host/Generated/ObjectModel/IAvnGrid.g.cs | 49 +- .../ObjectModel/IAvnGridSplitter.g.cs | 49 +- host/Generated/ObjectModel/IAvnGroupBox.g.cs | 49 +- .../IAvnHeaderedContentControl.g.cs | 49 +- .../ObjectModel/IAvnHeaderedItemsControl.g.cs | 49 +- .../IAvnHeaderedSelectingItemsControl.g.cs | 49 +- .../ObjectModel/IAvnHyperlinkButton.g.cs | 49 +- .../ObjectModel/IAvnIconElement.g.cs | 49 +- host/Generated/ObjectModel/IAvnImage.g.cs | 49 +- .../ObjectModel/IAvnItemsControl.g.cs | 49 +- host/Generated/ObjectModel/IAvnLabel.g.cs | 49 +- .../IAvnLayoutTransformControl.g.cs | 49 +- host/Generated/ObjectModel/IAvnLine.g.cs | 49 +- host/Generated/ObjectModel/IAvnListBox.g.cs | 49 +- .../ObjectModel/IAvnListBoxItem.g.cs | 49 +- .../ObjectModel/IAvnMaskedTextBox.g.cs | 49 +- host/Generated/ObjectModel/IAvnMenu.g.cs | 49 +- host/Generated/ObjectModel/IAvnMenuBase.g.cs | 49 +- host/Generated/ObjectModel/IAvnMenuItem.g.cs | 49 +- .../ObjectModel/IAvnNotificationCard.g.cs | 49 +- .../ObjectModel/IAvnNumericUpDown.g.cs | 49 +- host/Generated/ObjectModel/IAvnPanel.g.cs | 49 +- host/Generated/ObjectModel/IAvnPath.g.cs | 49 +- host/Generated/ObjectModel/IAvnPathIcon.g.cs | 49 +- host/Generated/ObjectModel/IAvnPipsPager.g.cs | 49 +- host/Generated/ObjectModel/IAvnPolygon.g.cs | 49 +- host/Generated/ObjectModel/IAvnPolyline.g.cs | 49 +- host/Generated/ObjectModel/IAvnPopup.g.cs | 49 +- .../ObjectModel/IAvnProgressBar.g.cs | 49 +- .../ObjectModel/IAvnRadioButton.g.cs | 49 +- host/Generated/ObjectModel/IAvnRangeBase.g.cs | 49 +- host/Generated/ObjectModel/IAvnRectangle.g.cs | 49 +- .../ObjectModel/IAvnRefreshContainer.g.cs | 49 +- .../ObjectModel/IAvnRelativePanel.g.cs | 49 +- .../ObjectModel/IAvnRepeatButton.g.cs | 49 +- .../ObjectModel/IAvnScrollViewer.g.cs | 49 +- host/Generated/ObjectModel/IAvnSector.g.cs | 49 +- .../ObjectModel/IAvnSelectableTextBlock.g.cs | 49 +- .../IAvnSelectingItemsControl.g.cs | 49 +- host/Generated/ObjectModel/IAvnSeparator.g.cs | 49 +- host/Generated/ObjectModel/IAvnShape.g.cs | 49 +- host/Generated/ObjectModel/IAvnSlider.g.cs | 49 +- host/Generated/ObjectModel/IAvnSpinner.g.cs | 49 +- .../ObjectModel/IAvnSplitButton.g.cs | 49 +- host/Generated/ObjectModel/IAvnSplitView.g.cs | 49 +- .../Generated/ObjectModel/IAvnStackPanel.g.cs | 49 +- .../Generated/ObjectModel/IAvnTabControl.g.cs | 49 +- host/Generated/ObjectModel/IAvnTabItem.g.cs | 49 +- host/Generated/ObjectModel/IAvnTableView.g.cs | 49 +- .../ObjectModel/IAvnTableViewCell.g.cs | 49 +- .../ObjectModel/IAvnTableViewRow.g.cs | 49 +- .../ObjectModel/IAvnTemplatedControl.g.cs | 49 +- host/Generated/ObjectModel/IAvnTextBlock.g.cs | 49 +- host/Generated/ObjectModel/IAvnTextBox.g.cs | 49 +- .../ObjectModel/IAvnThemeVariantScope.g.cs | 49 +- host/Generated/ObjectModel/IAvnThumb.g.cs | 49 +- .../Generated/ObjectModel/IAvnTimePicker.g.cs | 49 +- .../ObjectModel/IAvnToggleButton.g.cs | 49 +- .../ObjectModel/IAvnToggleSplitButton.g.cs | 49 +- .../ObjectModel/IAvnToggleSwitch.g.cs | 49 +- host/Generated/ObjectModel/IAvnToolTip.g.cs | 49 +- .../IAvnTransitioningContentControl.g.cs | 49 +- host/Generated/ObjectModel/IAvnTreeView.g.cs | 49 +- .../ObjectModel/IAvnTreeViewItem.g.cs | 49 +- .../ObjectModel/IAvnUniformGrid.g.cs | 49 +- .../ObjectModel/IAvnUserControl.g.cs | 49 +- host/Generated/ObjectModel/IAvnViewbox.g.cs | 49 +- host/Generated/ObjectModel/IAvnWindow.g.cs | 49 +- .../IAvnWindowNotificationManager.g.cs | 49 +- host/Generated/ObjectModel/IAvnWrapPanel.g.cs | 49 +- .../AvaloniaProjectionProfiles.cs | 194 +- rust/.avalonia-projection.owned.json | 2 +- rust/abi-baseline.json | 4309 +++-- .../include/.avalonia-projection.owned.json | 2 +- rust/avalonia-sys/include/avalonia-rust-abi.h | 14678 ++++++++-------- .../src/.avalonia-bindgen.owned.json | 2 +- rust/avalonia-sys/src/generated.rs | 2496 ++- rust/avalonia-sys/tests/brush_abi.rs | 16 +- rust/avalonia-sys/tests/control_abi.rs | 66 +- rust/avalonia-sys/tests/definitions_abi.rs | 26 +- rust/avalonia-sys/tests/layout_abi.rs | 12 +- rust/avalonia-sys/tests/wave_a_abi.rs | 36 +- rust/avalonia-sys/tests/wave_b_abi.rs | 36 +- rust/avalonia-sys/tests/wave_c_abi.rs | 24 +- rust/avalonia-sys/tests/wave_d_abi.rs | 14 +- rust/avalonia-sys/tests/wave_e_abi.rs | 8 +- rust/avalonia-sys/tests/wave_f_abi.rs | 4 +- rust/avalonia-sys/tests/wave_g_abi.rs | 4 +- rust/avalonia-sys/tests/wave_h_abi.rs | 2 +- rust/avalonia-sys/tests/wave_i_abi.rs | 2 +- rust/avalonia-sys/tests/wave_j_abi.rs | 4 +- rust/avalonia-sys/tests/wave_k_abi.rs | 4 +- rust/avalonia/examples/imperative_counter.rs | 17 +- .../avalonia/src/.avalonia-bindgen.owned.json | 2 +- rust/avalonia/src/generated.rs | 864 + rust/projection.ir.json | 425 +- .../BrushMarshallingEmitterTests.cs | 10 +- .../ComSourceEmitterTests.cs | 2 +- .../GeometryMarshallingEmitterTests.cs | 2 +- .../ClrTypeExtractorTests.cs | 186 +- 127 files changed, 18459 insertions(+), 9895 deletions(-) diff --git a/host/Generated/ObjectModel/.avalonia-projection.owned.json b/host/Generated/ObjectModel/.avalonia-projection.owned.json index 2de7595..51bb1cc 100644 --- a/host/Generated/ObjectModel/.avalonia-projection.owned.json +++ b/host/Generated/ObjectModel/.avalonia-projection.owned.json @@ -19,11 +19,11 @@ }, { "path": "IAvnArc.g.cs", - "sha256": "d0d21649fda16dbf92ad11c905d4216d471934c9aa0a348b25189f7627582309" + "sha256": "00e0a44802db1f6eb26fc09b357bbee5552a378b2f35a243dc4a71fef9b17b7a" }, { "path": "IAvnAutoCompleteBox.g.cs", - "sha256": "6c50d87d8db3a9a6af2a39d9ece46009a7cfae47c6ec13658571f6c10d2c0e45" + "sha256": "0fbdba935bc85cb12fefd86fed7c09fe92ff1c337b9a76e3742616dc10f5a524" }, { "path": "IAvnAutoCompleteBoxDropDownClosedHandler.g.cs", @@ -63,7 +63,7 @@ }, { "path": "IAvnBorder.g.cs", - "sha256": "40a45dcd57fa5f8734710efc44999541e78d36c804e9cfd532d25772cf59f7a6" + "sha256": "196a716a1a4a29d75b074eacde4f776152c927b736ac36f74b39e774c9672fdc" }, { "path": "IAvnBrush.g.cs", @@ -71,7 +71,7 @@ }, { "path": "IAvnButton.g.cs", - "sha256": "5800d43c1b0e6f5a89105e4426f0d12097ad29b542572e5174295f2eb40e003f" + "sha256": "757c07fe3b5ef996fb72038478eab5ffc8effe045b7bbcca6ffad83510acc500" }, { "path": "IAvnButtonClickHandler.g.cs", @@ -79,15 +79,15 @@ }, { "path": "IAvnButtonSpinner.g.cs", - "sha256": "489d371f73a5f7de6e7fce2016588640841129c190da292de5338ab652265aa1" + "sha256": "0bb43a096e2aa2eab1865dc97a6d3b6aa0e6e88bcb2b8b637318c9e77ee77d8a" }, { "path": "IAvnCalendar.g.cs", - "sha256": "ab3ae8c4f97399647a21e6fd4f97e6ce1ae7aa68e25d1a929d69526e28099414" + "sha256": "c3575be6210d497b5edcd4c3c8f5d260fe26382df08456b255c26cc68f94850d" }, { "path": "IAvnCalendarDatePicker.g.cs", - "sha256": "6d0157bf5e3d10f9e78f5fd1d9bf3c318c6579c7de72443d716530e25b946310" + "sha256": "7a285fae9b060d74cf29e18b18df31d93778b62a3ea64062d004a92a441b5294" }, { "path": "IAvnCalendarDatePickerCalendarClosedHandler.g.cs", @@ -119,7 +119,7 @@ }, { "path": "IAvnCanvas.g.cs", - "sha256": "485a9e56e000ee0d9e5c9479a58c26a84791ca88709451e7c430b3b5bb580b89" + "sha256": "2db2a639d6d241455c9f8602edef27ee95e71c54257163233a620f0d9fd24414" }, { "path": "IAvnCanvasStatics.g.cs", @@ -127,15 +127,15 @@ }, { "path": "IAvnCarousel.g.cs", - "sha256": "d684c435a77968cec2911a2eec59361d1086911335f9a66f52025ba2918270f5" + "sha256": "46d71726bc65d7ccce72051744488d4a86fcee87c3f0b82d6c8d6d9567323bde" }, { "path": "IAvnCheckBox.g.cs", - "sha256": "279885f9960c5b97a9c3bbe67c16adfb099e58a3e912ecaf153d0acfb11239b0" + "sha256": "adccd0d5836efe78539167a8e7982f01292184a7bf7a4dbae7b13f7f8028f55b" }, { "path": "IAvnComboBox.g.cs", - "sha256": "26a915d4ea36d5b754722210f8962e77c7f3632d8c6702e78f962356c95e2434" + "sha256": "f3a2bea6173d0579da2dd68be648bc8cebc8a422db9238e38b84c9f04dfaa05a" }, { "path": "IAvnComboBoxDropDownClosedHandler.g.cs", @@ -147,7 +147,7 @@ }, { "path": "IAvnComboBoxItem.g.cs", - "sha256": "130c6fe5978fc0da3a68b6bfaf1141e3f5924e749f17e048f5e0de62b48a2749" + "sha256": "c2bd08dd08ef8a102a45756d4498837ced28da7ed277370fd5edebd0d3a7b14a" }, { "path": "IAvnCommand.g.cs", @@ -155,11 +155,11 @@ }, { "path": "IAvnCommandBar.g.cs", - "sha256": "98c6d23b791ffb42a6f1eea25b109b15e6ba8c4b88fb57afeb1ce3cd6d4c069c" + "sha256": "88dcd3af740ce737cc323c653361bf45ec9979352400ef948b1ab8ab37e051f3" }, { "path": "IAvnCommandBarButton.g.cs", - "sha256": "261b18f40be3b9002ae9ab1ebeba2c2dbb2fc8ab0b1d5f534e79e82747e0d1c9" + "sha256": "8bcfe3aa51ca9f07dfd3ca0748fc92758788afb396b60aaaadb4a7aa5a445b78" }, { "path": "IAvnCommandBarClosedHandler.g.cs", @@ -179,19 +179,19 @@ }, { "path": "IAvnCommandBarSeparator.g.cs", - "sha256": "f9b7ecac60994a8663b5d03c1a1eedf8470dfe1aff97c8da2324dce09e0ee6f9" + "sha256": "b47615bf2b29889d5f1cdb0a806a089f1484827ab4a2380801f8d845552b8540" }, { "path": "IAvnCommandBarToggleButton.g.cs", - "sha256": "10a6259198d39f57cd64ad9732749bfe64500f540a5f58fb2c0375259bb53c0b" + "sha256": "3de431339b94c979b7d114cd52d8120d175db3fcbb6f4e53d1fe022b4c9ce241" }, { "path": "IAvnContentControl.g.cs", - "sha256": "d0e76be71b953f835f4b9b809a013aea04a1a9343a1f164de8b227425d17b2d2" + "sha256": "1b8206b9bd96fc8c12b7b5b358748e32b8d74be2e4d6e282b17f3d27ce139686" }, { "path": "IAvnContextMenu.g.cs", - "sha256": "c1a01ee264639e7df6204b35895278d58baf601c25733166888fda72e17753bd" + "sha256": "f8aaf52378fa6ccffe538a2a5594dbdba886f54db741a57914fd823b6085de58" }, { "path": "IAvnContextMenuClosingHandler.g.cs", @@ -203,7 +203,7 @@ }, { "path": "IAvnControl.g.cs", - "sha256": "e966ed1662a5864009f89e61b2cc83a47b0a08bdc31d6c4c6133d069c48f89c9" + "sha256": "6163875a62d0e969ff7f17675b69e8cfa4ed3777fe9ed467946206a0cc143f2b" }, { "path": "IAvnControlDoubleTappedHandler.g.cs", @@ -267,7 +267,7 @@ }, { "path": "IAvnDatePicker.g.cs", - "sha256": "ef435bbbb43d75d7731f29929894deb9c917924229a2f5f86ff170177b382297" + "sha256": "c47d22bd0e0ff087ce15750f7e8ac3e460db5c629b999ee919e713c1bf9016a4" }, { "path": "IAvnDatePickerSelectedDateChangedHandler.g.cs", @@ -279,11 +279,11 @@ }, { "path": "IAvnDecorator.g.cs", - "sha256": "1fbe8bc5c915b3b89aeef8e6c51e02354785ca9e8fe2a5349c1bc25314683d70" + "sha256": "b2d7ad554e5e4a3fe74febfc2eccc0401b12f39377710a6e324dbf4ad40af528" }, { "path": "IAvnDockPanel.g.cs", - "sha256": "30b97d9d62fd07931f3d5cee8e1ae318eac51572c4de0df4a481fcff108ccd5f" + "sha256": "4bda4dd0781bed694440963cc6daf25c7810ab6a749ea8376977c78e456b56f0" }, { "path": "IAvnDockPanelStatics.g.cs", @@ -291,15 +291,15 @@ }, { "path": "IAvnDropDownButton.g.cs", - "sha256": "eb935c724caeac2266e279cea4fc77e37cbb0b56449f1c1efb1da70fc975db72" + "sha256": "4c407ebc8096c3abd9dc200902d0e435c15f8375d52646b61755d7ee22dd1b2f" }, { "path": "IAvnEllipse.g.cs", - "sha256": "c5816cbc997a85df54a11eaf8ab40913883419ebe3ab96cc206b2f7741d6206f" + "sha256": "dbf48e8c902e8eda288915f32d0725059b9e615e999dd1cfbf42674c389a4f23" }, { "path": "IAvnExpander.g.cs", - "sha256": "7413f6b640f65ef29c16d28d23f66ae1708ae484e4906a660e86a8352871ac78" + "sha256": "7a44a474807c06794ff6163a0e348ac30df51b8f6eb3062ed7cfb2ed34a65a1f" }, { "path": "IAvnExpanderCollapsedHandler.g.cs", @@ -319,7 +319,7 @@ }, { "path": "IAvnFlexPanel.g.cs", - "sha256": "18e7f60d925a9ba10b81892a9f4b67090786df558eb770cbf422b1aff11d1e45" + "sha256": "7fe2f232e2320b1f1a8a5905fc749b902963b5a31e6a176c4376e9021a26469e" }, { "path": "IAvnFlyout.g.cs", @@ -339,11 +339,11 @@ }, { "path": "IAvnGrid.g.cs", - "sha256": "d31d0ec5c5af40b9bc3bf1229b02c630e99f6f31c74b2631063eb39f7a74f0fc" + "sha256": "7454a3819c730c3ce65e84e0c923321d052bdc231f8aabb178df4b522e4db447" }, { "path": "IAvnGridSplitter.g.cs", - "sha256": "3c3b6eb659edb52978aebef5a55ac7d93439bba687e23481876c54dc2ac2868e" + "sha256": "5e6334c8f2a7d6a7775b3ad3221780e061722c27ff7ad43dd1d555377e1cb113" }, { "path": "IAvnGridStatics.g.cs", @@ -351,31 +351,31 @@ }, { "path": "IAvnGroupBox.g.cs", - "sha256": "06b2c600bd39b228ae40d64414f69eaf16276ead9cc8f67a143d31da36f0cbc2" + "sha256": "012d9f818c079bac409b8f8519ea5a80be7cee39203bda026db438dbfc0b9e78" }, { "path": "IAvnHeaderedContentControl.g.cs", - "sha256": "2acb7dbccae029b70a87ccc6b9dd28a1b139dd443071c901b72b982af7eb4c29" + "sha256": "27ebce6e0bdf190e7ef92b71b5d7805ea93cc67acde7b95c71dcb3b29de0d716" }, { "path": "IAvnHeaderedItemsControl.g.cs", - "sha256": "5818ee1eb926244dda30807062286e0f93ecd60a2817f14c625ed6d63a0fd28b" + "sha256": "fc1889a6dffdbc040c6c6fd829c8da548999dcc015fcc8b807b8dcadf7052928" }, { "path": "IAvnHeaderedSelectingItemsControl.g.cs", - "sha256": "5d3c5f77afde6d2228f44a7297b4d200850764146bf9e8d057755bad00d3eb40" + "sha256": "19fdb41e38293a3058e8862d099c3ebe68ca2d9d418a83d4d2feb52a5e77baaa" }, { "path": "IAvnHyperlinkButton.g.cs", - "sha256": "d2aa077ceed817f8721f0b67df7e0dcd69e657b1f482a4faebf09ce28b1abcc7" + "sha256": "4f6a3119695361f09b85c81a7c9ffb79b0b0efec9737f37cc6e7f173429c0c7e" }, { "path": "IAvnIconElement.g.cs", - "sha256": "ce174630bb8f8cbc6a956be4f7c3154f452702ac07a432d2d61a116724c8e2d6" + "sha256": "d20c6c74f37643822d0e9166822c580191299c2e841c56f0531bfe584411a9d4" }, { "path": "IAvnImage.g.cs", - "sha256": "851bc80e9eca2f3ceab53976c3415f1b80f91a47b9c7f4fa40273a462b5e1348" + "sha256": "1224a47af364f1ae4d6aa9ac18e0b1b269d877c8e66fe1cfc7f3a4b16a4fa638" }, { "path": "IAvnItemList.g.cs", @@ -383,39 +383,39 @@ }, { "path": "IAvnItemsControl.g.cs", - "sha256": "aa723338af9bf331b79097ed4dbac1e0944332389b7b7229b0d39b8c32d68ac4" + "sha256": "0975455292c73f892f3ae86ffeebc5655e7c61d9c5338eb699cba2fb3303871e" }, { "path": "IAvnLabel.g.cs", - "sha256": "3466197f82acc8cdaa7992dfa9f1df42568089f676756d530db00fd9ad6dd095" + "sha256": "27606811481f29c5636b6871a80c6aa1b9f8ba854f015f17e76f06fdd82a295b" }, { "path": "IAvnLayoutTransformControl.g.cs", - "sha256": "3caad460f8b12da1e67b31719aa67199939ef305f7aac2fca83e36cd7a306ed1" + "sha256": "24aaa408e170e399306d61f2a4f4fe7d3e3aceff8c726ade8a7e9f2b321ae5ed" }, { "path": "IAvnLine.g.cs", - "sha256": "3f506144cf7cfe2deb4bea64010978af268083dcc5f8dcbd0a6e8544e61e5be4" + "sha256": "2325afd9e580e3744291543343c990b2a172341bb54fc86ca493fa2dae96d2bf" }, { "path": "IAvnListBox.g.cs", - "sha256": "4db73e83807d8fac2f931a54536e6977402b8f1f766e6b93c7bed74fe637d740" + "sha256": "922ec3f6ac3eb868b7c52fe9458b72540e00e4ef514c086747ac1363063da931" }, { "path": "IAvnListBoxItem.g.cs", - "sha256": "351b5e42a890c4096a7e497bcfa6d485f7f3e540ccce9459a381f69f85e46466" + "sha256": "29110579bfbf27364f43175fe4334b490e2de1da0cd69f993c1a7d5eb8234940" }, { "path": "IAvnMaskedTextBox.g.cs", - "sha256": "b1c63e850e630d1400c4bc671afc7ba6686d177553978784fdc395975b9dc18f" + "sha256": "49afca44798be6ef527ba0602f81022cc38a96f939e660c206eefa3eb586783f" }, { "path": "IAvnMenu.g.cs", - "sha256": "76c655d5ec30b85ac45dfb39548b4ad0c2e7f26ad762bf47f6ba93bc943f97b4" + "sha256": "8976fec9cea9f37bd1a9e2db6dad4a1e211f05a5712bf1d777eb494e746f2216" }, { "path": "IAvnMenuBase.g.cs", - "sha256": "b47b3bd7c6c9f8059662ad1dea257854559327774c4a8d16768ea225cd3074cc" + "sha256": "71293d935e47aa3f91421740fc20f740296594bb881c28ac8466b6594f34730e" }, { "path": "IAvnMenuBaseClosedHandler.g.cs", @@ -431,7 +431,7 @@ }, { "path": "IAvnMenuItem.g.cs", - "sha256": "3c3fc9bb507c92a1f0f003387eca278f498cf2936efc8d588ec352b872b3f4af" + "sha256": "54d95d620186fb51820d1acc5fea022a2be4d11f935440e1d192f8e95a3dcef1" }, { "path": "IAvnMenuItemClickHandler.g.cs", @@ -447,7 +447,7 @@ }, { "path": "IAvnNotificationCard.g.cs", - "sha256": "530e4c5f4d35cff7ec89b9b180d43612ff9fcd15df66ed22d853a3b484a16403" + "sha256": "7bfe0f57efb3faf751eaab55b65fe92d36a2d1c933c9b8f5e24779646246705d" }, { "path": "IAvnNotificationCardNotificationClosedHandler.g.cs", @@ -455,7 +455,7 @@ }, { "path": "IAvnNumericUpDown.g.cs", - "sha256": "14e8e08bf87fa2710d9529b2baa68dd77e126d2dba46718b0a0c5164094afb66" + "sha256": "b9eb8d91a93969af7323473d7e24ca2b965582f63f11b46026f0f6e71e1e320f" }, { "path": "IAvnNumericUpDownSpinnedHandler.g.cs", @@ -467,19 +467,19 @@ }, { "path": "IAvnPanel.g.cs", - "sha256": "cdaf43072f7e10b42187105d53adeec2deff102dd211cc8713eee1cd82e8f85b" + "sha256": "23f271f40ed2b48be39b922df0b6f3513fd6bbc36550d90529051c7f0d9e41ce" }, { "path": "IAvnPath.g.cs", - "sha256": "b590472bc88323f22d45928e030e028b1de04e9ea52534f789005cfd9582e5a4" + "sha256": "fc235b9360a7329a30e6f685faa667e508e343f54939e6cdfd21020f2f0af26b" }, { "path": "IAvnPathIcon.g.cs", - "sha256": "e119f90b4228a80f92db9d5f91a59119692eadb0c671d45992f6d364faca22d5" + "sha256": "90d16b24aa62c71045d21481e1ffe3b4e7ff65f3d923fc8b7a44f4aade9d79b3" }, { "path": "IAvnPipsPager.g.cs", - "sha256": "5149a676817b9295bb8a99c2ec1e5790b3ee9fd1c3c8782f823fbc38843cd285" + "sha256": "96f751be02d3cb9b995a7201e8433fc36343a745e1d2c0bb66a24c8a26ff04d8" }, { "path": "IAvnPipsPagerSelectedIndexChangedHandler.g.cs", @@ -487,15 +487,15 @@ }, { "path": "IAvnPolygon.g.cs", - "sha256": "ce891aa81bdb20131f66af4f78426a2ab0569dab5fcee76ca7be2153cf8bca66" + "sha256": "5937a73857c8a024e1857c0345ad4390a5bbc8b8fa1545f68ab1598c0b941ee8" }, { "path": "IAvnPolyline.g.cs", - "sha256": "5d427ca8b22bb75339ce957c4b1e5c7a962cbe47b4de7a54e569b6ba89e84d18" + "sha256": "edfcfc9b9eaea88a6fc5deea161f5fcf1232f8a62343a2601395ddc43621fa37" }, { "path": "IAvnPopup.g.cs", - "sha256": "14af50db10a6b612c4cdd7c18e7bdf2b3783dd3311b9eeb6d707139dfef5a180" + "sha256": "f78224f32e4710af43cc8f67fdaec0dab5973c638511757a0bfddfc1be0288e7" }, { "path": "IAvnPopupClosedHandler.g.cs", @@ -519,15 +519,15 @@ }, { "path": "IAvnProgressBar.g.cs", - "sha256": "afb9e9b99a2703b3bd4f567ebbcb6f6f22a72da54f7890f1b9a3c231811409e0" + "sha256": "53fd7d42021c311ef40fa06c43ac5039d7b9213d646b523b6fc0a815b2b0f1da" }, { "path": "IAvnRadioButton.g.cs", - "sha256": "70e42d8168ec2df9420973cf8f2ebd3a93faa969ca90229467a4a02003cbabce" + "sha256": "0ca82f80529567ee5a431b382007eb442fa6b3396a4f752a1bc8ccb6d4ed4f17" }, { "path": "IAvnRangeBase.g.cs", - "sha256": "9fa2bbd184333da4d978a3891e93caf8cbba7edb5870fa437fe93d4150361f61" + "sha256": "a7a3065b908d47d94ee4b80ded9fc25dc3a23d86ec698d613192768c822b0a86" }, { "path": "IAvnRangeBaseValueChangedHandler.g.cs", @@ -535,11 +535,11 @@ }, { "path": "IAvnRectangle.g.cs", - "sha256": "38bbba63f34c83d92e088d68a1859ccfe468e12397ad211dcf5b8fd71271f167" + "sha256": "f418a458349ec6d2b9c09bea6011c8d7f1c2919331518ad4e327b59303d101de" }, { "path": "IAvnRefreshContainer.g.cs", - "sha256": "826a55e8c64e552e0229f4a968c3c56ad1543995495cc35d22c6f8d016d2b701" + "sha256": "67a46c1cba92690fd2d49ac4f45abf514dbaf57c3861e8a4cc87e59284aa82e7" }, { "path": "IAvnRefreshContainerRefreshRequestedHandler.g.cs", @@ -547,7 +547,7 @@ }, { "path": "IAvnRelativePanel.g.cs", - "sha256": "aedc6b17a2501bdbbe20b7eff386d5db0c0a3de79d24e86fd635a00a0e87282d" + "sha256": "a865c89796e6ad943f0dfd8fc6db716daa6af4d4b2699bd05fdfb7ab115855e3" }, { "path": "IAvnRelativePanelStatics.g.cs", @@ -555,11 +555,11 @@ }, { "path": "IAvnRepeatButton.g.cs", - "sha256": "6ae1b2f4fc8552080c7701240700e0714d173664ebcc36b1fc1db6e1743e6a8d" + "sha256": "0e6b71ccb689f728dce351520514b41434c62e925df6338be56196156139d50f" }, { "path": "IAvnScrollViewer.g.cs", - "sha256": "c6731f08d082232d8e63cad08e39e3d58e87011d3d1e518ece1e1791eb3ae0a4" + "sha256": "3d14db2c119c494fb8731e439f83cae3d76f249d7b218480a741f529c05c4537" }, { "path": "IAvnScrollViewerScrollChangedHandler.g.cs", @@ -567,11 +567,11 @@ }, { "path": "IAvnSector.g.cs", - "sha256": "032999ec0e1e8eacf5653f8d359502e3e0e23e82ffe73b9ce4270b5af9a5d409" + "sha256": "ed43a68670b29d34842d7cdb946e39df8e58c7b9d3a33dd65757c5286229bdad" }, { "path": "IAvnSelectableTextBlock.g.cs", - "sha256": "f0836499f750580cbc3f160d84b268e7f09d7fb6f225d64a951233f9666a2425" + "sha256": "fe23a1791ce3e725b5dbc28b4f91f432bff3a5349de5ca585848ea64393e22da" }, { "path": "IAvnSelectableTextBlockCopyingToClipboardHandler.g.cs", @@ -583,7 +583,7 @@ }, { "path": "IAvnSelectingItemsControl.g.cs", - "sha256": "79c9c1469a8732899320a3d3d20f06813f0a23198264758ad0c05a33f9b01f4e" + "sha256": "a4a0e86f83dba5828a22dc0732a786bd29bf1151b01ff3e05e082adf4df66b16" }, { "path": "IAvnSelectingItemsControlSelectionChangedHandler.g.cs", @@ -591,19 +591,19 @@ }, { "path": "IAvnSeparator.g.cs", - "sha256": "2032d4d11fec8442f1173f63722b8bf316891bedb80643313a856a62d4142a46" + "sha256": "88bb1b9bc22a7ffd6488aa32a5dec48c9d92a15d93ac0042323464a74c4b5699" }, { "path": "IAvnShape.g.cs", - "sha256": "e442ba772fae1bd6c5f3c4e049eab69b931fadfc575dcb817dd38067c4d05bfb" + "sha256": "7d5c3f6893e2fc53ac11f6b89ae3bd098e3156c9d1ebb125b3f5265e69c8d8a6" }, { "path": "IAvnSlider.g.cs", - "sha256": "2d79c718f0b6e2f45ea42dffde901140659133ec7df1bb32ac0e0f1a86f19971" + "sha256": "011cc94cf97a5d987e82c0a5d0a0402bacc0fa1cdb13a6c9e7c309214ef69cf3" }, { "path": "IAvnSpinner.g.cs", - "sha256": "8377b341f67fd827683364a72f331fca3bdf483bc864d7541aed41ae608af71a" + "sha256": "7a5976ad4798646874bfd5c7a9efb167f79646301c08a1ca352b41d02bbfd6d6" }, { "path": "IAvnSpinnerSpinHandler.g.cs", @@ -611,7 +611,7 @@ }, { "path": "IAvnSplitButton.g.cs", - "sha256": "ed9702e19f846c7a5a98036a8e50a61045d2bb3c76197549ff1fbacf7d109a82" + "sha256": "d44ed0ffb7a0f6d16fec418e62715f6fde6c5471768dac14ad79c44c8c9f08d2" }, { "path": "IAvnSplitButtonClickHandler.g.cs", @@ -619,7 +619,7 @@ }, { "path": "IAvnSplitView.g.cs", - "sha256": "e993a8d9a3286570fe82aabcb2f685cd886fb7d38c1b7abb7339722a9a649018" + "sha256": "8f36899220cf8440bb98bff13f55d34194e4814711da0b25781141b7dfc07801" }, { "path": "IAvnSplitViewPaneClosedHandler.g.cs", @@ -639,7 +639,7 @@ }, { "path": "IAvnStackPanel.g.cs", - "sha256": "72c653c6f592caac83bd978c2c4a623f2659e67436cdb129b05ddcc6d360a139" + "sha256": "5e04aab867a33da9770c8c922079a9795208c8983f08c43cfbb810f2ce29a56e" }, { "path": "IAvnStringList.g.cs", @@ -675,19 +675,19 @@ }, { "path": "IAvnTabControl.g.cs", - "sha256": "a0747482fc29d542d1c3bc404c17caf3bdc3173760bc48567b3ada3ed11b4705" + "sha256": "0579dacc0253cbcf140404782fe90ea7ef1d020ed5910efbbd9126366a87526d" }, { "path": "IAvnTabItem.g.cs", - "sha256": "23d0b3bcf2c855358147d74d3c3c0c3d824f32f64d0908065c7fa0e2c8e0c3de" + "sha256": "6c4052bcbae857dc875f4fbae638def215d96ed3b3d8df1eb13bd8cdc15bc9b0" }, { "path": "IAvnTableView.g.cs", - "sha256": "02affd7228efe042aad1f07caddb6365ffc893caaac4cedda379bb688a64cac2" + "sha256": "3fb60c1c96e940e291770f68f966f2d763e863d3df5a378df3ee136ec54a3e49" }, { "path": "IAvnTableViewCell.g.cs", - "sha256": "ebbaf2d989fdf18e134647ef6310e9dac84c3ab96de7232ced819d2a76983909" + "sha256": "f1dcc70e28d67011b1bd636888e61304b9d9f7da2f569d407a165cbe11e9e346" }, { "path": "IAvnTableViewColumn.g.cs", @@ -695,19 +695,19 @@ }, { "path": "IAvnTableViewRow.g.cs", - "sha256": "f61ab48c7a8a42ee1460de4404eb7408eaefc8c99176021718f6be53e3fb3b30" + "sha256": "bc72771e6a88c2ebcd9a8a36effcd0f2b1a12e613fbdcc00bc6f145633a48d43" }, { "path": "IAvnTemplatedControl.g.cs", - "sha256": "e6f9845d90ade71764dd591f101905c1e51bfc198ed8e11047af8cbe86790ce9" + "sha256": "25163bdcfa3e98ca3a61e7d10a9483c57521d6639d29b3904022d3078dd61d24" }, { "path": "IAvnTextBlock.g.cs", - "sha256": "b7bf490513603b3a609ea2829611c4ee616079c2e7bf31e57369223d3d634c36" + "sha256": "8b786ca8df751727ab64c4702cec0ce5aad200e14727046d39140d802406fe8f" }, { "path": "IAvnTextBox.g.cs", - "sha256": "994261279b1c866e278a2e61c241001bddb83f6d5a63afb33b56c4dcc7636b31" + "sha256": "6e45247b03594f39d816ffd23b80e1c5be30b18cf5a4336eef571dac4370186a" }, { "path": "IAvnTextBoxCopyingToClipboardHandler.g.cs", @@ -731,11 +731,11 @@ }, { "path": "IAvnThemeVariantScope.g.cs", - "sha256": "7576b71732f3fff420005753cd4b8007b6cf7f55207c70c1d68fc465ac921d08" + "sha256": "29fa26948c0501a53aa7b61e9cf792f15ce86814db984ffe9c18027288b8d57d" }, { "path": "IAvnThumb.g.cs", - "sha256": "7bf06f21c98b98302a8612059f3ab345112a131959d6c733f9bb1537b9085877" + "sha256": "6bdebdb9a78e38b3c72a569531e7bda268518c5f1aa416c2e59009ab6224b28e" }, { "path": "IAvnThumbDragCompletedHandler.g.cs", @@ -751,7 +751,7 @@ }, { "path": "IAvnTimePicker.g.cs", - "sha256": "b638d1734f2f606316167a28161e5b1557ebc247ac9055938cbfa686119f114a" + "sha256": "c2df238b0b786754d344930aa3c7206b0996ed7ca110ca47050aad738eec2e8d" }, { "path": "IAvnTimePickerSelectedTimeChangedHandler.g.cs", @@ -759,7 +759,7 @@ }, { "path": "IAvnToggleButton.g.cs", - "sha256": "392fcbc0ad4fb7647e22a81aef172c0c3d57972a97c6f4664574be8073ca0a4d" + "sha256": "05a4e0496706f032e15698ff35e7ba84ee4a86fc9887e479bea57fa3646ccf11" }, { "path": "IAvnToggleButtonIsCheckedChangedHandler.g.cs", @@ -767,7 +767,7 @@ }, { "path": "IAvnToggleSplitButton.g.cs", - "sha256": "3c54dfbdf81a96e514af7c12490804e0a6ae3a68d684b84fa9cbd7a2aeeff671" + "sha256": "9be104b557e92ea5af2a03690e4813363a71b3afed5883d889ea9e9bcc93a737" }, { "path": "IAvnToggleSplitButtonIsCheckedChangedHandler.g.cs", @@ -775,11 +775,11 @@ }, { "path": "IAvnToggleSwitch.g.cs", - "sha256": "e0723954a2700d0d8881c11dd7660941268621da6d7f6454d6dc9a78c207a0d7" + "sha256": "14d3d4d19e855bcd874192f1736ab104b195c4de677b596f6e959c474cd4b0b8" }, { "path": "IAvnToolTip.g.cs", - "sha256": "aad27b820e3cd8c3338697b76de8da6aad136aa71772ed74bc4a20727e430229" + "sha256": "4a499259a9c6054d75f1c777d302be1982e357a73f88cae5d2667d6a3b6fac89" }, { "path": "IAvnToolTipStatics.g.cs", @@ -787,7 +787,7 @@ }, { "path": "IAvnTransitioningContentControl.g.cs", - "sha256": "e65e2fa8565401a7d05d9e695d2a56923f8f52e341b93cd737e2909baaf0a346" + "sha256": "8c0446b5019c4b4e3f7c4fed39da553e7910208806e3d9eabdb705b3012076b4" }, { "path": "IAvnTransitioningContentControlTransitionCompletedHandler.g.cs", @@ -803,11 +803,11 @@ }, { "path": "IAvnTreeView.g.cs", - "sha256": "803b901021ffa4775394259c3797ff138e17c534dca4e3fee767ec76ba348723" + "sha256": "106fd13fbbeb42a06c3c9f6b17c14823658089d1bcfdbc1a395893ca47fc607a" }, { "path": "IAvnTreeViewItem.g.cs", - "sha256": "b304969befd2deb521893774cb0de4b23673e0ca5b9b99e374dd0ec4360a1764" + "sha256": "1a9a7ec479dd0bc186de56bcbd62d7606063efa7521d50010b33d71ae45f947d" }, { "path": "IAvnTreeViewItemCollapsedHandler.g.cs", @@ -823,11 +823,11 @@ }, { "path": "IAvnUniformGrid.g.cs", - "sha256": "d70ad15d41631f9f6f162746803ce77b6f0d97e6bbc4d660aa282d616d19b47a" + "sha256": "f026632e46c72f856075c50ad8ca5bae288dbf9022e6380c397a116ae4ba452f" }, { "path": "IAvnUserControl.g.cs", - "sha256": "f597ce354522e8f6f558fa8c2df97122915301a7b499ba5ba3ecafc238e1c0c3" + "sha256": "9a26c05cfb34644014a601f6a45c161025116868675eccdcc09a572a0eb2c3c1" }, { "path": "IAvnVariantList.g.cs", @@ -835,11 +835,11 @@ }, { "path": "IAvnViewbox.g.cs", - "sha256": "e69a16c0004d473936454584c884bb24861637502ef89840256182d76120185a" + "sha256": "0d9fe54d76a203a6399567f1264dffaf64e1c74af3d3d43cd7bac5930686ae54" }, { "path": "IAvnWindow.g.cs", - "sha256": "b48244373b15a622348979359f639640d1400276ca9bebbe2656f023cf627d35" + "sha256": "58fc4e7e8363d734b81f22fcec467782d09782b3949acb77f6f48202a962f46f" }, { "path": "IAvnWindowClosingHandler.g.cs", @@ -847,11 +847,11 @@ }, { "path": "IAvnWindowNotificationManager.g.cs", - "sha256": "ea3a229c8f32d9b706fd7338d85368278dff8794c44b74419a82f5dac2df5b63" + "sha256": "045ed08dfb347d9d10b4bb473ba2832ef9d0a99b87ee2f2e307c8e7a829885e6" }, { "path": "IAvnWrapPanel.g.cs", - "sha256": "eefe85243e35ad4e1a8b58f5e5a40f32207227966751e4bfce8aed0ff9725b77" + "sha256": "de88b27dc869fe6b6544fa236ffe2d0751c09559cd435537a9fc08c4756a6b77" }, { "path": "ProjectionAotRoots.g.cs", diff --git a/host/Generated/ObjectModel/IAvnArc.g.cs b/host/Generated/ObjectModel/IAvnArc.g.cs index 2faf442..076fe31 100644 --- a/host/Generated/ObjectModel/IAvnArc.g.cs +++ b/host/Generated/ObjectModel/IAvnArc.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("D707907F-AF00-561A-9374-03A90DF55B83")] +[Guid("2DACA1F8-5364-5CB5-B471-81682B00E389")] public partial interface IAvnArc : IAvnShape { [PreserveSig] @@ -971,6 +971,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1002,6 +1033,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnAutoCompleteBox.g.cs b/host/Generated/ObjectModel/IAvnAutoCompleteBox.g.cs index c1103da..734a172 100644 --- a/host/Generated/ObjectModel/IAvnAutoCompleteBox.g.cs +++ b/host/Generated/ObjectModel/IAvnAutoCompleteBox.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("26FFE15E-6149-5898-93EB-55909338DC9A")] +[Guid("6D1670C7-0D52-5BB1-8289-6C2617B74A6C")] public partial interface IAvnAutoCompleteBox : IAvnTemplatedControl { [PreserveSig] @@ -1161,6 +1161,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1192,6 +1223,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnBorder.g.cs b/host/Generated/ObjectModel/IAvnBorder.g.cs index 164befc..0162400 100644 --- a/host/Generated/ObjectModel/IAvnBorder.g.cs +++ b/host/Generated/ObjectModel/IAvnBorder.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("DF677487-F79D-50DF-A474-0AF69F6A6C5B")] +[Guid("430F4A36-8B46-5F3C-8E4D-BD11AA522969")] public partial interface IAvnBorder : IAvnDecorator { [PreserveSig] @@ -998,6 +998,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1029,6 +1060,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnButton.g.cs b/host/Generated/ObjectModel/IAvnButton.g.cs index 6c2fb05..43c1e7d 100644 --- a/host/Generated/ObjectModel/IAvnButton.g.cs +++ b/host/Generated/ObjectModel/IAvnButton.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("E66D2CD1-A3CD-538E-9607-B5E784669C89")] +[Guid("085861C8-F91D-5AFE-B57A-E601477FC2D2")] public partial interface IAvnButton : IAvnContentControl { [PreserveSig] @@ -1012,6 +1012,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1043,6 +1074,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnButtonSpinner.g.cs b/host/Generated/ObjectModel/IAvnButtonSpinner.g.cs index 99d6e78..1e9f75f 100644 --- a/host/Generated/ObjectModel/IAvnButtonSpinner.g.cs +++ b/host/Generated/ObjectModel/IAvnButtonSpinner.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("BD9E8536-AD5B-51C7-B3E0-2DB521852F7C")] +[Guid("907404D5-1DE4-574D-990E-2D8A79373D6D")] public partial interface IAvnButtonSpinner : IAvnSpinner { [PreserveSig] @@ -979,6 +979,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1010,6 +1041,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnCalendar.g.cs b/host/Generated/ObjectModel/IAvnCalendar.g.cs index bb2aa3b..8d71dae 100644 --- a/host/Generated/ObjectModel/IAvnCalendar.g.cs +++ b/host/Generated/ObjectModel/IAvnCalendar.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("9FF3FEBD-5CC5-5DB1-94DA-E03D3D41D947")] +[Guid("2ECA7A03-1AA5-5FC5-B1CC-7ECDDCF200D1")] public partial interface IAvnCalendar : IAvnTemplatedControl { [PreserveSig] @@ -1061,6 +1061,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1092,6 +1123,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnCalendarDatePicker.g.cs b/host/Generated/ObjectModel/IAvnCalendarDatePicker.g.cs index 38eff66..7ad5467 100644 --- a/host/Generated/ObjectModel/IAvnCalendarDatePicker.g.cs +++ b/host/Generated/ObjectModel/IAvnCalendarDatePicker.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("57923347-6143-59E6-BAFC-C745A8982164")] +[Guid("3CB1E562-6FEB-5E8B-A79A-9C1B3DB4AE62")] public partial interface IAvnCalendarDatePicker : IAvnTemplatedControl { [PreserveSig] @@ -1099,6 +1099,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1130,6 +1161,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnCanvas.g.cs b/host/Generated/ObjectModel/IAvnCanvas.g.cs index 80c5eec..0650c2f 100644 --- a/host/Generated/ObjectModel/IAvnCanvas.g.cs +++ b/host/Generated/ObjectModel/IAvnCanvas.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("C16EF1BD-5F4F-5C2C-A3EA-508C4B05BA3C")] +[Guid("DB97347A-FE7E-5006-93B7-E4B555A261A9")] public partial interface IAvnCanvas : IAvnPanel { } @@ -959,6 +959,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -990,6 +1021,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnCarousel.g.cs b/host/Generated/ObjectModel/IAvnCarousel.g.cs index a827f5c..e3d3365 100644 --- a/host/Generated/ObjectModel/IAvnCarousel.g.cs +++ b/host/Generated/ObjectModel/IAvnCarousel.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("78C353C4-749B-55FC-A9EF-66608155B0DB")] +[Guid("062C586F-DB97-53CF-8DC3-A2F159E0BD23")] public partial interface IAvnCarousel : IAvnSelectingItemsControl { [PreserveSig] @@ -982,6 +982,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1013,6 +1044,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnCheckBox.g.cs b/host/Generated/ObjectModel/IAvnCheckBox.g.cs index 7b5b94f..a5eb910 100644 --- a/host/Generated/ObjectModel/IAvnCheckBox.g.cs +++ b/host/Generated/ObjectModel/IAvnCheckBox.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("C4E191D8-29FB-5623-AF97-E3AAD950E27B")] +[Guid("7A084E79-BA86-55BF-A9E8-E7786F3D4242")] public partial interface IAvnCheckBox : IAvnToggleButton { } @@ -963,6 +963,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -994,6 +1025,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnComboBox.g.cs b/host/Generated/ObjectModel/IAvnComboBox.g.cs index 72f9a6f..7c27da8 100644 --- a/host/Generated/ObjectModel/IAvnComboBox.g.cs +++ b/host/Generated/ObjectModel/IAvnComboBox.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("EEBBD41C-3704-5BC1-BB31-E87EF407CB79")] +[Guid("1DA7FC0F-6D3F-5669-8644-030686AD4FD3")] public partial interface IAvnComboBox : IAvnSelectingItemsControl { [PreserveSig] @@ -1025,6 +1025,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1056,6 +1087,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnComboBoxItem.g.cs b/host/Generated/ObjectModel/IAvnComboBoxItem.g.cs index af197d4..63da94c 100644 --- a/host/Generated/ObjectModel/IAvnComboBoxItem.g.cs +++ b/host/Generated/ObjectModel/IAvnComboBoxItem.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("66D70CA8-4E9B-5BD6-9583-82595161CB34")] +[Guid("2D2F584F-6CD6-59C9-B536-463E6CC21B72")] public partial interface IAvnComboBoxItem : IAvnListBoxItem { } @@ -959,6 +959,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -990,6 +1021,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnCommandBar.g.cs b/host/Generated/ObjectModel/IAvnCommandBar.g.cs index 9ad9a49..9ffeb38 100644 --- a/host/Generated/ObjectModel/IAvnCommandBar.g.cs +++ b/host/Generated/ObjectModel/IAvnCommandBar.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("180E1033-DD01-5433-A491-B2049D719449")] +[Guid("19280D2B-7145-59DC-AD55-557541EC0147")] public partial interface IAvnCommandBar : IAvnTemplatedControl { [PreserveSig] @@ -1069,6 +1069,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1100,6 +1131,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnCommandBarButton.g.cs b/host/Generated/ObjectModel/IAvnCommandBarButton.g.cs index d148e4a..5bdb58f 100644 --- a/host/Generated/ObjectModel/IAvnCommandBarButton.g.cs +++ b/host/Generated/ObjectModel/IAvnCommandBarButton.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("259356D2-8840-5531-9427-7FD0B9707AC7")] +[Guid("45F67F66-ADC9-5D8D-9D41-8749F537025E")] public partial interface IAvnCommandBarButton : IAvnButton { [PreserveSig] @@ -997,6 +997,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1028,6 +1059,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnCommandBarSeparator.g.cs b/host/Generated/ObjectModel/IAvnCommandBarSeparator.g.cs index 1be8e4d..b8baf91 100644 --- a/host/Generated/ObjectModel/IAvnCommandBarSeparator.g.cs +++ b/host/Generated/ObjectModel/IAvnCommandBarSeparator.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("3438DF70-F2D1-5474-A288-D97CCEACC9F9")] +[Guid("7A5D6F68-43D8-5F3C-B7A3-09C4440A3EF7")] public partial interface IAvnCommandBarSeparator : IAvnSeparator { [PreserveSig] @@ -971,6 +971,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1002,6 +1033,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnCommandBarToggleButton.g.cs b/host/Generated/ObjectModel/IAvnCommandBarToggleButton.g.cs index 8d53fd4..4eca4d8 100644 --- a/host/Generated/ObjectModel/IAvnCommandBarToggleButton.g.cs +++ b/host/Generated/ObjectModel/IAvnCommandBarToggleButton.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("97BD5478-2731-5994-9427-4A6ECB9EE04B")] +[Guid("3E3D29A6-520A-5B09-81E3-6395784D2C55")] public partial interface IAvnCommandBarToggleButton : IAvnToggleButton { [PreserveSig] @@ -999,6 +999,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1030,6 +1061,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnContentControl.g.cs b/host/Generated/ObjectModel/IAvnContentControl.g.cs index 18f63f4..ccb0fee 100644 --- a/host/Generated/ObjectModel/IAvnContentControl.g.cs +++ b/host/Generated/ObjectModel/IAvnContentControl.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("611A61DE-9AD0-5456-979A-EE525E5132CE")] +[Guid("7312A513-1E46-5A98-9507-851220C7A465")] public partial interface IAvnContentControl : IAvnTemplatedControl { [PreserveSig] @@ -983,6 +983,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1014,6 +1045,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnContextMenu.g.cs b/host/Generated/ObjectModel/IAvnContextMenu.g.cs index d9ceb59..c93c83b 100644 --- a/host/Generated/ObjectModel/IAvnContextMenu.g.cs +++ b/host/Generated/ObjectModel/IAvnContextMenu.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("F63FBE8E-277B-531C-B3F5-E9A2CCEF11A8")] +[Guid("58A98293-5AA3-59E4-AB2B-CE021C5A5CCA")] public partial interface IAvnContextMenu : IAvnMenuBase { [PreserveSig] @@ -1044,6 +1044,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1075,6 +1106,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnControl.g.cs b/host/Generated/ObjectModel/IAvnControl.g.cs index c2338bb..599d434 100644 --- a/host/Generated/ObjectModel/IAvnControl.g.cs +++ b/host/Generated/ObjectModel/IAvnControl.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("E2F44292-89FA-5AFA-9294-FF2F26DB68CE")] +[Guid("8B272500-09E4-535F-ABF1-14992E90E778")] public partial interface IAvnControl : IAvnStyledElement { [PreserveSig] @@ -97,12 +97,21 @@ public partial interface IAvnControl : IAvnStyledElement [PreserveSig] int SetVerticalAlignment(int value); + [PreserveSig] + int GetFocusable(out int value); + + [PreserveSig] + int SetFocusable(int value); + [PreserveSig] int GetIsEnabled(out int value); [PreserveSig] int SetIsEnabled(int value); + [PreserveSig] + int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value); + [PreserveSig] int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId); @@ -1124,6 +1133,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1155,6 +1195,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnDatePicker.g.cs b/host/Generated/ObjectModel/IAvnDatePicker.g.cs index c760262..5ce85ea 100644 --- a/host/Generated/ObjectModel/IAvnDatePicker.g.cs +++ b/host/Generated/ObjectModel/IAvnDatePicker.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("DF809CB0-67FA-58E8-920C-1B9574A7B369")] +[Guid("2AAFC151-688F-5326-B651-D022BD55487D")] public partial interface IAvnDatePicker : IAvnTemplatedControl { [PreserveSig] @@ -1030,6 +1030,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1061,6 +1092,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnDecorator.g.cs b/host/Generated/ObjectModel/IAvnDecorator.g.cs index ada46d3..0ec5e16 100644 --- a/host/Generated/ObjectModel/IAvnDecorator.g.cs +++ b/host/Generated/ObjectModel/IAvnDecorator.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("C3E4D085-4977-566E-B843-75D86B43C2C9")] +[Guid("F8530439-ABA5-5B16-9C0B-2132D4EFD205")] public partial interface IAvnDecorator : IAvnControl { [PreserveSig] @@ -971,6 +971,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1002,6 +1033,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnDockPanel.g.cs b/host/Generated/ObjectModel/IAvnDockPanel.g.cs index c2a577d..a3ab645 100644 --- a/host/Generated/ObjectModel/IAvnDockPanel.g.cs +++ b/host/Generated/ObjectModel/IAvnDockPanel.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("8D7E3210-853F-5D42-AE5B-A5915BD53928")] +[Guid("63D1EF80-EEE5-50CA-B1A7-C6008560BFD3")] public partial interface IAvnDockPanel : IAvnPanel { [PreserveSig] @@ -977,6 +977,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1008,6 +1039,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnDropDownButton.g.cs b/host/Generated/ObjectModel/IAvnDropDownButton.g.cs index 6116251..33c0f21 100644 --- a/host/Generated/ObjectModel/IAvnDropDownButton.g.cs +++ b/host/Generated/ObjectModel/IAvnDropDownButton.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("BCBBD462-BE4D-517B-96B1-BDF762CA9B4B")] +[Guid("99F4E9B6-DAAC-55B1-AFDE-75D38A5C2491")] public partial interface IAvnDropDownButton : IAvnButton { } @@ -961,6 +961,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -992,6 +1023,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnEllipse.g.cs b/host/Generated/ObjectModel/IAvnEllipse.g.cs index dfa4228..20fc802 100644 --- a/host/Generated/ObjectModel/IAvnEllipse.g.cs +++ b/host/Generated/ObjectModel/IAvnEllipse.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("ECCCD4F8-7656-5346-B562-E826C27E039E")] +[Guid("71442BCB-5E0D-53BF-B4C8-4BE39A9E1910")] public partial interface IAvnEllipse : IAvnShape { } @@ -959,6 +959,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -990,6 +1021,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnExpander.g.cs b/host/Generated/ObjectModel/IAvnExpander.g.cs index e5374d7..616c3e2 100644 --- a/host/Generated/ObjectModel/IAvnExpander.g.cs +++ b/host/Generated/ObjectModel/IAvnExpander.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("DFCCCA83-1ADA-5620-8230-0C1D66507F12")] +[Guid("014D8342-03F6-590B-AFF5-A82C0EB376BB")] public partial interface IAvnExpander : IAvnHeaderedContentControl { [PreserveSig] @@ -1003,6 +1003,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1034,6 +1065,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnFlexPanel.g.cs b/host/Generated/ObjectModel/IAvnFlexPanel.g.cs index d88a319..24bdcdf 100644 --- a/host/Generated/ObjectModel/IAvnFlexPanel.g.cs +++ b/host/Generated/ObjectModel/IAvnFlexPanel.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("1CC87ECC-363C-5A07-9023-AEA80DBEF8B0")] +[Guid("82049C23-F315-5A82-86D9-845D8B82BA59")] public partial interface IAvnFlexPanel : IAvnPanel { [PreserveSig] @@ -1001,6 +1001,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1032,6 +1063,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnGrid.g.cs b/host/Generated/ObjectModel/IAvnGrid.g.cs index c7c1a5e..35ae2ea 100644 --- a/host/Generated/ObjectModel/IAvnGrid.g.cs +++ b/host/Generated/ObjectModel/IAvnGrid.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("887286EA-8097-52EB-9CEF-FA1DA7828D0F")] +[Guid("028C589C-2C52-5505-9CD2-36A25B4F43A6")] public partial interface IAvnGrid : IAvnPanel { [PreserveSig] @@ -989,6 +989,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1020,6 +1051,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnGridSplitter.g.cs b/host/Generated/ObjectModel/IAvnGridSplitter.g.cs index 44ef041..05896bf 100644 --- a/host/Generated/ObjectModel/IAvnGridSplitter.g.cs +++ b/host/Generated/ObjectModel/IAvnGridSplitter.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("9D81E579-275C-53A1-8C3B-91F10E2D8403")] +[Guid("135352FD-917A-577E-A428-D1B608274411")] public partial interface IAvnGridSplitter : IAvnThumb { [PreserveSig] @@ -995,6 +995,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1026,6 +1057,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnGroupBox.g.cs b/host/Generated/ObjectModel/IAvnGroupBox.g.cs index dc0d422..19d50bf 100644 --- a/host/Generated/ObjectModel/IAvnGroupBox.g.cs +++ b/host/Generated/ObjectModel/IAvnGroupBox.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("F8356E2B-46EA-58CC-8074-789BA42F0C79")] +[Guid("83F8FB71-5FB5-5C67-9EDA-9B1948172B9E")] public partial interface IAvnGroupBox : IAvnHeaderedContentControl { } @@ -959,6 +959,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -990,6 +1021,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnHeaderedContentControl.g.cs b/host/Generated/ObjectModel/IAvnHeaderedContentControl.g.cs index 1b7080b..8f4042a 100644 --- a/host/Generated/ObjectModel/IAvnHeaderedContentControl.g.cs +++ b/host/Generated/ObjectModel/IAvnHeaderedContentControl.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("D8948145-837B-5DC3-A685-14DF38167A93")] +[Guid("0408F0EA-5BA0-54C6-A8E6-979328FBE88C")] public partial interface IAvnHeaderedContentControl : IAvnContentControl { [PreserveSig] @@ -971,6 +971,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1002,6 +1033,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnHeaderedItemsControl.g.cs b/host/Generated/ObjectModel/IAvnHeaderedItemsControl.g.cs index 7e9b69c..03d63ff 100644 --- a/host/Generated/ObjectModel/IAvnHeaderedItemsControl.g.cs +++ b/host/Generated/ObjectModel/IAvnHeaderedItemsControl.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("D25B235E-D49F-55B2-ADF8-90A2BFCB96AB")] +[Guid("2E4EBFCB-EA24-5842-ABC1-0DC137ED31DA")] public partial interface IAvnHeaderedItemsControl : IAvnItemsControl { [PreserveSig] @@ -971,6 +971,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1002,6 +1033,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnHeaderedSelectingItemsControl.g.cs b/host/Generated/ObjectModel/IAvnHeaderedSelectingItemsControl.g.cs index 8c0ed1c..89a5a3f 100644 --- a/host/Generated/ObjectModel/IAvnHeaderedSelectingItemsControl.g.cs +++ b/host/Generated/ObjectModel/IAvnHeaderedSelectingItemsControl.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("BA5CD52E-ECDF-5379-AC86-5897FA853C60")] +[Guid("723DA9D6-8356-5967-83E1-0E0A4B1C1B2C")] public partial interface IAvnHeaderedSelectingItemsControl : IAvnSelectingItemsControl { [PreserveSig] @@ -973,6 +973,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1004,6 +1035,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnHyperlinkButton.g.cs b/host/Generated/ObjectModel/IAvnHyperlinkButton.g.cs index 5eb4737..d3d5b77 100644 --- a/host/Generated/ObjectModel/IAvnHyperlinkButton.g.cs +++ b/host/Generated/ObjectModel/IAvnHyperlinkButton.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("59F93515-012E-5F89-9998-87E5947034C1")] +[Guid("8130735B-8051-5246-9914-2489E9C8BEA6")] public partial interface IAvnHyperlinkButton : IAvnButton { [PreserveSig] @@ -973,6 +973,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1004,6 +1035,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnIconElement.g.cs b/host/Generated/ObjectModel/IAvnIconElement.g.cs index 3a82209..e1c16cf 100644 --- a/host/Generated/ObjectModel/IAvnIconElement.g.cs +++ b/host/Generated/ObjectModel/IAvnIconElement.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("21137537-05A7-5CD9-8FED-59DACA086407")] +[Guid("32A49476-DB0C-5038-B888-A66D122EC557")] public partial interface IAvnIconElement : IAvnTemplatedControl { } @@ -959,6 +959,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -990,6 +1021,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnImage.g.cs b/host/Generated/ObjectModel/IAvnImage.g.cs index 33c16fe..d6c49bc 100644 --- a/host/Generated/ObjectModel/IAvnImage.g.cs +++ b/host/Generated/ObjectModel/IAvnImage.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("9CBC9E3A-098A-51D7-9647-E20615058287")] +[Guid("3BE59E46-0ECC-595F-85C0-3CD46F76D9B7")] public partial interface IAvnImage : IAvnControl { [PreserveSig] @@ -983,6 +983,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1014,6 +1045,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnItemsControl.g.cs b/host/Generated/ObjectModel/IAvnItemsControl.g.cs index 6590fbf..87d8398 100644 --- a/host/Generated/ObjectModel/IAvnItemsControl.g.cs +++ b/host/Generated/ObjectModel/IAvnItemsControl.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("45705E13-A906-50E2-A0D8-DCC20585FDA6")] +[Guid("C6061984-593E-5875-8956-4B5C4B6D886C")] public partial interface IAvnItemsControl : IAvnTemplatedControl { [PreserveSig] @@ -995,6 +995,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1026,6 +1057,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnLabel.g.cs b/host/Generated/ObjectModel/IAvnLabel.g.cs index 21842b7..78815d9 100644 --- a/host/Generated/ObjectModel/IAvnLabel.g.cs +++ b/host/Generated/ObjectModel/IAvnLabel.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("73C1CCE5-8DB6-5A69-B8FB-AC639528AE72")] +[Guid("C85D82E9-5381-5B73-BB11-C547CEFA8A19")] public partial interface IAvnLabel : IAvnContentControl { [PreserveSig] @@ -965,6 +965,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -996,6 +1027,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnLayoutTransformControl.g.cs b/host/Generated/ObjectModel/IAvnLayoutTransformControl.g.cs index 88a51ab..dcbc097 100644 --- a/host/Generated/ObjectModel/IAvnLayoutTransformControl.g.cs +++ b/host/Generated/ObjectModel/IAvnLayoutTransformControl.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("4CF77BF7-4ED9-59F6-98C0-AE9682B3ADFE")] +[Guid("D19B8CD6-21FB-5F7C-985B-A486532461A7")] public partial interface IAvnLayoutTransformControl : IAvnDecorator { [PreserveSig] @@ -965,6 +965,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -996,6 +1027,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnLine.g.cs b/host/Generated/ObjectModel/IAvnLine.g.cs index 9fcc92c..dc354a1 100644 --- a/host/Generated/ObjectModel/IAvnLine.g.cs +++ b/host/Generated/ObjectModel/IAvnLine.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("C3F76A13-4998-5B6B-AD06-EFB5E4B9EC61")] +[Guid("E432CA0E-417D-584A-A0AB-884ACB73A6F6")] public partial interface IAvnLine : IAvnShape { [PreserveSig] @@ -971,6 +971,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1002,6 +1033,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnListBox.g.cs b/host/Generated/ObjectModel/IAvnListBox.g.cs index 52c2a47..662645d 100644 --- a/host/Generated/ObjectModel/IAvnListBox.g.cs +++ b/host/Generated/ObjectModel/IAvnListBox.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("C45989AF-4038-524F-885B-E57185B22159")] +[Guid("FD704B9F-4E33-516E-B48D-B1DC9AA44DCA")] public partial interface IAvnListBox : IAvnSelectingItemsControl { [PreserveSig] @@ -973,6 +973,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1004,6 +1035,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnListBoxItem.g.cs b/host/Generated/ObjectModel/IAvnListBoxItem.g.cs index c86e3de..86552ce 100644 --- a/host/Generated/ObjectModel/IAvnListBoxItem.g.cs +++ b/host/Generated/ObjectModel/IAvnListBoxItem.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("D51DAD4D-C109-5ABD-84B4-F3C6007F6133")] +[Guid("D177A044-40A9-5BD2-B9D5-BC3B24F6F87E")] public partial interface IAvnListBoxItem : IAvnContentControl { [PreserveSig] @@ -965,6 +965,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -996,6 +1027,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnMaskedTextBox.g.cs b/host/Generated/ObjectModel/IAvnMaskedTextBox.g.cs index 41e0e8b..ed57911 100644 --- a/host/Generated/ObjectModel/IAvnMaskedTextBox.g.cs +++ b/host/Generated/ObjectModel/IAvnMaskedTextBox.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("ACF377B4-D865-5245-8CFE-AE0461EF95FB")] +[Guid("1C1A91B2-4417-5AB6-A25A-AF72F57B5640")] public partial interface IAvnMaskedTextBox : IAvnTextBox { [PreserveSig] @@ -1011,6 +1011,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1042,6 +1073,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnMenu.g.cs b/host/Generated/ObjectModel/IAvnMenu.g.cs index e39815d..2e65f10 100644 --- a/host/Generated/ObjectModel/IAvnMenu.g.cs +++ b/host/Generated/ObjectModel/IAvnMenu.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("71FC2F34-4C1D-591E-A567-AB3151C77785")] +[Guid("7494D34A-1A50-5EB7-8532-D5A9CA3992B5")] public partial interface IAvnMenu : IAvnMenuBase { } @@ -965,6 +965,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -996,6 +1027,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnMenuBase.g.cs b/host/Generated/ObjectModel/IAvnMenuBase.g.cs index 0fdeb1b..f9b7246 100644 --- a/host/Generated/ObjectModel/IAvnMenuBase.g.cs +++ b/host/Generated/ObjectModel/IAvnMenuBase.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("1E92B6FA-9790-5135-8AC6-A566A0EAD414")] +[Guid("A5A9B117-B812-50DC-BEAA-D81CDAE4070D")] public partial interface IAvnMenuBase : IAvnSelectingItemsControl { [PreserveSig] @@ -986,6 +986,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1017,6 +1048,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnMenuItem.g.cs b/host/Generated/ObjectModel/IAvnMenuItem.g.cs index 605f56f..c44d938 100644 --- a/host/Generated/ObjectModel/IAvnMenuItem.g.cs +++ b/host/Generated/ObjectModel/IAvnMenuItem.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("15CE4E5D-E0E7-5356-ACFF-D742B7280B97")] +[Guid("1863F45C-1039-5C4E-9668-433606E91AB9")] public partial interface IAvnMenuItem : IAvnHeaderedSelectingItemsControl { [PreserveSig] @@ -1055,6 +1055,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1086,6 +1117,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnNotificationCard.g.cs b/host/Generated/ObjectModel/IAvnNotificationCard.g.cs index af1386c..2a551f3 100644 --- a/host/Generated/ObjectModel/IAvnNotificationCard.g.cs +++ b/host/Generated/ObjectModel/IAvnNotificationCard.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("DB52E2D8-CC48-5F72-B220-52BDF16BC055")] +[Guid("9E79955D-2569-59C2-9A3A-25FE0AE56026")] public partial interface IAvnNotificationCard : IAvnContentControl { [PreserveSig] @@ -985,6 +985,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1016,6 +1047,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnNumericUpDown.g.cs b/host/Generated/ObjectModel/IAvnNumericUpDown.g.cs index 0404406..173d2a6 100644 --- a/host/Generated/ObjectModel/IAvnNumericUpDown.g.cs +++ b/host/Generated/ObjectModel/IAvnNumericUpDown.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("1082FB46-8635-515E-822C-12629B6D25F8")] +[Guid("5B2AA4AD-E367-58A1-99ED-8122D7C9B209")] public partial interface IAvnNumericUpDown : IAvnTemplatedControl { [PreserveSig] @@ -1083,6 +1083,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1114,6 +1145,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnPanel.g.cs b/host/Generated/ObjectModel/IAvnPanel.g.cs index a197906..a01651d 100644 --- a/host/Generated/ObjectModel/IAvnPanel.g.cs +++ b/host/Generated/ObjectModel/IAvnPanel.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("E6C6B17E-9747-5739-B255-52E737A7A2A2")] +[Guid("FE37643D-BDE5-511B-AB66-CB66B73F685F")] public partial interface IAvnPanel : IAvnControl { [PreserveSig] @@ -968,6 +968,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -999,6 +1030,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnPath.g.cs b/host/Generated/ObjectModel/IAvnPath.g.cs index b88cc46..4c7d09e 100644 --- a/host/Generated/ObjectModel/IAvnPath.g.cs +++ b/host/Generated/ObjectModel/IAvnPath.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("708CD7FD-817B-56CB-AE5C-C74F67CAD4F6")] +[Guid("E663EA07-D965-5E67-922A-CA932B4883EF")] public partial interface IAvnPath : IAvnShape { [PreserveSig] @@ -965,6 +965,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -996,6 +1027,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnPathIcon.g.cs b/host/Generated/ObjectModel/IAvnPathIcon.g.cs index c8a2cda..0cdc744 100644 --- a/host/Generated/ObjectModel/IAvnPathIcon.g.cs +++ b/host/Generated/ObjectModel/IAvnPathIcon.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("6D274452-1819-559D-BB43-52E68AB64E10")] +[Guid("9C821A9C-6A11-5E74-8D69-A637662CD292")] public partial interface IAvnPathIcon : IAvnIconElement { [PreserveSig] @@ -965,6 +965,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -996,6 +1027,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnPipsPager.g.cs b/host/Generated/ObjectModel/IAvnPipsPager.g.cs index a328077..86b4857 100644 --- a/host/Generated/ObjectModel/IAvnPipsPager.g.cs +++ b/host/Generated/ObjectModel/IAvnPipsPager.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("FBFAC5E1-FD39-56C8-8208-7C0E0AFA68CD")] +[Guid("B23699D7-ACE9-5D8F-85ED-216C49DEBE3E")] public partial interface IAvnPipsPager : IAvnTemplatedControl { [PreserveSig] @@ -1003,6 +1003,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1034,6 +1065,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnPolygon.g.cs b/host/Generated/ObjectModel/IAvnPolygon.g.cs index 720db37..533c2e7 100644 --- a/host/Generated/ObjectModel/IAvnPolygon.g.cs +++ b/host/Generated/ObjectModel/IAvnPolygon.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("4F93F9D8-08E6-56F7-A51B-073928795D7D")] +[Guid("0AAD3814-FD24-5051-AED3-FB090E1C0A3F")] public partial interface IAvnPolygon : IAvnShape { [PreserveSig] @@ -971,6 +971,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1002,6 +1033,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnPolyline.g.cs b/host/Generated/ObjectModel/IAvnPolyline.g.cs index b4cb827..f4e7cae 100644 --- a/host/Generated/ObjectModel/IAvnPolyline.g.cs +++ b/host/Generated/ObjectModel/IAvnPolyline.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("2DBA0D61-C35B-5D12-82A7-555EDA620BC5")] +[Guid("5CBDF633-9B36-5DDE-BFBE-48FD2FA54C99")] public partial interface IAvnPolyline : IAvnShape { [PreserveSig] @@ -971,6 +971,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1002,6 +1033,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnPopup.g.cs b/host/Generated/ObjectModel/IAvnPopup.g.cs index 7e861ab..2a6c945 100644 --- a/host/Generated/ObjectModel/IAvnPopup.g.cs +++ b/host/Generated/ObjectModel/IAvnPopup.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("30B75D6F-4E12-505C-8C73-E02A5FCDB356")] +[Guid("C8FAC379-F367-5D83-9ABF-46EF6FCB778B")] public partial interface IAvnPopup : IAvnControl { [PreserveSig] @@ -1101,6 +1101,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1132,6 +1163,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnProgressBar.g.cs b/host/Generated/ObjectModel/IAvnProgressBar.g.cs index 939d720..ace9742 100644 --- a/host/Generated/ObjectModel/IAvnProgressBar.g.cs +++ b/host/Generated/ObjectModel/IAvnProgressBar.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("5AD47222-012D-56C8-8459-42DD295B9DAF")] +[Guid("5B810486-98CC-51F9-8F12-46A095595BB4")] public partial interface IAvnProgressBar : IAvnRangeBase { [PreserveSig] @@ -988,6 +988,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1019,6 +1050,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnRadioButton.g.cs b/host/Generated/ObjectModel/IAvnRadioButton.g.cs index 5368d93..372a3f9 100644 --- a/host/Generated/ObjectModel/IAvnRadioButton.g.cs +++ b/host/Generated/ObjectModel/IAvnRadioButton.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("A2E6518A-5B2E-5424-84FE-CFA325D93288")] +[Guid("FBEA357A-8E1A-5579-A0CF-4FD48895DADB")] public partial interface IAvnRadioButton : IAvnToggleButton { [PreserveSig] @@ -969,6 +969,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1000,6 +1031,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnRangeBase.g.cs b/host/Generated/ObjectModel/IAvnRangeBase.g.cs index baf9eaa..3858417 100644 --- a/host/Generated/ObjectModel/IAvnRangeBase.g.cs +++ b/host/Generated/ObjectModel/IAvnRangeBase.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("D910F3E2-CD14-547A-8E8C-BFEC9F4C926F")] +[Guid("4B50BE51-3AF1-5ED3-B29F-61E8728F05C9")] public partial interface IAvnRangeBase : IAvnTemplatedControl { [PreserveSig] @@ -997,6 +997,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1028,6 +1059,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnRectangle.g.cs b/host/Generated/ObjectModel/IAvnRectangle.g.cs index 5ae41e1..b3ed02e 100644 --- a/host/Generated/ObjectModel/IAvnRectangle.g.cs +++ b/host/Generated/ObjectModel/IAvnRectangle.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("95D3D828-9CB6-536E-96D5-2D5D67C3463F")] +[Guid("18F60995-254F-5AC8-8101-5DF9A44EE488")] public partial interface IAvnRectangle : IAvnShape { [PreserveSig] @@ -971,6 +971,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1002,6 +1033,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnRefreshContainer.g.cs b/host/Generated/ObjectModel/IAvnRefreshContainer.g.cs index 5ebb12a..f74e681 100644 --- a/host/Generated/ObjectModel/IAvnRefreshContainer.g.cs +++ b/host/Generated/ObjectModel/IAvnRefreshContainer.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("95707491-9943-5B6C-BF2E-1A68A797A842")] +[Guid("8A61432D-C34F-51D2-8ACC-E36D3D639DC7")] public partial interface IAvnRefreshContainer : IAvnContentControl { [PreserveSig] @@ -982,6 +982,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1013,6 +1044,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnRelativePanel.g.cs b/host/Generated/ObjectModel/IAvnRelativePanel.g.cs index 99a9bbc..134e44f 100644 --- a/host/Generated/ObjectModel/IAvnRelativePanel.g.cs +++ b/host/Generated/ObjectModel/IAvnRelativePanel.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("A52468AD-E31F-58F2-8A74-1AB7E73D66E6")] +[Guid("65247A43-88C6-51B3-91A5-4DD646410156")] public partial interface IAvnRelativePanel : IAvnPanel { } @@ -959,6 +959,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -990,6 +1021,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnRepeatButton.g.cs b/host/Generated/ObjectModel/IAvnRepeatButton.g.cs index 3bc32ae..d2a16ca 100644 --- a/host/Generated/ObjectModel/IAvnRepeatButton.g.cs +++ b/host/Generated/ObjectModel/IAvnRepeatButton.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("DF355462-7926-5F77-B463-22B164C7A402")] +[Guid("4F04D781-4A77-5C93-812D-3D1DFC10627C")] public partial interface IAvnRepeatButton : IAvnButton { [PreserveSig] @@ -973,6 +973,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1004,6 +1035,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnScrollViewer.g.cs b/host/Generated/ObjectModel/IAvnScrollViewer.g.cs index 4622bcc..036571d 100644 --- a/host/Generated/ObjectModel/IAvnScrollViewer.g.cs +++ b/host/Generated/ObjectModel/IAvnScrollViewer.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("4CCB656E-34E8-5621-AF96-1C2AF4F1DAAE")] +[Guid("1D6C37FA-326B-57A1-A084-7790E0CE2973")] public partial interface IAvnScrollViewer : IAvnContentControl { [PreserveSig] @@ -1096,6 +1096,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1127,6 +1158,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnSector.g.cs b/host/Generated/ObjectModel/IAvnSector.g.cs index 8ed5c4a..2345c92 100644 --- a/host/Generated/ObjectModel/IAvnSector.g.cs +++ b/host/Generated/ObjectModel/IAvnSector.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("A6E3E187-67DD-5603-93D8-7431B6449CD7")] +[Guid("B5A66A03-1739-5B83-B5BB-748E76AF1B27")] public partial interface IAvnSector : IAvnShape { [PreserveSig] @@ -971,6 +971,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1002,6 +1033,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnSelectableTextBlock.g.cs b/host/Generated/ObjectModel/IAvnSelectableTextBlock.g.cs index b029aee..bc97f41 100644 --- a/host/Generated/ObjectModel/IAvnSelectableTextBlock.g.cs +++ b/host/Generated/ObjectModel/IAvnSelectableTextBlock.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("8E36E51E-30AC-563D-A2D7-79335F5FAD8C")] +[Guid("11DADAD8-19AB-5C0C-9614-00DD412570F8")] public partial interface IAvnSelectableTextBlock : IAvnTextBlock { [PreserveSig] @@ -1006,6 +1006,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1037,6 +1068,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnSelectingItemsControl.g.cs b/host/Generated/ObjectModel/IAvnSelectingItemsControl.g.cs index 7cc6b9e..831f62a 100644 --- a/host/Generated/ObjectModel/IAvnSelectingItemsControl.g.cs +++ b/host/Generated/ObjectModel/IAvnSelectingItemsControl.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("18B99B99-03A3-5C68-8471-D463C4ED1778")] +[Guid("BF3CA6E3-C054-5059-AFE7-20E38D9B9DE8")] public partial interface IAvnSelectingItemsControl : IAvnItemsControl { [PreserveSig] @@ -1003,6 +1003,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1034,6 +1065,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnSeparator.g.cs b/host/Generated/ObjectModel/IAvnSeparator.g.cs index a269d91..431233c 100644 --- a/host/Generated/ObjectModel/IAvnSeparator.g.cs +++ b/host/Generated/ObjectModel/IAvnSeparator.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("C97E1335-936C-5319-91B3-09E2E1607D5A")] +[Guid("81DB67FE-E07A-5DD4-B16C-1E099FC059FB")] public partial interface IAvnSeparator : IAvnTemplatedControl { } @@ -959,6 +959,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -990,6 +1021,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnShape.g.cs b/host/Generated/ObjectModel/IAvnShape.g.cs index 7fcc971..4bedb0a 100644 --- a/host/Generated/ObjectModel/IAvnShape.g.cs +++ b/host/Generated/ObjectModel/IAvnShape.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("8C49AE37-0535-5DEF-926C-D0D6857CC216")] +[Guid("9B09B01F-E387-5C6F-BB9B-605FC43BA233")] public partial interface IAvnShape : IAvnControl { [PreserveSig] @@ -1013,6 +1013,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1044,6 +1075,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnSlider.g.cs b/host/Generated/ObjectModel/IAvnSlider.g.cs index d2abde3..a180761 100644 --- a/host/Generated/ObjectModel/IAvnSlider.g.cs +++ b/host/Generated/ObjectModel/IAvnSlider.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("8F19D970-60A0-5AA7-A9CF-DF7882B11E7A")] +[Guid("87C098D1-E3D8-5297-8EFB-B039EF2C9CB5")] public partial interface IAvnSlider : IAvnRangeBase { [PreserveSig] @@ -997,6 +997,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1028,6 +1059,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnSpinner.g.cs b/host/Generated/ObjectModel/IAvnSpinner.g.cs index b98c820..775fea2 100644 --- a/host/Generated/ObjectModel/IAvnSpinner.g.cs +++ b/host/Generated/ObjectModel/IAvnSpinner.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("CF93246B-DA27-5FC8-8382-FE6000F83FA4")] +[Guid("B3D288E3-9138-530A-96BE-4B274DF115F2")] public partial interface IAvnSpinner : IAvnContentControl { [PreserveSig] @@ -973,6 +973,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1004,6 +1035,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnSplitButton.g.cs b/host/Generated/ObjectModel/IAvnSplitButton.g.cs index 3dc0a89..5ebc7e3 100644 --- a/host/Generated/ObjectModel/IAvnSplitButton.g.cs +++ b/host/Generated/ObjectModel/IAvnSplitButton.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("88415351-1718-57DE-98D6-5DEE1794029C")] +[Guid("E162F1F5-7BC8-59CB-82D6-9A2A47F68884")] public partial interface IAvnSplitButton : IAvnContentControl { [PreserveSig] @@ -991,6 +991,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1022,6 +1053,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnSplitView.g.cs b/host/Generated/ObjectModel/IAvnSplitView.g.cs index d7e2686..aab61ab 100644 --- a/host/Generated/ObjectModel/IAvnSplitView.g.cs +++ b/host/Generated/ObjectModel/IAvnSplitView.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("CF2AF228-F18D-57E1-B362-6A692FEB7AC4")] +[Guid("5AA9070F-D947-566B-931C-EF80550EE63E")] public partial interface IAvnSplitView : IAvnContentControl { [PreserveSig] @@ -1045,6 +1045,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1076,6 +1107,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnStackPanel.g.cs b/host/Generated/ObjectModel/IAvnStackPanel.g.cs index 611f54f..753ec64 100644 --- a/host/Generated/ObjectModel/IAvnStackPanel.g.cs +++ b/host/Generated/ObjectModel/IAvnStackPanel.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("41C138FB-C0C9-579F-A3B9-76080732A94C")] +[Guid("6CBE349A-E815-55A1-BBD8-B43951567DC1")] public partial interface IAvnStackPanel : IAvnPanel { [PreserveSig] @@ -983,6 +983,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1014,6 +1045,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnTabControl.g.cs b/host/Generated/ObjectModel/IAvnTabControl.g.cs index 285bd25..45455ca 100644 --- a/host/Generated/ObjectModel/IAvnTabControl.g.cs +++ b/host/Generated/ObjectModel/IAvnTabControl.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("27DF6FA4-888C-53C3-8612-186747FD07BF")] +[Guid("08959EF6-348B-51EC-8BE3-D3AE47B861BF")] public partial interface IAvnTabControl : IAvnSelectingItemsControl { [PreserveSig] @@ -997,6 +997,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1028,6 +1059,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnTabItem.g.cs b/host/Generated/ObjectModel/IAvnTabItem.g.cs index c462ab2..a9c03b8 100644 --- a/host/Generated/ObjectModel/IAvnTabItem.g.cs +++ b/host/Generated/ObjectModel/IAvnTabItem.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("DED2B477-BC45-5613-BA24-CDBAB635D785")] +[Guid("7FFA8FBC-579E-5152-A5D1-AFE128CCB470")] public partial interface IAvnTabItem : IAvnHeaderedContentControl { [PreserveSig] @@ -986,6 +986,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1017,6 +1048,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnTableView.g.cs b/host/Generated/ObjectModel/IAvnTableView.g.cs index 83fffc8..a9661e0 100644 --- a/host/Generated/ObjectModel/IAvnTableView.g.cs +++ b/host/Generated/ObjectModel/IAvnTableView.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("BA62A21B-C26D-587F-A41F-35E67E200B69")] +[Guid("8653BEA5-66FE-5479-87D0-45C9D8FDC7EC")] public partial interface IAvnTableView : IAvnListBox { [PreserveSig] @@ -973,6 +973,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1004,6 +1035,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnTableViewCell.g.cs b/host/Generated/ObjectModel/IAvnTableViewCell.g.cs index 4f15c4e..fb33503 100644 --- a/host/Generated/ObjectModel/IAvnTableViewCell.g.cs +++ b/host/Generated/ObjectModel/IAvnTableViewCell.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("2B1B1C38-97FD-59A3-8BCD-59ACBDC03368")] +[Guid("FB82C6E3-9041-5212-B897-E3DEC7EA6360")] public partial interface IAvnTableViewCell : IAvnContentControl { } @@ -959,6 +959,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -990,6 +1021,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnTableViewRow.g.cs b/host/Generated/ObjectModel/IAvnTableViewRow.g.cs index c7c1173..de5ab9d 100644 --- a/host/Generated/ObjectModel/IAvnTableViewRow.g.cs +++ b/host/Generated/ObjectModel/IAvnTableViewRow.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("8E3BA93D-D0BE-51D9-A007-2AF614AC6ADB")] +[Guid("25F888AF-361C-5B20-ACB7-CC9D1770D898")] public partial interface IAvnTableViewRow : IAvnListBoxItem { } @@ -959,6 +959,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -990,6 +1021,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnTemplatedControl.g.cs b/host/Generated/ObjectModel/IAvnTemplatedControl.g.cs index 11ef63d..c647619 100644 --- a/host/Generated/ObjectModel/IAvnTemplatedControl.g.cs +++ b/host/Generated/ObjectModel/IAvnTemplatedControl.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("6E80826C-F337-5A4D-A5BB-1C0DF436B6D0")] +[Guid("1863F34C-F21F-5977-A305-5939D80CB8C5")] public partial interface IAvnTemplatedControl : IAvnControl { [PreserveSig] @@ -1043,6 +1043,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1074,6 +1105,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnTextBlock.g.cs b/host/Generated/ObjectModel/IAvnTextBlock.g.cs index de65f09..c7c2a54 100644 --- a/host/Generated/ObjectModel/IAvnTextBlock.g.cs +++ b/host/Generated/ObjectModel/IAvnTextBlock.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("199AE412-EE08-5BDE-A498-66AE0231AA3F")] +[Guid("47E06BD1-10DC-5267-A55F-A5C3BB536285")] public partial interface IAvnTextBlock : IAvnControl { [PreserveSig] @@ -1067,6 +1067,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1098,6 +1129,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnTextBox.g.cs b/host/Generated/ObjectModel/IAvnTextBox.g.cs index 994fb6d..044a2e9 100644 --- a/host/Generated/ObjectModel/IAvnTextBox.g.cs +++ b/host/Generated/ObjectModel/IAvnTextBox.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("55D76247-3F6A-5F45-AC3C-33B34A38329A")] +[Guid("2CECBBEF-9113-5262-B44C-4CFD61373281")] public partial interface IAvnTextBox : IAvnTemplatedControl { [PreserveSig] @@ -1236,6 +1236,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1267,6 +1298,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnThemeVariantScope.g.cs b/host/Generated/ObjectModel/IAvnThemeVariantScope.g.cs index 227d0f0..ecec85c 100644 --- a/host/Generated/ObjectModel/IAvnThemeVariantScope.g.cs +++ b/host/Generated/ObjectModel/IAvnThemeVariantScope.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("FF6B43AB-B89D-5574-BBDE-9ACACD23DBA4")] +[Guid("0C7665EE-7E88-5B31-AA6C-0B7BE88EA14B")] public partial interface IAvnThemeVariantScope : IAvnDecorator { [PreserveSig] @@ -965,6 +965,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -996,6 +1027,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnThumb.g.cs b/host/Generated/ObjectModel/IAvnThumb.g.cs index bb85d28..aa25d64 100644 --- a/host/Generated/ObjectModel/IAvnThumb.g.cs +++ b/host/Generated/ObjectModel/IAvnThumb.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("A9A96FDF-BFCF-5E37-A11E-4B653CE36C00")] +[Guid("E465D453-88D0-5CD1-AF2C-389B5D80BE4D")] public partial interface IAvnThumb : IAvnTemplatedControl { [PreserveSig] @@ -983,6 +983,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1014,6 +1045,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnTimePicker.g.cs b/host/Generated/ObjectModel/IAvnTimePicker.g.cs index ed9ae30..9096145 100644 --- a/host/Generated/ObjectModel/IAvnTimePicker.g.cs +++ b/host/Generated/ObjectModel/IAvnTimePicker.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("5E7CE65A-FE53-551C-9F5A-2344EE09E002")] +[Guid("B5A38C06-2DB2-5199-83DC-05C28A15DA69")] public partial interface IAvnTimePicker : IAvnTemplatedControl { [PreserveSig] @@ -1006,6 +1006,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1037,6 +1068,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnToggleButton.g.cs b/host/Generated/ObjectModel/IAvnToggleButton.g.cs index 1489fe6..6f89e28 100644 --- a/host/Generated/ObjectModel/IAvnToggleButton.g.cs +++ b/host/Generated/ObjectModel/IAvnToggleButton.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("23A7F6FB-AFEF-5E4D-8A9A-94F4EFCF6B12")] +[Guid("AA447DC6-1470-599E-B0F5-27BF313DC7E7")] public partial interface IAvnToggleButton : IAvnButton { [PreserveSig] @@ -981,6 +981,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1012,6 +1043,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnToggleSplitButton.g.cs b/host/Generated/ObjectModel/IAvnToggleSplitButton.g.cs index 7633580..abe1771 100644 --- a/host/Generated/ObjectModel/IAvnToggleSplitButton.g.cs +++ b/host/Generated/ObjectModel/IAvnToggleSplitButton.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("0057E49B-BB54-516F-8FDA-B1E646A1C897")] +[Guid("A8024AE3-3329-57D6-AE6C-1E3BBAD7A7E6")] public partial interface IAvnToggleSplitButton : IAvnSplitButton { [PreserveSig] @@ -975,6 +975,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1006,6 +1037,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnToggleSwitch.g.cs b/host/Generated/ObjectModel/IAvnToggleSwitch.g.cs index 1e79777..5a6ed88 100644 --- a/host/Generated/ObjectModel/IAvnToggleSwitch.g.cs +++ b/host/Generated/ObjectModel/IAvnToggleSwitch.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("B022C6CE-8A5D-5700-B341-114A6A4FBCA0")] +[Guid("EB2E63C7-1C28-5754-B26B-64BC0C2641BF")] public partial interface IAvnToggleSwitch : IAvnToggleButton { [PreserveSig] @@ -987,6 +987,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1018,6 +1049,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnToolTip.g.cs b/host/Generated/ObjectModel/IAvnToolTip.g.cs index d7421a8..e5716a9 100644 --- a/host/Generated/ObjectModel/IAvnToolTip.g.cs +++ b/host/Generated/ObjectModel/IAvnToolTip.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("2B78EA6B-FE62-5508-AB5F-586C3523C5A1")] +[Guid("04F8776B-9CD2-58D3-9004-AA6B0C12E902")] public partial interface IAvnToolTip : IAvnContentControl { } @@ -959,6 +959,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -990,6 +1021,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnTransitioningContentControl.g.cs b/host/Generated/ObjectModel/IAvnTransitioningContentControl.g.cs index 07d48cc..d7c7adc 100644 --- a/host/Generated/ObjectModel/IAvnTransitioningContentControl.g.cs +++ b/host/Generated/ObjectModel/IAvnTransitioningContentControl.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("FD0EB25C-585B-5EDA-B1ED-F629A765B5A9")] +[Guid("2B88F131-4CA4-529F-AA60-ED2BE719BE10")] public partial interface IAvnTransitioningContentControl : IAvnContentControl { [PreserveSig] @@ -973,6 +973,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1004,6 +1035,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnTreeView.g.cs b/host/Generated/ObjectModel/IAvnTreeView.g.cs index b486703..b94deec 100644 --- a/host/Generated/ObjectModel/IAvnTreeView.g.cs +++ b/host/Generated/ObjectModel/IAvnTreeView.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("0B60003F-EC3F-5F72-9763-04C3C4FFE8DD")] +[Guid("51F6F3E1-06E8-563F-A834-CA7D3C751B4D")] public partial interface IAvnTreeView : IAvnItemsControl { [PreserveSig] @@ -1009,6 +1009,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1040,6 +1071,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnTreeViewItem.g.cs b/host/Generated/ObjectModel/IAvnTreeViewItem.g.cs index fc89e6b..02b9753 100644 --- a/host/Generated/ObjectModel/IAvnTreeViewItem.g.cs +++ b/host/Generated/ObjectModel/IAvnTreeViewItem.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("F173219D-C63C-5669-BE7D-98E98BF1C54B")] +[Guid("489990A9-1ED5-5772-AEE6-25C4E8B8612A")] public partial interface IAvnTreeViewItem : IAvnHeaderedItemsControl { [PreserveSig] @@ -990,6 +990,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1021,6 +1052,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnUniformGrid.g.cs b/host/Generated/ObjectModel/IAvnUniformGrid.g.cs index 6b1ae87..6f5c716 100644 --- a/host/Generated/ObjectModel/IAvnUniformGrid.g.cs +++ b/host/Generated/ObjectModel/IAvnUniformGrid.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("061A5BD1-9360-53D2-BEF6-7EB9ECAEA493")] +[Guid("8B8511AD-3289-5415-A03D-E0265549A876")] public partial interface IAvnUniformGrid : IAvnPanel { [PreserveSig] @@ -989,6 +989,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1020,6 +1051,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnUserControl.g.cs b/host/Generated/ObjectModel/IAvnUserControl.g.cs index 126fd4f..71abb76 100644 --- a/host/Generated/ObjectModel/IAvnUserControl.g.cs +++ b/host/Generated/ObjectModel/IAvnUserControl.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("0BFF79AB-0D63-5654-8F44-DBBDA630FA30")] +[Guid("0529D537-1B91-5234-8480-855B56086322")] public partial interface IAvnUserControl : IAvnContentControl { } @@ -959,6 +959,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -990,6 +1021,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnViewbox.g.cs b/host/Generated/ObjectModel/IAvnViewbox.g.cs index a0dafbf..b7452b9 100644 --- a/host/Generated/ObjectModel/IAvnViewbox.g.cs +++ b/host/Generated/ObjectModel/IAvnViewbox.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("159B2487-78B8-5C1A-932D-A67C6E2E7420")] +[Guid("EFA9084A-769B-55F4-8101-3B6D4CB524D7")] public partial interface IAvnViewbox : IAvnControl { [PreserveSig] @@ -977,6 +977,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1008,6 +1039,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnWindow.g.cs b/host/Generated/ObjectModel/IAvnWindow.g.cs index f25720a..162ead1 100644 --- a/host/Generated/ObjectModel/IAvnWindow.g.cs +++ b/host/Generated/ObjectModel/IAvnWindow.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("BF221569-8214-5478-9505-0B21A2663545")] +[Guid("9A01C107-BB12-5AFE-9DAA-C5AACEF2D879")] public partial interface IAvnWindow : IAvnContentControl { [PreserveSig] @@ -1084,6 +1084,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1115,6 +1146,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnWindowNotificationManager.g.cs b/host/Generated/ObjectModel/IAvnWindowNotificationManager.g.cs index cae78cc..84308ef 100644 --- a/host/Generated/ObjectModel/IAvnWindowNotificationManager.g.cs +++ b/host/Generated/ObjectModel/IAvnWindowNotificationManager.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("2EECEA93-798A-57D8-9ED9-91C4EA6D282F")] +[Guid("C159F361-BE6C-5268-8A0B-E12F633F395C")] public partial interface IAvnWindowNotificationManager : IAvnTemplatedControl { [PreserveSig] @@ -986,6 +986,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1017,6 +1048,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/host/Generated/ObjectModel/IAvnWrapPanel.g.cs b/host/Generated/ObjectModel/IAvnWrapPanel.g.cs index d73a84a..c01b1d7 100644 --- a/host/Generated/ObjectModel/IAvnWrapPanel.g.cs +++ b/host/Generated/ObjectModel/IAvnWrapPanel.g.cs @@ -7,7 +7,7 @@ namespace Avalonia.Host.Com; [GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] -[Guid("FE3C3653-52AA-529D-8ACE-7F54E7D74387")] +[Guid("71831219-F14C-5D2F-A2F1-49FB979605D4")] public partial interface IAvnWrapPanel : IAvnPanel { [PreserveSig] @@ -995,6 +995,37 @@ public int SetVerticalAlignment(int value) } } + public int GetFocusable(out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focusable ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + + public int SetFocusable(int value) + { + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + _value.Focusable = value != 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int GetIsEnabled(out int value) { value = default; @@ -1026,6 +1057,22 @@ public int SetIsEnabled(int value) } } + public int FocusWithNavigationMethodAndKeyModifiers(int method, int keyModifiers, out int value) + { + value = default; + try + { + using var call = _state.EnterCall(); + _value.VerifyAccess(); + value = _value.Focus((global::Avalonia.Input.NavigationMethod)method, (global::Avalonia.Input.KeyModifiers)keyModifiers) ? 1 : 0; + return global::Avalonia.Host.HResults.S_OK; + } + catch (global::System.Exception e) + { + return global::System.Runtime.InteropServices.Marshal.GetHRForException(e); + } + } + public int AdviseLoaded(IAvnControlLoadedHandler? handler, out long subscriptionId) { subscriptionId = 0; diff --git a/projection/Avalonia.Projection.Ir/AvaloniaProjectionProfiles.cs b/projection/Avalonia.Projection.Ir/AvaloniaProjectionProfiles.cs index f3ff4a5..5613c66 100644 --- a/projection/Avalonia.Projection.Ir/AvaloniaProjectionProfiles.cs +++ b/projection/Avalonia.Projection.Ir/AvaloniaProjectionProfiles.cs @@ -18,98 +18,98 @@ public static class AvaloniaProjectionProfiles // Loaded/Unloaded, so Control and every descendant republish. // StyledElement gains ActualThemeVariant in U27, so it and every descendant republish. ["Avalonia.Host.Com.IAvnStyledElement"] = 6, - ["Avalonia.Host.Com.IAvnControl"] = 10, - ["Avalonia.Host.Com.IAvnDecorator"] = 12, + ["Avalonia.Host.Com.IAvnControl"] = 11, + ["Avalonia.Host.Com.IAvnDecorator"] = 13, // Everything the completeness wave left alone. None of these sits below // ContentControl, Button, ToggleButton, ListBox, ComboBox or Grid, so their // flattened vtables are byte-identical to version 4. - ["Avalonia.Host.Com.IAvnBorder"] = 14, + ["Avalonia.Host.Com.IAvnBorder"] = 15, ["Avalonia.Host.Com.IAvnTableViewColumn"] = 7, - ["Avalonia.Host.Com.IAvnPanel"] = 13, - ["Avalonia.Host.Com.IAvnCanvas"] = 13, - ["Avalonia.Host.Com.IAvnDockPanel"] = 13, - ["Avalonia.Host.Com.IAvnStackPanel"] = 14, + ["Avalonia.Host.Com.IAvnPanel"] = 14, + ["Avalonia.Host.Com.IAvnCanvas"] = 14, + ["Avalonia.Host.Com.IAvnDockPanel"] = 14, + ["Avalonia.Host.Com.IAvnStackPanel"] = 15, // Wave M grew TemplatedControl (fonts/padding) and TextBlock (fonts/wrapping). // Nano-COM vtables are flattened, so every interface below TemplatedControl // republishes. TextBlock is not under TemplatedControl; SelectableTextBlock is. - ["Avalonia.Host.Com.IAvnTextBlock"] = 16, - ["Avalonia.Host.Com.IAvnSelectableTextBlock"] = 13, - ["Avalonia.Host.Com.IAvnTemplatedControl"] = 14, - ["Avalonia.Host.Com.IAvnItemsControl"] = 17, - ["Avalonia.Host.Com.IAvnSelectingItemsControl"] = 17, - ["Avalonia.Host.Com.IAvnTextBox"] = 20, - ["Avalonia.Host.Com.IAvnRangeBase"] = 14, - ["Avalonia.Host.Com.IAvnSlider"] = 14, - ["Avalonia.Host.Com.IAvnProgressBar"] = 15, - ["Avalonia.Host.Com.IAvnContentControl"] = 15, - ["Avalonia.Host.Com.IAvnHeaderedContentControl"] = 15, - ["Avalonia.Host.Com.IAvnExpander"] = 15, - ["Avalonia.Host.Com.IAvnButton"] = 18, - ["Avalonia.Host.Com.IAvnToggleButton"] = 18, - ["Avalonia.Host.Com.IAvnCheckBox"] = 18, - ["Avalonia.Host.Com.IAvnRadioButton"] = 18, - ["Avalonia.Host.Com.IAvnToggleSwitch"] = 18, - ["Avalonia.Host.Com.IAvnListBox"] = 18, - ["Avalonia.Host.Com.IAvnComboBox"] = 19, - ["Avalonia.Host.Com.IAvnListBoxItem"] = 17, - ["Avalonia.Host.Com.IAvnComboBoxItem"] = 17, - ["Avalonia.Host.Com.IAvnScrollViewer"] = 17, - ["Avalonia.Host.Com.IAvnWindow"] = 20, - ["Avalonia.Host.Com.IAvnGrid"] = 14, + ["Avalonia.Host.Com.IAvnTextBlock"] = 17, + ["Avalonia.Host.Com.IAvnSelectableTextBlock"] = 14, + ["Avalonia.Host.Com.IAvnTemplatedControl"] = 15, + ["Avalonia.Host.Com.IAvnItemsControl"] = 18, + ["Avalonia.Host.Com.IAvnSelectingItemsControl"] = 18, + ["Avalonia.Host.Com.IAvnTextBox"] = 21, + ["Avalonia.Host.Com.IAvnRangeBase"] = 15, + ["Avalonia.Host.Com.IAvnSlider"] = 15, + ["Avalonia.Host.Com.IAvnProgressBar"] = 16, + ["Avalonia.Host.Com.IAvnContentControl"] = 16, + ["Avalonia.Host.Com.IAvnHeaderedContentControl"] = 16, + ["Avalonia.Host.Com.IAvnExpander"] = 16, + ["Avalonia.Host.Com.IAvnButton"] = 19, + ["Avalonia.Host.Com.IAvnToggleButton"] = 19, + ["Avalonia.Host.Com.IAvnCheckBox"] = 19, + ["Avalonia.Host.Com.IAvnRadioButton"] = 19, + ["Avalonia.Host.Com.IAvnToggleSwitch"] = 19, + ["Avalonia.Host.Com.IAvnListBox"] = 19, + ["Avalonia.Host.Com.IAvnComboBox"] = 20, + ["Avalonia.Host.Com.IAvnListBoxItem"] = 18, + ["Avalonia.Host.Com.IAvnComboBoxItem"] = 18, + ["Avalonia.Host.Com.IAvnScrollViewer"] = 18, + ["Avalonia.Host.Com.IAvnWindow"] = 21, + ["Avalonia.Host.Com.IAvnGrid"] = 15, // Previously version-1 templated types inherit the TemplatedControl bump. - ["Avalonia.Host.Com.IAvnAutoCompleteBox"] = 18, - ["Avalonia.Host.Com.IAvnButtonSpinner"] = 11, - ["Avalonia.Host.Com.IAvnCalendar"] = 14, - ["Avalonia.Host.Com.IAvnCalendarDatePicker"] = 13, - ["Avalonia.Host.Com.IAvnCarousel"] = 15, - ["Avalonia.Host.Com.IAvnCommandBar"] = 14, + ["Avalonia.Host.Com.IAvnAutoCompleteBox"] = 19, + ["Avalonia.Host.Com.IAvnButtonSpinner"] = 12, + ["Avalonia.Host.Com.IAvnCalendar"] = 15, + ["Avalonia.Host.Com.IAvnCalendarDatePicker"] = 14, + ["Avalonia.Host.Com.IAvnCarousel"] = 16, + ["Avalonia.Host.Com.IAvnCommandBar"] = 15, ["Avalonia.Host.Com.IAvnCommand"] = 2, - ["Avalonia.Host.Com.IAvnCommandBarButton"] = 13, - ["Avalonia.Host.Com.IAvnCommandBarSeparator"] = 11, - ["Avalonia.Host.Com.IAvnCommandBarToggleButton"] = 13, - ["Avalonia.Host.Com.IAvnContextMenu"] = 17, - ["Avalonia.Host.Com.IAvnPopup"] = 10, + ["Avalonia.Host.Com.IAvnCommandBarButton"] = 14, + ["Avalonia.Host.Com.IAvnCommandBarSeparator"] = 12, + ["Avalonia.Host.Com.IAvnCommandBarToggleButton"] = 14, + ["Avalonia.Host.Com.IAvnContextMenu"] = 18, + ["Avalonia.Host.Com.IAvnPopup"] = 11, ["Avalonia.Host.Com.IAvnTrayIcon"] = 3, ["Avalonia.Host.Com.IAvnPopupFlyoutBase"] = 6, ["Avalonia.Host.Com.IAvnFlyout"] = 4, ["Avalonia.Host.Com.IAvnMenuFlyout"] = 5, - ["Avalonia.Host.Com.IAvnDatePicker"] = 13, - ["Avalonia.Host.Com.IAvnDropDownButton"] = 13, - ["Avalonia.Host.Com.IAvnGridSplitter"] = 12, - ["Avalonia.Host.Com.IAvnGroupBox"] = 11, - ["Avalonia.Host.Com.IAvnHeaderedItemsControl"] = 14, - ["Avalonia.Host.Com.IAvnHeaderedSelectingItemsControl"] = 14, - ["Avalonia.Host.Com.IAvnHyperlinkButton"] = 13, - ["Avalonia.Host.Com.IAvnIconElement"] = 11, - ["Avalonia.Host.Com.IAvnLabel"] = 12, - ["Avalonia.Host.Com.IAvnMaskedTextBox"] = 17, - ["Avalonia.Host.Com.IAvnMenu"] = 14, - ["Avalonia.Host.Com.IAvnMenuBase"] = 14, - ["Avalonia.Host.Com.IAvnMenuItem"] = 17, - ["Avalonia.Host.Com.IAvnNotificationCard"] = 12, - ["Avalonia.Host.Com.IAvnNumericUpDown"] = 12, - ["Avalonia.Host.Com.IAvnPathIcon"] = 11, - ["Avalonia.Host.Com.IAvnPipsPager"] = 12, - ["Avalonia.Host.Com.IAvnRefreshContainer"] = 12, - ["Avalonia.Host.Com.IAvnRepeatButton"] = 13, - ["Avalonia.Host.Com.IAvnSeparator"] = 11, - ["Avalonia.Host.Com.IAvnSpinner"] = 11, - ["Avalonia.Host.Com.IAvnSplitButton"] = 14, - ["Avalonia.Host.Com.IAvnSplitView"] = 11, - ["Avalonia.Host.Com.IAvnTabControl"] = 14, - ["Avalonia.Host.Com.IAvnTabItem"] = 13, - ["Avalonia.Host.Com.IAvnTableView"] = 15, - ["Avalonia.Host.Com.IAvnTableViewCell"] = 13, - ["Avalonia.Host.Com.IAvnTableViewRow"] = 11, - ["Avalonia.Host.Com.IAvnThumb"] = 12, - ["Avalonia.Host.Com.IAvnTimePicker"] = 13, - ["Avalonia.Host.Com.IAvnToggleSplitButton"] = 14, - ["Avalonia.Host.Com.IAvnToolTip"] = 11, - ["Avalonia.Host.Com.IAvnTransitioningContentControl"] = 12, - ["Avalonia.Host.Com.IAvnTreeView"] = 14, - ["Avalonia.Host.Com.IAvnTreeViewItem"] = 14, - ["Avalonia.Host.Com.IAvnUserControl"] = 11, - ["Avalonia.Host.Com.IAvnWindowNotificationManager"] = 12, + ["Avalonia.Host.Com.IAvnDatePicker"] = 14, + ["Avalonia.Host.Com.IAvnDropDownButton"] = 14, + ["Avalonia.Host.Com.IAvnGridSplitter"] = 13, + ["Avalonia.Host.Com.IAvnGroupBox"] = 12, + ["Avalonia.Host.Com.IAvnHeaderedItemsControl"] = 15, + ["Avalonia.Host.Com.IAvnHeaderedSelectingItemsControl"] = 15, + ["Avalonia.Host.Com.IAvnHyperlinkButton"] = 14, + ["Avalonia.Host.Com.IAvnIconElement"] = 12, + ["Avalonia.Host.Com.IAvnLabel"] = 13, + ["Avalonia.Host.Com.IAvnMaskedTextBox"] = 18, + ["Avalonia.Host.Com.IAvnMenu"] = 15, + ["Avalonia.Host.Com.IAvnMenuBase"] = 15, + ["Avalonia.Host.Com.IAvnMenuItem"] = 18, + ["Avalonia.Host.Com.IAvnNotificationCard"] = 13, + ["Avalonia.Host.Com.IAvnNumericUpDown"] = 13, + ["Avalonia.Host.Com.IAvnPathIcon"] = 12, + ["Avalonia.Host.Com.IAvnPipsPager"] = 13, + ["Avalonia.Host.Com.IAvnRefreshContainer"] = 13, + ["Avalonia.Host.Com.IAvnRepeatButton"] = 14, + ["Avalonia.Host.Com.IAvnSeparator"] = 12, + ["Avalonia.Host.Com.IAvnSpinner"] = 12, + ["Avalonia.Host.Com.IAvnSplitButton"] = 15, + ["Avalonia.Host.Com.IAvnSplitView"] = 12, + ["Avalonia.Host.Com.IAvnTabControl"] = 15, + ["Avalonia.Host.Com.IAvnTabItem"] = 14, + ["Avalonia.Host.Com.IAvnTableView"] = 16, + ["Avalonia.Host.Com.IAvnTableViewCell"] = 14, + ["Avalonia.Host.Com.IAvnTableViewRow"] = 12, + ["Avalonia.Host.Com.IAvnThumb"] = 13, + ["Avalonia.Host.Com.IAvnTimePicker"] = 14, + ["Avalonia.Host.Com.IAvnToggleSplitButton"] = 15, + ["Avalonia.Host.Com.IAvnToolTip"] = 12, + ["Avalonia.Host.Com.IAvnTransitioningContentControl"] = 13, + ["Avalonia.Host.Com.IAvnTreeView"] = 15, + ["Avalonia.Host.Com.IAvnTreeViewItem"] = 15, + ["Avalonia.Host.Com.IAvnUserControl"] = 12, + ["Avalonia.Host.Com.IAvnWindowNotificationManager"] = 13, // Wave A's seven new interfaces publish at the default version 1 and nothing they // sit under moved, so they need no entry here. Waves B, C and D do the same. // The factory is the only interface these waves move: wave A gave it a creator per @@ -120,23 +120,23 @@ public static class AvaloniaProjectionProfiles // (Calendar, CalendarDatePicker) so 8, wave G seven more so 9, and wave H // eight constructible shapes (Shape is abstract) so 10, wave I five more so 11, // and wave J six more so 12, and wave K five constructible (IconElement abstract) so 13. - ["Avalonia.Host.Com.IAvnImage"] = 10, - ["Avalonia.Host.Com.IAvnWrapPanel"] = 10, - ["Avalonia.Host.Com.IAvnUniformGrid"] = 10, - ["Avalonia.Host.Com.IAvnRelativePanel"] = 10, - ["Avalonia.Host.Com.IAvnViewbox"] = 10, - ["Avalonia.Host.Com.IAvnFlexPanel"] = 10, - ["Avalonia.Host.Com.IAvnShape"] = 10, - ["Avalonia.Host.Com.IAvnRectangle"] = 10, - ["Avalonia.Host.Com.IAvnEllipse"] = 10, - ["Avalonia.Host.Com.IAvnLine"] = 10, - ["Avalonia.Host.Com.IAvnPath"] = 10, - ["Avalonia.Host.Com.IAvnPolygon"] = 10, - ["Avalonia.Host.Com.IAvnPolyline"] = 10, - ["Avalonia.Host.Com.IAvnArc"] = 10, - ["Avalonia.Host.Com.IAvnSector"] = 10, - ["Avalonia.Host.Com.IAvnLayoutTransformControl"] = 10, - ["Avalonia.Host.Com.IAvnThemeVariantScope"] = 10, + ["Avalonia.Host.Com.IAvnImage"] = 11, + ["Avalonia.Host.Com.IAvnWrapPanel"] = 11, + ["Avalonia.Host.Com.IAvnUniformGrid"] = 11, + ["Avalonia.Host.Com.IAvnRelativePanel"] = 11, + ["Avalonia.Host.Com.IAvnViewbox"] = 11, + ["Avalonia.Host.Com.IAvnFlexPanel"] = 11, + ["Avalonia.Host.Com.IAvnShape"] = 11, + ["Avalonia.Host.Com.IAvnRectangle"] = 11, + ["Avalonia.Host.Com.IAvnEllipse"] = 11, + ["Avalonia.Host.Com.IAvnLine"] = 11, + ["Avalonia.Host.Com.IAvnPath"] = 11, + ["Avalonia.Host.Com.IAvnPolygon"] = 11, + ["Avalonia.Host.Com.IAvnPolyline"] = 11, + ["Avalonia.Host.Com.IAvnArc"] = 11, + ["Avalonia.Host.Com.IAvnSector"] = 11, + ["Avalonia.Host.Com.IAvnLayoutTransformControl"] = 11, + ["Avalonia.Host.Com.IAvnThemeVariantScope"] = 11, ["Avalonia.Host.Com.IAvnControlFactory"] = 13, // Wave P. Payload-carrying replacements for the previously payload-less // handlers: the handler Invoke slots change shape, so each handler mints a @@ -296,7 +296,7 @@ public static class AvaloniaProjectionProfiles "Margin", "HorizontalAlignment", "VerticalAlignment", "IsVisible", "Opacity", "IsEnabled", "KeyDown", "KeyUp", "GotFocus", "LostFocus", "PointerEntered", "PointerExited", "Tapped", "DoubleTapped", - "PointerWheelChanged", + "PointerWheelChanged", "Focus", "Focusable", "ContextMenu", "ContextFlyout", "IsLoaded", "Loaded", "Unloaded", "SizeChanged", "Tag", ], diff --git a/rust/.avalonia-projection.owned.json b/rust/.avalonia-projection.owned.json index c3b01c6..5de7d23 100644 --- a/rust/.avalonia-projection.owned.json +++ b/rust/.avalonia-projection.owned.json @@ -7,7 +7,7 @@ }, { "path": "projection.ir.json", - "sha256": "67b550d7ee930e281686990747f8a25003e32ad59f7aa3802eed1f92136bff30" + "sha256": "780eb004b70506dc1a826f1d67a9f83777b270d971bb211cd49ddbb5a9d5b686" } ] } diff --git a/rust/abi-baseline.json b/rust/abi-baseline.json index 9729a28..668e414 100644 --- a/rust/abi-baseline.json +++ b/rust/abi-baseline.json @@ -2348,6 +2348,36 @@ } ] }, + { + "name": "get_focusable", + "callingConvention": "AVN_CALL", + "returnType": "AvnHResult", + "parameters": [ + { + "type": "$self", + "name": "self" + }, + { + "type": "int32_t*", + "name": "value" + } + ] + }, + { + "name": "set_focusable", + "callingConvention": "AVN_CALL", + "returnType": "AvnHResult", + "parameters": [ + { + "type": "$self", + "name": "self" + }, + { + "type": "int32_t", + "name": "value" + } + ] + }, { "name": "get_is_enabled", "callingConvention": "AVN_CALL", @@ -2378,6 +2408,29 @@ } ] }, + { + "name": "focus_with_navigation_method_and_key_modifiers", + "callingConvention": "AVN_CALL", + "returnType": "AvnHResult", + "parameters": [ + { + "type": "$self", + "name": "self" + }, + { + "type": "int32_t", + "name": "method" + }, + { + "type": "int32_t", + "name": "key_modifiers" + }, + { + "type": "int32_t*", + "name": "value" + } + ] + }, { "name": "advise_loaded", "callingConvention": "AVN_CALL", @@ -17793,6 +17846,7 @@ "IAvnStyledElement.E.Initialized:None:", "IAvnStyledElement.E.ResourcesChanged:None:", "IAvnStyledElement.E.ActualThemeVariantChanged:None:", + "IAvnControl.M.FocusWithNavigationMethodAndKeyModifiers:I32:method:I32:In:0,keyModifiers:I32:In:0,value:Bool:Out:0", "IAvnControl.P.IsVisible:Bool:0:1:1:", "IAvnControl.P.Opacity:F64:0:1:1:", "IAvnControl.P.ContextMenu:ComInterface:1:1:1:", @@ -17808,6 +17862,7 @@ "IAvnControl.P.Margin:Thickness:0:1:1:", "IAvnControl.P.HorizontalAlignment:I32:0:1:1:", "IAvnControl.P.VerticalAlignment:I32:0:1:1:", + "IAvnControl.P.Focusable:Bool:0:1:1:", "IAvnControl.P.IsEnabled:Bool:0:1:1:", "IAvnControl.E.Loaded:None:", "IAvnControl.E.Unloaded:None:", @@ -18483,9 +18538,9 @@ "interfaces": [ { "name": "IAvnArc", - "iid": "D707907F-AF00-561A-9374-03A90DF55B83", + "iid": "2DACA1F8-5364-5CB5-B471-81682B00E389", "iidConstant": "I_AVN_ARC_IID", - "abiVersion": 10, + "abiVersion": 11, "slots": [ 0, 1, @@ -18589,7 +18644,10 @@ 165, 166, 167, - 168 + 168, + 169, + 170, + 171 ], "irBases": [ "IAvnAvaloniaObject", @@ -18650,7 +18708,9 @@ 48, 49, 50, - 51 + 51, + 52, + 53 ] }, { @@ -18679,9 +18739,9 @@ }, { "name": "IAvnAutoCompleteBox", - "iid": "26FFE15E-6149-5898-93EB-55909338DC9A", + "iid": "6D1670C7-0D52-5BB1-8289-6C2617B74A6C", "iidConstant": "I_AVN_AUTO_COMPLETE_BOX_IID", - "abiVersion": 18, + "abiVersion": 19, "slots": [ 0, 1, @@ -18764,9 +18824,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -18853,7 +18913,10 @@ 255, 256, 257, - 258 + 258, + 259, + 260, + 261 ], "irBases": [ "IAvnAvaloniaObject", @@ -18904,8 +18967,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -18949,7 +19012,9 @@ 94, 95, 96, - 97 + 97, + 98, + 99 ] }, { @@ -19094,9 +19159,9 @@ }, { "name": "IAvnBorder", - "iid": "DF677487-F79D-50DF-A474-0AF69F6A6C5B", + "iid": "430F4A36-8B46-5F3C-8E4D-BD11AA522969", "iidConstant": "I_AVN_BORDER_IID", - "abiVersion": 14, + "abiVersion": 15, "slots": [ 0, 1, @@ -19179,13 +19244,13 @@ 144, 145, 146, - 259, - 260, - 195, - 196, - 169, - 170, - 171, + 147, + 148, + 149, + 262, + 263, + 198, + 199, 172, 173, 174, @@ -19193,9 +19258,12 @@ 176, 177, 178, - 261, - 262, - 263 + 179, + 180, + 181, + 264, + 265, + 266 ], "irBases": [ "IAvnAvaloniaObject", @@ -19246,15 +19314,17 @@ 38, 39, 40, - 98, - 99, + 41, + 42, 100, 101, 102, 103, 104, 105, - 106 + 106, + 107, + 108 ] }, { @@ -19272,9 +19342,9 @@ }, { "name": "IAvnButton", - "iid": "E66D2CD1-A3CD-538E-9607-B5E784669C89", + "iid": "085861C8-F91D-5AFE-B57A-E601477FC2D2", "iidConstant": "I_AVN_BUTTON_IID", - "abiVersion": 18, + "abiVersion": 19, "slots": [ 0, 1, @@ -19357,9 +19427,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -19385,9 +19455,9 @@ 194, 195, 196, - 264, - 265, - 266, + 197, + 198, + 199, 267, 268, 269, @@ -19409,7 +19479,10 @@ 285, 286, 287, - 288 + 288, + 289, + 290, + 291 ], "irBases": [ "IAvnAvaloniaObject", @@ -19461,8 +19534,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -19475,8 +19548,8 @@ 63, 64, 65, - 107, - 108, + 66, + 67, 109, 110, 111, @@ -19487,7 +19560,9 @@ 116, 117, 118, - 119 + 119, + 120, + 121 ] }, { @@ -19504,9 +19579,9 @@ }, { "name": "IAvnButtonSpinner", - "iid": "BD9E8536-AD5B-51C7-B3E0-2DB521852F7C", + "iid": "907404D5-1DE4-574D-990E-2D8A79373D6D", "iidConstant": "I_AVN_BUTTON_SPINNER_IID", - "abiVersion": 11, + "abiVersion": 12, "slots": [ 0, 1, @@ -19589,9 +19664,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -19617,24 +19692,27 @@ 194, 195, 196, - 264, - 265, - 266, + 197, + 198, + 199, 267, 268, 269, 270, 271, - 289, - 290, - 291, + 272, + 273, + 274, 292, 293, 294, 295, 296, 297, - 298 + 298, + 299, + 300, + 301 ], "irBases": [ "IAvnAvaloniaObject", @@ -19687,8 +19765,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -19701,22 +19779,24 @@ 63, 64, 65, - 107, - 108, + 66, + 67, 109, 110, - 120, - 121, + 111, + 112, 122, 123, - 124 + 124, + 125, + 126 ] }, { "name": "IAvnCalendar", - "iid": "9FF3FEBD-5CC5-5DB1-94DA-E03D3D41D947", + "iid": "2ECA7A03-1AA5-5FC5-B1CC-7ECDDCF200D1", "iidConstant": "I_AVN_CALENDAR_IID", - "abiVersion": 14, + "abiVersion": 15, "slots": [ 0, 1, @@ -19799,9 +19879,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -19827,9 +19907,9 @@ 194, 195, 196, - 299, - 300, - 301, + 197, + 198, + 199, 302, 303, 304, @@ -19858,7 +19938,10 @@ 327, 328, 329, - 330 + 330, + 331, + 332, + 333 ], "irBases": [ "IAvnAvaloniaObject", @@ -19909,8 +19992,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -19923,8 +20006,8 @@ 63, 64, 65, - 125, - 126, + 66, + 67, 127, 128, 129, @@ -19939,14 +20022,16 @@ 138, 139, 140, - 141 + 141, + 142, + 143 ] }, { "name": "IAvnCalendarDatePicker", - "iid": "57923347-6143-59E6-BAFC-C745A8982164", + "iid": "3CB1E562-6FEB-5E8B-A79A-9C1B3DB4AE62", "iidConstant": "I_AVN_CALENDAR_DATE_PICKER_IID", - "abiVersion": 13, + "abiVersion": 14, "slots": [ 0, 1, @@ -20029,9 +20114,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -20057,50 +20142,53 @@ 194, 195, 196, - 322, - 318, - 319, - 320, + 197, + 198, + 199, + 325, 321, + 322, 323, 324, - 299, - 300, - 209, - 210, - 301, + 326, + 327, 302, - 315, - 316, - 331, - 332, - 333, + 303, + 212, + 213, + 304, + 305, + 318, + 319, 334, - 215, - 216, - 220, - 221, 335, 336, - 222, + 337, + 218, + 219, 223, - 268, - 269, - 270, + 224, + 338, + 339, + 225, + 226, 271, - 305, - 306, - 307, + 272, + 273, + 274, 308, + 309, + 310, + 311, 60, - 337, - 338, - 339, 340, 341, 342, 343, - 344 + 344, + 345, + 346, + 347 ], "irBases": [ "IAvnAvaloniaObject", @@ -20151,8 +20239,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -20165,8 +20253,8 @@ 63, 64, 65, - 142, - 143, + 66, + 67, 144, 145, 146, @@ -20187,7 +20275,9 @@ 161, 162, 163, - 164 + 164, + 165, + 166 ] }, { @@ -20306,9 +20396,9 @@ }, { "name": "IAvnCanvas", - "iid": "C16EF1BD-5F4F-5C2C-A3EA-508C4B05BA3C", + "iid": "DB97347A-FE7E-5006-93B7-E4B555A261A9", "iidConstant": "I_AVN_CANVAS_IID", - "abiVersion": 13, + "abiVersion": 14, "slots": [ 0, 1, @@ -20391,9 +20481,12 @@ 144, 145, 146, - 345, - 169, - 170 + 147, + 148, + 149, + 348, + 172, + 173 ], "irBases": [ "IAvnAvaloniaObject", @@ -20444,8 +20537,10 @@ 38, 39, 40, - 165, - 166 + 41, + 42, + 167, + 168 ] }, { @@ -20457,21 +20552,21 @@ 0, 1, 2, - 966, - 967, - 968, 969, 970, 971, 972, - 973 + 973, + 974, + 975, + 976 ] }, { "name": "IAvnCarousel", - "iid": "78C353C4-749B-55FC-A9EF-66608155B0DB", + "iid": "062C586F-DB97-53CF-8DC3-A2F159E0BD23", "iidConstant": "I_AVN_CAROUSEL_IID", - "abiVersion": 15, + "abiVersion": 16, "slots": [ 0, 1, @@ -20554,9 +20649,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -20582,15 +20677,15 @@ 194, 195, 196, - 346, - 347, - 234, - 235, - 203, - 204, - 348, + 197, + 198, + 199, 349, 350, + 237, + 238, + 206, + 207, 351, 352, 353, @@ -20598,23 +20693,26 @@ 355, 356, 357, - 213, - 214, 358, 359, 360, + 216, + 217, 361, 362, 363, 364, - 258, 365, 366, 367, + 261, 368, 369, 370, - 371 + 371, + 372, + 373, + 374 ], "irBases": [ "IAvnAvaloniaObject", @@ -20667,8 +20765,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -20681,8 +20779,8 @@ 63, 64, 65, - 167, - 168, + 66, + 67, 169, 170, 171, @@ -20702,14 +20800,16 @@ 185, 186, 187, - 188 + 188, + 189, + 190 ] }, { "name": "IAvnCheckBox", - "iid": "C4E191D8-29FB-5623-AF97-E3AAD950E27B", + "iid": "7A084E79-BA86-55BF-A9E8-E7786F3D4242", "iidConstant": "I_AVN_CHECK_BOX_IID", - "abiVersion": 18, + "abiVersion": 19, "slots": [ 0, 1, @@ -20792,9 +20892,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -20820,9 +20920,9 @@ 194, 195, 196, - 264, - 265, - 266, + 197, + 198, + 199, 267, 268, 269, @@ -20845,12 +20945,15 @@ 286, 287, 288, - 372, - 373, - 374, + 289, + 290, + 291, 375, 376, - 377 + 377, + 378, + 379, + 380 ], "irBases": [ "IAvnAvaloniaObject", @@ -20904,8 +21007,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -20918,8 +21021,8 @@ 63, 64, 65, - 107, - 108, + 66, + 67, 109, 110, 111, @@ -20931,16 +21034,18 @@ 117, 118, 119, - 189, - 190, - 191 + 120, + 121, + 191, + 192, + 193 ] }, { "name": "IAvnComboBox", - "iid": "EEBBD41C-3704-5BC1-BB31-E87EF407CB79", + "iid": "1DA7FC0F-6D3F-5669-8644-030686AD4FD3", "iidConstant": "I_AVN_COMBO_BOX_IID", - "abiVersion": 19, + "abiVersion": 20, "slots": [ 0, 1, @@ -21023,9 +21128,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -21051,15 +21156,15 @@ 194, 195, 196, - 346, - 347, - 234, - 235, - 203, - 204, - 348, + 197, + 198, + 199, 349, 350, + 237, + 238, + 206, + 207, 351, 352, 353, @@ -21067,36 +21172,39 @@ 355, 356, 357, - 213, - 214, 358, 359, 360, + 216, + 217, 361, 362, 363, 364, - 258, - 209, - 210, - 378, - 379, - 207, - 208, - 380, - 220, - 221, - 222, - 223, + 365, + 366, + 367, + 261, + 212, + 213, 381, 382, - 215, - 216, - 60, + 210, + 211, 383, - 256, + 223, + 224, + 225, + 226, 384, - 252 + 385, + 218, + 219, + 60, + 386, + 259, + 387, + 255 ], "irBases": [ "IAvnAvaloniaObject", @@ -21149,8 +21257,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -21163,8 +21271,8 @@ 63, 64, 65, - 167, - 168, + 66, + 67, 169, 170, 171, @@ -21180,8 +21288,8 @@ 181, 182, 183, - 192, - 193, + 184, + 185, 194, 195, 196, @@ -21190,7 +21298,9 @@ 199, 200, 201, - 202 + 202, + 203, + 204 ] }, { @@ -21219,9 +21329,9 @@ }, { "name": "IAvnComboBoxItem", - "iid": "66D70CA8-4E9B-5BD6-9583-82595161CB34", + "iid": "2D2F584F-6CD6-59C9-B536-463E6CC21B72", "iidConstant": "I_AVN_COMBO_BOX_ITEM_IID", - "abiVersion": 17, + "abiVersion": 18, "slots": [ 0, 1, @@ -21304,9 +21414,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -21332,16 +21442,19 @@ 194, 195, 196, - 264, - 265, - 266, + 197, + 198, + 199, 267, 268, 269, 270, 271, - 385, - 386 + 272, + 273, + 274, + 388, + 389 ], "irBases": [ "IAvnAvaloniaObject", @@ -21394,8 +21507,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -21408,11 +21521,13 @@ 63, 64, 65, - 107, - 108, + 66, + 67, 109, 110, - 203 + 111, + 112, + 205 ] }, { @@ -21432,9 +21547,9 @@ }, { "name": "IAvnCommandBar", - "iid": "180E1033-DD01-5433-A491-B2049D719449", + "iid": "19280D2B-7145-59DC-AD55-557541EC0147", "iidConstant": "I_AVN_COMMAND_BAR_IID", - "abiVersion": 14, + "abiVersion": 15, "slots": [ 0, 1, @@ -21517,9 +21632,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -21545,17 +21660,17 @@ 194, 195, 196, - 387, - 388, - 389, + 197, + 198, + 199, 390, 391, 392, - 264, - 265, 393, 394, 395, + 267, + 268, 396, 397, 398, @@ -21578,7 +21693,10 @@ 415, 416, 417, - 418 + 418, + 419, + 420, + 421 ], "irBases": [ "IAvnAvaloniaObject", @@ -21629,8 +21747,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -21643,8 +21761,8 @@ 63, 64, 65, - 204, - 205, + 66, + 67, 206, 207, 208, @@ -21661,14 +21779,16 @@ 219, 220, 221, - 222 + 222, + 223, + 224 ] }, { "name": "IAvnCommandBarButton", - "iid": "259356D2-8840-5531-9427-7FD0B9707AC7", + "iid": "45F67F66-ADC9-5D8D-9D41-8749F537025E", "iidConstant": "I_AVN_COMMAND_BAR_BUTTON_IID", - "abiVersion": 13, + "abiVersion": 14, "slots": [ 0, 1, @@ -21751,9 +21871,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -21779,9 +21899,9 @@ 194, 195, 196, - 264, - 265, - 266, + 197, + 198, + 199, 267, 268, 269, @@ -21804,9 +21924,9 @@ 286, 287, 288, - 419, - 420, - 421, + 289, + 290, + 291, 422, 423, 424, @@ -21815,7 +21935,10 @@ 427, 428, 429, - 430 + 430, + 431, + 432, + 433 ], "irBases": [ "IAvnAvaloniaObject", @@ -21868,8 +21991,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -21882,8 +22005,8 @@ 63, 64, 65, - 107, - 108, + 66, + 67, 109, 110, 111, @@ -21895,12 +22018,14 @@ 117, 118, 119, - 223, - 224, + 120, + 121, 225, 226, 227, - 228 + 228, + 229, + 230 ] }, { @@ -21953,9 +22078,9 @@ }, { "name": "IAvnCommandBarSeparator", - "iid": "3438DF70-F2D1-5474-A288-D97CCEACC9F9", + "iid": "7A5D6F68-43D8-5F3C-B7A3-09C4440A3EF7", "iidConstant": "I_AVN_COMMAND_BAR_SEPARATOR_IID", - "abiVersion": 11, + "abiVersion": 12, "slots": [ 0, 1, @@ -22038,9 +22163,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -22066,10 +22191,13 @@ 194, 195, 196, - 423, - 424, - 429, - 430 + 197, + 198, + 199, + 426, + 427, + 432, + 433 ], "irBases": [ "IAvnAvaloniaObject", @@ -22121,8 +22249,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -22135,15 +22263,17 @@ 63, 64, 65, - 229, - 230 + 66, + 67, + 231, + 232 ] }, { "name": "IAvnCommandBarToggleButton", - "iid": "97BD5478-2731-5994-9427-4A6ECB9EE04B", + "iid": "3E3D29A6-520A-5B09-81E3-6395784D2C55", "iidConstant": "I_AVN_COMMAND_BAR_TOGGLE_BUTTON_IID", - "abiVersion": 13, + "abiVersion": 14, "slots": [ 0, 1, @@ -22226,9 +22356,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -22254,9 +22384,9 @@ 194, 195, 196, - 264, - 265, - 266, + 197, + 198, + 199, 267, 268, 269, @@ -22279,15 +22409,15 @@ 286, 287, 288, - 372, - 373, - 374, + 289, + 290, + 291, 375, 376, 377, - 419, - 420, - 421, + 378, + 379, + 380, 422, 423, 424, @@ -22296,7 +22426,10 @@ 427, 428, 429, - 430 + 430, + 431, + 432, + 433 ], "irBases": [ "IAvnAvaloniaObject", @@ -22350,8 +22483,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -22364,8 +22497,8 @@ 63, 64, 65, - 107, - 108, + 66, + 67, 109, 110, 111, @@ -22377,15 +22510,17 @@ 117, 118, 119, - 189, - 190, + 120, + 121, 191, - 231, - 232, + 192, + 193, 233, 234, 235, - 236 + 236, + 237, + 238 ] }, { @@ -22402,9 +22537,9 @@ }, { "name": "IAvnContentControl", - "iid": "611A61DE-9AD0-5456-979A-EE525E5132CE", + "iid": "7312A513-1E46-5A98-9507-851220C7A465", "iidConstant": "I_AVN_CONTENT_CONTROL_IID", - "abiVersion": 15, + "abiVersion": 16, "slots": [ 0, 1, @@ -22487,9 +22622,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -22515,14 +22650,17 @@ 194, 195, 196, - 264, - 265, - 266, + 197, + 198, + 199, 267, 268, 269, 270, - 271 + 271, + 272, + 273, + 274 ], "irBases": [ "IAvnAvaloniaObject", @@ -22573,8 +22711,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -22587,17 +22725,19 @@ 63, 64, 65, - 107, - 108, + 66, + 67, 109, - 110 + 110, + 111, + 112 ] }, { "name": "IAvnContextMenu", - "iid": "F63FBE8E-277B-531C-B3F5-E9A2CCEF11A8", + "iid": "58A98293-5AA3-59E4-AB2B-CE021C5A5CCA", "iidConstant": "I_AVN_CONTEXT_MENU_IID", - "abiVersion": 17, + "abiVersion": 18, "slots": [ 0, 1, @@ -22630,7 +22770,7 @@ 35, 95, 96, - 431, + 434, 98, 99, 100, @@ -22680,9 +22820,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -22708,15 +22848,15 @@ 194, 195, 196, - 346, - 347, - 234, - 235, - 203, - 204, - 348, + 197, + 198, + 199, 349, 350, + 237, + 238, + 206, + 207, 351, 352, 353, @@ -22724,26 +22864,26 @@ 355, 356, 357, - 213, - 214, 358, 359, 360, + 216, + 217, 361, 362, 363, 364, - 258, - 399, - 432, - 433, - 434, - 414, + 365, + 366, + 367, + 261, + 402, 435, - 418, 436, 437, + 417, 438, + 421, 439, 440, 441, @@ -22763,9 +22903,12 @@ 455, 456, 457, - 412, 458, - 416 + 459, + 460, + 415, + 461, + 419 ], "irBases": [ "IAvnAvaloniaObject", @@ -22819,8 +22962,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -22833,8 +22976,8 @@ 63, 64, 65, - 167, - 168, + 66, + 67, 169, 170, 171, @@ -22850,8 +22993,8 @@ 181, 182, 183, - 237, - 238, + 184, + 185, 239, 240, 241, @@ -22867,7 +23010,9 @@ 251, 252, 253, - 254 + 254, + 255, + 256 ] }, { @@ -22896,9 +23041,9 @@ }, { "name": "IAvnControl", - "iid": "E2F44292-89FA-5AFA-9294-FF2F26DB68CE", + "iid": "8B272500-09E4-535F-ABF1-14992E90E778", "iidConstant": "I_AVN_CONTROL_IID", - "abiVersion": 10, + "abiVersion": 11, "slots": [ 0, 1, @@ -22980,7 +23125,10 @@ 143, 144, 145, - 146 + 146, + 147, + 148, + 149 ], "irBases": [ "IAvnAvaloniaObject", @@ -23028,7 +23176,9 @@ 37, 38, 39, - 40 + 40, + 41, + 42 ] }, { @@ -23052,9 +23202,6 @@ 0, 1, 2, - 1016, - 1017, - 1018, 1019, 1020, 1021, @@ -23154,7 +23301,10 @@ 1115, 1116, 1117, - 1118 + 1118, + 1119, + 1120, + 1121 ] }, { @@ -23321,9 +23471,9 @@ }, { "name": "IAvnDatePicker", - "iid": "DF809CB0-67FA-58E8-920C-1B9574A7B369", + "iid": "2AAFC151-688F-5326-B651-D022BD55487D", "iidConstant": "I_AVN_DATE_PICKER_IID", - "abiVersion": 13, + "abiVersion": 14, "slots": [ 0, 1, @@ -23406,9 +23556,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -23434,11 +23584,11 @@ 194, 195, 196, - 270, - 271, - 459, - 460, - 461, + 197, + 198, + 199, + 273, + 274, 462, 463, 464, @@ -23452,11 +23602,14 @@ 472, 473, 474, - 315, - 316, - 60, 475, - 344 + 476, + 477, + 318, + 319, + 60, + 478, + 347 ], "irBases": [ "IAvnAvaloniaObject", @@ -23507,8 +23660,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -23521,8 +23674,8 @@ 63, 64, 65, - 255, - 256, + 66, + 67, 257, 258, 259, @@ -23532,7 +23685,9 @@ 263, 264, 265, - 266 + 266, + 267, + 268 ] }, { @@ -23566,9 +23721,9 @@ }, { "name": "IAvnDecorator", - "iid": "C3E4D085-4977-566E-B843-75D86B43C2C9", + "iid": "F8530439-ABA5-5B16-9C0B-2132D4EFD205", "iidConstant": "I_AVN_DECORATOR_IID", - "abiVersion": 12, + "abiVersion": 13, "slots": [ 0, 1, @@ -23651,10 +23806,13 @@ 144, 145, 146, - 259, - 260, - 195, - 196 + 147, + 148, + 149, + 262, + 263, + 198, + 199 ], "irBases": [ "IAvnAvaloniaObject", @@ -23704,15 +23862,17 @@ 38, 39, 40, - 98, - 99 + 41, + 42, + 100, + 101 ] }, { "name": "IAvnDockPanel", - "iid": "8D7E3210-853F-5D42-AE5B-A5915BD53928", + "iid": "63D1EF80-EEE5-50CA-B1A7-C6008560BFD3", "iidConstant": "I_AVN_DOCK_PANEL_IID", - "abiVersion": 13, + "abiVersion": 14, "slots": [ 0, 1, @@ -23795,15 +23955,18 @@ 144, 145, 146, - 345, - 169, - 170, - 476, - 477, - 478, + 147, + 148, + 149, + 348, + 172, + 173, 479, 480, - 481 + 481, + 482, + 483, + 484 ], "irBases": [ "IAvnAvaloniaObject", @@ -23854,11 +24017,13 @@ 38, 39, 40, - 165, - 166, - 267, - 268, - 269 + 41, + 42, + 167, + 168, + 269, + 270, + 271 ] }, { @@ -23870,15 +24035,15 @@ 0, 1, 2, - 974, - 975 + 977, + 978 ] }, { "name": "IAvnDropDownButton", - "iid": "BCBBD462-BE4D-517B-96B1-BDF762CA9B4B", + "iid": "99F4E9B6-DAAC-55B1-AFDE-75D38A5C2491", "iidConstant": "I_AVN_DROP_DOWN_BUTTON_IID", - "abiVersion": 13, + "abiVersion": 14, "slots": [ 0, 1, @@ -23961,9 +24126,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -23989,9 +24154,9 @@ 194, 195, 196, - 264, - 265, - 266, + 197, + 198, + 199, 267, 268, 269, @@ -24013,7 +24178,10 @@ 285, 286, 287, - 288 + 288, + 289, + 290, + 291 ], "irBases": [ "IAvnAvaloniaObject", @@ -24066,8 +24234,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -24080,8 +24248,8 @@ 63, 64, 65, - 107, - 108, + 66, + 67, 109, 110, 111, @@ -24092,14 +24260,16 @@ 116, 117, 118, - 119 + 119, + 120, + 121 ] }, { "name": "IAvnEllipse", - "iid": "ECCCD4F8-7656-5346-B562-E826C27E039E", + "iid": "71442BCB-5E0D-53BF-B4C8-4BE39A9E1910", "iidConstant": "I_AVN_ELLIPSE_IID", - "abiVersion": 10, + "abiVersion": 11, "slots": [ 0, 1, @@ -24199,7 +24369,10 @@ 161, 162, 163, - 164 + 164, + 165, + 166, + 167 ], "irBases": [ "IAvnAvaloniaObject", @@ -24258,14 +24431,16 @@ 46, 47, 48, - 49 + 49, + 50, + 51 ] }, { "name": "IAvnExpander", - "iid": "DFCCCA83-1ADA-5620-8230-0C1D66507F12", + "iid": "014D8342-03F6-590B-AFF5-A82C0EB376BB", "iidConstant": "I_AVN_EXPANDER_IID", - "abiVersion": 15, + "abiVersion": 16, "slots": [ 0, 1, @@ -24348,9 +24523,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -24376,17 +24551,17 @@ 194, 195, 196, - 264, - 265, - 266, + 197, + 198, + 199, 267, 268, 269, 270, 271, - 482, - 483, - 484, + 272, + 273, + 274, 485, 486, 487, @@ -24399,7 +24574,10 @@ 494, 495, 496, - 497 + 497, + 498, + 499, + 500 ], "irBases": [ "IAvnAvaloniaObject", @@ -24452,8 +24630,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -24466,18 +24644,20 @@ 63, 64, 65, - 107, - 108, + 66, + 67, 109, 110, - 270, - 271, + 111, + 112, 272, 273, 274, 275, 276, - 277 + 277, + 278, + 279 ] }, { @@ -24530,9 +24710,9 @@ }, { "name": "IAvnFlexPanel", - "iid": "1CC87ECC-363C-5A07-9023-AEA80DBEF8B0", + "iid": "82049C23-F315-5A82-86D9-845D8B82BA59", "iidConstant": "I_AVN_FLEX_PANEL_IID", - "abiVersion": 10, + "abiVersion": 11, "slots": [ 0, 1, @@ -24615,12 +24795,12 @@ 144, 145, 146, - 345, - 169, - 170, - 498, - 499, - 500, + 147, + 148, + 149, + 348, + 172, + 173, 501, 502, 503, @@ -24631,7 +24811,10 @@ 508, 509, 510, - 511 + 511, + 512, + 513, + 514 ], "irBases": [ "IAvnAvaloniaObject", @@ -24682,15 +24865,17 @@ 38, 39, 40, - 165, - 166, - 278, - 279, + 41, + 42, + 167, + 168, 280, 281, 282, 283, - 284 + 284, + 285, + 286 ] }, { @@ -24704,45 +24889,45 @@ 2, 70, 71, - 399, - 400, - 512, - 513, - 514, + 402, + 403, 515, - 414, 516, - 418, 517, - 446, + 518, + 417, + 519, + 421, + 520, + 449, + 450, 447, + 448, + 443, 444, - 445, + 439, 440, 441, - 436, - 437, - 438, - 439, - 454, - 455, - 518, - 519, - 520, + 442, + 457, + 458, 521, 522, 523, - 442, - 443, 524, 525, - 416, 526, - 412, - 264, - 265, - 266, - 267 + 445, + 446, + 527, + 528, + 419, + 529, + 415, + 267, + 268, + 269, + 270 ], "irBases": [ "IAvnAvaloniaObject", @@ -24751,8 +24936,6 @@ "IAvnFlyout" ], "irMembers": [ - 285, - 286, 287, 288, 289, @@ -24772,7 +24955,9 @@ 303, 304, 305, - 306 + 306, + 307, + 308 ] }, { @@ -24786,27 +24971,27 @@ 2, 70, 71, - 399, - 400, - 512, - 513, - 514, + 402, + 403, 515, - 414, 516, - 418 + 517, + 518, + 417, + 519, + 421 ], "irBases": [ "IAvnAvaloniaObject", "IAvnFlyoutBase" ], "irMembers": [ - 285, - 286, 287, 288, 289, - 290 + 290, + 291, + 292 ] }, { @@ -24835,9 +25020,9 @@ }, { "name": "IAvnGrid", - "iid": "887286EA-8097-52EB-9CEF-FA1DA7828D0F", + "iid": "028C589C-2C52-5505-9CD2-36A25B4F43A6", "iidConstant": "I_AVN_GRID_IID", - "abiVersion": 14, + "abiVersion": 15, "slots": [ 0, 1, @@ -24920,19 +25105,22 @@ 144, 145, 146, - 345, - 169, - 170, - 527, - 528, - 510, - 511, - 508, - 509, - 529, + 147, + 148, + 149, + 348, + 172, + 173, 530, 531, - 532 + 513, + 514, + 511, + 512, + 532, + 533, + 534, + 535 ], "irBases": [ "IAvnAvaloniaObject", @@ -24983,20 +25171,22 @@ 38, 39, 40, - 165, - 166, - 307, - 308, + 41, + 42, + 167, + 168, 309, 310, - 311 + 311, + 312, + 313 ] }, { "name": "IAvnGridSplitter", - "iid": "9D81E579-275C-53A1-8C3B-91F10E2D8403", + "iid": "135352FD-917A-577E-A428-D1B608274411", "iidConstant": "I_AVN_GRID_SPLITTER_IID", - "abiVersion": 12, + "abiVersion": 13, "slots": [ 0, 1, @@ -25079,9 +25269,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -25107,9 +25297,9 @@ 194, 195, 196, - 533, - 534, - 535, + 197, + 198, + 199, 536, 537, 538, @@ -25122,7 +25312,10 @@ 545, 546, 547, - 548 + 548, + 549, + 550, + 551 ], "irBases": [ "IAvnAvaloniaObject", @@ -25174,8 +25367,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -25188,14 +25381,16 @@ 63, 64, 65, - 312, - 313, + 66, + 67, 314, 315, 316, 317, 318, - 319 + 319, + 320, + 321 ] }, { @@ -25207,23 +25402,23 @@ 0, 1, 2, - 976, - 977, - 978, 979, 980, 981, 982, 983, 984, - 985 + 985, + 986, + 987, + 988 ] }, { "name": "IAvnGroupBox", - "iid": "F8356E2B-46EA-58CC-8074-789BA42F0C79", + "iid": "83F8FB71-5FB5-5C67-9EDA-9B1948172B9E", "iidConstant": "I_AVN_GROUP_BOX_IID", - "abiVersion": 11, + "abiVersion": 12, "slots": [ 0, 1, @@ -25306,9 +25501,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -25334,18 +25529,21 @@ 194, 195, 196, - 264, - 265, - 266, + 197, + 198, + 199, 267, 268, 269, 270, 271, - 482, - 483, - 484, - 485 + 272, + 273, + 274, + 485, + 486, + 487, + 488 ], "irBases": [ "IAvnAvaloniaObject", @@ -25398,8 +25596,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -25412,19 +25610,21 @@ 63, 64, 65, - 107, - 108, + 66, + 67, 109, 110, - 270, - 271 + 111, + 112, + 272, + 273 ] }, { "name": "IAvnHeaderedContentControl", - "iid": "D8948145-837B-5DC3-A685-14DF38167A93", + "iid": "0408F0EA-5BA0-54C6-A8E6-979328FBE88C", "iidConstant": "I_AVN_HEADERED_CONTENT_CONTROL_IID", - "abiVersion": 15, + "abiVersion": 16, "slots": [ 0, 1, @@ -25507,9 +25707,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -25535,18 +25735,21 @@ 194, 195, 196, - 264, - 265, - 266, + 197, + 198, + 199, 267, 268, 269, 270, 271, - 482, - 483, - 484, - 485 + 272, + 273, + 274, + 485, + 486, + 487, + 488 ], "irBases": [ "IAvnAvaloniaObject", @@ -25598,8 +25801,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -25612,19 +25815,21 @@ 63, 64, 65, - 107, - 108, + 66, + 67, 109, 110, - 270, - 271 + 111, + 112, + 272, + 273 ] }, { "name": "IAvnHeaderedItemsControl", - "iid": "D25B235E-D49F-55B2-ADF8-90A2BFCB96AB", + "iid": "2E4EBFCB-EA24-5842-ABC1-0DC137ED31DA", "iidConstant": "I_AVN_HEADERED_ITEMS_CONTROL_IID", - "abiVersion": 14, + "abiVersion": 15, "slots": [ 0, 1, @@ -25707,9 +25912,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -25735,22 +25940,25 @@ 194, 195, 196, - 346, - 347, - 234, - 235, - 203, - 204, - 348, + 197, + 198, + 199, 349, 350, + 237, + 238, + 206, + 207, 351, 352, 353, - 482, - 483, - 484, - 485 + 354, + 355, + 356, + 485, + 486, + 487, + 488 ], "irBases": [ "IAvnAvaloniaObject", @@ -25802,8 +26010,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -25816,8 +26024,8 @@ 63, 64, 65, - 167, - 168, + 66, + 67, 169, 170, 171, @@ -25826,15 +26034,17 @@ 174, 175, 176, - 320, - 321 + 177, + 178, + 322, + 323 ] }, { "name": "IAvnHeaderedSelectingItemsControl", - "iid": "BA5CD52E-ECDF-5379-AC86-5897FA853C60", + "iid": "723DA9D6-8356-5967-83E1-0E0A4B1C1B2C", "iidConstant": "I_AVN_HEADERED_SELECTING_ITEMS_CONTROL_IID", - "abiVersion": 14, + "abiVersion": 15, "slots": [ 0, 1, @@ -25917,9 +26127,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -25945,15 +26155,15 @@ 194, 195, 196, - 346, - 347, - 234, - 235, - 203, - 204, - 348, + 197, + 198, + 199, 349, 350, + 237, + 238, + 206, + 207, 351, 352, 353, @@ -25961,20 +26171,23 @@ 355, 356, 357, - 213, - 214, 358, 359, 360, + 216, + 217, 361, 362, 363, 364, - 258, - 482, - 483, - 484, - 485 + 365, + 366, + 367, + 261, + 485, + 486, + 487, + 488 ], "irBases": [ "IAvnAvaloniaObject", @@ -26027,8 +26240,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -26041,8 +26254,8 @@ 63, 64, 65, - 167, - 168, + 66, + 67, 169, 170, 171, @@ -26058,15 +26271,17 @@ 181, 182, 183, - 322, - 323 + 184, + 185, + 324, + 325 ] }, { "name": "IAvnHyperlinkButton", - "iid": "59F93515-012E-5F89-9998-87E5947034C1", + "iid": "8130735B-8051-5246-9914-2489E9C8BEA6", "iidConstant": "I_AVN_HYPERLINK_BUTTON_IID", - "abiVersion": 13, + "abiVersion": 14, "slots": [ 0, 1, @@ -26149,9 +26364,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -26177,9 +26392,9 @@ 194, 195, 196, - 264, - 265, - 266, + 197, + 198, + 199, 267, 268, 269, @@ -26202,10 +26417,13 @@ 286, 287, 288, - 549, - 550, - 551, - 552 + 289, + 290, + 291, + 552, + 553, + 554, + 555 ], "irBases": [ "IAvnAvaloniaObject", @@ -26258,8 +26476,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -26272,8 +26490,8 @@ 63, 64, 65, - 107, - 108, + 66, + 67, 109, 110, 111, @@ -26285,15 +26503,17 @@ 117, 118, 119, - 324, - 325 + 120, + 121, + 326, + 327 ] }, { "name": "IAvnIconElement", - "iid": "21137537-05A7-5CD9-8FED-59DACA086407", + "iid": "32A49476-DB0C-5038-B888-A66D122EC557", "iidConstant": "I_AVN_ICON_ELEMENT_IID", - "abiVersion": 11, + "abiVersion": 12, "slots": [ 0, 1, @@ -26376,9 +26596,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -26403,7 +26623,10 @@ 193, 194, 195, - 196 + 196, + 197, + 198, + 199 ], "irBases": [ "IAvnAvaloniaObject", @@ -26454,8 +26677,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -26467,14 +26690,16 @@ 62, 63, 64, - 65 + 65, + 66, + 67 ] }, { "name": "IAvnImage", - "iid": "9CBC9E3A-098A-51D7-9647-E20615058287", + "iid": "3BE59E46-0ECC-595F-85C0-3CD46F76D9B7", "iidConstant": "I_AVN_IMAGE_IID", - "abiVersion": 10, + "abiVersion": 11, "slots": [ 0, 1, @@ -26557,14 +26782,17 @@ 144, 145, 146, - 553, - 554, - 555, - 556, + 147, + 148, 149, - 150, + 556, 557, - 558 + 558, + 559, + 152, + 153, + 560, + 561 ], "irBases": [ "IAvnAvaloniaObject", @@ -26614,10 +26842,12 @@ 38, 39, 40, - 326, - 327, + 41, + 42, 328, - 329 + 329, + 330, + 331 ] }, { @@ -26663,9 +26893,9 @@ }, { "name": "IAvnItemsControl", - "iid": "45705E13-A906-50E2-A0D8-DCC20585FDA6", + "iid": "C6061984-593E-5875-8956-4B5C4B6D886C", "iidConstant": "I_AVN_ITEMS_CONTROL_IID", - "abiVersion": 17, + "abiVersion": 18, "slots": [ 0, 1, @@ -26748,9 +26978,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -26776,18 +27006,21 @@ 194, 195, 196, - 346, - 347, - 234, - 235, - 203, - 204, - 348, + 197, + 198, + 199, 349, 350, + 237, + 238, + 206, + 207, 351, 352, - 353 + 353, + 354, + 355, + 356 ], "irBases": [ "IAvnAvaloniaObject", @@ -26838,8 +27071,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -26852,8 +27085,8 @@ 63, 64, 65, - 167, - 168, + 66, + 67, 169, 170, 171, @@ -26861,14 +27094,16 @@ 173, 174, 175, - 176 + 176, + 177, + 178 ] }, { "name": "IAvnLabel", - "iid": "73C1CCE5-8DB6-5A69-B8FB-AC639528AE72", + "iid": "C85D82E9-5381-5B73-BB11-C547CEFA8A19", "iidConstant": "I_AVN_LABEL_IID", - "abiVersion": 12, + "abiVersion": 13, "slots": [ 0, 1, @@ -26951,9 +27186,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -26979,16 +27214,19 @@ 194, 195, 196, - 264, - 265, - 266, + 197, + 198, + 199, 267, 268, 269, 270, 271, - 512, - 559 + 272, + 273, + 274, + 515, + 562 ], "irBases": [ "IAvnAvaloniaObject", @@ -27040,8 +27278,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -27054,18 +27292,20 @@ 63, 64, 65, - 107, - 108, + 66, + 67, 109, 110, - 330 + 111, + 112, + 332 ] }, { "name": "IAvnLayoutTransformControl", - "iid": "4CF77BF7-4ED9-59F6-98C0-AE9682B3ADFE", + "iid": "D19B8CD6-21FB-5F7C-985B-A486532461A7", "iidConstant": "I_AVN_LAYOUT_TRANSFORM_CONTROL_IID", - "abiVersion": 10, + "abiVersion": 11, "slots": [ 0, 1, @@ -27148,12 +27388,15 @@ 144, 145, 146, - 259, - 260, - 195, - 196, - 560, - 561 + 147, + 148, + 149, + 262, + 263, + 198, + 199, + 563, + 564 ], "irBases": [ "IAvnAvaloniaObject", @@ -27204,16 +27447,18 @@ 38, 39, 40, - 98, - 99, - 331 + 41, + 42, + 100, + 101, + 333 ] }, { "name": "IAvnLine", - "iid": "C3F76A13-4998-5B6B-AD06-EFB5E4B9EC61", + "iid": "E432CA0E-417D-584A-A0AB-884ACB73A6F6", "iidConstant": "I_AVN_LINE_IID", - "abiVersion": 10, + "abiVersion": 11, "slots": [ 0, 1, @@ -27314,10 +27559,13 @@ 162, 163, 164, - 562, - 563, - 564, - 565 + 165, + 166, + 167, + 565, + 566, + 567, + 568 ], "irBases": [ "IAvnAvaloniaObject", @@ -27377,15 +27625,17 @@ 47, 48, 49, - 332, - 333 + 50, + 51, + 334, + 335 ] }, { "name": "IAvnListBox", - "iid": "C45989AF-4038-524F-885B-E57185B22159", + "iid": "FD704B9F-4E33-516E-B48D-B1DC9AA44DCA", "iidConstant": "I_AVN_LIST_BOX_IID", - "abiVersion": 18, + "abiVersion": 19, "slots": [ 0, 1, @@ -27468,9 +27718,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -27496,15 +27746,15 @@ 194, 195, 196, - 346, - 347, - 234, - 235, - 203, - 204, - 348, + 197, + 198, + 199, 349, 350, + 237, + 238, + 206, + 207, 351, 352, 353, @@ -27512,20 +27762,23 @@ 355, 356, 357, - 213, - 214, 358, 359, 360, + 216, + 217, 361, 362, 363, 364, - 258, - 311, - 312, - 566, - 567 + 365, + 366, + 367, + 261, + 314, + 315, + 569, + 570 ], "irBases": [ "IAvnAvaloniaObject", @@ -27578,8 +27831,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -27592,8 +27845,8 @@ 63, 64, 65, - 167, - 168, + 66, + 67, 169, 170, 171, @@ -27609,16 +27862,18 @@ 181, 182, 183, - 334, - 335, - 336 + 184, + 185, + 336, + 337, + 338 ] }, { "name": "IAvnListBoxItem", - "iid": "D51DAD4D-C109-5ABD-84B4-F3C6007F6133", + "iid": "D177A044-40A9-5BD2-B9D5-BC3B24F6F87E", "iidConstant": "I_AVN_LIST_BOX_ITEM_IID", - "abiVersion": 17, + "abiVersion": 18, "slots": [ 0, 1, @@ -27701,9 +27956,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -27729,16 +27984,19 @@ 194, 195, 196, - 264, - 265, - 266, + 197, + 198, + 199, 267, 268, 269, 270, 271, - 385, - 386 + 272, + 273, + 274, + 388, + 389 ], "irBases": [ "IAvnAvaloniaObject", @@ -27790,8 +28048,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -27804,18 +28062,20 @@ 63, 64, 65, - 107, - 108, + 66, + 67, 109, 110, - 203 + 111, + 112, + 205 ] }, { "name": "IAvnMaskedTextBox", - "iid": "ACF377B4-D865-5245-8CFE-AE0461EF95FB", + "iid": "1C1A91B2-4417-5AB6-A25A-AF72F57B5640", "iidConstant": "I_AVN_MASKED_TEXT_BOX_IID", - "abiVersion": 17, + "abiVersion": 18, "slots": [ 0, 1, @@ -27898,9 +28158,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -27926,19 +28186,19 @@ 194, 195, 196, - 568, - 569, - 211, - 212, - 570, + 197, + 198, + 199, 571, 572, + 214, + 215, 573, - 197, - 198, 574, 575, 576, + 200, + 201, 577, 578, 579, @@ -27952,37 +28212,37 @@ 587, 588, 589, - 236, - 237, 590, 591, 592, + 239, + 240, 593, 594, 595, - 215, - 216, 596, 597, - 268, - 269, - 270, - 271, 598, + 218, + 219, 599, - 220, - 221, - 335, - 336, - 222, - 223, - 238, - 239, - 240, - 241, 600, + 271, + 272, + 273, + 274, 601, 602, + 223, + 224, + 338, + 339, + 225, + 226, + 241, + 242, + 243, + 244, 603, 604, 605, @@ -28000,22 +28260,22 @@ 617, 618, 619, - 60, 620, - 566, 621, 622, + 60, 623, + 569, 624, 625, 626, 627, 628, 629, - 244, 630, 631, 632, + 247, 633, 634, 635, @@ -28028,7 +28288,10 @@ 642, 643, 644, - 645 + 645, + 646, + 647, + 648 ], "irBases": [ "IAvnAvaloniaObject", @@ -28080,8 +28343,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -28094,8 +28357,8 @@ 63, 64, 65, - 337, - 338, + 66, + 67, 339, 340, 341, @@ -28153,14 +28416,16 @@ 393, 394, 395, - 396 + 396, + 397, + 398 ] }, { "name": "IAvnMenu", - "iid": "71FC2F34-4C1D-591E-A567-AB3151C77785", + "iid": "7494D34A-1A50-5EB7-8532-D5A9CA3992B5", "iidConstant": "I_AVN_MENU_IID", - "abiVersion": 14, + "abiVersion": 15, "slots": [ 0, 1, @@ -28243,9 +28508,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -28271,15 +28536,15 @@ 194, 195, 196, - 346, - 347, - 234, - 235, - 203, - 204, - 348, + 197, + 198, + 199, 349, 350, + 237, + 238, + 206, + 207, 351, 352, 353, @@ -28287,23 +28552,26 @@ 355, 356, 357, - 213, - 214, 358, 359, 360, + 216, + 217, 361, 362, 363, 364, - 258, - 399, - 432, - 433, - 434, - 414, + 365, + 366, + 367, + 261, + 402, 435, - 418 + 436, + 437, + 417, + 438, + 421 ], "irBases": [ "IAvnAvaloniaObject", @@ -28357,8 +28625,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -28371,8 +28639,8 @@ 63, 64, 65, - 167, - 168, + 66, + 67, 169, 170, 171, @@ -28388,18 +28656,20 @@ 181, 182, 183, - 237, - 238, + 184, + 185, 239, 240, - 241 + 241, + 242, + 243 ] }, { "name": "IAvnMenuBase", - "iid": "1E92B6FA-9790-5135-8AC6-A566A0EAD414", + "iid": "A5A9B117-B812-50DC-BEAA-D81CDAE4070D", "iidConstant": "I_AVN_MENU_BASE_IID", - "abiVersion": 14, + "abiVersion": 15, "slots": [ 0, 1, @@ -28482,9 +28752,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -28510,15 +28780,15 @@ 194, 195, 196, - 346, - 347, - 234, - 235, - 203, - 204, - 348, + 197, + 198, + 199, 349, 350, + 237, + 238, + 206, + 207, 351, 352, 353, @@ -28526,23 +28796,26 @@ 355, 356, 357, - 213, - 214, 358, 359, 360, + 216, + 217, 361, 362, 363, 364, - 258, - 399, - 432, - 433, - 434, - 414, + 365, + 366, + 367, + 261, + 402, 435, - 418 + 436, + 437, + 417, + 438, + 421 ], "irBases": [ "IAvnAvaloniaObject", @@ -28595,8 +28868,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -28609,8 +28882,8 @@ 63, 64, 65, - 167, - 168, + 66, + 67, 169, 170, 171, @@ -28626,11 +28899,13 @@ 181, 182, 183, - 237, - 238, + 184, + 185, 239, 240, - 241 + 241, + 242, + 243 ] }, { @@ -28668,46 +28943,46 @@ 2, 70, 71, - 399, - 400, - 512, - 513, - 514, + 402, + 403, 515, - 414, 516, - 418, 517, - 446, + 518, + 417, + 519, + 421, + 520, + 449, + 450, 447, + 448, + 443, 444, - 445, + 439, 440, 441, - 436, - 437, - 438, - 439, - 454, - 455, - 518, - 519, - 520, + 442, + 457, + 458, 521, 522, 523, - 442, - 443, 524, 525, - 416, 526, - 412, - 346, - 234, - 235, - 203, - 204 + 445, + 446, + 527, + 528, + 419, + 529, + 415, + 349, + 237, + 238, + 206, + 207 ], "irBases": [ "IAvnAvaloniaObject", @@ -28716,8 +28991,6 @@ "IAvnMenuFlyout" ], "irMembers": [ - 285, - 286, 287, 288, 289, @@ -28736,16 +29009,18 @@ 302, 303, 304, - 397, - 398, - 399 + 305, + 306, + 399, + 400, + 401 ] }, { "name": "IAvnMenuItem", - "iid": "15CE4E5D-E0E7-5356-ACFF-D742B7280B97", + "iid": "1863F45C-1039-5C4E-9668-433606E91AB9", "iidConstant": "I_AVN_MENU_ITEM_IID", - "abiVersion": 17, + "abiVersion": 18, "slots": [ 0, 1, @@ -28828,9 +29103,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -28856,15 +29131,15 @@ 194, 195, 196, - 346, - 347, - 234, - 235, - 203, - 204, - 348, + 197, + 198, + 199, 349, 350, + 237, + 238, + 206, + 207, 351, 352, 353, @@ -28872,50 +29147,53 @@ 355, 356, 357, - 213, - 214, 358, 359, 360, + 216, + 217, 361, 362, 363, 364, - 258, - 482, - 483, - 484, + 365, + 366, + 367, + 261, 485, - 274, - 275, - 276, + 486, + 487, + 488, 277, 278, 279, - 646, - 647, - 648, + 280, + 281, + 282, 649, - 385, - 386, 650, 651, 652, + 388, + 389, 653, 654, 655, - 372, - 373, 656, 657, 658, + 375, + 376, 659, - 433, - 432, 660, - 288, 661, - 662 + 662, + 436, + 435, + 663, + 291, + 664, + 665 ], "irBases": [ "IAvnAvaloniaObject", @@ -28969,8 +29247,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -28983,8 +29261,8 @@ 63, 64, 65, - 167, - 168, + 66, + 67, 169, 170, 171, @@ -29000,10 +29278,10 @@ 181, 182, 183, - 322, - 323, - 400, - 401, + 184, + 185, + 324, + 325, 402, 403, 404, @@ -29018,7 +29296,9 @@ 413, 414, 415, - 416 + 416, + 417, + 418 ] }, { @@ -29076,9 +29356,9 @@ }, { "name": "IAvnNotificationCard", - "iid": "DB52E2D8-CC48-5F72-B220-52BDF16BC055", + "iid": "9E79955D-2569-59C2-9A3A-25FE0AE56026", "iidConstant": "I_AVN_NOTIFICATION_CARD_IID", - "abiVersion": 12, + "abiVersion": 13, "slots": [ 0, 1, @@ -29161,9 +29441,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -29189,22 +29469,25 @@ 194, 195, 196, - 264, - 265, - 266, + 197, + 198, + 199, 267, 268, 269, 270, 271, - 663, - 664, - 665, + 272, + 273, + 274, 666, 667, - 432, 668, - 669 + 669, + 670, + 435, + 671, + 672 ], "irBases": [ "IAvnAvaloniaObject", @@ -29256,8 +29539,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -29270,15 +29553,17 @@ 63, 64, 65, - 107, - 108, + 66, + 67, 109, 110, - 417, - 418, + 111, + 112, 419, 420, - 421 + 421, + 422, + 423 ] }, { @@ -29295,9 +29580,9 @@ }, { "name": "IAvnNumericUpDown", - "iid": "1082FB46-8635-515E-822C-12629B6D25F8", + "iid": "5B2AA4AD-E367-58A1-99ED-8122D7C9B209", "iidConstant": "I_AVN_NUMERIC_UP_DOWN_IID", - "abiVersion": 12, + "abiVersion": 13, "slots": [ 0, 1, @@ -29380,9 +29665,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -29408,46 +29693,49 @@ 194, 195, 196, - 293, - 294, + 197, + 198, + 199, + 296, 297, + 300, + 301, 298, - 295, - 296, - 670, - 671, - 672, + 299, 673, 674, 675, - 574, - 575, 676, 677, 678, + 577, + 578, 679, - 215, - 216, 680, 681, - 220, - 221, - 222, - 223, - 268, - 269, - 270, - 271, - 598, - 599, - 238, - 239, - 240, - 241, 682, + 218, + 219, 683, 684, - 685 + 223, + 224, + 225, + 226, + 271, + 272, + 273, + 274, + 601, + 602, + 241, + 242, + 243, + 244, + 685, + 686, + 687, + 688 ], "irBases": [ "IAvnAvaloniaObject", @@ -29498,8 +29786,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -29512,8 +29800,8 @@ 63, 64, 65, - 422, - 423, + 66, + 67, 424, 425, 426, @@ -29531,7 +29819,9 @@ 438, 439, 440, - 441 + 441, + 442, + 443 ] }, { @@ -29560,9 +29850,9 @@ }, { "name": "IAvnPanel", - "iid": "E6C6B17E-9747-5739-B255-52E737A7A2A2", + "iid": "FE37643D-BDE5-511B-AB66-CB66B73F685F", "iidConstant": "I_AVN_PANEL_IID", - "abiVersion": 13, + "abiVersion": 14, "slots": [ 0, 1, @@ -29645,9 +29935,12 @@ 144, 145, 146, - 345, - 169, - 170 + 147, + 148, + 149, + 348, + 172, + 173 ], "irBases": [ "IAvnAvaloniaObject", @@ -29697,15 +29990,17 @@ 38, 39, 40, - 165, - 166 + 41, + 42, + 167, + 168 ] }, { "name": "IAvnPath", - "iid": "708CD7FD-817B-56CB-AE5C-C74F67CAD4F6", + "iid": "E663EA07-D965-5E67-922A-CA932B4883EF", "iidConstant": "I_AVN_PATH_IID", - "abiVersion": 10, + "abiVersion": 11, "slots": [ 0, 1, @@ -29806,8 +30101,11 @@ 162, 163, 164, - 686, - 687 + 165, + 166, + 167, + 689, + 690 ], "irBases": [ "IAvnAvaloniaObject", @@ -29867,14 +30165,16 @@ 47, 48, 49, - 442 + 50, + 51, + 444 ] }, { "name": "IAvnPathIcon", - "iid": "6D274452-1819-559D-BB43-52E68AB64E10", + "iid": "9C821A9C-6A11-5E74-8D69-A637662CD292", "iidConstant": "I_AVN_PATH_ICON_IID", - "abiVersion": 11, + "abiVersion": 12, "slots": [ 0, 1, @@ -29957,9 +30257,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -29985,8 +30285,11 @@ 194, 195, 196, - 686, - 687 + 197, + 198, + 199, + 689, + 690 ], "irBases": [ "IAvnAvaloniaObject", @@ -30038,8 +30341,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -30052,14 +30355,16 @@ 63, 64, 65, - 443 + 66, + 67, + 445 ] }, { "name": "IAvnPipsPager", - "iid": "FBFAC5E1-FD39-56C8-8208-7C0E0AFA68CD", + "iid": "B23699D7-ACE9-5D8F-85ED-216C49DEBE3E", "iidConstant": "I_AVN_PIPS_PAGER_IID", - "abiVersion": 12, + "abiVersion": 13, "slots": [ 0, 1, @@ -30142,9 +30447,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -30170,9 +30475,9 @@ 194, 195, 196, - 688, - 689, - 690, + 197, + 198, + 199, 691, 692, 693, @@ -30183,7 +30488,10 @@ 698, 699, 700, - 701 + 701, + 702, + 703, + 704 ], "irBases": [ "IAvnAvaloniaObject", @@ -30234,8 +30542,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -30248,13 +30556,15 @@ 63, 64, 65, - 444, - 445, + 66, + 67, 446, 447, 448, 449, - 450 + 450, + 451, + 452 ] }, { @@ -30271,9 +30581,9 @@ }, { "name": "IAvnPolygon", - "iid": "4F93F9D8-08E6-56F7-A51B-073928795D7D", + "iid": "0AAD3814-FD24-5051-AED3-FB090E1C0A3F", "iidConstant": "I_AVN_POLYGON_IID", - "abiVersion": 10, + "abiVersion": 11, "slots": [ 0, 1, @@ -30374,10 +30684,13 @@ 162, 163, 164, - 702, - 703, - 704, - 705 + 165, + 166, + 167, + 705, + 706, + 707, + 708 ], "irBases": [ "IAvnAvaloniaObject", @@ -30437,15 +30750,17 @@ 47, 48, 49, - 451, - 452 + 50, + 51, + 453, + 454 ] }, { "name": "IAvnPolyline", - "iid": "2DBA0D61-C35B-5D12-82A7-555EDA620BC5", + "iid": "5CBDF633-9B36-5DDE-BFBE-48FD2FA54C99", "iidConstant": "I_AVN_POLYLINE_IID", - "abiVersion": 10, + "abiVersion": 11, "slots": [ 0, 1, @@ -30546,10 +30861,13 @@ 162, 163, 164, - 702, - 703, - 704, - 705 + 165, + 166, + 167, + 705, + 706, + 707, + 708 ], "irBases": [ "IAvnAvaloniaObject", @@ -30609,15 +30927,17 @@ 47, 48, 49, - 453, - 454 + 50, + 51, + 455, + 456 ] }, { "name": "IAvnPopup", - "iid": "30B75D6F-4E12-505C-8C73-E02A5FCDB356", + "iid": "C8FAC379-F367-5D83-9ABF-46EF6FCB778B", "iidConstant": "I_AVN_POPUP_IID", - "abiVersion": 10, + "abiVersion": 11, "slots": [ 0, 1, @@ -30700,52 +31020,55 @@ 144, 145, 146, - 448, - 449, - 259, - 260, - 706, - 707, - 708, + 147, + 148, + 149, + 451, + 452, + 262, + 263, 709, - 399, - 400, - 440, - 441, - 442, + 710, + 711, + 712, + 402, + 403, 443, 444, 445, 446, 447, + 448, + 449, 450, - 451, - 452, 453, 454, 455, - 520, - 521, - 522, + 456, + 457, + 458, 523, - 436, - 437, - 438, + 524, + 525, + 526, 439, - 710, - 711, - 712, + 440, + 441, + 442, 713, 714, 715, 716, 717, - 433, - 432, 718, - 418, 719, - 414 + 720, + 436, + 435, + 721, + 421, + 722, + 417 ], "irBases": [ "IAvnAvaloniaObject", @@ -30795,8 +31118,8 @@ 38, 39, 40, - 455, - 456, + 41, + 42, 457, 458, 459, @@ -30819,7 +31142,9 @@ 476, 477, 478, - 479 + 479, + 480, + 481 ] }, { @@ -30845,41 +31170,41 @@ 2, 70, 71, - 399, - 400, - 512, - 513, - 514, + 402, + 403, 515, - 414, 516, - 418, 517, - 446, + 518, + 417, + 519, + 421, + 520, + 449, + 450, 447, + 448, + 443, 444, - 445, + 439, 440, 441, - 436, - 437, - 438, - 439, - 454, - 455, - 518, - 519, - 520, + 442, + 457, + 458, 521, 522, 523, - 442, - 443, 524, 525, - 416, 526, - 412 + 445, + 446, + 527, + 528, + 419, + 529, + 415 ], "irBases": [ "IAvnAvaloniaObject", @@ -30887,8 +31212,6 @@ "IAvnPopupFlyoutBase" ], "irMembers": [ - 285, - 286, 287, 288, 289, @@ -30906,7 +31229,9 @@ 301, 302, 303, - 304 + 304, + 305, + 306 ] }, { @@ -30959,9 +31284,9 @@ }, { "name": "IAvnProgressBar", - "iid": "5AD47222-012D-56C8-8459-42DD295B9DAF", + "iid": "5B810486-98CC-51F9-8F12-46A095595BB4", "iidConstant": "I_AVN_PROGRESS_BAR_IID", - "abiVersion": 15, + "abiVersion": 16, "slots": [ 0, 1, @@ -31044,9 +31369,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -31072,9 +31397,9 @@ 194, 195, 196, - 720, - 721, - 722, + 197, + 198, + 199, 723, 724, 725, @@ -31083,16 +31408,19 @@ 728, 729, 730, - 685, 731, 732, 733, + 688, 734, 735, 736, 737, - 694, - 695 + 738, + 739, + 740, + 697, + 698 ], "irBases": [ "IAvnAvaloniaObject", @@ -31144,8 +31472,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -31158,8 +31486,8 @@ 63, 64, 65, - 480, - 481, + 66, + 67, 482, 483, 484, @@ -31168,14 +31496,16 @@ 487, 488, 489, - 490 + 490, + 491, + 492 ] }, { "name": "IAvnRadioButton", - "iid": "A2E6518A-5B2E-5424-84FE-CFA325D93288", + "iid": "FBEA357A-8E1A-5579-A0CF-4FD48895DADB", "iidConstant": "I_AVN_RADIO_BUTTON_IID", - "abiVersion": 18, + "abiVersion": 19, "slots": [ 0, 1, @@ -31258,9 +31588,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -31286,9 +31616,9 @@ 194, 195, 196, - 264, - 265, - 266, + 197, + 198, + 199, 267, 268, 269, @@ -31311,14 +31641,17 @@ 286, 287, 288, - 372, - 373, - 374, + 289, + 290, + 291, 375, 376, 377, - 656, - 657 + 378, + 379, + 380, + 659, + 660 ], "irBases": [ "IAvnAvaloniaObject", @@ -31372,8 +31705,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -31386,8 +31719,8 @@ 63, 64, 65, - 107, - 108, + 66, + 67, 109, 110, 111, @@ -31399,17 +31732,19 @@ 117, 118, 119, - 189, - 190, + 120, + 121, 191, - 491 + 192, + 193, + 493 ] }, { "name": "IAvnRangeBase", - "iid": "D910F3E2-CD14-547A-8E8C-BFEC9F4C926F", + "iid": "4B50BE51-3AF1-5ED3-B29F-61E8728F05C9", "iidConstant": "I_AVN_RANGE_BASE_IID", - "abiVersion": 14, + "abiVersion": 15, "slots": [ 0, 1, @@ -31492,9 +31827,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -31520,9 +31855,9 @@ 194, 195, 196, - 720, - 721, - 722, + 197, + 198, + 199, 723, 724, 725, @@ -31531,7 +31866,10 @@ 728, 729, 730, - 685 + 731, + 732, + 733, + 688 ], "irBases": [ "IAvnAvaloniaObject", @@ -31582,8 +31920,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -31596,12 +31934,14 @@ 63, 64, 65, - 480, - 481, + 66, + 67, 482, 483, 484, - 485 + 485, + 486, + 487 ] }, { @@ -31618,9 +31958,9 @@ }, { "name": "IAvnRectangle", - "iid": "95D3D828-9CB6-536E-96D5-2D5D67C3463F", + "iid": "18F60995-254F-5AC8-8101-5DF9A44EE488", "iidConstant": "I_AVN_RECTANGLE_IID", - "abiVersion": 10, + "abiVersion": 11, "slots": [ 0, 1, @@ -31721,10 +32061,13 @@ 162, 163, 164, - 738, - 739, - 740, - 741 + 165, + 166, + 167, + 741, + 742, + 743, + 744 ], "irBases": [ "IAvnAvaloniaObject", @@ -31784,15 +32127,17 @@ 47, 48, 49, - 492, - 493 + 50, + 51, + 494, + 495 ] }, { "name": "IAvnRefreshContainer", - "iid": "95707491-9943-5B6C-BF2E-1A68A797A842", + "iid": "8A61432D-C34F-51D2-8ACC-E36D3D639DC7", "iidConstant": "I_AVN_REFRESH_CONTAINER_IID", - "abiVersion": 12, + "abiVersion": 13, "slots": [ 0, 1, @@ -31875,9 +32220,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -31903,21 +32248,24 @@ 194, 195, 196, - 264, - 265, - 266, + 197, + 198, + 199, 267, 268, 269, 270, 271, - 742, - 743, - 744, + 272, + 273, + 274, 745, 746, 747, - 748 + 748, + 749, + 750, + 751 ], "irBases": [ "IAvnAvaloniaObject", @@ -31969,8 +32317,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -31983,14 +32331,16 @@ 63, 64, 65, - 107, - 108, + 66, + 67, 109, 110, - 494, - 495, + 111, + 112, 496, - 497 + 497, + 498, + 499 ] }, { @@ -32007,9 +32357,9 @@ }, { "name": "IAvnRelativePanel", - "iid": "A52468AD-E31F-58F2-8A74-1AB7E73D66E6", + "iid": "65247A43-88C6-51B3-91A5-4DD646410156", "iidConstant": "I_AVN_RELATIVE_PANEL_IID", - "abiVersion": 10, + "abiVersion": 11, "slots": [ 0, 1, @@ -32092,9 +32442,12 @@ 144, 145, 146, - 345, - 169, - 170 + 147, + 148, + 149, + 348, + 172, + 173 ], "irBases": [ "IAvnAvaloniaObject", @@ -32145,8 +32498,10 @@ 38, 39, 40, - 165, - 166 + 41, + 42, + 167, + 168 ] }, { @@ -32158,9 +32513,6 @@ 0, 1, 2, - 986, - 987, - 988, 989, 990, 991, @@ -32169,14 +32521,17 @@ 994, 995, 996, - 997 + 997, + 998, + 999, + 1000 ] }, { "name": "IAvnRepeatButton", - "iid": "DF355462-7926-5F77-B463-22B164C7A402", + "iid": "4F04D781-4A77-5C93-812D-3D1DFC10627C", "iidConstant": "I_AVN_REPEAT_BUTTON_IID", - "abiVersion": 13, + "abiVersion": 14, "slots": [ 0, 1, @@ -32259,9 +32614,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -32287,9 +32642,9 @@ 194, 195, 196, - 264, - 265, - 266, + 197, + 198, + 199, 267, 268, 269, @@ -32312,10 +32667,13 @@ 286, 287, 288, - 749, - 750, - 751, - 752 + 289, + 290, + 291, + 752, + 753, + 754, + 755 ], "irBases": [ "IAvnAvaloniaObject", @@ -32368,8 +32726,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -32382,8 +32740,8 @@ 63, 64, 65, - 107, - 108, + 66, + 67, 109, 110, 111, @@ -32395,15 +32753,17 @@ 117, 118, 119, - 498, - 499 + 120, + 121, + 500, + 501 ] }, { "name": "IAvnScrollViewer", - "iid": "4CCB656E-34E8-5621-AF96-1C2AF4F1DAAE", + "iid": "1D6C37FA-326B-57A1-A084-7790E0CE2973", "iidConstant": "I_AVN_SCROLL_VIEWER_IID", - "abiVersion": 17, + "abiVersion": 18, "slots": [ 0, 1, @@ -32486,9 +32846,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -32514,17 +32874,17 @@ 194, 195, 196, - 264, - 265, - 266, + 197, + 198, + 199, 267, 268, 269, 270, 271, - 753, - 754, - 755, + 272, + 273, + 274, 756, 757, 758, @@ -32536,10 +32896,10 @@ 764, 765, 766, - 488, 767, 768, 769, + 491, 770, 771, 772, @@ -32566,7 +32926,10 @@ 793, 794, 795, - 796 + 796, + 797, + 798, + 799 ], "irBases": [ "IAvnAvaloniaObject", @@ -32618,8 +32981,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -32632,12 +32995,12 @@ 63, 64, 65, - 107, - 108, + 66, + 67, 109, 110, - 500, - 501, + 111, + 112, 502, 503, 504, @@ -32667,7 +33030,9 @@ 528, 529, 530, - 531 + 531, + 532, + 533 ] }, { @@ -32684,9 +33049,9 @@ }, { "name": "IAvnSector", - "iid": "A6E3E187-67DD-5603-93D8-7431B6449CD7", + "iid": "B5A66A03-1739-5B83-B5BB-748E76AF1B27", "iidConstant": "I_AVN_SECTOR_IID", - "abiVersion": 10, + "abiVersion": 11, "slots": [ 0, 1, @@ -32790,7 +33155,10 @@ 165, 166, 167, - 168 + 168, + 169, + 170, + 171 ], "irBases": [ "IAvnAvaloniaObject", @@ -32850,15 +33218,17 @@ 47, 48, 49, - 532, - 533 + 50, + 51, + 534, + 535 ] }, { "name": "IAvnSelectableTextBlock", - "iid": "8E36E51E-30AC-563D-A2D7-79335F5FAD8C", + "iid": "11DADAD8-19AB-5C0C-9614-00DD412570F8", "iidConstant": "I_AVN_SELECTABLE_TEXT_BLOCK_IID", - "abiVersion": 13, + "abiVersion": 14, "slots": [ 0, 1, @@ -32941,17 +33311,17 @@ 144, 145, 146, - 195, - 196, - 169, - 170, - 215, - 216, - 179, - 180, + 147, + 148, + 149, + 198, + 199, + 172, + 173, + 218, + 219, + 182, 183, - 184, - 185, 186, 187, 188, @@ -32959,39 +33329,42 @@ 190, 191, 192, - 594, - 595, - 797, - 798, 193, 194, - 590, - 591, - 602, - 603, - 799, - 800, + 195, + 597, 598, - 599, - 181, - 182, + 800, 801, + 196, + 197, + 593, + 594, + 605, + 606, 802, - 578, - 579, - 580, + 803, + 601, + 602, + 184, + 185, + 804, + 805, 581, - 586, - 587, - 588, + 582, + 583, + 584, 589, - 596, - 607, + 590, + 591, + 592, + 599, + 610, + 621, + 569, 618, - 566, - 615, - 803, - 624 + 806, + 627 ], "irBases": [ "IAvnAvaloniaObject", @@ -33042,8 +33415,8 @@ 38, 39, 40, - 534, - 535, + 41, + 42, 536, 537, 538, @@ -33069,7 +33442,9 @@ 558, 559, 560, - 561 + 561, + 562, + 563 ] }, { @@ -33103,9 +33478,9 @@ }, { "name": "IAvnSelectingItemsControl", - "iid": "18B99B99-03A3-5C68-8471-D463C4ED1778", + "iid": "BF3CA6E3-C054-5059-AFE7-20E38D9B9DE8", "iidConstant": "I_AVN_SELECTING_ITEMS_CONTROL_IID", - "abiVersion": 17, + "abiVersion": 18, "slots": [ 0, 1, @@ -33188,9 +33563,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -33216,15 +33591,15 @@ 194, 195, 196, - 346, - 347, - 234, - 235, - 203, - 204, - 348, + 197, + 198, + 199, 349, 350, + 237, + 238, + 206, + 207, 351, 352, 353, @@ -33232,16 +33607,19 @@ 355, 356, 357, - 213, - 214, 358, 359, 360, + 216, + 217, 361, 362, 363, 364, - 258 + 365, + 366, + 367, + 261 ], "irBases": [ "IAvnAvaloniaObject", @@ -33293,8 +33671,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -33307,8 +33685,8 @@ 63, 64, 65, - 167, - 168, + 66, + 67, 169, 170, 171, @@ -33323,7 +33701,9 @@ 180, 181, 182, - 183 + 183, + 184, + 185 ] }, { @@ -33355,9 +33735,9 @@ }, { "name": "IAvnSeparator", - "iid": "C97E1335-936C-5319-91B3-09E2E1607D5A", + "iid": "81DB67FE-E07A-5DD4-B16C-1E099FC059FB", "iidConstant": "I_AVN_SEPARATOR_IID", - "abiVersion": 11, + "abiVersion": 12, "slots": [ 0, 1, @@ -33440,9 +33820,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -33467,7 +33847,10 @@ 193, 194, 195, - 196 + 196, + 197, + 198, + 199 ], "irBases": [ "IAvnAvaloniaObject", @@ -33518,8 +33901,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -33531,14 +33914,16 @@ 62, 63, 64, - 65 + 65, + 66, + 67 ] }, { "name": "IAvnShape", - "iid": "8C49AE37-0535-5DEF-926C-D0D6857CC216", + "iid": "9B09B01F-E387-5C6F-BB9B-605FC43BA233", "iidConstant": "I_AVN_SHAPE_IID", - "abiVersion": 10, + "abiVersion": 11, "slots": [ 0, 1, @@ -33638,7 +34023,10 @@ 161, 162, 163, - 164 + 164, + 165, + 166, + 167 ], "irBases": [ "IAvnAvaloniaObject", @@ -33696,14 +34084,16 @@ 46, 47, 48, - 49 + 49, + 50, + 51 ] }, { "name": "IAvnSlider", - "iid": "8F19D970-60A0-5AA7-A9CF-DF7882B11E7A", + "iid": "87C098D1-E3D8-5297-8EFB-B039EF2C9CB5", "iidConstant": "I_AVN_SLIDER_IID", - "abiVersion": 14, + "abiVersion": 15, "slots": [ 0, 1, @@ -33786,9 +34176,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -33814,9 +34204,9 @@ 194, 195, 196, - 720, - 721, - 722, + 197, + 198, + 199, 723, 724, 725, @@ -33825,19 +34215,22 @@ 728, 729, 730, - 685, - 804, - 805, - 694, - 695, - 806, + 731, + 732, + 733, + 688, 807, 808, + 697, + 698, 809, 810, 811, 812, - 813 + 813, + 814, + 815, + 816 ], "irBases": [ "IAvnAvaloniaObject", @@ -33889,8 +34282,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -33903,25 +34296,27 @@ 63, 64, 65, - 480, - 481, + 66, + 67, 482, 483, 484, 485, - 562, - 563, + 486, + 487, 564, 565, 566, - 567 + 567, + 568, + 569 ] }, { "name": "IAvnSpinner", - "iid": "CF93246B-DA27-5FC8-8382-FE6000F83FA4", + "iid": "B3D288E3-9138-530A-96BE-4B274DF115F2", "iidConstant": "I_AVN_SPINNER_IID", - "abiVersion": 11, + "abiVersion": 12, "slots": [ 0, 1, @@ -34004,9 +34399,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -34032,18 +34427,21 @@ 194, 195, 196, - 264, - 265, - 266, + 197, + 198, + 199, 267, 268, 269, 270, 271, - 289, - 290, - 291, - 292 + 272, + 273, + 274, + 292, + 293, + 294, + 295 ], "irBases": [ "IAvnAvaloniaObject", @@ -34095,8 +34493,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -34109,12 +34507,14 @@ 63, 64, 65, - 107, - 108, + 66, + 67, 109, 110, - 120, - 121 + 111, + 112, + 122, + 123 ] }, { @@ -34131,9 +34531,9 @@ }, { "name": "IAvnSplitButton", - "iid": "88415351-1718-57DE-98D6-5DEE1794029C", + "iid": "E162F1F5-7BC8-59CB-82D6-9A2A47F68884", "iidConstant": "I_AVN_SPLIT_BUTTON_IID", - "abiVersion": 14, + "abiVersion": 15, "slots": [ 0, 1, @@ -34216,9 +34616,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -34244,24 +34644,27 @@ 194, 195, 196, - 264, - 265, - 266, + 197, + 198, + 199, 267, 268, 269, 270, 271, + 272, + 273, 274, - 275, + 277, 278, + 281, + 282, + 288, + 289, 279, - 285, - 286, - 276, - 277, - 814, - 288 + 280, + 817, + 291 ], "irBases": [ "IAvnAvaloniaObject", @@ -34313,8 +34716,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -34327,15 +34730,17 @@ 63, 64, 65, - 107, - 108, + 66, + 67, 109, 110, - 568, - 569, + 111, + 112, 570, 571, - 572 + 572, + 573, + 574 ] }, { @@ -34352,9 +34757,9 @@ }, { "name": "IAvnSplitView", - "iid": "CF2AF228-F18D-57E1-B362-6A692FEB7AC4", + "iid": "5AA9070F-D947-566B-931C-EF80550EE63E", "iidConstant": "I_AVN_SPLIT_VIEW_IID", - "abiVersion": 11, + "abiVersion": 12, "slots": [ 0, 1, @@ -34437,9 +34842,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -34465,21 +34870,21 @@ 194, 195, 196, - 264, - 265, - 266, + 197, + 198, + 199, 267, 268, 269, 270, 271, - 815, - 816, - 309, - 310, - 817, + 272, + 273, + 274, 818, 819, + 312, + 313, 820, 821, 822, @@ -34498,7 +34903,10 @@ 835, 836, 837, - 838 + 838, + 839, + 840, + 841 ], "irBases": [ "IAvnAvaloniaObject", @@ -34550,8 +34958,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -34564,12 +34972,12 @@ 63, 64, 65, - 107, - 108, + 66, + 67, 109, 110, - 573, - 574, + 111, + 112, 575, 576, 577, @@ -34580,7 +34988,9 @@ 582, 583, 584, - 585 + 585, + 586, + 587 ] }, { @@ -34633,9 +35043,9 @@ }, { "name": "IAvnStackPanel", - "iid": "41C138FB-C0C9-579F-A3B9-76080732A94C", + "iid": "6CBE349A-E815-55A1-BBD8-B43951567DC1", "iidConstant": "I_AVN_STACK_PANEL_IID", - "abiVersion": 14, + "abiVersion": 15, "slots": [ 0, 1, @@ -34718,17 +35128,20 @@ 144, 145, 146, - 345, - 169, - 170, - 839, - 840, - 694, - 695, - 841, + 147, + 148, + 149, + 348, + 172, + 173, 842, 843, - 844 + 697, + 698, + 844, + 845, + 846, + 847 ], "irBases": [ "IAvnAvaloniaObject", @@ -34779,12 +35192,14 @@ 38, 39, 40, - 165, - 166, - 586, - 587, + 41, + 42, + 167, + 168, 588, - 589 + 589, + 590, + 591 ] }, { @@ -34931,9 +35346,9 @@ }, { "name": "IAvnTabControl", - "iid": "27DF6FA4-888C-53C3-8612-186747FD07BF", + "iid": "08959EF6-348B-51EC-8BE3-D3AE47B861BF", "iidConstant": "I_AVN_TAB_CONTROL_IID", - "abiVersion": 14, + "abiVersion": 15, "slots": [ 0, 1, @@ -35016,9 +35431,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -35044,15 +35459,15 @@ 194, 195, 196, - 346, - 347, - 234, - 235, - 203, - 204, - 348, + 197, + 198, + 199, 349, 350, + 237, + 238, + 206, + 207, 351, 352, 353, @@ -35060,28 +35475,31 @@ 355, 356, 357, - 213, - 214, 358, 359, 360, + 216, + 217, 361, 362, 363, 364, - 258, - 268, - 269, - 270, + 365, + 366, + 367, + 261, 271, - 845, - 846, - 266, - 267, - 847, + 272, + 273, + 274, 848, 849, - 850 + 269, + 270, + 850, + 851, + 852, + 853 ], "irBases": [ "IAvnAvaloniaObject", @@ -35134,8 +35552,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -35148,8 +35566,8 @@ 63, 64, 65, - 167, - 168, + 66, + 67, 169, 170, 171, @@ -35165,20 +35583,22 @@ 181, 182, 183, - 590, - 591, + 184, + 185, 592, 593, 594, 595, - 596 + 596, + 597, + 598 ] }, { "name": "IAvnTabItem", - "iid": "DED2B477-BC45-5613-BA24-CDBAB635D785", + "iid": "7FFA8FBC-579E-5152-A5D1-AFE128CCB470", "iidConstant": "I_AVN_TAB_ITEM_IID", - "abiVersion": 13, + "abiVersion": 14, "slots": [ 0, 1, @@ -35261,9 +35681,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -35289,27 +35709,30 @@ 194, 195, 196, - 264, - 265, - 266, + 197, + 198, + 199, 267, 268, 269, 270, 271, - 482, - 483, - 484, + 272, + 273, + 274, 485, - 851, - 385, - 386, - 421, - 422, + 486, + 487, + 488, + 854, + 388, + 389, + 424, + 425, + 855, + 856, 852, - 853, - 849, - 850 + 853 ], "irBases": [ "IAvnAvaloniaObject", @@ -35362,8 +35785,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -35376,24 +35799,26 @@ 63, 64, 65, - 107, - 108, + 66, + 67, 109, 110, - 270, - 271, - 597, - 598, + 111, + 112, + 272, + 273, 599, 600, - 601 + 601, + 602, + 603 ] }, { "name": "IAvnTableView", - "iid": "BA62A21B-C26D-587F-A41F-35E67E200B69", + "iid": "8653BEA5-66FE-5479-87D0-45C9D8FDC7EC", "iidConstant": "I_AVN_TABLE_VIEW_IID", - "abiVersion": 15, + "abiVersion": 16, "slots": [ 0, 1, @@ -35476,9 +35901,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -35504,15 +35929,15 @@ 194, 195, 196, - 346, - 347, - 234, - 235, - 203, - 204, - 348, + 197, + 198, + 199, 349, 350, + 237, + 238, + 206, + 207, 351, 352, 353, @@ -35520,24 +35945,27 @@ 355, 356, 357, - 213, - 214, 358, 359, 360, + 216, + 217, 361, 362, 363, 364, - 258, - 311, - 312, - 566, - 567, - 854, - 855, - 856, - 857 + 365, + 366, + 367, + 261, + 314, + 315, + 569, + 570, + 857, + 858, + 859, + 860 ], "irBases": [ "IAvnAvaloniaObject", @@ -35591,8 +36019,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -35605,8 +36033,8 @@ 63, 64, 65, - 167, - 168, + 66, + 67, 169, 170, 171, @@ -35622,18 +36050,20 @@ 181, 182, 183, - 334, - 335, + 184, + 185, 336, - 602, - 603 + 337, + 338, + 604, + 605 ] }, { "name": "IAvnTableViewCell", - "iid": "2B1B1C38-97FD-59A3-8BCD-59ACBDC03368", + "iid": "FB82C6E3-9041-5212-B897-E3DEC7EA6360", "iidConstant": "I_AVN_TABLE_VIEW_CELL_IID", - "abiVersion": 13, + "abiVersion": 14, "slots": [ 0, 1, @@ -35716,9 +36146,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -35744,14 +36174,17 @@ 194, 195, 196, - 264, - 265, - 266, + 197, + 198, + 199, 267, 268, 269, 270, - 271 + 271, + 272, + 273, + 274 ], "irBases": [ "IAvnAvaloniaObject", @@ -35803,8 +36236,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -35817,10 +36250,12 @@ 63, 64, 65, - 107, - 108, + 66, + 67, 109, - 110 + 110, + 111, + 112 ] }, { @@ -35855,24 +36290,24 @@ 90, 91, 92, - 484, + 487, + 488, 485, - 482, - 483, - 858, - 859, + 486, + 861, + 862, 107, 108, 109, 110, 93, 94, - 860, - 861, - 268, - 269, - 862, - 863 + 863, + 864, + 271, + 272, + 865, + 866 ], "irBases": [ "IAvnAvaloniaObject", @@ -35893,8 +36328,6 @@ 10, 11, 12, - 604, - 605, 606, 607, 608, @@ -35902,14 +36335,16 @@ 610, 611, 612, - 613 + 613, + 614, + 615 ] }, { "name": "IAvnTableViewRow", - "iid": "8E3BA93D-D0BE-51D9-A007-2AF614AC6ADB", + "iid": "25F888AF-361C-5B20-ACB7-CC9D1770D898", "iidConstant": "I_AVN_TABLE_VIEW_ROW_IID", - "abiVersion": 11, + "abiVersion": 12, "slots": [ 0, 1, @@ -35992,9 +36427,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -36020,16 +36455,19 @@ 194, 195, 196, - 264, - 265, - 266, + 197, + 198, + 199, 267, 268, 269, 270, 271, - 385, - 386 + 272, + 273, + 274, + 388, + 389 ], "irBases": [ "IAvnAvaloniaObject", @@ -36082,8 +36520,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -36096,18 +36534,20 @@ 63, 64, 65, - 107, - 108, + 66, + 67, 109, 110, - 203 + 111, + 112, + 205 ] }, { "name": "IAvnTemplatedControl", - "iid": "6E80826C-F337-5A4D-A5BB-1C0DF436B6D0", + "iid": "1863F34C-F21F-5977-A305-5939D80CB8C5", "iidConstant": "I_AVN_TEMPLATED_CONTROL_IID", - "abiVersion": 14, + "abiVersion": 15, "slots": [ 0, 1, @@ -36190,9 +36630,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -36217,7 +36657,10 @@ 193, 194, 195, - 196 + 196, + 197, + 198, + 199 ], "irBases": [ "IAvnAvaloniaObject", @@ -36267,8 +36710,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -36280,14 +36723,16 @@ 62, 63, 64, - 65 + 65, + 66, + 67 ] }, { "name": "IAvnTextBlock", - "iid": "199AE412-EE08-5BDE-A498-66AE0231AA3F", + "iid": "47E06BD1-10DC-5267-A55F-A5C3BB536285", "iidConstant": "I_AVN_TEXT_BLOCK_IID", - "abiVersion": 16, + "abiVersion": 17, "slots": [ 0, 1, @@ -36370,17 +36815,17 @@ 144, 145, 146, - 195, - 196, - 169, - 170, - 215, - 216, - 179, - 180, + 147, + 148, + 149, + 198, + 199, + 172, + 173, + 218, + 219, + 182, 183, - 184, - 185, 186, 187, 188, @@ -36388,24 +36833,27 @@ 190, 191, 192, - 594, - 595, - 797, - 798, 193, 194, - 590, - 591, - 602, - 603, - 799, - 800, + 195, + 597, 598, - 599, - 181, - 182, + 800, 801, - 802 + 196, + 197, + 593, + 594, + 605, + 606, + 802, + 803, + 601, + 602, + 184, + 185, + 804, + 805 ], "irBases": [ "IAvnAvaloniaObject", @@ -36455,8 +36903,8 @@ 38, 39, 40, - 534, - 535, + 41, + 42, 536, 537, 538, @@ -36472,14 +36920,16 @@ 548, 549, 550, - 551 + 551, + 552, + 553 ] }, { "name": "IAvnTextBox", - "iid": "55D76247-3F6A-5F45-AC3C-33B34A38329A", + "iid": "2CECBBEF-9113-5262-B44C-4CFD61373281", "iidConstant": "I_AVN_TEXT_BOX_IID", - "abiVersion": 20, + "abiVersion": 21, "slots": [ 0, 1, @@ -36562,9 +37012,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -36590,19 +37040,19 @@ 194, 195, 196, - 568, - 569, - 211, - 212, - 570, + 197, + 198, + 199, 571, 572, + 214, + 215, 573, - 197, - 198, 574, 575, 576, + 200, + 201, 577, 578, 579, @@ -36616,37 +37066,37 @@ 587, 588, 589, - 236, - 237, 590, 591, 592, + 239, + 240, 593, 594, 595, - 215, - 216, 596, 597, - 268, - 269, - 270, - 271, 598, + 218, + 219, 599, - 220, - 221, - 335, - 336, - 222, - 223, - 238, - 239, - 240, - 241, 600, + 271, + 272, + 273, + 274, 601, 602, + 223, + 224, + 338, + 339, + 225, + 226, + 241, + 242, + 243, + 244, 603, 604, 605, @@ -36664,21 +37114,24 @@ 617, 618, 619, - 60, 620, - 566, 621, 622, + 60, 623, + 569, 624, 625, 626, 627, 628, 629, - 244, 630, - 631 + 631, + 632, + 247, + 633, + 634 ], "irBases": [ "IAvnAvaloniaObject", @@ -36729,8 +37182,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -36743,8 +37196,8 @@ 63, 64, 65, - 337, - 338, + 66, + 67, 339, 340, 341, @@ -36794,7 +37247,9 @@ 385, 386, 387, - 388 + 388, + 389, + 390 ] }, { @@ -36883,9 +37338,9 @@ }, { "name": "IAvnThemeVariantScope", - "iid": "FF6B43AB-B89D-5574-BBDE-9ACACD23DBA4", + "iid": "0C7665EE-7E88-5B31-AA6C-0B7BE88EA14B", "iidConstant": "I_AVN_THEME_VARIANT_SCOPE_IID", - "abiVersion": 10, + "abiVersion": 11, "slots": [ 0, 1, @@ -36968,12 +37423,15 @@ 144, 145, 146, - 259, - 260, - 195, - 196, - 864, - 865 + 147, + 148, + 149, + 262, + 263, + 198, + 199, + 867, + 868 ], "irBases": [ "IAvnAvaloniaObject", @@ -37024,16 +37482,18 @@ 38, 39, 40, - 98, - 99, - 614 + 41, + 42, + 100, + 101, + 616 ] }, { "name": "IAvnThumb", - "iid": "A9A96FDF-BFCF-5E37-A11E-4B653CE36C00", + "iid": "E465D453-88D0-5CD1-AF2C-389B5D80BE4D", "iidConstant": "I_AVN_THUMB_IID", - "abiVersion": 12, + "abiVersion": 13, "slots": [ 0, 1, @@ -37116,9 +37576,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -37144,12 +37604,15 @@ 194, 195, 196, - 533, - 534, - 535, + 197, + 198, + 199, 536, 537, - 538 + 538, + 539, + 540, + 541 ], "irBases": [ "IAvnAvaloniaObject", @@ -37200,8 +37663,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -37214,9 +37677,11 @@ 63, 64, 65, - 312, - 313, - 314 + 66, + 67, + 314, + 315, + 316 ] }, { @@ -37257,9 +37722,9 @@ }, { "name": "IAvnTimePicker", - "iid": "5E7CE65A-FE53-551C-9F5A-2344EE09E002", + "iid": "B5A38C06-2DB2-5199-83DC-05C28A15DA69", "iidConstant": "I_AVN_TIME_PICKER_IID", - "abiVersion": 13, + "abiVersion": 14, "slots": [ 0, 1, @@ -37342,9 +37807,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -37370,11 +37835,11 @@ 194, 195, 196, - 270, - 271, - 866, - 867, - 868, + 197, + 198, + 199, + 273, + 274, 869, 870, 871, @@ -37382,9 +37847,12 @@ 873, 874, 875, - 60, 876, - 877 + 877, + 878, + 60, + 879, + 880 ], "irBases": [ "IAvnAvaloniaObject", @@ -37435,8 +37903,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -37449,14 +37917,16 @@ 63, 64, 65, - 615, - 616, + 66, + 67, 617, 618, 619, 620, 621, - 622 + 622, + 623, + 624 ] }, { @@ -37473,9 +37943,9 @@ }, { "name": "IAvnToggleButton", - "iid": "23A7F6FB-AFEF-5E4D-8A9A-94F4EFCF6B12", + "iid": "AA447DC6-1470-599E-B0F5-27BF313DC7E7", "iidConstant": "I_AVN_TOGGLE_BUTTON_IID", - "abiVersion": 18, + "abiVersion": 19, "slots": [ 0, 1, @@ -37558,9 +38028,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -37586,9 +38056,9 @@ 194, 195, 196, - 264, - 265, - 266, + 197, + 198, + 199, 267, 268, 269, @@ -37611,12 +38081,15 @@ 286, 287, 288, - 372, - 373, - 374, + 289, + 290, + 291, 375, 376, - 377 + 377, + 378, + 379, + 380 ], "irBases": [ "IAvnAvaloniaObject", @@ -37669,8 +38142,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -37683,8 +38156,8 @@ 63, 64, 65, - 107, - 108, + 66, + 67, 109, 110, 111, @@ -37696,9 +38169,11 @@ 117, 118, 119, - 189, - 190, - 191 + 120, + 121, + 191, + 192, + 193 ] }, { @@ -37715,9 +38190,9 @@ }, { "name": "IAvnToggleSplitButton", - "iid": "0057E49B-BB54-516F-8FDA-B1E646A1C897", + "iid": "A8024AE3-3329-57D6-AE6C-1E3BBAD7A7E6", "iidConstant": "I_AVN_TOGGLE_SPLIT_BUTTON_IID", - "abiVersion": 14, + "abiVersion": 15, "slots": [ 0, 1, @@ -37800,9 +38275,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -37828,28 +38303,31 @@ 194, 195, 196, - 264, - 265, - 266, + 197, + 198, + 199, 267, 268, 269, 270, 271, + 272, + 273, 274, - 275, - 278, - 279, - 285, - 286, - 276, 277, - 814, + 278, + 281, + 282, 288, - 372, - 373, - 878, - 377 + 289, + 279, + 280, + 817, + 291, + 375, + 376, + 881, + 380 ], "irBases": [ "IAvnAvaloniaObject", @@ -37902,8 +38380,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -37916,17 +38394,19 @@ 63, 64, 65, - 107, - 108, + 66, + 67, 109, 110, - 568, - 569, + 111, + 112, 570, 571, 572, - 623, - 624 + 573, + 574, + 625, + 626 ] }, { @@ -37943,9 +38423,9 @@ }, { "name": "IAvnToggleSwitch", - "iid": "B022C6CE-8A5D-5700-B341-114A6A4FBCA0", + "iid": "EB2E63C7-1C28-5754-B26B-64BC0C2641BF", "iidConstant": "I_AVN_TOGGLE_SWITCH_IID", - "abiVersion": 18, + "abiVersion": 19, "slots": [ 0, 1, @@ -38028,9 +38508,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -38056,9 +38536,9 @@ 194, 195, 196, - 264, - 265, - 266, + 197, + 198, + 199, 267, 268, 269, @@ -38081,20 +38561,23 @@ 286, 287, 288, - 372, - 373, - 374, + 289, + 290, + 291, 375, 376, 377, - 879, - 880, - 881, + 378, + 379, + 380, 882, 883, 884, 885, - 886 + 886, + 887, + 888, + 889 ], "irBases": [ "IAvnAvaloniaObject", @@ -38148,8 +38631,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -38162,8 +38645,8 @@ 63, 64, 65, - 107, - 108, + 66, + 67, 109, 110, 111, @@ -38175,20 +38658,22 @@ 117, 118, 119, - 189, - 190, + 120, + 121, 191, - 625, - 626, + 192, + 193, 627, - 628 + 628, + 629, + 630 ] }, { "name": "IAvnToolTip", - "iid": "2B78EA6B-FE62-5508-AB5F-586C3523C5A1", + "iid": "04F8776B-9CD2-58D3-9004-AA6B0C12E902", "iidConstant": "I_AVN_TOOL_TIP_IID", - "abiVersion": 11, + "abiVersion": 12, "slots": [ 0, 1, @@ -38271,9 +38756,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -38299,14 +38784,17 @@ 194, 195, 196, - 264, - 265, - 266, + 197, + 198, + 199, 267, 268, 269, 270, - 271 + 271, + 272, + 273, + 274 ], "irBases": [ "IAvnAvaloniaObject", @@ -38358,8 +38846,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -38372,10 +38860,12 @@ 63, 64, 65, - 107, - 108, + 66, + 67, 109, - 110 + 110, + 111, + 112 ] }, { @@ -38387,9 +38877,6 @@ 0, 1, 2, - 998, - 999, - 1000, 1001, 1002, 1003, @@ -38404,14 +38891,17 @@ 1012, 1013, 1014, - 1015 + 1015, + 1016, + 1017, + 1018 ] }, { "name": "IAvnTransitioningContentControl", - "iid": "FD0EB25C-585B-5EDA-B1ED-F629A765B5A9", + "iid": "2B88F131-4CA4-529F-AA60-ED2BE719BE10", "iidConstant": "I_AVN_TRANSITIONING_CONTENT_CONTROL_IID", - "abiVersion": 12, + "abiVersion": 13, "slots": [ 0, 1, @@ -38494,9 +38984,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -38522,18 +39012,21 @@ 194, 195, 196, - 264, - 265, - 266, + 197, + 198, + 199, 267, 268, 269, 270, 271, - 887, - 888, - 889, - 890 + 272, + 273, + 274, + 890, + 891, + 892, + 893 ], "irBases": [ "IAvnAvaloniaObject", @@ -38585,8 +39078,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -38599,12 +39092,14 @@ 63, 64, 65, - 107, - 108, + 66, + 67, 109, 110, - 629, - 630 + 111, + 112, + 631, + 632 ] }, { @@ -38630,30 +39125,30 @@ 2, 70, 71, - 274, - 275, + 277, 278, - 279, - 891, - 892, - 893, + 281, + 282, 894, + 895, + 896, + 897, 93, 94, - 895, - 896 + 898, + 899 ], "irBases": [ "IAvnAvaloniaObject", "IAvnTrayIcon" ], "irMembers": [ - 631, - 632, 633, 634, 635, - 636 + 636, + 637, + 638 ] }, { @@ -38670,9 +39165,9 @@ }, { "name": "IAvnTreeView", - "iid": "0B60003F-EC3F-5F72-9763-04C3C4FFE8DD", + "iid": "51F6F3E1-06E8-563F-A834-CA7D3C751B4D", "iidConstant": "I_AVN_TREE_VIEW_IID", - "abiVersion": 14, + "abiVersion": 15, "slots": [ 0, 1, @@ -38755,9 +39250,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -38783,34 +39278,37 @@ 194, 195, 196, - 346, - 347, - 234, - 235, - 203, - 204, - 348, + 197, + 198, + 199, 349, 350, + 237, + 238, + 206, + 207, 351, 352, 353, 354, 355, - 311, - 312, - 213, - 214, - 897, - 898, - 899, + 356, + 357, + 358, + 314, + 315, + 216, + 217, 900, - 566, - 567, 901, 902, 903, - 258 + 569, + 570, + 904, + 905, + 906, + 261 ], "irBases": [ "IAvnAvaloniaObject", @@ -38862,8 +39360,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -38876,8 +39374,8 @@ 63, 64, 65, - 167, - 168, + 66, + 67, 169, 170, 171, @@ -38886,8 +39384,8 @@ 174, 175, 176, - 637, - 638, + 177, + 178, 639, 640, 641, @@ -38896,14 +39394,16 @@ 644, 645, 646, - 647 + 647, + 648, + 649 ] }, { "name": "IAvnTreeViewItem", - "iid": "F173219D-C63C-5669-BE7D-98E98BF1C54B", + "iid": "489990A9-1ED5-5772-AEE6-25C4E8B8612A", "iidConstant": "I_AVN_TREE_VIEW_ITEM_IID", - "abiVersion": 14, + "abiVersion": 15, "slots": [ 0, 1, @@ -38986,9 +39486,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -39014,31 +39514,34 @@ 194, 195, 196, - 346, - 347, - 234, - 235, - 203, - 204, - 348, + 197, + 198, + 199, 349, 350, + 237, + 238, + 206, + 207, 351, 352, 353, - 482, - 483, - 484, + 354, + 355, + 356, 485, + 486, + 487, 488, - 489, - 385, - 386, - 904, - 905, - 495, - 906, - 491 + 491, + 492, + 388, + 389, + 907, + 908, + 498, + 909, + 494 ], "irBases": [ "IAvnAvaloniaObject", @@ -39091,8 +39594,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -39105,8 +39608,8 @@ 63, 64, 65, - 167, - 168, + 66, + 67, 169, 170, 171, @@ -39115,13 +39618,15 @@ 174, 175, 176, - 320, - 321, - 648, - 649, + 177, + 178, + 322, + 323, 650, 651, - 652 + 652, + 653, + 654 ] }, { @@ -39177,9 +39682,9 @@ }, { "name": "IAvnUniformGrid", - "iid": "061A5BD1-9360-53D2-BEF6-7EB9ECAEA493", + "iid": "8B8511AD-3289-5415-A03D-E0265549A876", "iidConstant": "I_AVN_UNIFORM_GRID_IID", - "abiVersion": 10, + "abiVersion": 11, "slots": [ 0, 1, @@ -39262,19 +39767,22 @@ 144, 145, 146, - 345, - 169, - 170, - 907, - 908, - 909, + 147, + 148, + 149, + 348, + 172, + 173, 910, 911, 912, - 510, + 913, + 914, + 915, + 513, + 514, 511, - 508, - 509 + 512 ], "irBases": [ "IAvnAvaloniaObject", @@ -39325,20 +39833,22 @@ 38, 39, 40, - 165, - 166, - 653, - 654, + 41, + 42, + 167, + 168, 655, 656, - 657 + 657, + 658, + 659 ] }, { "name": "IAvnUserControl", - "iid": "0BFF79AB-0D63-5654-8F44-DBBDA630FA30", + "iid": "0529D537-1B91-5234-8480-855B56086322", "iidConstant": "I_AVN_USER_CONTROL_IID", - "abiVersion": 11, + "abiVersion": 12, "slots": [ 0, 1, @@ -39421,9 +39931,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -39449,14 +39959,17 @@ 194, 195, 196, - 264, - 265, - 266, + 197, + 198, + 199, 267, 268, 269, 270, - 271 + 271, + 272, + 273, + 274 ], "irBases": [ "IAvnAvaloniaObject", @@ -39508,8 +40021,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -39522,10 +40035,12 @@ 63, 64, 65, - 107, - 108, + 66, + 67, 109, - 110 + 110, + 111, + 112 ] }, { @@ -39547,9 +40062,9 @@ }, { "name": "IAvnViewbox", - "iid": "159B2487-78B8-5C1A-932D-A67C6E2E7420", + "iid": "EFA9084A-769B-55F4-8101-3B6D4CB524D7", "iidConstant": "I_AVN_VIEWBOX_IID", - "abiVersion": 10, + "abiVersion": 11, "slots": [ 0, 1, @@ -39632,12 +40147,15 @@ 144, 145, 146, + 147, + 148, 149, - 150, - 557, - 558, - 259, - 260 + 152, + 153, + 560, + 561, + 262, + 263 ], "irBases": [ "IAvnAvaloniaObject", @@ -39687,16 +40205,18 @@ 38, 39, 40, - 658, - 659, - 660 + 41, + 42, + 660, + 661, + 662 ] }, { "name": "IAvnWindow", - "iid": "BF221569-8214-5478-9505-0B21A2663545", + "iid": "9A01C107-BB12-5AFE-9DAA-C5AACEF2D879", "iidConstant": "I_AVN_WINDOW_IID", - "abiVersion": 20, + "abiVersion": 21, "slots": [ 0, 1, @@ -39779,9 +40299,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -39807,17 +40327,17 @@ 194, 195, 196, - 264, - 265, - 266, + 197, + 198, + 199, 267, 268, 269, 270, 271, - 913, - 914, - 915, + 272, + 273, + 274, 916, 917, 918, @@ -39842,20 +40362,23 @@ 937, 938, 939, - 891, - 892, 940, 941, 942, + 894, + 895, 943, 944, - 432, 945, - 514, 946, 947, + 435, 948, - 416 + 517, + 949, + 950, + 951, + 419 ], "irBases": [ "IAvnAvaloniaObject", @@ -39907,8 +40430,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -39921,12 +40444,12 @@ 63, 64, 65, - 107, - 108, + 66, + 67, 109, 110, - 661, - 662, + 111, + 112, 663, 664, 665, @@ -39949,7 +40472,9 @@ 682, 683, 684, - 685 + 685, + 686, + 687 ] }, { @@ -39966,9 +40491,9 @@ }, { "name": "IAvnWindowNotificationManager", - "iid": "2EECEA93-798A-57D8-9ED9-91C4EA6D282F", + "iid": "C159F361-BE6C-5268-8A0B-E12F633F395C", "iidConstant": "I_AVN_WINDOW_NOTIFICATION_MANAGER_IID", - "abiVersion": 12, + "abiVersion": 13, "slots": [ 0, 1, @@ -40051,9 +40576,9 @@ 144, 145, 146, - 169, - 170, - 171, + 147, + 148, + 149, 172, 173, 174, @@ -40079,15 +40604,18 @@ 194, 195, 196, - 949, - 950, - 951, + 197, + 198, + 199, 952, 953, 954, 955, 956, - 957 + 957, + 958, + 959, + 960 ], "irBases": [ "IAvnAvaloniaObject", @@ -40138,8 +40666,8 @@ 38, 39, 40, - 52, - 53, + 41, + 42, 54, 55, 56, @@ -40152,20 +40680,22 @@ 63, 64, 65, - 686, - 687, + 66, + 67, 688, 689, 690, 691, - 692 + 692, + 693, + 694 ] }, { "name": "IAvnWrapPanel", - "iid": "FE3C3653-52AA-529D-8ACE-7F54E7D74387", + "iid": "71831219-F14C-5D2F-A2F1-49FB979605D4", "iidConstant": "I_AVN_WRAP_PANEL_IID", - "abiVersion": 10, + "abiVersion": 11, "slots": [ 0, 1, @@ -40248,21 +40778,24 @@ 144, 145, 146, - 345, - 169, - 170, - 958, - 959, - 797, - 798, - 694, - 695, - 960, + 147, + 148, + 149, + 348, + 172, + 173, 961, 962, + 800, + 801, + 697, + 698, 963, 964, - 965 + 965, + 966, + 967, + 968 ], "irBases": [ "IAvnAvaloniaObject", @@ -40313,14 +40846,16 @@ 38, 39, 40, - 165, - 166, - 693, - 694, + 41, + 42, + 167, + 168, 695, 696, 697, - 698 + 698, + 699, + 700 ] } ] diff --git a/rust/avalonia-sys/include/.avalonia-projection.owned.json b/rust/avalonia-sys/include/.avalonia-projection.owned.json index 6009311..4e05010 100644 --- a/rust/avalonia-sys/include/.avalonia-projection.owned.json +++ b/rust/avalonia-sys/include/.avalonia-projection.owned.json @@ -3,7 +3,7 @@ "files": [ { "path": "avalonia-rust-abi.h", - "sha256": "f3b3156acd5a58de1011cef09463296756ad7300683eb1fbf47174eecf6d2513" + "sha256": "267a44997b95dde7426d3212bf5316652f7ba923a94a8c9150749f5b2ae33175" } ] } diff --git a/rust/avalonia-sys/include/avalonia-rust-abi.h b/rust/avalonia-sys/include/avalonia-rust-abi.h index d3f9e8e..c36bf62 100644 --- a/rust/avalonia-sys/include/avalonia-rust-abi.h +++ b/rust/avalonia-sys/include/avalonia-rust-abi.h @@ -2444,12 +2444,12 @@ struct IAvnVariantList { const IAvnVariantListVtbl* vtbl; }; #define I_AVN_VARIANT_LIST_VTABLE_SLOTS 9 static const AvnGuid I_AVN_ARC_IID = { - 0xD707907F, - 0xAF00, - 0x561A, - { 0x93, 0x74, 0x03, 0xA9, 0x0D, 0xF5, 0x5B, 0x83 } + 0x2DACA1F8, + 0x5364, + 0x5CB5, + { 0xB4, 0x71, 0x81, 0x68, 0x2B, 0x00, 0xE3, 0x89 } }; -#define I_AVN_ARC_ABI_VERSION 10 +#define I_AVN_ARC_ABI_VERSION 11 struct IAvnArcVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnArc* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnArc* self); /* slot 1 */ @@ -2506,65 +2506,68 @@ struct IAvnArcVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnArc* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnArc* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnArc* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnArc* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnArc* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnArc* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnArc* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnArc* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnArc* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnArc* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnArc* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnArc* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnArc* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnArc* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnArc* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnArc* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnArc* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnArc* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnArc* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnArc* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnArc* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnArc* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnArc* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnArc* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnArc* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnArc* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnArc* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnArc* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnArc* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_fill)(IAvnArc* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_fill)(IAvnArc* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_stretch)(IAvnArc* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_stretch)(IAvnArc* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_stroke)(IAvnArc* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_stroke)(IAvnArc* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_stroke_dash_array)(IAvnArc* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_stroke_dash_array)(IAvnArc* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_stroke_dash_offset)(IAvnArc* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_stroke_dash_offset)(IAvnArc* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_stroke_thickness)(IAvnArc* self, double* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_stroke_thickness)(IAvnArc* self, double value); /* slot 92 */ - AvnHResult (AVN_CALL *get_stroke_line_cap)(IAvnArc* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_stroke_line_cap)(IAvnArc* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_stroke_join)(IAvnArc* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_stroke_join)(IAvnArc* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_stroke_miter_limit)(IAvnArc* self, double* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_stroke_miter_limit)(IAvnArc* self, double value); /* slot 98 */ - AvnHResult (AVN_CALL *get_start_angle)(IAvnArc* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_start_angle)(IAvnArc* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_sweep_angle)(IAvnArc* self, double* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_sweep_angle)(IAvnArc* self, double value); /* slot 102 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnArc* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnArc* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnArc* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnArc* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnArc* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnArc* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnArc* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnArc* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnArc* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnArc* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnArc* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnArc* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnArc* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnArc* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnArc* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnArc* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnArc* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnArc* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnArc* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnArc* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnArc* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnArc* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnArc* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnArc* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnArc* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnArc* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnArc* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnArc* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnArc* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_fill)(IAvnArc* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_fill)(IAvnArc* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_stretch)(IAvnArc* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_stretch)(IAvnArc* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_stroke)(IAvnArc* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_stroke)(IAvnArc* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_stroke_dash_array)(IAvnArc* self, uint16_t** value); /* slot 90 */ + AvnHResult (AVN_CALL *set_stroke_dash_array)(IAvnArc* self, const uint16_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *get_stroke_dash_offset)(IAvnArc* self, double* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_stroke_dash_offset)(IAvnArc* self, double value); /* slot 93 */ + AvnHResult (AVN_CALL *get_stroke_thickness)(IAvnArc* self, double* value); /* slot 94 */ + AvnHResult (AVN_CALL *set_stroke_thickness)(IAvnArc* self, double value); /* slot 95 */ + AvnHResult (AVN_CALL *get_stroke_line_cap)(IAvnArc* self, int32_t* value); /* slot 96 */ + AvnHResult (AVN_CALL *set_stroke_line_cap)(IAvnArc* self, int32_t value); /* slot 97 */ + AvnHResult (AVN_CALL *get_stroke_join)(IAvnArc* self, int32_t* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_stroke_join)(IAvnArc* self, int32_t value); /* slot 99 */ + AvnHResult (AVN_CALL *get_stroke_miter_limit)(IAvnArc* self, double* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_stroke_miter_limit)(IAvnArc* self, double value); /* slot 101 */ + AvnHResult (AVN_CALL *get_start_angle)(IAvnArc* self, double* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_start_angle)(IAvnArc* self, double value); /* slot 103 */ + AvnHResult (AVN_CALL *get_sweep_angle)(IAvnArc* self, double* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_sweep_angle)(IAvnArc* self, double value); /* slot 105 */ }; struct IAvnArc { const IAvnArcVtbl* vtbl; }; -#define I_AVN_ARC_VTABLE_SLOTS 103 +#define I_AVN_ARC_VTABLE_SLOTS 106 static const AvnGuid I_AVN_AUTO_COMPLETE_BOX_IID = { - 0x26FFE15E, - 0x6149, - 0x5898, - { 0x93, 0xEB, 0x55, 0x90, 0x93, 0x38, 0xDC, 0x9A } + 0x6D1670C7, + 0x0D52, + 0x5BB1, + { 0x82, 0x89, 0x6C, 0x26, 0x17, 0xB7, 0x4A, 0x6C } }; -#define I_AVN_AUTO_COMPLETE_BOX_ABI_VERSION 18 +#define I_AVN_AUTO_COMPLETE_BOX_ABI_VERSION 19 struct IAvnAutoCompleteBoxVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnAutoCompleteBox* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnAutoCompleteBox* self); /* slot 1 */ @@ -2621,125 +2624,128 @@ struct IAvnAutoCompleteBoxVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnAutoCompleteBox* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnAutoCompleteBox* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnAutoCompleteBox* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnAutoCompleteBox* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnAutoCompleteBox* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnAutoCompleteBox* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnAutoCompleteBox* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnAutoCompleteBox* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnAutoCompleteBox* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnAutoCompleteBox* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnAutoCompleteBox* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnAutoCompleteBox* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnAutoCompleteBox* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnAutoCompleteBox* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnAutoCompleteBox* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnAutoCompleteBox* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnAutoCompleteBox* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnAutoCompleteBox* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnAutoCompleteBox* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnAutoCompleteBox* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnAutoCompleteBox* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnAutoCompleteBox* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnAutoCompleteBox* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnAutoCompleteBox* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnAutoCompleteBox* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnAutoCompleteBox* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnAutoCompleteBox* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnAutoCompleteBox* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnAutoCompleteBox* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnAutoCompleteBox* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnAutoCompleteBox* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnAutoCompleteBox* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnAutoCompleteBox* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnAutoCompleteBox* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnAutoCompleteBox* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnAutoCompleteBox* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnAutoCompleteBox* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnAutoCompleteBox* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnAutoCompleteBox* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_caret_index)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_caret_index)(IAvnAutoCompleteBox* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_minimum_prefix_length)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_minimum_prefix_length)(IAvnAutoCompleteBox* self, int32_t value); /* slot 112 */ - AvnHResult (AVN_CALL *get_is_text_completion_enabled)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_is_text_completion_enabled)(IAvnAutoCompleteBox* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_item_template)(IAvnAutoCompleteBox* self, IAvnDataTemplate** value); /* slot 115 */ - AvnHResult (AVN_CALL *set_item_template)(IAvnAutoCompleteBox* self, IAvnDataTemplate* value); /* slot 116 */ - AvnHResult (AVN_CALL *get_minimum_populate_delay)(IAvnAutoCompleteBox* self, int64_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_minimum_populate_delay)(IAvnAutoCompleteBox* self, int64_t value); /* slot 118 */ - AvnHResult (AVN_CALL *get_max_drop_down_height)(IAvnAutoCompleteBox* self, double* value); /* slot 119 */ - AvnHResult (AVN_CALL *set_max_drop_down_height)(IAvnAutoCompleteBox* self, double value); /* slot 120 */ - AvnHResult (AVN_CALL *get_is_drop_down_open)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 121 */ - AvnHResult (AVN_CALL *set_is_drop_down_open)(IAvnAutoCompleteBox* self, int32_t value); /* slot 122 */ - AvnHResult (AVN_CALL *get_clear_selection_on_lost_focus)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *set_clear_selection_on_lost_focus)(IAvnAutoCompleteBox* self, int32_t value); /* slot 124 */ - AvnHResult (AVN_CALL *get_selected_item)(IAvnAutoCompleteBox* self, AvnVariant* value); /* slot 125 */ - AvnHResult (AVN_CALL *set_selected_item)(IAvnAutoCompleteBox* self, AvnVariant value); /* slot 126 */ - AvnHResult (AVN_CALL *get_text)(IAvnAutoCompleteBox* self, uint16_t** value); /* slot 127 */ - AvnHResult (AVN_CALL *set_text)(IAvnAutoCompleteBox* self, const uint16_t* value); /* slot 128 */ - AvnHResult (AVN_CALL *get_search_text)(IAvnAutoCompleteBox* self, uint16_t** value); /* slot 129 */ - AvnHResult (AVN_CALL *get_filter_mode)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 130 */ - AvnHResult (AVN_CALL *set_filter_mode)(IAvnAutoCompleteBox* self, int32_t value); /* slot 131 */ - AvnHResult (AVN_CALL *get_placeholder_text)(IAvnAutoCompleteBox* self, uint16_t** value); /* slot 132 */ - AvnHResult (AVN_CALL *set_placeholder_text)(IAvnAutoCompleteBox* self, const uint16_t* value); /* slot 133 */ - AvnHResult (AVN_CALL *get_placeholder_foreground)(IAvnAutoCompleteBox* self, IAvnBrush** value); /* slot 134 */ - AvnHResult (AVN_CALL *set_placeholder_foreground)(IAvnAutoCompleteBox* self, IAvnBrush* value); /* slot 135 */ - AvnHResult (AVN_CALL *get_item_filter)(IAvnAutoCompleteBox* self, IAvnItemFilter** value); /* slot 136 */ - AvnHResult (AVN_CALL *set_item_filter)(IAvnAutoCompleteBox* self, IAvnItemFilter* value); /* slot 137 */ - AvnHResult (AVN_CALL *get_text_filter)(IAvnAutoCompleteBox* self, IAvnTextFilter** value); /* slot 138 */ - AvnHResult (AVN_CALL *set_text_filter)(IAvnAutoCompleteBox* self, IAvnTextFilter* value); /* slot 139 */ - AvnHResult (AVN_CALL *get_item_selector)(IAvnAutoCompleteBox* self, IAvnItemSelector** value); /* slot 140 */ - AvnHResult (AVN_CALL *set_item_selector)(IAvnAutoCompleteBox* self, IAvnItemSelector* value); /* slot 141 */ - AvnHResult (AVN_CALL *get_text_selector)(IAvnAutoCompleteBox* self, IAvnTextSelector** value); /* slot 142 */ - AvnHResult (AVN_CALL *set_text_selector)(IAvnAutoCompleteBox* self, IAvnTextSelector* value); /* slot 143 */ - AvnHResult (AVN_CALL *get_async_populator)(IAvnAutoCompleteBox* self, IAvnAsyncPopulator** value); /* slot 144 */ - AvnHResult (AVN_CALL *set_async_populator)(IAvnAutoCompleteBox* self, IAvnAsyncPopulator* value); /* slot 145 */ - AvnHResult (AVN_CALL *get_items_source)(IAvnAutoCompleteBox* self, IAvnVariantList** value); /* slot 146 */ - AvnHResult (AVN_CALL *set_items_source)(IAvnAutoCompleteBox* self, IAvnVariantList* value); /* slot 147 */ - AvnHResult (AVN_CALL *get_max_length)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 148 */ - AvnHResult (AVN_CALL *set_max_length)(IAvnAutoCompleteBox* self, int32_t value); /* slot 149 */ - AvnHResult (AVN_CALL *get_inner_left_content)(IAvnAutoCompleteBox* self, IAvnControl** value); /* slot 150 */ - AvnHResult (AVN_CALL *set_inner_left_content)(IAvnAutoCompleteBox* self, IAvnControl* value); /* slot 151 */ - AvnHResult (AVN_CALL *get_inner_right_content)(IAvnAutoCompleteBox* self, IAvnControl** value); /* slot 152 */ - AvnHResult (AVN_CALL *set_inner_right_content)(IAvnAutoCompleteBox* self, IAvnControl* value); /* slot 153 */ - AvnHResult (AVN_CALL *populate_complete)(IAvnAutoCompleteBox* self); /* slot 154 */ - AvnHResult (AVN_CALL *advise_text_changed)(IAvnAutoCompleteBox* self, IAvnAutoCompleteBoxTextChangedHandler* handler, int64_t* subscription_id); /* slot 155 */ - AvnHResult (AVN_CALL *unadvise_text_changed)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 156 */ - AvnHResult (AVN_CALL *advise_populating)(IAvnAutoCompleteBox* self, IAvnAutoCompleteBoxPopulatingHandler* handler, int64_t* subscription_id); /* slot 157 */ - AvnHResult (AVN_CALL *unadvise_populating)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 158 */ - AvnHResult (AVN_CALL *advise_populated)(IAvnAutoCompleteBox* self, IAvnAutoCompleteBoxPopulatedHandler* handler, int64_t* subscription_id); /* slot 159 */ - AvnHResult (AVN_CALL *unadvise_populated)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 160 */ - AvnHResult (AVN_CALL *advise_drop_down_opening)(IAvnAutoCompleteBox* self, IAvnAutoCompleteBoxDropDownOpeningHandler* handler, int64_t* subscription_id); /* slot 161 */ - AvnHResult (AVN_CALL *unadvise_drop_down_opening)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 162 */ - AvnHResult (AVN_CALL *advise_drop_down_opened)(IAvnAutoCompleteBox* self, IAvnAutoCompleteBoxDropDownOpenedHandler* handler, int64_t* subscription_id); /* slot 163 */ - AvnHResult (AVN_CALL *unadvise_drop_down_opened)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 164 */ - AvnHResult (AVN_CALL *advise_drop_down_closing)(IAvnAutoCompleteBox* self, IAvnAutoCompleteBoxDropDownClosingHandler* handler, int64_t* subscription_id); /* slot 165 */ - AvnHResult (AVN_CALL *unadvise_drop_down_closing)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 166 */ - AvnHResult (AVN_CALL *advise_drop_down_closed)(IAvnAutoCompleteBox* self, IAvnAutoCompleteBoxDropDownClosedHandler* handler, int64_t* subscription_id); /* slot 167 */ - AvnHResult (AVN_CALL *unadvise_drop_down_closed)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 168 */ - AvnHResult (AVN_CALL *advise_selection_changed)(IAvnAutoCompleteBox* self, IAvnAutoCompleteBoxSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 169 */ - AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 170 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnAutoCompleteBox* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnAutoCompleteBox* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnAutoCompleteBox* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnAutoCompleteBox* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnAutoCompleteBox* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnAutoCompleteBox* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnAutoCompleteBox* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnAutoCompleteBox* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnAutoCompleteBox* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnAutoCompleteBox* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnAutoCompleteBox* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnAutoCompleteBox* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnAutoCompleteBox* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnAutoCompleteBox* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnAutoCompleteBox* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnAutoCompleteBox* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnAutoCompleteBox* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnAutoCompleteBox* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnAutoCompleteBox* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnAutoCompleteBox* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnAutoCompleteBox* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnAutoCompleteBox* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnAutoCompleteBox* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnAutoCompleteBox* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnAutoCompleteBox* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnAutoCompleteBox* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnAutoCompleteBox* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnAutoCompleteBox* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnAutoCompleteBox* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnAutoCompleteBox* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnAutoCompleteBox* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnAutoCompleteBox* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnAutoCompleteBox* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnAutoCompleteBox* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnAutoCompleteBox* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnAutoCompleteBox* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnAutoCompleteBox* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnAutoCompleteBox* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnAutoCompleteBox* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_caret_index)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 112 */ + AvnHResult (AVN_CALL *set_caret_index)(IAvnAutoCompleteBox* self, int32_t value); /* slot 113 */ + AvnHResult (AVN_CALL *get_minimum_prefix_length)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 114 */ + AvnHResult (AVN_CALL *set_minimum_prefix_length)(IAvnAutoCompleteBox* self, int32_t value); /* slot 115 */ + AvnHResult (AVN_CALL *get_is_text_completion_enabled)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 116 */ + AvnHResult (AVN_CALL *set_is_text_completion_enabled)(IAvnAutoCompleteBox* self, int32_t value); /* slot 117 */ + AvnHResult (AVN_CALL *get_item_template)(IAvnAutoCompleteBox* self, IAvnDataTemplate** value); /* slot 118 */ + AvnHResult (AVN_CALL *set_item_template)(IAvnAutoCompleteBox* self, IAvnDataTemplate* value); /* slot 119 */ + AvnHResult (AVN_CALL *get_minimum_populate_delay)(IAvnAutoCompleteBox* self, int64_t* value); /* slot 120 */ + AvnHResult (AVN_CALL *set_minimum_populate_delay)(IAvnAutoCompleteBox* self, int64_t value); /* slot 121 */ + AvnHResult (AVN_CALL *get_max_drop_down_height)(IAvnAutoCompleteBox* self, double* value); /* slot 122 */ + AvnHResult (AVN_CALL *set_max_drop_down_height)(IAvnAutoCompleteBox* self, double value); /* slot 123 */ + AvnHResult (AVN_CALL *get_is_drop_down_open)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 124 */ + AvnHResult (AVN_CALL *set_is_drop_down_open)(IAvnAutoCompleteBox* self, int32_t value); /* slot 125 */ + AvnHResult (AVN_CALL *get_clear_selection_on_lost_focus)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 126 */ + AvnHResult (AVN_CALL *set_clear_selection_on_lost_focus)(IAvnAutoCompleteBox* self, int32_t value); /* slot 127 */ + AvnHResult (AVN_CALL *get_selected_item)(IAvnAutoCompleteBox* self, AvnVariant* value); /* slot 128 */ + AvnHResult (AVN_CALL *set_selected_item)(IAvnAutoCompleteBox* self, AvnVariant value); /* slot 129 */ + AvnHResult (AVN_CALL *get_text)(IAvnAutoCompleteBox* self, uint16_t** value); /* slot 130 */ + AvnHResult (AVN_CALL *set_text)(IAvnAutoCompleteBox* self, const uint16_t* value); /* slot 131 */ + AvnHResult (AVN_CALL *get_search_text)(IAvnAutoCompleteBox* self, uint16_t** value); /* slot 132 */ + AvnHResult (AVN_CALL *get_filter_mode)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 133 */ + AvnHResult (AVN_CALL *set_filter_mode)(IAvnAutoCompleteBox* self, int32_t value); /* slot 134 */ + AvnHResult (AVN_CALL *get_placeholder_text)(IAvnAutoCompleteBox* self, uint16_t** value); /* slot 135 */ + AvnHResult (AVN_CALL *set_placeholder_text)(IAvnAutoCompleteBox* self, const uint16_t* value); /* slot 136 */ + AvnHResult (AVN_CALL *get_placeholder_foreground)(IAvnAutoCompleteBox* self, IAvnBrush** value); /* slot 137 */ + AvnHResult (AVN_CALL *set_placeholder_foreground)(IAvnAutoCompleteBox* self, IAvnBrush* value); /* slot 138 */ + AvnHResult (AVN_CALL *get_item_filter)(IAvnAutoCompleteBox* self, IAvnItemFilter** value); /* slot 139 */ + AvnHResult (AVN_CALL *set_item_filter)(IAvnAutoCompleteBox* self, IAvnItemFilter* value); /* slot 140 */ + AvnHResult (AVN_CALL *get_text_filter)(IAvnAutoCompleteBox* self, IAvnTextFilter** value); /* slot 141 */ + AvnHResult (AVN_CALL *set_text_filter)(IAvnAutoCompleteBox* self, IAvnTextFilter* value); /* slot 142 */ + AvnHResult (AVN_CALL *get_item_selector)(IAvnAutoCompleteBox* self, IAvnItemSelector** value); /* slot 143 */ + AvnHResult (AVN_CALL *set_item_selector)(IAvnAutoCompleteBox* self, IAvnItemSelector* value); /* slot 144 */ + AvnHResult (AVN_CALL *get_text_selector)(IAvnAutoCompleteBox* self, IAvnTextSelector** value); /* slot 145 */ + AvnHResult (AVN_CALL *set_text_selector)(IAvnAutoCompleteBox* self, IAvnTextSelector* value); /* slot 146 */ + AvnHResult (AVN_CALL *get_async_populator)(IAvnAutoCompleteBox* self, IAvnAsyncPopulator** value); /* slot 147 */ + AvnHResult (AVN_CALL *set_async_populator)(IAvnAutoCompleteBox* self, IAvnAsyncPopulator* value); /* slot 148 */ + AvnHResult (AVN_CALL *get_items_source)(IAvnAutoCompleteBox* self, IAvnVariantList** value); /* slot 149 */ + AvnHResult (AVN_CALL *set_items_source)(IAvnAutoCompleteBox* self, IAvnVariantList* value); /* slot 150 */ + AvnHResult (AVN_CALL *get_max_length)(IAvnAutoCompleteBox* self, int32_t* value); /* slot 151 */ + AvnHResult (AVN_CALL *set_max_length)(IAvnAutoCompleteBox* self, int32_t value); /* slot 152 */ + AvnHResult (AVN_CALL *get_inner_left_content)(IAvnAutoCompleteBox* self, IAvnControl** value); /* slot 153 */ + AvnHResult (AVN_CALL *set_inner_left_content)(IAvnAutoCompleteBox* self, IAvnControl* value); /* slot 154 */ + AvnHResult (AVN_CALL *get_inner_right_content)(IAvnAutoCompleteBox* self, IAvnControl** value); /* slot 155 */ + AvnHResult (AVN_CALL *set_inner_right_content)(IAvnAutoCompleteBox* self, IAvnControl* value); /* slot 156 */ + AvnHResult (AVN_CALL *populate_complete)(IAvnAutoCompleteBox* self); /* slot 157 */ + AvnHResult (AVN_CALL *advise_text_changed)(IAvnAutoCompleteBox* self, IAvnAutoCompleteBoxTextChangedHandler* handler, int64_t* subscription_id); /* slot 158 */ + AvnHResult (AVN_CALL *unadvise_text_changed)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 159 */ + AvnHResult (AVN_CALL *advise_populating)(IAvnAutoCompleteBox* self, IAvnAutoCompleteBoxPopulatingHandler* handler, int64_t* subscription_id); /* slot 160 */ + AvnHResult (AVN_CALL *unadvise_populating)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 161 */ + AvnHResult (AVN_CALL *advise_populated)(IAvnAutoCompleteBox* self, IAvnAutoCompleteBoxPopulatedHandler* handler, int64_t* subscription_id); /* slot 162 */ + AvnHResult (AVN_CALL *unadvise_populated)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 163 */ + AvnHResult (AVN_CALL *advise_drop_down_opening)(IAvnAutoCompleteBox* self, IAvnAutoCompleteBoxDropDownOpeningHandler* handler, int64_t* subscription_id); /* slot 164 */ + AvnHResult (AVN_CALL *unadvise_drop_down_opening)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 165 */ + AvnHResult (AVN_CALL *advise_drop_down_opened)(IAvnAutoCompleteBox* self, IAvnAutoCompleteBoxDropDownOpenedHandler* handler, int64_t* subscription_id); /* slot 166 */ + AvnHResult (AVN_CALL *unadvise_drop_down_opened)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 167 */ + AvnHResult (AVN_CALL *advise_drop_down_closing)(IAvnAutoCompleteBox* self, IAvnAutoCompleteBoxDropDownClosingHandler* handler, int64_t* subscription_id); /* slot 168 */ + AvnHResult (AVN_CALL *unadvise_drop_down_closing)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 169 */ + AvnHResult (AVN_CALL *advise_drop_down_closed)(IAvnAutoCompleteBox* self, IAvnAutoCompleteBoxDropDownClosedHandler* handler, int64_t* subscription_id); /* slot 170 */ + AvnHResult (AVN_CALL *unadvise_drop_down_closed)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 171 */ + AvnHResult (AVN_CALL *advise_selection_changed)(IAvnAutoCompleteBox* self, IAvnAutoCompleteBoxSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 172 */ + AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnAutoCompleteBox* self, int64_t subscription_id); /* slot 173 */ }; struct IAvnAutoCompleteBox { const IAvnAutoCompleteBoxVtbl* vtbl; }; -#define I_AVN_AUTO_COMPLETE_BOX_VTABLE_SLOTS 171 +#define I_AVN_AUTO_COMPLETE_BOX_VTABLE_SLOTS 174 static const AvnGuid I_AVN_AVALONIA_OBJECT_IID = { 0xFA7F2E03, @@ -2759,12 +2765,12 @@ struct IAvnAvaloniaObject { const IAvnAvaloniaObjectVtbl* vtbl; }; #define I_AVN_AVALONIA_OBJECT_VTABLE_SLOTS 5 static const AvnGuid I_AVN_BORDER_IID = { - 0xDF677487, - 0xF79D, - 0x50DF, - { 0xA4, 0x74, 0x0A, 0xF6, 0x9F, 0x6A, 0x6C, 0x5B } + 0x430F4A36, + 0x8B46, + 0x5F3C, + { 0x8E, 0x4D, 0xBD, 0x11, 0xAA, 0x52, 0x29, 0x69 } }; -#define I_AVN_BORDER_ABI_VERSION 14 +#define I_AVN_BORDER_ABI_VERSION 15 struct IAvnBorderVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnBorder* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnBorder* self); /* slot 1 */ @@ -2821,60 +2827,63 @@ struct IAvnBorderVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnBorder* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnBorder* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnBorder* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnBorder* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnBorder* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnBorder* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnBorder* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnBorder* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnBorder* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnBorder* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnBorder* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnBorder* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnBorder* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnBorder* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnBorder* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnBorder* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnBorder* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnBorder* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnBorder* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnBorder* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnBorder* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnBorder* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnBorder* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnBorder* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnBorder* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnBorder* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnBorder* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnBorder* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnBorder* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_child)(IAvnBorder* self, IAvnControl** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_child)(IAvnBorder* self, IAvnControl* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_padding)(IAvnBorder* self, AvnThickness* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_padding)(IAvnBorder* self, AvnThickness value); /* slot 84 */ - AvnHResult (AVN_CALL *get_background)(IAvnBorder* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_background)(IAvnBorder* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnBorder* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnBorder* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnBorder* self, IAvnBrush** value); /* slot 89 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnBorder* self, IAvnBrush* value); /* slot 90 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnBorder* self, AvnThickness* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnBorder* self, AvnThickness value); /* slot 92 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnBorder* self, AvnCornerRadius* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnBorder* self, AvnCornerRadius value); /* slot 94 */ - AvnHResult (AVN_CALL *get_box_shadow)(IAvnBorder* self, uint16_t** value); /* slot 95 */ - AvnHResult (AVN_CALL *set_box_shadow)(IAvnBorder* self, const uint16_t* value); /* slot 96 */ - AvnHResult (AVN_CALL *get_clip_to_bounds_radius)(IAvnBorder* self, AvnCornerRadius* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnBorder* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnBorder* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnBorder* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnBorder* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnBorder* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnBorder* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnBorder* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnBorder* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnBorder* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnBorder* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnBorder* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnBorder* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnBorder* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnBorder* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnBorder* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnBorder* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnBorder* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnBorder* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnBorder* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnBorder* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnBorder* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnBorder* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnBorder* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnBorder* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnBorder* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnBorder* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnBorder* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnBorder* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnBorder* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_child)(IAvnBorder* self, IAvnControl** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_child)(IAvnBorder* self, IAvnControl* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_padding)(IAvnBorder* self, AvnThickness* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_padding)(IAvnBorder* self, AvnThickness value); /* slot 87 */ + AvnHResult (AVN_CALL *get_background)(IAvnBorder* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_background)(IAvnBorder* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnBorder* self, int32_t* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnBorder* self, int32_t value); /* slot 91 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnBorder* self, IAvnBrush** value); /* slot 92 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnBorder* self, IAvnBrush* value); /* slot 93 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnBorder* self, AvnThickness* value); /* slot 94 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnBorder* self, AvnThickness value); /* slot 95 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnBorder* self, AvnCornerRadius* value); /* slot 96 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnBorder* self, AvnCornerRadius value); /* slot 97 */ + AvnHResult (AVN_CALL *get_box_shadow)(IAvnBorder* self, uint16_t** value); /* slot 98 */ + AvnHResult (AVN_CALL *set_box_shadow)(IAvnBorder* self, const uint16_t* value); /* slot 99 */ + AvnHResult (AVN_CALL *get_clip_to_bounds_radius)(IAvnBorder* self, AvnCornerRadius* value); /* slot 100 */ }; struct IAvnBorder { const IAvnBorderVtbl* vtbl; }; -#define I_AVN_BORDER_VTABLE_SLOTS 98 +#define I_AVN_BORDER_VTABLE_SLOTS 101 static const AvnGuid I_AVN_BUTTON_IID = { - 0xE66D2CD1, - 0xA3CD, - 0x538E, - { 0x96, 0x07, 0xB5, 0xE7, 0x84, 0x66, 0x9C, 0x89 } + 0x085861C8, + 0xF91D, + 0x5AFE, + { 0xB5, 0x7A, 0xE6, 0x01, 0x47, 0x7F, 0xC2, 0xD2 } }; -#define I_AVN_BUTTON_ABI_VERSION 18 +#define I_AVN_BUTTON_ABI_VERSION 19 struct IAvnButtonVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnButton* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnButton* self); /* slot 1 */ @@ -2931,96 +2940,99 @@ struct IAvnButtonVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnButton* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnButton* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnButton* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnButton* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnButton* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnButton* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnButton* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnButton* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnButton* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnButton* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnButton* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnButton* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnButton* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnButton* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnButton* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnButton* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnButton* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnButton* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnButton* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnButton* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnButton* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnButton* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnButton* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnButton* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnButton* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnButton* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnButton* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnButton* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnButton* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnButton* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnButton* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnButton* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnButton* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnButton* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnButton* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnButton* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnButton* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnButton* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnButton* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnButton* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnButton* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnButton* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnButton* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnButton* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnButton* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnButton* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnButton* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnButton* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnButton* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnButton* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnButton* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnButton* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnButton* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnButton* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnButton* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnButton* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnButton* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_content)(IAvnButton* self, IAvnControl** value); /* slot 109 */ - AvnHResult (AVN_CALL *set_content)(IAvnButton* self, IAvnControl* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnButton* self, IAvnDataTemplate** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnButton* self, IAvnDataTemplate* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnButton* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnButton* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnButton* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnButton* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_click_mode)(IAvnButton* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_click_mode)(IAvnButton* self, int32_t value); /* slot 118 */ - AvnHResult (AVN_CALL *get_command)(IAvnButton* self, IAvnCommand** value); /* slot 119 */ - AvnHResult (AVN_CALL *set_command)(IAvnButton* self, IAvnCommand* value); /* slot 120 */ - AvnHResult (AVN_CALL *get_hot_key)(IAvnButton* self, uint16_t** value); /* slot 121 */ - AvnHResult (AVN_CALL *set_hot_key)(IAvnButton* self, const uint16_t* value); /* slot 122 */ - AvnHResult (AVN_CALL *get_command_parameter)(IAvnButton* self, AvnVariant* value); /* slot 123 */ - AvnHResult (AVN_CALL *set_command_parameter)(IAvnButton* self, AvnVariant value); /* slot 124 */ - AvnHResult (AVN_CALL *get_is_default)(IAvnButton* self, int32_t* value); /* slot 125 */ - AvnHResult (AVN_CALL *set_is_default)(IAvnButton* self, int32_t value); /* slot 126 */ - AvnHResult (AVN_CALL *get_is_cancel)(IAvnButton* self, int32_t* value); /* slot 127 */ - AvnHResult (AVN_CALL *set_is_cancel)(IAvnButton* self, int32_t value); /* slot 128 */ - AvnHResult (AVN_CALL *get_is_pressed)(IAvnButton* self, int32_t* value); /* slot 129 */ - AvnHResult (AVN_CALL *get_flyout)(IAvnButton* self, IAvnFlyoutBase** value); /* slot 130 */ - AvnHResult (AVN_CALL *set_flyout)(IAvnButton* self, IAvnFlyoutBase* value); /* slot 131 */ - AvnHResult (AVN_CALL *advise_click)(IAvnButton* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 132 */ - AvnHResult (AVN_CALL *unadvise_click)(IAvnButton* self, int64_t subscription_id); /* slot 133 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnButton* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnButton* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnButton* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnButton* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnButton* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnButton* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnButton* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnButton* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnButton* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnButton* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnButton* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnButton* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnButton* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnButton* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnButton* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnButton* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnButton* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnButton* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnButton* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnButton* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnButton* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnButton* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnButton* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnButton* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnButton* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnButton* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnButton* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnButton* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnButton* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnButton* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnButton* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnButton* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnButton* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnButton* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnButton* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnButton* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnButton* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnButton* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnButton* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnButton* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnButton* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnButton* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnButton* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnButton* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnButton* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnButton* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnButton* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnButton* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnButton* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnButton* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnButton* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnButton* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnButton* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnButton* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnButton* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnButton* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnButton* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_content)(IAvnButton* self, IAvnControl** value); /* slot 112 */ + AvnHResult (AVN_CALL *set_content)(IAvnButton* self, IAvnControl* value); /* slot 113 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnButton* self, IAvnDataTemplate** value); /* slot 114 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnButton* self, IAvnDataTemplate* value); /* slot 115 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnButton* self, int32_t* value); /* slot 116 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnButton* self, int32_t value); /* slot 117 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnButton* self, int32_t* value); /* slot 118 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnButton* self, int32_t value); /* slot 119 */ + AvnHResult (AVN_CALL *get_click_mode)(IAvnButton* self, int32_t* value); /* slot 120 */ + AvnHResult (AVN_CALL *set_click_mode)(IAvnButton* self, int32_t value); /* slot 121 */ + AvnHResult (AVN_CALL *get_command)(IAvnButton* self, IAvnCommand** value); /* slot 122 */ + AvnHResult (AVN_CALL *set_command)(IAvnButton* self, IAvnCommand* value); /* slot 123 */ + AvnHResult (AVN_CALL *get_hot_key)(IAvnButton* self, uint16_t** value); /* slot 124 */ + AvnHResult (AVN_CALL *set_hot_key)(IAvnButton* self, const uint16_t* value); /* slot 125 */ + AvnHResult (AVN_CALL *get_command_parameter)(IAvnButton* self, AvnVariant* value); /* slot 126 */ + AvnHResult (AVN_CALL *set_command_parameter)(IAvnButton* self, AvnVariant value); /* slot 127 */ + AvnHResult (AVN_CALL *get_is_default)(IAvnButton* self, int32_t* value); /* slot 128 */ + AvnHResult (AVN_CALL *set_is_default)(IAvnButton* self, int32_t value); /* slot 129 */ + AvnHResult (AVN_CALL *get_is_cancel)(IAvnButton* self, int32_t* value); /* slot 130 */ + AvnHResult (AVN_CALL *set_is_cancel)(IAvnButton* self, int32_t value); /* slot 131 */ + AvnHResult (AVN_CALL *get_is_pressed)(IAvnButton* self, int32_t* value); /* slot 132 */ + AvnHResult (AVN_CALL *get_flyout)(IAvnButton* self, IAvnFlyoutBase** value); /* slot 133 */ + AvnHResult (AVN_CALL *set_flyout)(IAvnButton* self, IAvnFlyoutBase* value); /* slot 134 */ + AvnHResult (AVN_CALL *advise_click)(IAvnButton* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 135 */ + AvnHResult (AVN_CALL *unadvise_click)(IAvnButton* self, int64_t subscription_id); /* slot 136 */ }; struct IAvnButton { const IAvnButtonVtbl* vtbl; }; -#define I_AVN_BUTTON_VTABLE_SLOTS 134 +#define I_AVN_BUTTON_VTABLE_SLOTS 137 static const AvnGuid I_AVN_BUTTON_SPINNER_IID = { - 0xBD9E8536, - 0xAD5B, - 0x51C7, - { 0xB3, 0xE0, 0x2D, 0xB5, 0x21, 0x85, 0x2F, 0x7C } + 0x907404D5, + 0x1DE4, + 0x574D, + { 0x99, 0x0E, 0x2D, 0x8A, 0x79, 0x37, 0x3D, 0x6D } }; -#define I_AVN_BUTTON_SPINNER_ABI_VERSION 11 +#define I_AVN_BUTTON_SPINNER_ABI_VERSION 12 struct IAvnButtonSpinnerVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnButtonSpinner* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnButtonSpinner* self); /* slot 1 */ @@ -3077,89 +3089,92 @@ struct IAvnButtonSpinnerVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnButtonSpinner* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnButtonSpinner* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnButtonSpinner* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnButtonSpinner* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnButtonSpinner* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnButtonSpinner* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnButtonSpinner* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnButtonSpinner* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnButtonSpinner* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnButtonSpinner* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnButtonSpinner* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnButtonSpinner* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnButtonSpinner* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnButtonSpinner* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnButtonSpinner* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnButtonSpinner* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnButtonSpinner* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnButtonSpinner* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnButtonSpinner* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnButtonSpinner* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnButtonSpinner* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnButtonSpinner* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnButtonSpinner* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnButtonSpinner* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnButtonSpinner* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnButtonSpinner* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnButtonSpinner* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnButtonSpinner* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnButtonSpinner* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnButtonSpinner* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnButtonSpinner* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnButtonSpinner* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnButtonSpinner* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnButtonSpinner* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnButtonSpinner* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnButtonSpinner* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnButtonSpinner* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnButtonSpinner* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnButtonSpinner* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnButtonSpinner* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnButtonSpinner* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnButtonSpinner* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnButtonSpinner* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnButtonSpinner* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnButtonSpinner* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnButtonSpinner* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnButtonSpinner* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnButtonSpinner* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnButtonSpinner* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnButtonSpinner* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnButtonSpinner* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnButtonSpinner* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnButtonSpinner* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnButtonSpinner* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnButtonSpinner* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnButtonSpinner* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnButtonSpinner* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_content)(IAvnButtonSpinner* self, IAvnControl** value); /* slot 109 */ - AvnHResult (AVN_CALL *set_content)(IAvnButtonSpinner* self, IAvnControl* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnButtonSpinner* self, IAvnDataTemplate** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnButtonSpinner* self, IAvnDataTemplate* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnButtonSpinner* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnButtonSpinner* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnButtonSpinner* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnButtonSpinner* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_valid_spin_direction)(IAvnButtonSpinner* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_valid_spin_direction)(IAvnButtonSpinner* self, int32_t value); /* slot 118 */ - AvnHResult (AVN_CALL *advise_spin)(IAvnButtonSpinner* self, IAvnSpinnerSpinHandler* handler, int64_t* subscription_id); /* slot 119 */ - AvnHResult (AVN_CALL *unadvise_spin)(IAvnButtonSpinner* self, int64_t subscription_id); /* slot 120 */ - AvnHResult (AVN_CALL *get_allow_spin)(IAvnButtonSpinner* self, int32_t* value); /* slot 121 */ - AvnHResult (AVN_CALL *set_allow_spin)(IAvnButtonSpinner* self, int32_t value); /* slot 122 */ - AvnHResult (AVN_CALL *get_show_button_spinner)(IAvnButtonSpinner* self, int32_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *set_show_button_spinner)(IAvnButtonSpinner* self, int32_t value); /* slot 124 */ - AvnHResult (AVN_CALL *get_button_spinner_location)(IAvnButtonSpinner* self, int32_t* value); /* slot 125 */ - AvnHResult (AVN_CALL *set_button_spinner_location)(IAvnButtonSpinner* self, int32_t value); /* slot 126 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnButtonSpinner* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnButtonSpinner* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnButtonSpinner* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnButtonSpinner* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnButtonSpinner* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnButtonSpinner* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnButtonSpinner* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnButtonSpinner* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnButtonSpinner* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnButtonSpinner* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnButtonSpinner* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnButtonSpinner* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnButtonSpinner* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnButtonSpinner* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnButtonSpinner* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnButtonSpinner* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnButtonSpinner* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnButtonSpinner* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnButtonSpinner* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnButtonSpinner* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnButtonSpinner* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnButtonSpinner* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnButtonSpinner* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnButtonSpinner* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnButtonSpinner* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnButtonSpinner* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnButtonSpinner* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnButtonSpinner* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnButtonSpinner* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnButtonSpinner* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnButtonSpinner* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnButtonSpinner* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnButtonSpinner* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnButtonSpinner* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnButtonSpinner* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnButtonSpinner* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnButtonSpinner* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnButtonSpinner* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnButtonSpinner* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnButtonSpinner* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnButtonSpinner* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnButtonSpinner* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnButtonSpinner* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnButtonSpinner* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnButtonSpinner* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnButtonSpinner* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnButtonSpinner* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnButtonSpinner* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnButtonSpinner* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnButtonSpinner* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnButtonSpinner* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnButtonSpinner* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnButtonSpinner* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnButtonSpinner* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnButtonSpinner* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnButtonSpinner* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnButtonSpinner* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_content)(IAvnButtonSpinner* self, IAvnControl** value); /* slot 112 */ + AvnHResult (AVN_CALL *set_content)(IAvnButtonSpinner* self, IAvnControl* value); /* slot 113 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnButtonSpinner* self, IAvnDataTemplate** value); /* slot 114 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnButtonSpinner* self, IAvnDataTemplate* value); /* slot 115 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnButtonSpinner* self, int32_t* value); /* slot 116 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnButtonSpinner* self, int32_t value); /* slot 117 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnButtonSpinner* self, int32_t* value); /* slot 118 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnButtonSpinner* self, int32_t value); /* slot 119 */ + AvnHResult (AVN_CALL *get_valid_spin_direction)(IAvnButtonSpinner* self, int32_t* value); /* slot 120 */ + AvnHResult (AVN_CALL *set_valid_spin_direction)(IAvnButtonSpinner* self, int32_t value); /* slot 121 */ + AvnHResult (AVN_CALL *advise_spin)(IAvnButtonSpinner* self, IAvnSpinnerSpinHandler* handler, int64_t* subscription_id); /* slot 122 */ + AvnHResult (AVN_CALL *unadvise_spin)(IAvnButtonSpinner* self, int64_t subscription_id); /* slot 123 */ + AvnHResult (AVN_CALL *get_allow_spin)(IAvnButtonSpinner* self, int32_t* value); /* slot 124 */ + AvnHResult (AVN_CALL *set_allow_spin)(IAvnButtonSpinner* self, int32_t value); /* slot 125 */ + AvnHResult (AVN_CALL *get_show_button_spinner)(IAvnButtonSpinner* self, int32_t* value); /* slot 126 */ + AvnHResult (AVN_CALL *set_show_button_spinner)(IAvnButtonSpinner* self, int32_t value); /* slot 127 */ + AvnHResult (AVN_CALL *get_button_spinner_location)(IAvnButtonSpinner* self, int32_t* value); /* slot 128 */ + AvnHResult (AVN_CALL *set_button_spinner_location)(IAvnButtonSpinner* self, int32_t value); /* slot 129 */ }; struct IAvnButtonSpinner { const IAvnButtonSpinnerVtbl* vtbl; }; -#define I_AVN_BUTTON_SPINNER_VTABLE_SLOTS 127 +#define I_AVN_BUTTON_SPINNER_VTABLE_SLOTS 130 static const AvnGuid I_AVN_CALENDAR_IID = { - 0x9FF3FEBD, - 0x5CC5, - 0x5DB1, - { 0x94, 0xDA, 0xE0, 0x3D, 0x3D, 0x41, 0xD9, 0x47 } + 0x2ECA7A03, + 0x1AA5, + 0x5FC5, + { 0xB1, 0xCC, 0x7E, 0xCD, 0xDC, 0xF2, 0x00, 0xD1 } }; -#define I_AVN_CALENDAR_ABI_VERSION 14 +#define I_AVN_CALENDAR_ABI_VERSION 15 struct IAvnCalendarVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnCalendar* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnCalendar* self); /* slot 1 */ @@ -3216,103 +3231,106 @@ struct IAvnCalendarVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnCalendar* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnCalendar* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnCalendar* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnCalendar* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnCalendar* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnCalendar* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnCalendar* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnCalendar* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnCalendar* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnCalendar* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnCalendar* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnCalendar* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnCalendar* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnCalendar* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnCalendar* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnCalendar* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnCalendar* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnCalendar* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnCalendar* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnCalendar* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnCalendar* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnCalendar* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnCalendar* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnCalendar* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnCalendar* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnCalendar* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnCalendar* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnCalendar* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnCalendar* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnCalendar* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnCalendar* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnCalendar* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnCalendar* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnCalendar* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnCalendar* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnCalendar* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnCalendar* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnCalendar* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnCalendar* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnCalendar* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnCalendar* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnCalendar* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnCalendar* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnCalendar* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnCalendar* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnCalendar* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnCalendar* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnCalendar* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnCalendar* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnCalendar* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnCalendar* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnCalendar* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnCalendar* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnCalendar* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnCalendar* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnCalendar* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnCalendar* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_first_day_of_week)(IAvnCalendar* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_first_day_of_week)(IAvnCalendar* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_is_today_highlighted)(IAvnCalendar* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_is_today_highlighted)(IAvnCalendar* self, int32_t value); /* slot 112 */ - AvnHResult (AVN_CALL *get_header_background)(IAvnCalendar* self, IAvnBrush** value); /* slot 113 */ - AvnHResult (AVN_CALL *set_header_background)(IAvnCalendar* self, IAvnBrush* value); /* slot 114 */ - AvnHResult (AVN_CALL *get_is_week_number_visible)(IAvnCalendar* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_is_week_number_visible)(IAvnCalendar* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_week_number_rule)(IAvnCalendar* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_week_number_rule)(IAvnCalendar* self, int32_t value); /* slot 118 */ - AvnHResult (AVN_CALL *get_display_mode)(IAvnCalendar* self, int32_t* value); /* slot 119 */ - AvnHResult (AVN_CALL *set_display_mode)(IAvnCalendar* self, int32_t value); /* slot 120 */ - AvnHResult (AVN_CALL *get_selection_mode)(IAvnCalendar* self, int32_t* value); /* slot 121 */ - AvnHResult (AVN_CALL *set_selection_mode)(IAvnCalendar* self, int32_t value); /* slot 122 */ - AvnHResult (AVN_CALL *get_allow_tap_range_selection)(IAvnCalendar* self, int32_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *set_allow_tap_range_selection)(IAvnCalendar* self, int32_t value); /* slot 124 */ - AvnHResult (AVN_CALL *get_selected_date)(IAvnCalendar* self, uint16_t** value); /* slot 125 */ - AvnHResult (AVN_CALL *set_selected_date)(IAvnCalendar* self, const uint16_t* value); /* slot 126 */ - AvnHResult (AVN_CALL *get_selected_dates)(IAvnCalendar* self, IAvnDateTimeList** value); /* slot 127 */ - AvnHResult (AVN_CALL *get_display_date)(IAvnCalendar* self, uint16_t** value); /* slot 128 */ - AvnHResult (AVN_CALL *set_display_date)(IAvnCalendar* self, const uint16_t* value); /* slot 129 */ - AvnHResult (AVN_CALL *get_display_date_start)(IAvnCalendar* self, uint16_t** value); /* slot 130 */ - AvnHResult (AVN_CALL *set_display_date_start)(IAvnCalendar* self, const uint16_t* value); /* slot 131 */ - AvnHResult (AVN_CALL *get_blackout_dates)(IAvnCalendar* self, IAvnDateTimeList** value); /* slot 132 */ - AvnHResult (AVN_CALL *get_display_date_end)(IAvnCalendar* self, uint16_t** value); /* slot 133 */ - AvnHResult (AVN_CALL *set_display_date_end)(IAvnCalendar* self, const uint16_t* value); /* slot 134 */ - AvnHResult (AVN_CALL *advise_selected_dates_changed)(IAvnCalendar* self, IAvnCalendarSelectedDatesChangedHandler* handler, int64_t* subscription_id); /* slot 135 */ - AvnHResult (AVN_CALL *unadvise_selected_dates_changed)(IAvnCalendar* self, int64_t subscription_id); /* slot 136 */ - AvnHResult (AVN_CALL *advise_display_date_changed)(IAvnCalendar* self, IAvnCalendarDisplayDateChangedHandler* handler, int64_t* subscription_id); /* slot 137 */ - AvnHResult (AVN_CALL *unadvise_display_date_changed)(IAvnCalendar* self, int64_t subscription_id); /* slot 138 */ - AvnHResult (AVN_CALL *advise_display_mode_changed)(IAvnCalendar* self, IAvnCalendarDisplayModeChangedHandler* handler, int64_t* subscription_id); /* slot 139 */ - AvnHResult (AVN_CALL *unadvise_display_mode_changed)(IAvnCalendar* self, int64_t subscription_id); /* slot 140 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnCalendar* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnCalendar* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnCalendar* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnCalendar* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnCalendar* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnCalendar* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnCalendar* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnCalendar* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnCalendar* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnCalendar* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnCalendar* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnCalendar* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnCalendar* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnCalendar* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnCalendar* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnCalendar* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnCalendar* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnCalendar* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnCalendar* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnCalendar* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnCalendar* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnCalendar* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnCalendar* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnCalendar* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnCalendar* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnCalendar* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnCalendar* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnCalendar* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnCalendar* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnCalendar* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnCalendar* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnCalendar* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnCalendar* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnCalendar* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnCalendar* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnCalendar* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnCalendar* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnCalendar* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnCalendar* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnCalendar* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnCalendar* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnCalendar* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnCalendar* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnCalendar* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnCalendar* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnCalendar* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnCalendar* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnCalendar* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnCalendar* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnCalendar* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnCalendar* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnCalendar* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnCalendar* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnCalendar* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnCalendar* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnCalendar* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnCalendar* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_first_day_of_week)(IAvnCalendar* self, int32_t* value); /* slot 112 */ + AvnHResult (AVN_CALL *set_first_day_of_week)(IAvnCalendar* self, int32_t value); /* slot 113 */ + AvnHResult (AVN_CALL *get_is_today_highlighted)(IAvnCalendar* self, int32_t* value); /* slot 114 */ + AvnHResult (AVN_CALL *set_is_today_highlighted)(IAvnCalendar* self, int32_t value); /* slot 115 */ + AvnHResult (AVN_CALL *get_header_background)(IAvnCalendar* self, IAvnBrush** value); /* slot 116 */ + AvnHResult (AVN_CALL *set_header_background)(IAvnCalendar* self, IAvnBrush* value); /* slot 117 */ + AvnHResult (AVN_CALL *get_is_week_number_visible)(IAvnCalendar* self, int32_t* value); /* slot 118 */ + AvnHResult (AVN_CALL *set_is_week_number_visible)(IAvnCalendar* self, int32_t value); /* slot 119 */ + AvnHResult (AVN_CALL *get_week_number_rule)(IAvnCalendar* self, int32_t* value); /* slot 120 */ + AvnHResult (AVN_CALL *set_week_number_rule)(IAvnCalendar* self, int32_t value); /* slot 121 */ + AvnHResult (AVN_CALL *get_display_mode)(IAvnCalendar* self, int32_t* value); /* slot 122 */ + AvnHResult (AVN_CALL *set_display_mode)(IAvnCalendar* self, int32_t value); /* slot 123 */ + AvnHResult (AVN_CALL *get_selection_mode)(IAvnCalendar* self, int32_t* value); /* slot 124 */ + AvnHResult (AVN_CALL *set_selection_mode)(IAvnCalendar* self, int32_t value); /* slot 125 */ + AvnHResult (AVN_CALL *get_allow_tap_range_selection)(IAvnCalendar* self, int32_t* value); /* slot 126 */ + AvnHResult (AVN_CALL *set_allow_tap_range_selection)(IAvnCalendar* self, int32_t value); /* slot 127 */ + AvnHResult (AVN_CALL *get_selected_date)(IAvnCalendar* self, uint16_t** value); /* slot 128 */ + AvnHResult (AVN_CALL *set_selected_date)(IAvnCalendar* self, const uint16_t* value); /* slot 129 */ + AvnHResult (AVN_CALL *get_selected_dates)(IAvnCalendar* self, IAvnDateTimeList** value); /* slot 130 */ + AvnHResult (AVN_CALL *get_display_date)(IAvnCalendar* self, uint16_t** value); /* slot 131 */ + AvnHResult (AVN_CALL *set_display_date)(IAvnCalendar* self, const uint16_t* value); /* slot 132 */ + AvnHResult (AVN_CALL *get_display_date_start)(IAvnCalendar* self, uint16_t** value); /* slot 133 */ + AvnHResult (AVN_CALL *set_display_date_start)(IAvnCalendar* self, const uint16_t* value); /* slot 134 */ + AvnHResult (AVN_CALL *get_blackout_dates)(IAvnCalendar* self, IAvnDateTimeList** value); /* slot 135 */ + AvnHResult (AVN_CALL *get_display_date_end)(IAvnCalendar* self, uint16_t** value); /* slot 136 */ + AvnHResult (AVN_CALL *set_display_date_end)(IAvnCalendar* self, const uint16_t* value); /* slot 137 */ + AvnHResult (AVN_CALL *advise_selected_dates_changed)(IAvnCalendar* self, IAvnCalendarSelectedDatesChangedHandler* handler, int64_t* subscription_id); /* slot 138 */ + AvnHResult (AVN_CALL *unadvise_selected_dates_changed)(IAvnCalendar* self, int64_t subscription_id); /* slot 139 */ + AvnHResult (AVN_CALL *advise_display_date_changed)(IAvnCalendar* self, IAvnCalendarDisplayDateChangedHandler* handler, int64_t* subscription_id); /* slot 140 */ + AvnHResult (AVN_CALL *unadvise_display_date_changed)(IAvnCalendar* self, int64_t subscription_id); /* slot 141 */ + AvnHResult (AVN_CALL *advise_display_mode_changed)(IAvnCalendar* self, IAvnCalendarDisplayModeChangedHandler* handler, int64_t* subscription_id); /* slot 142 */ + AvnHResult (AVN_CALL *unadvise_display_mode_changed)(IAvnCalendar* self, int64_t subscription_id); /* slot 143 */ }; struct IAvnCalendar { const IAvnCalendarVtbl* vtbl; }; -#define I_AVN_CALENDAR_VTABLE_SLOTS 141 +#define I_AVN_CALENDAR_VTABLE_SLOTS 144 static const AvnGuid I_AVN_CALENDAR_DATE_PICKER_IID = { - 0x57923347, - 0x6143, - 0x59E6, - { 0xBA, 0xFC, 0xC7, 0x45, 0xA8, 0x98, 0x21, 0x64 } + 0x3CB1E562, + 0x6FEB, + 0x5E8B, + { 0xA7, 0x9A, 0x9C, 0x1B, 0x3D, 0xB4, 0xAE, 0x62 } }; -#define I_AVN_CALENDAR_DATE_PICKER_ABI_VERSION 13 +#define I_AVN_CALENDAR_DATE_PICKER_ABI_VERSION 14 struct IAvnCalendarDatePickerVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnCalendarDatePicker* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnCalendarDatePicker* self); /* slot 1 */ @@ -3369,115 +3387,118 @@ struct IAvnCalendarDatePickerVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnCalendarDatePicker* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnCalendarDatePicker* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnCalendarDatePicker* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnCalendarDatePicker* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnCalendarDatePicker* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnCalendarDatePicker* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnCalendarDatePicker* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnCalendarDatePicker* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnCalendarDatePicker* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnCalendarDatePicker* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnCalendarDatePicker* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnCalendarDatePicker* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnCalendarDatePicker* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnCalendarDatePicker* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnCalendarDatePicker* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnCalendarDatePicker* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnCalendarDatePicker* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnCalendarDatePicker* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnCalendarDatePicker* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnCalendarDatePicker* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnCalendarDatePicker* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnCalendarDatePicker* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnCalendarDatePicker* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnCalendarDatePicker* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnCalendarDatePicker* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnCalendarDatePicker* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnCalendarDatePicker* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnCalendarDatePicker* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnCalendarDatePicker* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnCalendarDatePicker* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnCalendarDatePicker* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnCalendarDatePicker* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnCalendarDatePicker* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnCalendarDatePicker* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnCalendarDatePicker* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnCalendarDatePicker* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnCalendarDatePicker* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnCalendarDatePicker* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnCalendarDatePicker* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_blackout_dates)(IAvnCalendarDatePicker* self, IAvnDateTimeList** value); /* slot 109 */ - AvnHResult (AVN_CALL *get_display_date)(IAvnCalendarDatePicker* self, uint16_t** value); /* slot 110 */ - AvnHResult (AVN_CALL *set_display_date)(IAvnCalendarDatePicker* self, const uint16_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *get_display_date_start)(IAvnCalendarDatePicker* self, uint16_t** value); /* slot 112 */ - AvnHResult (AVN_CALL *set_display_date_start)(IAvnCalendarDatePicker* self, const uint16_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *get_display_date_end)(IAvnCalendarDatePicker* self, uint16_t** value); /* slot 114 */ - AvnHResult (AVN_CALL *set_display_date_end)(IAvnCalendarDatePicker* self, const uint16_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *get_first_day_of_week)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 116 */ - AvnHResult (AVN_CALL *set_first_day_of_week)(IAvnCalendarDatePicker* self, int32_t value); /* slot 117 */ - AvnHResult (AVN_CALL *get_is_drop_down_open)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 118 */ - AvnHResult (AVN_CALL *set_is_drop_down_open)(IAvnCalendarDatePicker* self, int32_t value); /* slot 119 */ - AvnHResult (AVN_CALL *get_is_today_highlighted)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 120 */ - AvnHResult (AVN_CALL *set_is_today_highlighted)(IAvnCalendarDatePicker* self, int32_t value); /* slot 121 */ - AvnHResult (AVN_CALL *get_selected_date)(IAvnCalendarDatePicker* self, uint16_t** value); /* slot 122 */ - AvnHResult (AVN_CALL *set_selected_date)(IAvnCalendarDatePicker* self, const uint16_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *get_selected_date_format)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 124 */ - AvnHResult (AVN_CALL *set_selected_date_format)(IAvnCalendarDatePicker* self, int32_t value); /* slot 125 */ - AvnHResult (AVN_CALL *get_custom_date_format_string)(IAvnCalendarDatePicker* self, uint16_t** value); /* slot 126 */ - AvnHResult (AVN_CALL *set_custom_date_format_string)(IAvnCalendarDatePicker* self, const uint16_t* value); /* slot 127 */ - AvnHResult (AVN_CALL *get_text)(IAvnCalendarDatePicker* self, uint16_t** value); /* slot 128 */ - AvnHResult (AVN_CALL *set_text)(IAvnCalendarDatePicker* self, const uint16_t* value); /* slot 129 */ - AvnHResult (AVN_CALL *get_placeholder_text)(IAvnCalendarDatePicker* self, uint16_t** value); /* slot 130 */ - AvnHResult (AVN_CALL *set_placeholder_text)(IAvnCalendarDatePicker* self, const uint16_t* value); /* slot 131 */ - AvnHResult (AVN_CALL *get_use_floating_placeholder)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 132 */ - AvnHResult (AVN_CALL *set_use_floating_placeholder)(IAvnCalendarDatePicker* self, int32_t value); /* slot 133 */ - AvnHResult (AVN_CALL *get_placeholder_foreground)(IAvnCalendarDatePicker* self, IAvnBrush** value); /* slot 134 */ - AvnHResult (AVN_CALL *set_placeholder_foreground)(IAvnCalendarDatePicker* self, IAvnBrush* value); /* slot 135 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 136 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnCalendarDatePicker* self, int32_t value); /* slot 137 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 138 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnCalendarDatePicker* self, int32_t value); /* slot 139 */ - AvnHResult (AVN_CALL *get_is_week_number_visible)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 140 */ - AvnHResult (AVN_CALL *set_is_week_number_visible)(IAvnCalendarDatePicker* self, int32_t value); /* slot 141 */ - AvnHResult (AVN_CALL *get_week_number_rule)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 142 */ - AvnHResult (AVN_CALL *set_week_number_rule)(IAvnCalendarDatePicker* self, int32_t value); /* slot 143 */ - AvnHResult (AVN_CALL *clear)(IAvnCalendarDatePicker* self); /* slot 144 */ - AvnHResult (AVN_CALL *advise_calendar_closed)(IAvnCalendarDatePicker* self, IAvnCalendarDatePickerCalendarClosedHandler* handler, int64_t* subscription_id); /* slot 145 */ - AvnHResult (AVN_CALL *unadvise_calendar_closed)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 146 */ - AvnHResult (AVN_CALL *advise_calendar_opened)(IAvnCalendarDatePicker* self, IAvnCalendarDatePickerCalendarOpenedHandler* handler, int64_t* subscription_id); /* slot 147 */ - AvnHResult (AVN_CALL *unadvise_calendar_opened)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 148 */ - AvnHResult (AVN_CALL *advise_date_validation_error)(IAvnCalendarDatePicker* self, IAvnCalendarDatePickerDateValidationErrorHandler* handler, int64_t* subscription_id); /* slot 149 */ - AvnHResult (AVN_CALL *unadvise_date_validation_error)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 150 */ - AvnHResult (AVN_CALL *advise_selected_date_changed)(IAvnCalendarDatePicker* self, IAvnCalendarDatePickerSelectedDateChangedHandler* handler, int64_t* subscription_id); /* slot 151 */ - AvnHResult (AVN_CALL *unadvise_selected_date_changed)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 152 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnCalendarDatePicker* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnCalendarDatePicker* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnCalendarDatePicker* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnCalendarDatePicker* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnCalendarDatePicker* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnCalendarDatePicker* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnCalendarDatePicker* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnCalendarDatePicker* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnCalendarDatePicker* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnCalendarDatePicker* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnCalendarDatePicker* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnCalendarDatePicker* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnCalendarDatePicker* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnCalendarDatePicker* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnCalendarDatePicker* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnCalendarDatePicker* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnCalendarDatePicker* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnCalendarDatePicker* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnCalendarDatePicker* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnCalendarDatePicker* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnCalendarDatePicker* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnCalendarDatePicker* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnCalendarDatePicker* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnCalendarDatePicker* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnCalendarDatePicker* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnCalendarDatePicker* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnCalendarDatePicker* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnCalendarDatePicker* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnCalendarDatePicker* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnCalendarDatePicker* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnCalendarDatePicker* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnCalendarDatePicker* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnCalendarDatePicker* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnCalendarDatePicker* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnCalendarDatePicker* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnCalendarDatePicker* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnCalendarDatePicker* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnCalendarDatePicker* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnCalendarDatePicker* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_blackout_dates)(IAvnCalendarDatePicker* self, IAvnDateTimeList** value); /* slot 112 */ + AvnHResult (AVN_CALL *get_display_date)(IAvnCalendarDatePicker* self, uint16_t** value); /* slot 113 */ + AvnHResult (AVN_CALL *set_display_date)(IAvnCalendarDatePicker* self, const uint16_t* value); /* slot 114 */ + AvnHResult (AVN_CALL *get_display_date_start)(IAvnCalendarDatePicker* self, uint16_t** value); /* slot 115 */ + AvnHResult (AVN_CALL *set_display_date_start)(IAvnCalendarDatePicker* self, const uint16_t* value); /* slot 116 */ + AvnHResult (AVN_CALL *get_display_date_end)(IAvnCalendarDatePicker* self, uint16_t** value); /* slot 117 */ + AvnHResult (AVN_CALL *set_display_date_end)(IAvnCalendarDatePicker* self, const uint16_t* value); /* slot 118 */ + AvnHResult (AVN_CALL *get_first_day_of_week)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 119 */ + AvnHResult (AVN_CALL *set_first_day_of_week)(IAvnCalendarDatePicker* self, int32_t value); /* slot 120 */ + AvnHResult (AVN_CALL *get_is_drop_down_open)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 121 */ + AvnHResult (AVN_CALL *set_is_drop_down_open)(IAvnCalendarDatePicker* self, int32_t value); /* slot 122 */ + AvnHResult (AVN_CALL *get_is_today_highlighted)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 123 */ + AvnHResult (AVN_CALL *set_is_today_highlighted)(IAvnCalendarDatePicker* self, int32_t value); /* slot 124 */ + AvnHResult (AVN_CALL *get_selected_date)(IAvnCalendarDatePicker* self, uint16_t** value); /* slot 125 */ + AvnHResult (AVN_CALL *set_selected_date)(IAvnCalendarDatePicker* self, const uint16_t* value); /* slot 126 */ + AvnHResult (AVN_CALL *get_selected_date_format)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 127 */ + AvnHResult (AVN_CALL *set_selected_date_format)(IAvnCalendarDatePicker* self, int32_t value); /* slot 128 */ + AvnHResult (AVN_CALL *get_custom_date_format_string)(IAvnCalendarDatePicker* self, uint16_t** value); /* slot 129 */ + AvnHResult (AVN_CALL *set_custom_date_format_string)(IAvnCalendarDatePicker* self, const uint16_t* value); /* slot 130 */ + AvnHResult (AVN_CALL *get_text)(IAvnCalendarDatePicker* self, uint16_t** value); /* slot 131 */ + AvnHResult (AVN_CALL *set_text)(IAvnCalendarDatePicker* self, const uint16_t* value); /* slot 132 */ + AvnHResult (AVN_CALL *get_placeholder_text)(IAvnCalendarDatePicker* self, uint16_t** value); /* slot 133 */ + AvnHResult (AVN_CALL *set_placeholder_text)(IAvnCalendarDatePicker* self, const uint16_t* value); /* slot 134 */ + AvnHResult (AVN_CALL *get_use_floating_placeholder)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 135 */ + AvnHResult (AVN_CALL *set_use_floating_placeholder)(IAvnCalendarDatePicker* self, int32_t value); /* slot 136 */ + AvnHResult (AVN_CALL *get_placeholder_foreground)(IAvnCalendarDatePicker* self, IAvnBrush** value); /* slot 137 */ + AvnHResult (AVN_CALL *set_placeholder_foreground)(IAvnCalendarDatePicker* self, IAvnBrush* value); /* slot 138 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 139 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnCalendarDatePicker* self, int32_t value); /* slot 140 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 141 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnCalendarDatePicker* self, int32_t value); /* slot 142 */ + AvnHResult (AVN_CALL *get_is_week_number_visible)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 143 */ + AvnHResult (AVN_CALL *set_is_week_number_visible)(IAvnCalendarDatePicker* self, int32_t value); /* slot 144 */ + AvnHResult (AVN_CALL *get_week_number_rule)(IAvnCalendarDatePicker* self, int32_t* value); /* slot 145 */ + AvnHResult (AVN_CALL *set_week_number_rule)(IAvnCalendarDatePicker* self, int32_t value); /* slot 146 */ + AvnHResult (AVN_CALL *clear)(IAvnCalendarDatePicker* self); /* slot 147 */ + AvnHResult (AVN_CALL *advise_calendar_closed)(IAvnCalendarDatePicker* self, IAvnCalendarDatePickerCalendarClosedHandler* handler, int64_t* subscription_id); /* slot 148 */ + AvnHResult (AVN_CALL *unadvise_calendar_closed)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 149 */ + AvnHResult (AVN_CALL *advise_calendar_opened)(IAvnCalendarDatePicker* self, IAvnCalendarDatePickerCalendarOpenedHandler* handler, int64_t* subscription_id); /* slot 150 */ + AvnHResult (AVN_CALL *unadvise_calendar_opened)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 151 */ + AvnHResult (AVN_CALL *advise_date_validation_error)(IAvnCalendarDatePicker* self, IAvnCalendarDatePickerDateValidationErrorHandler* handler, int64_t* subscription_id); /* slot 152 */ + AvnHResult (AVN_CALL *unadvise_date_validation_error)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 153 */ + AvnHResult (AVN_CALL *advise_selected_date_changed)(IAvnCalendarDatePicker* self, IAvnCalendarDatePickerSelectedDateChangedHandler* handler, int64_t* subscription_id); /* slot 154 */ + AvnHResult (AVN_CALL *unadvise_selected_date_changed)(IAvnCalendarDatePicker* self, int64_t subscription_id); /* slot 155 */ }; struct IAvnCalendarDatePicker { const IAvnCalendarDatePickerVtbl* vtbl; }; -#define I_AVN_CALENDAR_DATE_PICKER_VTABLE_SLOTS 153 +#define I_AVN_CALENDAR_DATE_PICKER_VTABLE_SLOTS 156 static const AvnGuid I_AVN_CANVAS_IID = { - 0xC16EF1BD, - 0x5F4F, - 0x5C2C, - { 0xA3, 0xEA, 0x50, 0x8C, 0x4B, 0x05, 0xBA, 0x3C } + 0xDB97347A, + 0xFE7E, + 0x5006, + { 0x93, 0xB7, 0xE4, 0xB5, 0x55, 0xA2, 0x61, 0xA9 } }; -#define I_AVN_CANVAS_ABI_VERSION 13 +#define I_AVN_CANVAS_ABI_VERSION 14 struct IAvnCanvasVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnCanvas* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnCanvas* self); /* slot 1 */ @@ -3534,46 +3555,49 @@ struct IAvnCanvasVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnCanvas* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnCanvas* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnCanvas* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnCanvas* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnCanvas* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnCanvas* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnCanvas* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnCanvas* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnCanvas* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnCanvas* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnCanvas* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnCanvas* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnCanvas* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnCanvas* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnCanvas* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnCanvas* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnCanvas* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnCanvas* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnCanvas* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnCanvas* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnCanvas* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnCanvas* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnCanvas* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnCanvas* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnCanvas* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnCanvas* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnCanvas* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnCanvas* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnCanvas* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_children)(IAvnCanvas* self, IAvnControlList** value); /* slot 81 */ - AvnHResult (AVN_CALL *get_background)(IAvnCanvas* self, IAvnBrush** value); /* slot 82 */ - AvnHResult (AVN_CALL *set_background)(IAvnCanvas* self, IAvnBrush* value); /* slot 83 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnCanvas* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnCanvas* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnCanvas* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnCanvas* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnCanvas* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnCanvas* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnCanvas* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnCanvas* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnCanvas* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnCanvas* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnCanvas* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnCanvas* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnCanvas* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnCanvas* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnCanvas* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnCanvas* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnCanvas* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnCanvas* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnCanvas* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnCanvas* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnCanvas* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnCanvas* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnCanvas* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnCanvas* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnCanvas* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnCanvas* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnCanvas* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnCanvas* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnCanvas* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_children)(IAvnCanvas* self, IAvnControlList** value); /* slot 84 */ + AvnHResult (AVN_CALL *get_background)(IAvnCanvas* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_background)(IAvnCanvas* self, IAvnBrush* value); /* slot 86 */ }; struct IAvnCanvas { const IAvnCanvasVtbl* vtbl; }; -#define I_AVN_CANVAS_VTABLE_SLOTS 84 +#define I_AVN_CANVAS_VTABLE_SLOTS 87 static const AvnGuid I_AVN_CAROUSEL_IID = { - 0x78C353C4, - 0x749B, - 0x55FC, - { 0xA9, 0xEF, 0x66, 0x60, 0x81, 0x55, 0xB0, 0xDB } + 0x062C586F, + 0xDB97, + 0x53CF, + { 0x8D, 0xC3, 0xA2, 0xF1, 0x59, 0xE0, 0xBD, 0x23 } }; -#define I_AVN_CAROUSEL_ABI_VERSION 15 +#define I_AVN_CAROUSEL_ABI_VERSION 16 struct IAvnCarouselVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnCarousel* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnCarousel* self); /* slot 1 */ @@ -3630,104 +3654,107 @@ struct IAvnCarouselVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnCarousel* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnCarousel* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnCarousel* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnCarousel* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnCarousel* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnCarousel* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnCarousel* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnCarousel* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnCarousel* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnCarousel* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnCarousel* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnCarousel* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnCarousel* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnCarousel* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnCarousel* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnCarousel* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnCarousel* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnCarousel* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnCarousel* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnCarousel* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnCarousel* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnCarousel* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnCarousel* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnCarousel* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnCarousel* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnCarousel* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnCarousel* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnCarousel* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnCarousel* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnCarousel* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnCarousel* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnCarousel* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnCarousel* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnCarousel* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnCarousel* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnCarousel* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnCarousel* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnCarousel* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnCarousel* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnCarousel* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnCarousel* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnCarousel* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnCarousel* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnCarousel* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnCarousel* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnCarousel* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnCarousel* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnCarousel* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnCarousel* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnCarousel* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnCarousel* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnCarousel* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnCarousel* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnCarousel* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnCarousel* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnCarousel* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnCarousel* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_items)(IAvnCarousel* self, IAvnItemList** value); /* slot 109 */ - AvnHResult (AVN_CALL *get_item_count)(IAvnCarousel* self, int32_t* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_items_source)(IAvnCarousel* self, IAvnVariantList** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_items_source)(IAvnCarousel* self, IAvnVariantList* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_item_template)(IAvnCarousel* self, IAvnDataTemplate** value); /* slot 113 */ - AvnHResult (AVN_CALL *set_item_template)(IAvnCarousel* self, IAvnDataTemplate* value); /* slot 114 */ - AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnCarousel* self, int32_t index, IAvnControl** value); /* slot 115 */ - AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnCarousel* self, AvnVariant item, IAvnControl** value); /* slot 116 */ - AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnCarousel* self, IAvnControl* container, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnCarousel* self, IAvnControl* container, AvnVariant* value); /* slot 118 */ - AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnCarousel* self, int32_t index); /* slot 119 */ - AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnCarousel* self, AvnVariant item); /* slot 120 */ - AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnCarousel* self, int32_t* value); /* slot 121 */ - AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnCarousel* self, int32_t value); /* slot 122 */ - AvnHResult (AVN_CALL *get_selected_index)(IAvnCarousel* self, int32_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *set_selected_index)(IAvnCarousel* self, int32_t value); /* slot 124 */ - AvnHResult (AVN_CALL *get_selected_item)(IAvnCarousel* self, AvnVariant* value); /* slot 125 */ - AvnHResult (AVN_CALL *set_selected_item)(IAvnCarousel* self, AvnVariant value); /* slot 126 */ - AvnHResult (AVN_CALL *get_selected_value)(IAvnCarousel* self, AvnVariant* value); /* slot 127 */ - AvnHResult (AVN_CALL *set_selected_value)(IAvnCarousel* self, AvnVariant value); /* slot 128 */ - AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnCarousel* self, int32_t* value); /* slot 129 */ - AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnCarousel* self, int32_t value); /* slot 130 */ - AvnHResult (AVN_CALL *get_wrap_selection)(IAvnCarousel* self, int32_t* value); /* slot 131 */ - AvnHResult (AVN_CALL *set_wrap_selection)(IAvnCarousel* self, int32_t value); /* slot 132 */ - AvnHResult (AVN_CALL *advise_selection_changed)(IAvnCarousel* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 133 */ - AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnCarousel* self, int64_t subscription_id); /* slot 134 */ - AvnHResult (AVN_CALL *get_is_swipe_enabled)(IAvnCarousel* self, int32_t* value); /* slot 135 */ - AvnHResult (AVN_CALL *set_is_swipe_enabled)(IAvnCarousel* self, int32_t value); /* slot 136 */ - AvnHResult (AVN_CALL *get_viewport_fraction)(IAvnCarousel* self, double* value); /* slot 137 */ - AvnHResult (AVN_CALL *set_viewport_fraction)(IAvnCarousel* self, double value); /* slot 138 */ - AvnHResult (AVN_CALL *get_is_swiping)(IAvnCarousel* self, int32_t* value); /* slot 139 */ - AvnHResult (AVN_CALL *next)(IAvnCarousel* self); /* slot 140 */ - AvnHResult (AVN_CALL *previous)(IAvnCarousel* self); /* slot 141 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnCarousel* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnCarousel* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnCarousel* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnCarousel* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnCarousel* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnCarousel* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnCarousel* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnCarousel* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnCarousel* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnCarousel* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnCarousel* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnCarousel* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnCarousel* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnCarousel* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnCarousel* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnCarousel* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnCarousel* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnCarousel* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnCarousel* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnCarousel* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnCarousel* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnCarousel* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnCarousel* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnCarousel* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnCarousel* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnCarousel* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnCarousel* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnCarousel* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnCarousel* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnCarousel* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnCarousel* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnCarousel* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnCarousel* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnCarousel* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnCarousel* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnCarousel* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnCarousel* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnCarousel* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnCarousel* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnCarousel* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnCarousel* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnCarousel* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnCarousel* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnCarousel* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnCarousel* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnCarousel* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnCarousel* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnCarousel* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnCarousel* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnCarousel* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnCarousel* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnCarousel* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnCarousel* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnCarousel* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnCarousel* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnCarousel* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnCarousel* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_items)(IAvnCarousel* self, IAvnItemList** value); /* slot 112 */ + AvnHResult (AVN_CALL *get_item_count)(IAvnCarousel* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *get_items_source)(IAvnCarousel* self, IAvnVariantList** value); /* slot 114 */ + AvnHResult (AVN_CALL *set_items_source)(IAvnCarousel* self, IAvnVariantList* value); /* slot 115 */ + AvnHResult (AVN_CALL *get_item_template)(IAvnCarousel* self, IAvnDataTemplate** value); /* slot 116 */ + AvnHResult (AVN_CALL *set_item_template)(IAvnCarousel* self, IAvnDataTemplate* value); /* slot 117 */ + AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnCarousel* self, int32_t index, IAvnControl** value); /* slot 118 */ + AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnCarousel* self, AvnVariant item, IAvnControl** value); /* slot 119 */ + AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnCarousel* self, IAvnControl* container, int32_t* value); /* slot 120 */ + AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnCarousel* self, IAvnControl* container, AvnVariant* value); /* slot 121 */ + AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnCarousel* self, int32_t index); /* slot 122 */ + AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnCarousel* self, AvnVariant item); /* slot 123 */ + AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnCarousel* self, int32_t* value); /* slot 124 */ + AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnCarousel* self, int32_t value); /* slot 125 */ + AvnHResult (AVN_CALL *get_selected_index)(IAvnCarousel* self, int32_t* value); /* slot 126 */ + AvnHResult (AVN_CALL *set_selected_index)(IAvnCarousel* self, int32_t value); /* slot 127 */ + AvnHResult (AVN_CALL *get_selected_item)(IAvnCarousel* self, AvnVariant* value); /* slot 128 */ + AvnHResult (AVN_CALL *set_selected_item)(IAvnCarousel* self, AvnVariant value); /* slot 129 */ + AvnHResult (AVN_CALL *get_selected_value)(IAvnCarousel* self, AvnVariant* value); /* slot 130 */ + AvnHResult (AVN_CALL *set_selected_value)(IAvnCarousel* self, AvnVariant value); /* slot 131 */ + AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnCarousel* self, int32_t* value); /* slot 132 */ + AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnCarousel* self, int32_t value); /* slot 133 */ + AvnHResult (AVN_CALL *get_wrap_selection)(IAvnCarousel* self, int32_t* value); /* slot 134 */ + AvnHResult (AVN_CALL *set_wrap_selection)(IAvnCarousel* self, int32_t value); /* slot 135 */ + AvnHResult (AVN_CALL *advise_selection_changed)(IAvnCarousel* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 136 */ + AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnCarousel* self, int64_t subscription_id); /* slot 137 */ + AvnHResult (AVN_CALL *get_is_swipe_enabled)(IAvnCarousel* self, int32_t* value); /* slot 138 */ + AvnHResult (AVN_CALL *set_is_swipe_enabled)(IAvnCarousel* self, int32_t value); /* slot 139 */ + AvnHResult (AVN_CALL *get_viewport_fraction)(IAvnCarousel* self, double* value); /* slot 140 */ + AvnHResult (AVN_CALL *set_viewport_fraction)(IAvnCarousel* self, double value); /* slot 141 */ + AvnHResult (AVN_CALL *get_is_swiping)(IAvnCarousel* self, int32_t* value); /* slot 142 */ + AvnHResult (AVN_CALL *next)(IAvnCarousel* self); /* slot 143 */ + AvnHResult (AVN_CALL *previous)(IAvnCarousel* self); /* slot 144 */ }; struct IAvnCarousel { const IAvnCarouselVtbl* vtbl; }; -#define I_AVN_CAROUSEL_VTABLE_SLOTS 142 +#define I_AVN_CAROUSEL_VTABLE_SLOTS 145 static const AvnGuid I_AVN_CHECK_BOX_IID = { - 0xC4E191D8, - 0x29FB, - 0x5623, - { 0xAF, 0x97, 0xE3, 0xAA, 0xD9, 0x50, 0xE2, 0x7B } + 0x7A084E79, + 0xBA86, + 0x55BF, + { 0xA9, 0xE8, 0xE7, 0x78, 0x6F, 0x3D, 0x42, 0x42 } }; -#define I_AVN_CHECK_BOX_ABI_VERSION 18 +#define I_AVN_CHECK_BOX_ABI_VERSION 19 struct IAvnCheckBoxVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnCheckBox* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnCheckBox* self); /* slot 1 */ @@ -3784,102 +3811,105 @@ struct IAvnCheckBoxVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnCheckBox* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnCheckBox* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnCheckBox* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnCheckBox* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnCheckBox* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnCheckBox* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnCheckBox* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnCheckBox* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnCheckBox* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnCheckBox* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnCheckBox* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnCheckBox* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnCheckBox* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnCheckBox* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnCheckBox* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnCheckBox* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnCheckBox* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnCheckBox* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnCheckBox* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnCheckBox* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnCheckBox* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnCheckBox* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnCheckBox* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnCheckBox* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnCheckBox* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnCheckBox* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnCheckBox* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnCheckBox* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnCheckBox* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnCheckBox* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnCheckBox* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnCheckBox* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnCheckBox* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnCheckBox* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnCheckBox* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnCheckBox* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnCheckBox* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnCheckBox* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnCheckBox* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnCheckBox* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnCheckBox* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnCheckBox* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnCheckBox* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnCheckBox* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnCheckBox* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnCheckBox* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnCheckBox* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnCheckBox* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnCheckBox* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnCheckBox* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnCheckBox* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnCheckBox* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnCheckBox* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnCheckBox* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnCheckBox* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnCheckBox* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnCheckBox* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_content)(IAvnCheckBox* self, IAvnControl** value); /* slot 109 */ - AvnHResult (AVN_CALL *set_content)(IAvnCheckBox* self, IAvnControl* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnCheckBox* self, IAvnDataTemplate** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnCheckBox* self, IAvnDataTemplate* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnCheckBox* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnCheckBox* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnCheckBox* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnCheckBox* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_click_mode)(IAvnCheckBox* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_click_mode)(IAvnCheckBox* self, int32_t value); /* slot 118 */ - AvnHResult (AVN_CALL *get_command)(IAvnCheckBox* self, IAvnCommand** value); /* slot 119 */ - AvnHResult (AVN_CALL *set_command)(IAvnCheckBox* self, IAvnCommand* value); /* slot 120 */ - AvnHResult (AVN_CALL *get_hot_key)(IAvnCheckBox* self, uint16_t** value); /* slot 121 */ - AvnHResult (AVN_CALL *set_hot_key)(IAvnCheckBox* self, const uint16_t* value); /* slot 122 */ - AvnHResult (AVN_CALL *get_command_parameter)(IAvnCheckBox* self, AvnVariant* value); /* slot 123 */ - AvnHResult (AVN_CALL *set_command_parameter)(IAvnCheckBox* self, AvnVariant value); /* slot 124 */ - AvnHResult (AVN_CALL *get_is_default)(IAvnCheckBox* self, int32_t* value); /* slot 125 */ - AvnHResult (AVN_CALL *set_is_default)(IAvnCheckBox* self, int32_t value); /* slot 126 */ - AvnHResult (AVN_CALL *get_is_cancel)(IAvnCheckBox* self, int32_t* value); /* slot 127 */ - AvnHResult (AVN_CALL *set_is_cancel)(IAvnCheckBox* self, int32_t value); /* slot 128 */ - AvnHResult (AVN_CALL *get_is_pressed)(IAvnCheckBox* self, int32_t* value); /* slot 129 */ - AvnHResult (AVN_CALL *get_flyout)(IAvnCheckBox* self, IAvnFlyoutBase** value); /* slot 130 */ - AvnHResult (AVN_CALL *set_flyout)(IAvnCheckBox* self, IAvnFlyoutBase* value); /* slot 131 */ - AvnHResult (AVN_CALL *advise_click)(IAvnCheckBox* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 132 */ - AvnHResult (AVN_CALL *unadvise_click)(IAvnCheckBox* self, int64_t subscription_id); /* slot 133 */ - AvnHResult (AVN_CALL *get_is_checked)(IAvnCheckBox* self, int32_t* value); /* slot 134 */ - AvnHResult (AVN_CALL *set_is_checked)(IAvnCheckBox* self, int32_t value); /* slot 135 */ - AvnHResult (AVN_CALL *get_is_three_state)(IAvnCheckBox* self, int32_t* value); /* slot 136 */ - AvnHResult (AVN_CALL *set_is_three_state)(IAvnCheckBox* self, int32_t value); /* slot 137 */ - AvnHResult (AVN_CALL *advise_is_checked_changed)(IAvnCheckBox* self, IAvnToggleButtonIsCheckedChangedHandler* handler, int64_t* subscription_id); /* slot 138 */ - AvnHResult (AVN_CALL *unadvise_is_checked_changed)(IAvnCheckBox* self, int64_t subscription_id); /* slot 139 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnCheckBox* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnCheckBox* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnCheckBox* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnCheckBox* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnCheckBox* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnCheckBox* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnCheckBox* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnCheckBox* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnCheckBox* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnCheckBox* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnCheckBox* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnCheckBox* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnCheckBox* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnCheckBox* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnCheckBox* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnCheckBox* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnCheckBox* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnCheckBox* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnCheckBox* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnCheckBox* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnCheckBox* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnCheckBox* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnCheckBox* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnCheckBox* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnCheckBox* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnCheckBox* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnCheckBox* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnCheckBox* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnCheckBox* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnCheckBox* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnCheckBox* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnCheckBox* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnCheckBox* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnCheckBox* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnCheckBox* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnCheckBox* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnCheckBox* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnCheckBox* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnCheckBox* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnCheckBox* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnCheckBox* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnCheckBox* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnCheckBox* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnCheckBox* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnCheckBox* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnCheckBox* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnCheckBox* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnCheckBox* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnCheckBox* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnCheckBox* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnCheckBox* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnCheckBox* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnCheckBox* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnCheckBox* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnCheckBox* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnCheckBox* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnCheckBox* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_content)(IAvnCheckBox* self, IAvnControl** value); /* slot 112 */ + AvnHResult (AVN_CALL *set_content)(IAvnCheckBox* self, IAvnControl* value); /* slot 113 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnCheckBox* self, IAvnDataTemplate** value); /* slot 114 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnCheckBox* self, IAvnDataTemplate* value); /* slot 115 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnCheckBox* self, int32_t* value); /* slot 116 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnCheckBox* self, int32_t value); /* slot 117 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnCheckBox* self, int32_t* value); /* slot 118 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnCheckBox* self, int32_t value); /* slot 119 */ + AvnHResult (AVN_CALL *get_click_mode)(IAvnCheckBox* self, int32_t* value); /* slot 120 */ + AvnHResult (AVN_CALL *set_click_mode)(IAvnCheckBox* self, int32_t value); /* slot 121 */ + AvnHResult (AVN_CALL *get_command)(IAvnCheckBox* self, IAvnCommand** value); /* slot 122 */ + AvnHResult (AVN_CALL *set_command)(IAvnCheckBox* self, IAvnCommand* value); /* slot 123 */ + AvnHResult (AVN_CALL *get_hot_key)(IAvnCheckBox* self, uint16_t** value); /* slot 124 */ + AvnHResult (AVN_CALL *set_hot_key)(IAvnCheckBox* self, const uint16_t* value); /* slot 125 */ + AvnHResult (AVN_CALL *get_command_parameter)(IAvnCheckBox* self, AvnVariant* value); /* slot 126 */ + AvnHResult (AVN_CALL *set_command_parameter)(IAvnCheckBox* self, AvnVariant value); /* slot 127 */ + AvnHResult (AVN_CALL *get_is_default)(IAvnCheckBox* self, int32_t* value); /* slot 128 */ + AvnHResult (AVN_CALL *set_is_default)(IAvnCheckBox* self, int32_t value); /* slot 129 */ + AvnHResult (AVN_CALL *get_is_cancel)(IAvnCheckBox* self, int32_t* value); /* slot 130 */ + AvnHResult (AVN_CALL *set_is_cancel)(IAvnCheckBox* self, int32_t value); /* slot 131 */ + AvnHResult (AVN_CALL *get_is_pressed)(IAvnCheckBox* self, int32_t* value); /* slot 132 */ + AvnHResult (AVN_CALL *get_flyout)(IAvnCheckBox* self, IAvnFlyoutBase** value); /* slot 133 */ + AvnHResult (AVN_CALL *set_flyout)(IAvnCheckBox* self, IAvnFlyoutBase* value); /* slot 134 */ + AvnHResult (AVN_CALL *advise_click)(IAvnCheckBox* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 135 */ + AvnHResult (AVN_CALL *unadvise_click)(IAvnCheckBox* self, int64_t subscription_id); /* slot 136 */ + AvnHResult (AVN_CALL *get_is_checked)(IAvnCheckBox* self, int32_t* value); /* slot 137 */ + AvnHResult (AVN_CALL *set_is_checked)(IAvnCheckBox* self, int32_t value); /* slot 138 */ + AvnHResult (AVN_CALL *get_is_three_state)(IAvnCheckBox* self, int32_t* value); /* slot 139 */ + AvnHResult (AVN_CALL *set_is_three_state)(IAvnCheckBox* self, int32_t value); /* slot 140 */ + AvnHResult (AVN_CALL *advise_is_checked_changed)(IAvnCheckBox* self, IAvnToggleButtonIsCheckedChangedHandler* handler, int64_t* subscription_id); /* slot 141 */ + AvnHResult (AVN_CALL *unadvise_is_checked_changed)(IAvnCheckBox* self, int64_t subscription_id); /* slot 142 */ }; struct IAvnCheckBox { const IAvnCheckBoxVtbl* vtbl; }; -#define I_AVN_CHECK_BOX_VTABLE_SLOTS 140 +#define I_AVN_CHECK_BOX_VTABLE_SLOTS 143 static const AvnGuid I_AVN_COMBO_BOX_IID = { - 0xEEBBD41C, - 0x3704, - 0x5BC1, - { 0xBB, 0x31, 0xE8, 0x7E, 0xF4, 0x07, 0xCB, 0x79 } + 0x1DA7FC0F, + 0x6D3F, + 0x5669, + { 0x86, 0x44, 0x03, 0x06, 0x86, 0xAD, 0x4F, 0xD3 } }; -#define I_AVN_COMBO_BOX_ABI_VERSION 19 +#define I_AVN_COMBO_BOX_ABI_VERSION 20 struct IAvnComboBoxVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnComboBox* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnComboBox* self); /* slot 1 */ @@ -3936,117 +3966,120 @@ struct IAvnComboBoxVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnComboBox* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnComboBox* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnComboBox* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnComboBox* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnComboBox* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnComboBox* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnComboBox* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnComboBox* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnComboBox* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnComboBox* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnComboBox* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnComboBox* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnComboBox* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnComboBox* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnComboBox* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnComboBox* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnComboBox* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnComboBox* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnComboBox* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnComboBox* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnComboBox* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnComboBox* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnComboBox* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnComboBox* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnComboBox* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnComboBox* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnComboBox* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnComboBox* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnComboBox* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnComboBox* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnComboBox* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnComboBox* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnComboBox* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnComboBox* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnComboBox* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnComboBox* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnComboBox* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnComboBox* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnComboBox* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnComboBox* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnComboBox* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnComboBox* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnComboBox* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnComboBox* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnComboBox* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnComboBox* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnComboBox* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnComboBox* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnComboBox* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnComboBox* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnComboBox* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnComboBox* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnComboBox* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnComboBox* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnComboBox* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnComboBox* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnComboBox* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_items)(IAvnComboBox* self, IAvnItemList** value); /* slot 109 */ - AvnHResult (AVN_CALL *get_item_count)(IAvnComboBox* self, int32_t* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_items_source)(IAvnComboBox* self, IAvnVariantList** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_items_source)(IAvnComboBox* self, IAvnVariantList* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_item_template)(IAvnComboBox* self, IAvnDataTemplate** value); /* slot 113 */ - AvnHResult (AVN_CALL *set_item_template)(IAvnComboBox* self, IAvnDataTemplate* value); /* slot 114 */ - AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnComboBox* self, int32_t index, IAvnControl** value); /* slot 115 */ - AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnComboBox* self, AvnVariant item, IAvnControl** value); /* slot 116 */ - AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnComboBox* self, IAvnControl* container, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnComboBox* self, IAvnControl* container, AvnVariant* value); /* slot 118 */ - AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnComboBox* self, int32_t index); /* slot 119 */ - AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnComboBox* self, AvnVariant item); /* slot 120 */ - AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnComboBox* self, int32_t* value); /* slot 121 */ - AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnComboBox* self, int32_t value); /* slot 122 */ - AvnHResult (AVN_CALL *get_selected_index)(IAvnComboBox* self, int32_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *set_selected_index)(IAvnComboBox* self, int32_t value); /* slot 124 */ - AvnHResult (AVN_CALL *get_selected_item)(IAvnComboBox* self, AvnVariant* value); /* slot 125 */ - AvnHResult (AVN_CALL *set_selected_item)(IAvnComboBox* self, AvnVariant value); /* slot 126 */ - AvnHResult (AVN_CALL *get_selected_value)(IAvnComboBox* self, AvnVariant* value); /* slot 127 */ - AvnHResult (AVN_CALL *set_selected_value)(IAvnComboBox* self, AvnVariant value); /* slot 128 */ - AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnComboBox* self, int32_t* value); /* slot 129 */ - AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnComboBox* self, int32_t value); /* slot 130 */ - AvnHResult (AVN_CALL *get_wrap_selection)(IAvnComboBox* self, int32_t* value); /* slot 131 */ - AvnHResult (AVN_CALL *set_wrap_selection)(IAvnComboBox* self, int32_t value); /* slot 132 */ - AvnHResult (AVN_CALL *advise_selection_changed)(IAvnComboBox* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 133 */ - AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnComboBox* self, int64_t subscription_id); /* slot 134 */ - AvnHResult (AVN_CALL *get_is_drop_down_open)(IAvnComboBox* self, int32_t* value); /* slot 135 */ - AvnHResult (AVN_CALL *set_is_drop_down_open)(IAvnComboBox* self, int32_t value); /* slot 136 */ - AvnHResult (AVN_CALL *get_is_editable)(IAvnComboBox* self, int32_t* value); /* slot 137 */ - AvnHResult (AVN_CALL *set_is_editable)(IAvnComboBox* self, int32_t value); /* slot 138 */ - AvnHResult (AVN_CALL *get_max_drop_down_height)(IAvnComboBox* self, double* value); /* slot 139 */ - AvnHResult (AVN_CALL *set_max_drop_down_height)(IAvnComboBox* self, double value); /* slot 140 */ - AvnHResult (AVN_CALL *get_selection_box_item)(IAvnComboBox* self, AvnVariant* value); /* slot 141 */ - AvnHResult (AVN_CALL *get_placeholder_text)(IAvnComboBox* self, uint16_t** value); /* slot 142 */ - AvnHResult (AVN_CALL *set_placeholder_text)(IAvnComboBox* self, const uint16_t* value); /* slot 143 */ - AvnHResult (AVN_CALL *get_placeholder_foreground)(IAvnComboBox* self, IAvnBrush** value); /* slot 144 */ - AvnHResult (AVN_CALL *set_placeholder_foreground)(IAvnComboBox* self, IAvnBrush* value); /* slot 145 */ - AvnHResult (AVN_CALL *get_selection_box_item_template)(IAvnComboBox* self, IAvnDataTemplate** value); /* slot 146 */ - AvnHResult (AVN_CALL *set_selection_box_item_template)(IAvnComboBox* self, IAvnDataTemplate* value); /* slot 147 */ - AvnHResult (AVN_CALL *get_text)(IAvnComboBox* self, uint16_t** value); /* slot 148 */ - AvnHResult (AVN_CALL *set_text)(IAvnComboBox* self, const uint16_t* value); /* slot 149 */ - AvnHResult (AVN_CALL *clear)(IAvnComboBox* self); /* slot 150 */ - AvnHResult (AVN_CALL *advise_drop_down_closed)(IAvnComboBox* self, IAvnComboBoxDropDownClosedHandler* handler, int64_t* subscription_id); /* slot 151 */ - AvnHResult (AVN_CALL *unadvise_drop_down_closed)(IAvnComboBox* self, int64_t subscription_id); /* slot 152 */ - AvnHResult (AVN_CALL *advise_drop_down_opened)(IAvnComboBox* self, IAvnComboBoxDropDownOpenedHandler* handler, int64_t* subscription_id); /* slot 153 */ - AvnHResult (AVN_CALL *unadvise_drop_down_opened)(IAvnComboBox* self, int64_t subscription_id); /* slot 154 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnComboBox* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnComboBox* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnComboBox* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnComboBox* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnComboBox* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnComboBox* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnComboBox* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnComboBox* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnComboBox* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnComboBox* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnComboBox* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnComboBox* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnComboBox* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnComboBox* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnComboBox* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnComboBox* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnComboBox* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnComboBox* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnComboBox* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnComboBox* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnComboBox* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnComboBox* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnComboBox* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnComboBox* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnComboBox* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnComboBox* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnComboBox* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnComboBox* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnComboBox* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnComboBox* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnComboBox* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnComboBox* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnComboBox* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnComboBox* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnComboBox* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnComboBox* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnComboBox* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnComboBox* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnComboBox* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnComboBox* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnComboBox* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnComboBox* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnComboBox* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnComboBox* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnComboBox* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnComboBox* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnComboBox* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnComboBox* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnComboBox* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnComboBox* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnComboBox* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnComboBox* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnComboBox* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnComboBox* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnComboBox* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnComboBox* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnComboBox* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_items)(IAvnComboBox* self, IAvnItemList** value); /* slot 112 */ + AvnHResult (AVN_CALL *get_item_count)(IAvnComboBox* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *get_items_source)(IAvnComboBox* self, IAvnVariantList** value); /* slot 114 */ + AvnHResult (AVN_CALL *set_items_source)(IAvnComboBox* self, IAvnVariantList* value); /* slot 115 */ + AvnHResult (AVN_CALL *get_item_template)(IAvnComboBox* self, IAvnDataTemplate** value); /* slot 116 */ + AvnHResult (AVN_CALL *set_item_template)(IAvnComboBox* self, IAvnDataTemplate* value); /* slot 117 */ + AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnComboBox* self, int32_t index, IAvnControl** value); /* slot 118 */ + AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnComboBox* self, AvnVariant item, IAvnControl** value); /* slot 119 */ + AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnComboBox* self, IAvnControl* container, int32_t* value); /* slot 120 */ + AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnComboBox* self, IAvnControl* container, AvnVariant* value); /* slot 121 */ + AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnComboBox* self, int32_t index); /* slot 122 */ + AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnComboBox* self, AvnVariant item); /* slot 123 */ + AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnComboBox* self, int32_t* value); /* slot 124 */ + AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnComboBox* self, int32_t value); /* slot 125 */ + AvnHResult (AVN_CALL *get_selected_index)(IAvnComboBox* self, int32_t* value); /* slot 126 */ + AvnHResult (AVN_CALL *set_selected_index)(IAvnComboBox* self, int32_t value); /* slot 127 */ + AvnHResult (AVN_CALL *get_selected_item)(IAvnComboBox* self, AvnVariant* value); /* slot 128 */ + AvnHResult (AVN_CALL *set_selected_item)(IAvnComboBox* self, AvnVariant value); /* slot 129 */ + AvnHResult (AVN_CALL *get_selected_value)(IAvnComboBox* self, AvnVariant* value); /* slot 130 */ + AvnHResult (AVN_CALL *set_selected_value)(IAvnComboBox* self, AvnVariant value); /* slot 131 */ + AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnComboBox* self, int32_t* value); /* slot 132 */ + AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnComboBox* self, int32_t value); /* slot 133 */ + AvnHResult (AVN_CALL *get_wrap_selection)(IAvnComboBox* self, int32_t* value); /* slot 134 */ + AvnHResult (AVN_CALL *set_wrap_selection)(IAvnComboBox* self, int32_t value); /* slot 135 */ + AvnHResult (AVN_CALL *advise_selection_changed)(IAvnComboBox* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 136 */ + AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnComboBox* self, int64_t subscription_id); /* slot 137 */ + AvnHResult (AVN_CALL *get_is_drop_down_open)(IAvnComboBox* self, int32_t* value); /* slot 138 */ + AvnHResult (AVN_CALL *set_is_drop_down_open)(IAvnComboBox* self, int32_t value); /* slot 139 */ + AvnHResult (AVN_CALL *get_is_editable)(IAvnComboBox* self, int32_t* value); /* slot 140 */ + AvnHResult (AVN_CALL *set_is_editable)(IAvnComboBox* self, int32_t value); /* slot 141 */ + AvnHResult (AVN_CALL *get_max_drop_down_height)(IAvnComboBox* self, double* value); /* slot 142 */ + AvnHResult (AVN_CALL *set_max_drop_down_height)(IAvnComboBox* self, double value); /* slot 143 */ + AvnHResult (AVN_CALL *get_selection_box_item)(IAvnComboBox* self, AvnVariant* value); /* slot 144 */ + AvnHResult (AVN_CALL *get_placeholder_text)(IAvnComboBox* self, uint16_t** value); /* slot 145 */ + AvnHResult (AVN_CALL *set_placeholder_text)(IAvnComboBox* self, const uint16_t* value); /* slot 146 */ + AvnHResult (AVN_CALL *get_placeholder_foreground)(IAvnComboBox* self, IAvnBrush** value); /* slot 147 */ + AvnHResult (AVN_CALL *set_placeholder_foreground)(IAvnComboBox* self, IAvnBrush* value); /* slot 148 */ + AvnHResult (AVN_CALL *get_selection_box_item_template)(IAvnComboBox* self, IAvnDataTemplate** value); /* slot 149 */ + AvnHResult (AVN_CALL *set_selection_box_item_template)(IAvnComboBox* self, IAvnDataTemplate* value); /* slot 150 */ + AvnHResult (AVN_CALL *get_text)(IAvnComboBox* self, uint16_t** value); /* slot 151 */ + AvnHResult (AVN_CALL *set_text)(IAvnComboBox* self, const uint16_t* value); /* slot 152 */ + AvnHResult (AVN_CALL *clear)(IAvnComboBox* self); /* slot 153 */ + AvnHResult (AVN_CALL *advise_drop_down_closed)(IAvnComboBox* self, IAvnComboBoxDropDownClosedHandler* handler, int64_t* subscription_id); /* slot 154 */ + AvnHResult (AVN_CALL *unadvise_drop_down_closed)(IAvnComboBox* self, int64_t subscription_id); /* slot 155 */ + AvnHResult (AVN_CALL *advise_drop_down_opened)(IAvnComboBox* self, IAvnComboBoxDropDownOpenedHandler* handler, int64_t* subscription_id); /* slot 156 */ + AvnHResult (AVN_CALL *unadvise_drop_down_opened)(IAvnComboBox* self, int64_t subscription_id); /* slot 157 */ }; struct IAvnComboBox { const IAvnComboBoxVtbl* vtbl; }; -#define I_AVN_COMBO_BOX_VTABLE_SLOTS 155 +#define I_AVN_COMBO_BOX_VTABLE_SLOTS 158 static const AvnGuid I_AVN_COMBO_BOX_ITEM_IID = { - 0x66D70CA8, - 0x4E9B, - 0x5BD6, - { 0x95, 0x83, 0x82, 0x59, 0x51, 0x61, 0xCB, 0x34 } + 0x2D2F584F, + 0x6CD6, + 0x59C9, + { 0xB5, 0x36, 0x46, 0x3E, 0x6C, 0xC2, 0x1B, 0x72 } }; -#define I_AVN_COMBO_BOX_ITEM_ABI_VERSION 17 +#define I_AVN_COMBO_BOX_ITEM_ABI_VERSION 18 struct IAvnComboBoxItemVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnComboBoxItem* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnComboBoxItem* self); /* slot 1 */ @@ -4103,81 +4136,84 @@ struct IAvnComboBoxItemVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnComboBoxItem* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnComboBoxItem* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnComboBoxItem* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnComboBoxItem* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnComboBoxItem* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnComboBoxItem* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnComboBoxItem* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnComboBoxItem* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnComboBoxItem* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnComboBoxItem* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnComboBoxItem* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnComboBoxItem* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnComboBoxItem* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnComboBoxItem* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnComboBoxItem* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnComboBoxItem* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnComboBoxItem* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnComboBoxItem* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnComboBoxItem* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnComboBoxItem* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnComboBoxItem* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnComboBoxItem* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnComboBoxItem* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnComboBoxItem* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnComboBoxItem* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnComboBoxItem* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnComboBoxItem* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnComboBoxItem* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnComboBoxItem* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnComboBoxItem* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnComboBoxItem* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnComboBoxItem* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnComboBoxItem* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnComboBoxItem* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnComboBoxItem* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnComboBoxItem* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnComboBoxItem* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnComboBoxItem* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnComboBoxItem* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnComboBoxItem* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnComboBoxItem* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnComboBoxItem* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnComboBoxItem* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnComboBoxItem* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnComboBoxItem* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnComboBoxItem* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnComboBoxItem* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnComboBoxItem* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnComboBoxItem* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnComboBoxItem* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnComboBoxItem* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnComboBoxItem* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnComboBoxItem* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnComboBoxItem* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnComboBoxItem* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnComboBoxItem* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnComboBoxItem* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_content)(IAvnComboBoxItem* self, IAvnControl** value); /* slot 109 */ - AvnHResult (AVN_CALL *set_content)(IAvnComboBoxItem* self, IAvnControl* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnComboBoxItem* self, IAvnDataTemplate** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnComboBoxItem* self, IAvnDataTemplate* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnComboBoxItem* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnComboBoxItem* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnComboBoxItem* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnComboBoxItem* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_is_selected)(IAvnComboBoxItem* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_is_selected)(IAvnComboBoxItem* self, int32_t value); /* slot 118 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnComboBoxItem* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnComboBoxItem* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnComboBoxItem* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnComboBoxItem* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnComboBoxItem* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnComboBoxItem* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnComboBoxItem* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnComboBoxItem* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnComboBoxItem* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnComboBoxItem* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnComboBoxItem* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnComboBoxItem* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnComboBoxItem* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnComboBoxItem* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnComboBoxItem* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnComboBoxItem* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnComboBoxItem* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnComboBoxItem* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnComboBoxItem* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnComboBoxItem* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnComboBoxItem* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnComboBoxItem* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnComboBoxItem* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnComboBoxItem* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnComboBoxItem* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnComboBoxItem* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnComboBoxItem* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnComboBoxItem* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnComboBoxItem* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnComboBoxItem* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnComboBoxItem* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnComboBoxItem* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnComboBoxItem* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnComboBoxItem* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnComboBoxItem* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnComboBoxItem* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnComboBoxItem* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnComboBoxItem* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnComboBoxItem* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnComboBoxItem* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnComboBoxItem* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnComboBoxItem* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnComboBoxItem* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnComboBoxItem* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnComboBoxItem* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnComboBoxItem* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnComboBoxItem* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnComboBoxItem* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnComboBoxItem* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnComboBoxItem* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnComboBoxItem* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnComboBoxItem* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnComboBoxItem* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnComboBoxItem* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnComboBoxItem* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnComboBoxItem* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnComboBoxItem* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_content)(IAvnComboBoxItem* self, IAvnControl** value); /* slot 112 */ + AvnHResult (AVN_CALL *set_content)(IAvnComboBoxItem* self, IAvnControl* value); /* slot 113 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnComboBoxItem* self, IAvnDataTemplate** value); /* slot 114 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnComboBoxItem* self, IAvnDataTemplate* value); /* slot 115 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnComboBoxItem* self, int32_t* value); /* slot 116 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnComboBoxItem* self, int32_t value); /* slot 117 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnComboBoxItem* self, int32_t* value); /* slot 118 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnComboBoxItem* self, int32_t value); /* slot 119 */ + AvnHResult (AVN_CALL *get_is_selected)(IAvnComboBoxItem* self, int32_t* value); /* slot 120 */ + AvnHResult (AVN_CALL *set_is_selected)(IAvnComboBoxItem* self, int32_t value); /* slot 121 */ }; struct IAvnComboBoxItem { const IAvnComboBoxItemVtbl* vtbl; }; -#define I_AVN_COMBO_BOX_ITEM_VTABLE_SLOTS 119 +#define I_AVN_COMBO_BOX_ITEM_VTABLE_SLOTS 122 static const AvnGuid I_AVN_COMMAND_BAR_IID = { - 0x180E1033, - 0xDD01, - 0x5433, - { 0xA4, 0x91, 0xB2, 0x04, 0x9D, 0x71, 0x94, 0x49 } + 0x19280D2B, + 0x7145, + 0x59DC, + { 0xAD, 0x55, 0x55, 0x75, 0x41, 0xEC, 0x01, 0x47 } }; -#define I_AVN_COMMAND_BAR_ABI_VERSION 14 +#define I_AVN_COMMAND_BAR_ABI_VERSION 15 struct IAvnCommandBarVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnCommandBar* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnCommandBar* self); /* slot 1 */ @@ -4234,105 +4270,108 @@ struct IAvnCommandBarVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnCommandBar* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnCommandBar* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnCommandBar* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnCommandBar* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnCommandBar* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnCommandBar* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnCommandBar* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnCommandBar* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnCommandBar* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnCommandBar* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnCommandBar* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnCommandBar* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnCommandBar* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnCommandBar* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnCommandBar* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnCommandBar* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnCommandBar* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnCommandBar* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnCommandBar* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnCommandBar* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnCommandBar* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnCommandBar* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnCommandBar* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnCommandBar* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnCommandBar* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnCommandBar* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnCommandBar* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnCommandBar* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnCommandBar* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnCommandBar* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnCommandBar* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnCommandBar* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnCommandBar* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnCommandBar* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnCommandBar* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnCommandBar* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnCommandBar* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnCommandBar* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnCommandBar* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnCommandBar* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnCommandBar* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnCommandBar* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnCommandBar* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnCommandBar* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnCommandBar* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnCommandBar* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnCommandBar* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnCommandBar* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnCommandBar* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnCommandBar* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnCommandBar* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnCommandBar* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnCommandBar* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnCommandBar* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnCommandBar* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnCommandBar* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnCommandBar* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_visible_primary_commands)(IAvnCommandBar* self, IAvnControlList** value); /* slot 109 */ - AvnHResult (AVN_CALL *get_overflow_items)(IAvnCommandBar* self, IAvnControlList** value); /* slot 110 */ - AvnHResult (AVN_CALL *get_primary_commands)(IAvnCommandBar* self, IAvnControlList** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_primary_commands)(IAvnCommandBar* self, IAvnControlList* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_secondary_commands)(IAvnCommandBar* self, IAvnControlList** value); /* slot 113 */ - AvnHResult (AVN_CALL *set_secondary_commands)(IAvnCommandBar* self, IAvnControlList* value); /* slot 114 */ - AvnHResult (AVN_CALL *get_content)(IAvnCommandBar* self, IAvnControl** value); /* slot 115 */ - AvnHResult (AVN_CALL *set_content)(IAvnCommandBar* self, IAvnControl* value); /* slot 116 */ - AvnHResult (AVN_CALL *get_default_label_position)(IAvnCommandBar* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_default_label_position)(IAvnCommandBar* self, int32_t value); /* slot 118 */ - AvnHResult (AVN_CALL *get_is_dynamic_overflow_enabled)(IAvnCommandBar* self, int32_t* value); /* slot 119 */ - AvnHResult (AVN_CALL *set_is_dynamic_overflow_enabled)(IAvnCommandBar* self, int32_t value); /* slot 120 */ - AvnHResult (AVN_CALL *get_overflow_button_visibility)(IAvnCommandBar* self, int32_t* value); /* slot 121 */ - AvnHResult (AVN_CALL *set_overflow_button_visibility)(IAvnCommandBar* self, int32_t value); /* slot 122 */ - AvnHResult (AVN_CALL *get_is_open)(IAvnCommandBar* self, int32_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *set_is_open)(IAvnCommandBar* self, int32_t value); /* slot 124 */ - AvnHResult (AVN_CALL *get_is_sticky)(IAvnCommandBar* self, int32_t* value); /* slot 125 */ - AvnHResult (AVN_CALL *set_is_sticky)(IAvnCommandBar* self, int32_t value); /* slot 126 */ - AvnHResult (AVN_CALL *get_item_width_bottom)(IAvnCommandBar* self, double* value); /* slot 127 */ - AvnHResult (AVN_CALL *set_item_width_bottom)(IAvnCommandBar* self, double value); /* slot 128 */ - AvnHResult (AVN_CALL *get_item_width_right)(IAvnCommandBar* self, double* value); /* slot 129 */ - AvnHResult (AVN_CALL *set_item_width_right)(IAvnCommandBar* self, double value); /* slot 130 */ - AvnHResult (AVN_CALL *get_item_width_collapsed)(IAvnCommandBar* self, double* value); /* slot 131 */ - AvnHResult (AVN_CALL *set_item_width_collapsed)(IAvnCommandBar* self, double value); /* slot 132 */ - AvnHResult (AVN_CALL *get_has_secondary_commands)(IAvnCommandBar* self, int32_t* value); /* slot 133 */ - AvnHResult (AVN_CALL *get_is_overflow_button_visible)(IAvnCommandBar* self, int32_t* value); /* slot 134 */ - AvnHResult (AVN_CALL *advise_opening)(IAvnCommandBar* self, IAvnCommandBarOpeningHandler* handler, int64_t* subscription_id); /* slot 135 */ - AvnHResult (AVN_CALL *unadvise_opening)(IAvnCommandBar* self, int64_t subscription_id); /* slot 136 */ - AvnHResult (AVN_CALL *advise_opened)(IAvnCommandBar* self, IAvnCommandBarOpenedHandler* handler, int64_t* subscription_id); /* slot 137 */ - AvnHResult (AVN_CALL *unadvise_opened)(IAvnCommandBar* self, int64_t subscription_id); /* slot 138 */ - AvnHResult (AVN_CALL *advise_closing)(IAvnCommandBar* self, IAvnCommandBarClosingHandler* handler, int64_t* subscription_id); /* slot 139 */ - AvnHResult (AVN_CALL *unadvise_closing)(IAvnCommandBar* self, int64_t subscription_id); /* slot 140 */ - AvnHResult (AVN_CALL *advise_closed)(IAvnCommandBar* self, IAvnCommandBarClosedHandler* handler, int64_t* subscription_id); /* slot 141 */ - AvnHResult (AVN_CALL *unadvise_closed)(IAvnCommandBar* self, int64_t subscription_id); /* slot 142 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnCommandBar* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnCommandBar* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnCommandBar* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnCommandBar* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnCommandBar* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnCommandBar* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnCommandBar* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnCommandBar* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnCommandBar* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnCommandBar* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnCommandBar* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnCommandBar* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnCommandBar* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnCommandBar* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnCommandBar* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnCommandBar* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnCommandBar* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnCommandBar* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnCommandBar* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnCommandBar* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnCommandBar* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnCommandBar* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnCommandBar* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnCommandBar* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnCommandBar* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnCommandBar* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnCommandBar* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnCommandBar* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnCommandBar* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnCommandBar* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnCommandBar* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnCommandBar* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnCommandBar* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnCommandBar* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnCommandBar* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnCommandBar* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnCommandBar* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnCommandBar* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnCommandBar* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnCommandBar* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnCommandBar* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnCommandBar* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnCommandBar* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnCommandBar* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnCommandBar* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnCommandBar* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnCommandBar* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnCommandBar* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnCommandBar* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnCommandBar* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnCommandBar* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnCommandBar* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnCommandBar* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnCommandBar* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnCommandBar* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnCommandBar* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnCommandBar* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_visible_primary_commands)(IAvnCommandBar* self, IAvnControlList** value); /* slot 112 */ + AvnHResult (AVN_CALL *get_overflow_items)(IAvnCommandBar* self, IAvnControlList** value); /* slot 113 */ + AvnHResult (AVN_CALL *get_primary_commands)(IAvnCommandBar* self, IAvnControlList** value); /* slot 114 */ + AvnHResult (AVN_CALL *set_primary_commands)(IAvnCommandBar* self, IAvnControlList* value); /* slot 115 */ + AvnHResult (AVN_CALL *get_secondary_commands)(IAvnCommandBar* self, IAvnControlList** value); /* slot 116 */ + AvnHResult (AVN_CALL *set_secondary_commands)(IAvnCommandBar* self, IAvnControlList* value); /* slot 117 */ + AvnHResult (AVN_CALL *get_content)(IAvnCommandBar* self, IAvnControl** value); /* slot 118 */ + AvnHResult (AVN_CALL *set_content)(IAvnCommandBar* self, IAvnControl* value); /* slot 119 */ + AvnHResult (AVN_CALL *get_default_label_position)(IAvnCommandBar* self, int32_t* value); /* slot 120 */ + AvnHResult (AVN_CALL *set_default_label_position)(IAvnCommandBar* self, int32_t value); /* slot 121 */ + AvnHResult (AVN_CALL *get_is_dynamic_overflow_enabled)(IAvnCommandBar* self, int32_t* value); /* slot 122 */ + AvnHResult (AVN_CALL *set_is_dynamic_overflow_enabled)(IAvnCommandBar* self, int32_t value); /* slot 123 */ + AvnHResult (AVN_CALL *get_overflow_button_visibility)(IAvnCommandBar* self, int32_t* value); /* slot 124 */ + AvnHResult (AVN_CALL *set_overflow_button_visibility)(IAvnCommandBar* self, int32_t value); /* slot 125 */ + AvnHResult (AVN_CALL *get_is_open)(IAvnCommandBar* self, int32_t* value); /* slot 126 */ + AvnHResult (AVN_CALL *set_is_open)(IAvnCommandBar* self, int32_t value); /* slot 127 */ + AvnHResult (AVN_CALL *get_is_sticky)(IAvnCommandBar* self, int32_t* value); /* slot 128 */ + AvnHResult (AVN_CALL *set_is_sticky)(IAvnCommandBar* self, int32_t value); /* slot 129 */ + AvnHResult (AVN_CALL *get_item_width_bottom)(IAvnCommandBar* self, double* value); /* slot 130 */ + AvnHResult (AVN_CALL *set_item_width_bottom)(IAvnCommandBar* self, double value); /* slot 131 */ + AvnHResult (AVN_CALL *get_item_width_right)(IAvnCommandBar* self, double* value); /* slot 132 */ + AvnHResult (AVN_CALL *set_item_width_right)(IAvnCommandBar* self, double value); /* slot 133 */ + AvnHResult (AVN_CALL *get_item_width_collapsed)(IAvnCommandBar* self, double* value); /* slot 134 */ + AvnHResult (AVN_CALL *set_item_width_collapsed)(IAvnCommandBar* self, double value); /* slot 135 */ + AvnHResult (AVN_CALL *get_has_secondary_commands)(IAvnCommandBar* self, int32_t* value); /* slot 136 */ + AvnHResult (AVN_CALL *get_is_overflow_button_visible)(IAvnCommandBar* self, int32_t* value); /* slot 137 */ + AvnHResult (AVN_CALL *advise_opening)(IAvnCommandBar* self, IAvnCommandBarOpeningHandler* handler, int64_t* subscription_id); /* slot 138 */ + AvnHResult (AVN_CALL *unadvise_opening)(IAvnCommandBar* self, int64_t subscription_id); /* slot 139 */ + AvnHResult (AVN_CALL *advise_opened)(IAvnCommandBar* self, IAvnCommandBarOpenedHandler* handler, int64_t* subscription_id); /* slot 140 */ + AvnHResult (AVN_CALL *unadvise_opened)(IAvnCommandBar* self, int64_t subscription_id); /* slot 141 */ + AvnHResult (AVN_CALL *advise_closing)(IAvnCommandBar* self, IAvnCommandBarClosingHandler* handler, int64_t* subscription_id); /* slot 142 */ + AvnHResult (AVN_CALL *unadvise_closing)(IAvnCommandBar* self, int64_t subscription_id); /* slot 143 */ + AvnHResult (AVN_CALL *advise_closed)(IAvnCommandBar* self, IAvnCommandBarClosedHandler* handler, int64_t* subscription_id); /* slot 144 */ + AvnHResult (AVN_CALL *unadvise_closed)(IAvnCommandBar* self, int64_t subscription_id); /* slot 145 */ }; struct IAvnCommandBar { const IAvnCommandBarVtbl* vtbl; }; -#define I_AVN_COMMAND_BAR_VTABLE_SLOTS 143 +#define I_AVN_COMMAND_BAR_VTABLE_SLOTS 146 static const AvnGuid I_AVN_COMMAND_BAR_BUTTON_IID = { - 0x259356D2, - 0x8840, - 0x5531, - { 0x94, 0x27, 0x7F, 0xD0, 0xB9, 0x70, 0x7A, 0xC7 } + 0x45F67F66, + 0xADC9, + 0x5D8D, + { 0x9D, 0x41, 0x87, 0x49, 0xF5, 0x37, 0x02, 0x5E } }; -#define I_AVN_COMMAND_BAR_BUTTON_ABI_VERSION 13 +#define I_AVN_COMMAND_BAR_BUTTON_ABI_VERSION 14 struct IAvnCommandBarButtonVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnCommandBarButton* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnCommandBarButton* self); /* slot 1 */ @@ -4389,108 +4428,111 @@ struct IAvnCommandBarButtonVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnCommandBarButton* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnCommandBarButton* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnCommandBarButton* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnCommandBarButton* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnCommandBarButton* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnCommandBarButton* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnCommandBarButton* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnCommandBarButton* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnCommandBarButton* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnCommandBarButton* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnCommandBarButton* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnCommandBarButton* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnCommandBarButton* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnCommandBarButton* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnCommandBarButton* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnCommandBarButton* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnCommandBarButton* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnCommandBarButton* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnCommandBarButton* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnCommandBarButton* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnCommandBarButton* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnCommandBarButton* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnCommandBarButton* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnCommandBarButton* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnCommandBarButton* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnCommandBarButton* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnCommandBarButton* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnCommandBarButton* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnCommandBarButton* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnCommandBarButton* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnCommandBarButton* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnCommandBarButton* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnCommandBarButton* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnCommandBarButton* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnCommandBarButton* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnCommandBarButton* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnCommandBarButton* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnCommandBarButton* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnCommandBarButton* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnCommandBarButton* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnCommandBarButton* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnCommandBarButton* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnCommandBarButton* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnCommandBarButton* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnCommandBarButton* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnCommandBarButton* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnCommandBarButton* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnCommandBarButton* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnCommandBarButton* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnCommandBarButton* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnCommandBarButton* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnCommandBarButton* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnCommandBarButton* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnCommandBarButton* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnCommandBarButton* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnCommandBarButton* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnCommandBarButton* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_content)(IAvnCommandBarButton* self, IAvnControl** value); /* slot 109 */ - AvnHResult (AVN_CALL *set_content)(IAvnCommandBarButton* self, IAvnControl* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnCommandBarButton* self, IAvnDataTemplate** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnCommandBarButton* self, IAvnDataTemplate* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnCommandBarButton* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnCommandBarButton* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnCommandBarButton* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnCommandBarButton* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_click_mode)(IAvnCommandBarButton* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_click_mode)(IAvnCommandBarButton* self, int32_t value); /* slot 118 */ - AvnHResult (AVN_CALL *get_command)(IAvnCommandBarButton* self, IAvnCommand** value); /* slot 119 */ - AvnHResult (AVN_CALL *set_command)(IAvnCommandBarButton* self, IAvnCommand* value); /* slot 120 */ - AvnHResult (AVN_CALL *get_hot_key)(IAvnCommandBarButton* self, uint16_t** value); /* slot 121 */ - AvnHResult (AVN_CALL *set_hot_key)(IAvnCommandBarButton* self, const uint16_t* value); /* slot 122 */ - AvnHResult (AVN_CALL *get_command_parameter)(IAvnCommandBarButton* self, AvnVariant* value); /* slot 123 */ - AvnHResult (AVN_CALL *set_command_parameter)(IAvnCommandBarButton* self, AvnVariant value); /* slot 124 */ - AvnHResult (AVN_CALL *get_is_default)(IAvnCommandBarButton* self, int32_t* value); /* slot 125 */ - AvnHResult (AVN_CALL *set_is_default)(IAvnCommandBarButton* self, int32_t value); /* slot 126 */ - AvnHResult (AVN_CALL *get_is_cancel)(IAvnCommandBarButton* self, int32_t* value); /* slot 127 */ - AvnHResult (AVN_CALL *set_is_cancel)(IAvnCommandBarButton* self, int32_t value); /* slot 128 */ - AvnHResult (AVN_CALL *get_is_pressed)(IAvnCommandBarButton* self, int32_t* value); /* slot 129 */ - AvnHResult (AVN_CALL *get_flyout)(IAvnCommandBarButton* self, IAvnFlyoutBase** value); /* slot 130 */ - AvnHResult (AVN_CALL *set_flyout)(IAvnCommandBarButton* self, IAvnFlyoutBase* value); /* slot 131 */ - AvnHResult (AVN_CALL *advise_click)(IAvnCommandBarButton* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 132 */ - AvnHResult (AVN_CALL *unadvise_click)(IAvnCommandBarButton* self, int64_t subscription_id); /* slot 133 */ - AvnHResult (AVN_CALL *get_label)(IAvnCommandBarButton* self, uint16_t** value); /* slot 134 */ - AvnHResult (AVN_CALL *set_label)(IAvnCommandBarButton* self, const uint16_t* value); /* slot 135 */ - AvnHResult (AVN_CALL *get_icon)(IAvnCommandBarButton* self, AvnVariant* value); /* slot 136 */ - AvnHResult (AVN_CALL *set_icon)(IAvnCommandBarButton* self, AvnVariant value); /* slot 137 */ - AvnHResult (AVN_CALL *get_is_compact)(IAvnCommandBarButton* self, int32_t* value); /* slot 138 */ - AvnHResult (AVN_CALL *set_is_compact)(IAvnCommandBarButton* self, int32_t value); /* slot 139 */ - AvnHResult (AVN_CALL *get_dynamic_overflow_order)(IAvnCommandBarButton* self, int32_t* value); /* slot 140 */ - AvnHResult (AVN_CALL *set_dynamic_overflow_order)(IAvnCommandBarButton* self, int32_t value); /* slot 141 */ - AvnHResult (AVN_CALL *get_label_position)(IAvnCommandBarButton* self, int32_t* value); /* slot 142 */ - AvnHResult (AVN_CALL *set_label_position)(IAvnCommandBarButton* self, int32_t value); /* slot 143 */ - AvnHResult (AVN_CALL *get_is_in_overflow)(IAvnCommandBarButton* self, int32_t* value); /* slot 144 */ - AvnHResult (AVN_CALL *set_is_in_overflow)(IAvnCommandBarButton* self, int32_t value); /* slot 145 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnCommandBarButton* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnCommandBarButton* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnCommandBarButton* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnCommandBarButton* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnCommandBarButton* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnCommandBarButton* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnCommandBarButton* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnCommandBarButton* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnCommandBarButton* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnCommandBarButton* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnCommandBarButton* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnCommandBarButton* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnCommandBarButton* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnCommandBarButton* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnCommandBarButton* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnCommandBarButton* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnCommandBarButton* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnCommandBarButton* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnCommandBarButton* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnCommandBarButton* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnCommandBarButton* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnCommandBarButton* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnCommandBarButton* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnCommandBarButton* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnCommandBarButton* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnCommandBarButton* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnCommandBarButton* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnCommandBarButton* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnCommandBarButton* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnCommandBarButton* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnCommandBarButton* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnCommandBarButton* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnCommandBarButton* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnCommandBarButton* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnCommandBarButton* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnCommandBarButton* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnCommandBarButton* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnCommandBarButton* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnCommandBarButton* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnCommandBarButton* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnCommandBarButton* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnCommandBarButton* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnCommandBarButton* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnCommandBarButton* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnCommandBarButton* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnCommandBarButton* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnCommandBarButton* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnCommandBarButton* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnCommandBarButton* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnCommandBarButton* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnCommandBarButton* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnCommandBarButton* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnCommandBarButton* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnCommandBarButton* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnCommandBarButton* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnCommandBarButton* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnCommandBarButton* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_content)(IAvnCommandBarButton* self, IAvnControl** value); /* slot 112 */ + AvnHResult (AVN_CALL *set_content)(IAvnCommandBarButton* self, IAvnControl* value); /* slot 113 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnCommandBarButton* self, IAvnDataTemplate** value); /* slot 114 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnCommandBarButton* self, IAvnDataTemplate* value); /* slot 115 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnCommandBarButton* self, int32_t* value); /* slot 116 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnCommandBarButton* self, int32_t value); /* slot 117 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnCommandBarButton* self, int32_t* value); /* slot 118 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnCommandBarButton* self, int32_t value); /* slot 119 */ + AvnHResult (AVN_CALL *get_click_mode)(IAvnCommandBarButton* self, int32_t* value); /* slot 120 */ + AvnHResult (AVN_CALL *set_click_mode)(IAvnCommandBarButton* self, int32_t value); /* slot 121 */ + AvnHResult (AVN_CALL *get_command)(IAvnCommandBarButton* self, IAvnCommand** value); /* slot 122 */ + AvnHResult (AVN_CALL *set_command)(IAvnCommandBarButton* self, IAvnCommand* value); /* slot 123 */ + AvnHResult (AVN_CALL *get_hot_key)(IAvnCommandBarButton* self, uint16_t** value); /* slot 124 */ + AvnHResult (AVN_CALL *set_hot_key)(IAvnCommandBarButton* self, const uint16_t* value); /* slot 125 */ + AvnHResult (AVN_CALL *get_command_parameter)(IAvnCommandBarButton* self, AvnVariant* value); /* slot 126 */ + AvnHResult (AVN_CALL *set_command_parameter)(IAvnCommandBarButton* self, AvnVariant value); /* slot 127 */ + AvnHResult (AVN_CALL *get_is_default)(IAvnCommandBarButton* self, int32_t* value); /* slot 128 */ + AvnHResult (AVN_CALL *set_is_default)(IAvnCommandBarButton* self, int32_t value); /* slot 129 */ + AvnHResult (AVN_CALL *get_is_cancel)(IAvnCommandBarButton* self, int32_t* value); /* slot 130 */ + AvnHResult (AVN_CALL *set_is_cancel)(IAvnCommandBarButton* self, int32_t value); /* slot 131 */ + AvnHResult (AVN_CALL *get_is_pressed)(IAvnCommandBarButton* self, int32_t* value); /* slot 132 */ + AvnHResult (AVN_CALL *get_flyout)(IAvnCommandBarButton* self, IAvnFlyoutBase** value); /* slot 133 */ + AvnHResult (AVN_CALL *set_flyout)(IAvnCommandBarButton* self, IAvnFlyoutBase* value); /* slot 134 */ + AvnHResult (AVN_CALL *advise_click)(IAvnCommandBarButton* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 135 */ + AvnHResult (AVN_CALL *unadvise_click)(IAvnCommandBarButton* self, int64_t subscription_id); /* slot 136 */ + AvnHResult (AVN_CALL *get_label)(IAvnCommandBarButton* self, uint16_t** value); /* slot 137 */ + AvnHResult (AVN_CALL *set_label)(IAvnCommandBarButton* self, const uint16_t* value); /* slot 138 */ + AvnHResult (AVN_CALL *get_icon)(IAvnCommandBarButton* self, AvnVariant* value); /* slot 139 */ + AvnHResult (AVN_CALL *set_icon)(IAvnCommandBarButton* self, AvnVariant value); /* slot 140 */ + AvnHResult (AVN_CALL *get_is_compact)(IAvnCommandBarButton* self, int32_t* value); /* slot 141 */ + AvnHResult (AVN_CALL *set_is_compact)(IAvnCommandBarButton* self, int32_t value); /* slot 142 */ + AvnHResult (AVN_CALL *get_dynamic_overflow_order)(IAvnCommandBarButton* self, int32_t* value); /* slot 143 */ + AvnHResult (AVN_CALL *set_dynamic_overflow_order)(IAvnCommandBarButton* self, int32_t value); /* slot 144 */ + AvnHResult (AVN_CALL *get_label_position)(IAvnCommandBarButton* self, int32_t* value); /* slot 145 */ + AvnHResult (AVN_CALL *set_label_position)(IAvnCommandBarButton* self, int32_t value); /* slot 146 */ + AvnHResult (AVN_CALL *get_is_in_overflow)(IAvnCommandBarButton* self, int32_t* value); /* slot 147 */ + AvnHResult (AVN_CALL *set_is_in_overflow)(IAvnCommandBarButton* self, int32_t value); /* slot 148 */ }; struct IAvnCommandBarButton { const IAvnCommandBarButtonVtbl* vtbl; }; -#define I_AVN_COMMAND_BAR_BUTTON_VTABLE_SLOTS 146 +#define I_AVN_COMMAND_BAR_BUTTON_VTABLE_SLOTS 149 static const AvnGuid I_AVN_COMMAND_BAR_SEPARATOR_IID = { - 0x3438DF70, - 0xF2D1, - 0x5474, - { 0xA2, 0x88, 0xD9, 0x7C, 0xCE, 0xAC, 0xC9, 0xF9 } + 0x7A5D6F68, + 0x43D8, + 0x5F3C, + { 0xB7, 0xA3, 0x09, 0xC4, 0x44, 0x0A, 0x3E, 0xF7 } }; -#define I_AVN_COMMAND_BAR_SEPARATOR_ABI_VERSION 11 +#define I_AVN_COMMAND_BAR_SEPARATOR_ABI_VERSION 12 struct IAvnCommandBarSeparatorVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnCommandBarSeparator* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnCommandBarSeparator* self); /* slot 1 */ @@ -4547,75 +4589,78 @@ struct IAvnCommandBarSeparatorVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnCommandBarSeparator* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnCommandBarSeparator* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnCommandBarSeparator* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnCommandBarSeparator* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnCommandBarSeparator* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnCommandBarSeparator* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnCommandBarSeparator* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnCommandBarSeparator* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnCommandBarSeparator* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnCommandBarSeparator* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnCommandBarSeparator* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnCommandBarSeparator* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnCommandBarSeparator* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnCommandBarSeparator* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnCommandBarSeparator* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnCommandBarSeparator* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnCommandBarSeparator* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnCommandBarSeparator* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnCommandBarSeparator* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnCommandBarSeparator* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnCommandBarSeparator* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnCommandBarSeparator* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnCommandBarSeparator* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnCommandBarSeparator* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnCommandBarSeparator* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnCommandBarSeparator* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnCommandBarSeparator* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnCommandBarSeparator* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnCommandBarSeparator* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnCommandBarSeparator* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnCommandBarSeparator* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnCommandBarSeparator* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnCommandBarSeparator* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnCommandBarSeparator* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnCommandBarSeparator* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnCommandBarSeparator* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnCommandBarSeparator* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnCommandBarSeparator* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnCommandBarSeparator* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnCommandBarSeparator* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnCommandBarSeparator* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnCommandBarSeparator* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnCommandBarSeparator* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnCommandBarSeparator* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnCommandBarSeparator* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnCommandBarSeparator* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnCommandBarSeparator* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnCommandBarSeparator* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnCommandBarSeparator* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnCommandBarSeparator* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnCommandBarSeparator* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnCommandBarSeparator* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnCommandBarSeparator* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnCommandBarSeparator* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnCommandBarSeparator* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnCommandBarSeparator* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnCommandBarSeparator* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_is_compact)(IAvnCommandBarSeparator* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_is_compact)(IAvnCommandBarSeparator* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_is_in_overflow)(IAvnCommandBarSeparator* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_is_in_overflow)(IAvnCommandBarSeparator* self, int32_t value); /* slot 112 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnCommandBarSeparator* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnCommandBarSeparator* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnCommandBarSeparator* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnCommandBarSeparator* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnCommandBarSeparator* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnCommandBarSeparator* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnCommandBarSeparator* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnCommandBarSeparator* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnCommandBarSeparator* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnCommandBarSeparator* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnCommandBarSeparator* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnCommandBarSeparator* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnCommandBarSeparator* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnCommandBarSeparator* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnCommandBarSeparator* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnCommandBarSeparator* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnCommandBarSeparator* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnCommandBarSeparator* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnCommandBarSeparator* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnCommandBarSeparator* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnCommandBarSeparator* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnCommandBarSeparator* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnCommandBarSeparator* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnCommandBarSeparator* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnCommandBarSeparator* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnCommandBarSeparator* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnCommandBarSeparator* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnCommandBarSeparator* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnCommandBarSeparator* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnCommandBarSeparator* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnCommandBarSeparator* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnCommandBarSeparator* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnCommandBarSeparator* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnCommandBarSeparator* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnCommandBarSeparator* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnCommandBarSeparator* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnCommandBarSeparator* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnCommandBarSeparator* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnCommandBarSeparator* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnCommandBarSeparator* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnCommandBarSeparator* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnCommandBarSeparator* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnCommandBarSeparator* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnCommandBarSeparator* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnCommandBarSeparator* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnCommandBarSeparator* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnCommandBarSeparator* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnCommandBarSeparator* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnCommandBarSeparator* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnCommandBarSeparator* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnCommandBarSeparator* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnCommandBarSeparator* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnCommandBarSeparator* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnCommandBarSeparator* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnCommandBarSeparator* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnCommandBarSeparator* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnCommandBarSeparator* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_is_compact)(IAvnCommandBarSeparator* self, int32_t* value); /* slot 112 */ + AvnHResult (AVN_CALL *set_is_compact)(IAvnCommandBarSeparator* self, int32_t value); /* slot 113 */ + AvnHResult (AVN_CALL *get_is_in_overflow)(IAvnCommandBarSeparator* self, int32_t* value); /* slot 114 */ + AvnHResult (AVN_CALL *set_is_in_overflow)(IAvnCommandBarSeparator* self, int32_t value); /* slot 115 */ }; struct IAvnCommandBarSeparator { const IAvnCommandBarSeparatorVtbl* vtbl; }; -#define I_AVN_COMMAND_BAR_SEPARATOR_VTABLE_SLOTS 113 +#define I_AVN_COMMAND_BAR_SEPARATOR_VTABLE_SLOTS 116 static const AvnGuid I_AVN_COMMAND_BAR_TOGGLE_BUTTON_IID = { - 0x97BD5478, - 0x2731, - 0x5994, - { 0x94, 0x27, 0x4A, 0x6E, 0xCB, 0x9E, 0xE0, 0x4B } + 0x3E3D29A6, + 0x520A, + 0x5B09, + { 0x81, 0xE3, 0x63, 0x95, 0x78, 0x4D, 0x2C, 0x55 } }; -#define I_AVN_COMMAND_BAR_TOGGLE_BUTTON_ABI_VERSION 13 +#define I_AVN_COMMAND_BAR_TOGGLE_BUTTON_ABI_VERSION 14 struct IAvnCommandBarToggleButtonVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnCommandBarToggleButton* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnCommandBarToggleButton* self); /* slot 1 */ @@ -4672,114 +4717,117 @@ struct IAvnCommandBarToggleButtonVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnCommandBarToggleButton* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnCommandBarToggleButton* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnCommandBarToggleButton* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnCommandBarToggleButton* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnCommandBarToggleButton* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnCommandBarToggleButton* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnCommandBarToggleButton* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnCommandBarToggleButton* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnCommandBarToggleButton* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnCommandBarToggleButton* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnCommandBarToggleButton* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnCommandBarToggleButton* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnCommandBarToggleButton* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnCommandBarToggleButton* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnCommandBarToggleButton* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnCommandBarToggleButton* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnCommandBarToggleButton* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnCommandBarToggleButton* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnCommandBarToggleButton* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnCommandBarToggleButton* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnCommandBarToggleButton* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnCommandBarToggleButton* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnCommandBarToggleButton* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnCommandBarToggleButton* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnCommandBarToggleButton* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnCommandBarToggleButton* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnCommandBarToggleButton* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnCommandBarToggleButton* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnCommandBarToggleButton* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnCommandBarToggleButton* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnCommandBarToggleButton* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnCommandBarToggleButton* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnCommandBarToggleButton* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnCommandBarToggleButton* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnCommandBarToggleButton* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnCommandBarToggleButton* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnCommandBarToggleButton* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnCommandBarToggleButton* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnCommandBarToggleButton* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnCommandBarToggleButton* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnCommandBarToggleButton* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnCommandBarToggleButton* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnCommandBarToggleButton* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnCommandBarToggleButton* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_content)(IAvnCommandBarToggleButton* self, IAvnControl** value); /* slot 109 */ - AvnHResult (AVN_CALL *set_content)(IAvnCommandBarToggleButton* self, IAvnControl* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnCommandBarToggleButton* self, IAvnDataTemplate** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnCommandBarToggleButton* self, IAvnDataTemplate* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_click_mode)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_click_mode)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 118 */ - AvnHResult (AVN_CALL *get_command)(IAvnCommandBarToggleButton* self, IAvnCommand** value); /* slot 119 */ - AvnHResult (AVN_CALL *set_command)(IAvnCommandBarToggleButton* self, IAvnCommand* value); /* slot 120 */ - AvnHResult (AVN_CALL *get_hot_key)(IAvnCommandBarToggleButton* self, uint16_t** value); /* slot 121 */ - AvnHResult (AVN_CALL *set_hot_key)(IAvnCommandBarToggleButton* self, const uint16_t* value); /* slot 122 */ - AvnHResult (AVN_CALL *get_command_parameter)(IAvnCommandBarToggleButton* self, AvnVariant* value); /* slot 123 */ - AvnHResult (AVN_CALL *set_command_parameter)(IAvnCommandBarToggleButton* self, AvnVariant value); /* slot 124 */ - AvnHResult (AVN_CALL *get_is_default)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 125 */ - AvnHResult (AVN_CALL *set_is_default)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 126 */ - AvnHResult (AVN_CALL *get_is_cancel)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 127 */ - AvnHResult (AVN_CALL *set_is_cancel)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 128 */ - AvnHResult (AVN_CALL *get_is_pressed)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 129 */ - AvnHResult (AVN_CALL *get_flyout)(IAvnCommandBarToggleButton* self, IAvnFlyoutBase** value); /* slot 130 */ - AvnHResult (AVN_CALL *set_flyout)(IAvnCommandBarToggleButton* self, IAvnFlyoutBase* value); /* slot 131 */ - AvnHResult (AVN_CALL *advise_click)(IAvnCommandBarToggleButton* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 132 */ - AvnHResult (AVN_CALL *unadvise_click)(IAvnCommandBarToggleButton* self, int64_t subscription_id); /* slot 133 */ - AvnHResult (AVN_CALL *get_is_checked)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 134 */ - AvnHResult (AVN_CALL *set_is_checked)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 135 */ - AvnHResult (AVN_CALL *get_is_three_state)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 136 */ - AvnHResult (AVN_CALL *set_is_three_state)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 137 */ - AvnHResult (AVN_CALL *advise_is_checked_changed)(IAvnCommandBarToggleButton* self, IAvnToggleButtonIsCheckedChangedHandler* handler, int64_t* subscription_id); /* slot 138 */ - AvnHResult (AVN_CALL *unadvise_is_checked_changed)(IAvnCommandBarToggleButton* self, int64_t subscription_id); /* slot 139 */ - AvnHResult (AVN_CALL *get_label)(IAvnCommandBarToggleButton* self, uint16_t** value); /* slot 140 */ - AvnHResult (AVN_CALL *set_label)(IAvnCommandBarToggleButton* self, const uint16_t* value); /* slot 141 */ - AvnHResult (AVN_CALL *get_icon)(IAvnCommandBarToggleButton* self, AvnVariant* value); /* slot 142 */ - AvnHResult (AVN_CALL *set_icon)(IAvnCommandBarToggleButton* self, AvnVariant value); /* slot 143 */ - AvnHResult (AVN_CALL *get_is_compact)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 144 */ - AvnHResult (AVN_CALL *set_is_compact)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 145 */ - AvnHResult (AVN_CALL *get_dynamic_overflow_order)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 146 */ - AvnHResult (AVN_CALL *set_dynamic_overflow_order)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 147 */ - AvnHResult (AVN_CALL *get_label_position)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 148 */ - AvnHResult (AVN_CALL *set_label_position)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 149 */ - AvnHResult (AVN_CALL *get_is_in_overflow)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 150 */ - AvnHResult (AVN_CALL *set_is_in_overflow)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 151 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnCommandBarToggleButton* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnCommandBarToggleButton* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnCommandBarToggleButton* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnCommandBarToggleButton* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnCommandBarToggleButton* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnCommandBarToggleButton* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnCommandBarToggleButton* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnCommandBarToggleButton* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnCommandBarToggleButton* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnCommandBarToggleButton* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnCommandBarToggleButton* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnCommandBarToggleButton* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnCommandBarToggleButton* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnCommandBarToggleButton* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnCommandBarToggleButton* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnCommandBarToggleButton* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnCommandBarToggleButton* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnCommandBarToggleButton* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnCommandBarToggleButton* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnCommandBarToggleButton* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnCommandBarToggleButton* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnCommandBarToggleButton* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnCommandBarToggleButton* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnCommandBarToggleButton* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnCommandBarToggleButton* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnCommandBarToggleButton* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnCommandBarToggleButton* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnCommandBarToggleButton* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnCommandBarToggleButton* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnCommandBarToggleButton* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnCommandBarToggleButton* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnCommandBarToggleButton* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnCommandBarToggleButton* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnCommandBarToggleButton* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnCommandBarToggleButton* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnCommandBarToggleButton* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnCommandBarToggleButton* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnCommandBarToggleButton* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnCommandBarToggleButton* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnCommandBarToggleButton* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnCommandBarToggleButton* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnCommandBarToggleButton* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnCommandBarToggleButton* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnCommandBarToggleButton* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnCommandBarToggleButton* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_content)(IAvnCommandBarToggleButton* self, IAvnControl** value); /* slot 112 */ + AvnHResult (AVN_CALL *set_content)(IAvnCommandBarToggleButton* self, IAvnControl* value); /* slot 113 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnCommandBarToggleButton* self, IAvnDataTemplate** value); /* slot 114 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnCommandBarToggleButton* self, IAvnDataTemplate* value); /* slot 115 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 116 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 117 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 118 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 119 */ + AvnHResult (AVN_CALL *get_click_mode)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 120 */ + AvnHResult (AVN_CALL *set_click_mode)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 121 */ + AvnHResult (AVN_CALL *get_command)(IAvnCommandBarToggleButton* self, IAvnCommand** value); /* slot 122 */ + AvnHResult (AVN_CALL *set_command)(IAvnCommandBarToggleButton* self, IAvnCommand* value); /* slot 123 */ + AvnHResult (AVN_CALL *get_hot_key)(IAvnCommandBarToggleButton* self, uint16_t** value); /* slot 124 */ + AvnHResult (AVN_CALL *set_hot_key)(IAvnCommandBarToggleButton* self, const uint16_t* value); /* slot 125 */ + AvnHResult (AVN_CALL *get_command_parameter)(IAvnCommandBarToggleButton* self, AvnVariant* value); /* slot 126 */ + AvnHResult (AVN_CALL *set_command_parameter)(IAvnCommandBarToggleButton* self, AvnVariant value); /* slot 127 */ + AvnHResult (AVN_CALL *get_is_default)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 128 */ + AvnHResult (AVN_CALL *set_is_default)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 129 */ + AvnHResult (AVN_CALL *get_is_cancel)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 130 */ + AvnHResult (AVN_CALL *set_is_cancel)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 131 */ + AvnHResult (AVN_CALL *get_is_pressed)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 132 */ + AvnHResult (AVN_CALL *get_flyout)(IAvnCommandBarToggleButton* self, IAvnFlyoutBase** value); /* slot 133 */ + AvnHResult (AVN_CALL *set_flyout)(IAvnCommandBarToggleButton* self, IAvnFlyoutBase* value); /* slot 134 */ + AvnHResult (AVN_CALL *advise_click)(IAvnCommandBarToggleButton* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 135 */ + AvnHResult (AVN_CALL *unadvise_click)(IAvnCommandBarToggleButton* self, int64_t subscription_id); /* slot 136 */ + AvnHResult (AVN_CALL *get_is_checked)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 137 */ + AvnHResult (AVN_CALL *set_is_checked)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 138 */ + AvnHResult (AVN_CALL *get_is_three_state)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 139 */ + AvnHResult (AVN_CALL *set_is_three_state)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 140 */ + AvnHResult (AVN_CALL *advise_is_checked_changed)(IAvnCommandBarToggleButton* self, IAvnToggleButtonIsCheckedChangedHandler* handler, int64_t* subscription_id); /* slot 141 */ + AvnHResult (AVN_CALL *unadvise_is_checked_changed)(IAvnCommandBarToggleButton* self, int64_t subscription_id); /* slot 142 */ + AvnHResult (AVN_CALL *get_label)(IAvnCommandBarToggleButton* self, uint16_t** value); /* slot 143 */ + AvnHResult (AVN_CALL *set_label)(IAvnCommandBarToggleButton* self, const uint16_t* value); /* slot 144 */ + AvnHResult (AVN_CALL *get_icon)(IAvnCommandBarToggleButton* self, AvnVariant* value); /* slot 145 */ + AvnHResult (AVN_CALL *set_icon)(IAvnCommandBarToggleButton* self, AvnVariant value); /* slot 146 */ + AvnHResult (AVN_CALL *get_is_compact)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 147 */ + AvnHResult (AVN_CALL *set_is_compact)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 148 */ + AvnHResult (AVN_CALL *get_dynamic_overflow_order)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 149 */ + AvnHResult (AVN_CALL *set_dynamic_overflow_order)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 150 */ + AvnHResult (AVN_CALL *get_label_position)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 151 */ + AvnHResult (AVN_CALL *set_label_position)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 152 */ + AvnHResult (AVN_CALL *get_is_in_overflow)(IAvnCommandBarToggleButton* self, int32_t* value); /* slot 153 */ + AvnHResult (AVN_CALL *set_is_in_overflow)(IAvnCommandBarToggleButton* self, int32_t value); /* slot 154 */ }; struct IAvnCommandBarToggleButton { const IAvnCommandBarToggleButtonVtbl* vtbl; }; -#define I_AVN_COMMAND_BAR_TOGGLE_BUTTON_VTABLE_SLOTS 152 +#define I_AVN_COMMAND_BAR_TOGGLE_BUTTON_VTABLE_SLOTS 155 static const AvnGuid I_AVN_CONTENT_CONTROL_IID = { - 0x611A61DE, - 0x9AD0, - 0x5456, - { 0x97, 0x9A, 0xEE, 0x52, 0x5E, 0x51, 0x32, 0xCE } + 0x7312A513, + 0x1E46, + 0x5A98, + { 0x95, 0x07, 0x85, 0x12, 0x20, 0xC7, 0xA4, 0x65 } }; -#define I_AVN_CONTENT_CONTROL_ABI_VERSION 15 +#define I_AVN_CONTENT_CONTROL_ABI_VERSION 16 struct IAvnContentControlVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnContentControl* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnContentControl* self); /* slot 1 */ @@ -4836,79 +4884,82 @@ struct IAvnContentControlVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnContentControl* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnContentControl* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnContentControl* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnContentControl* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnContentControl* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnContentControl* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnContentControl* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnContentControl* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnContentControl* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnContentControl* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnContentControl* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnContentControl* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnContentControl* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnContentControl* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnContentControl* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnContentControl* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnContentControl* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnContentControl* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnContentControl* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnContentControl* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnContentControl* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnContentControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnContentControl* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnContentControl* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnContentControl* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnContentControl* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnContentControl* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnContentControl* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnContentControl* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnContentControl* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnContentControl* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnContentControl* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnContentControl* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnContentControl* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnContentControl* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnContentControl* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnContentControl* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnContentControl* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnContentControl* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnContentControl* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnContentControl* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnContentControl* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnContentControl* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnContentControl* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnContentControl* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnContentControl* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnContentControl* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnContentControl* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnContentControl* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnContentControl* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnContentControl* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnContentControl* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnContentControl* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnContentControl* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnContentControl* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnContentControl* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnContentControl* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_content)(IAvnContentControl* self, IAvnControl** value); /* slot 109 */ - AvnHResult (AVN_CALL *set_content)(IAvnContentControl* self, IAvnControl* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnContentControl* self, IAvnDataTemplate** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnContentControl* self, IAvnDataTemplate* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnContentControl* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnContentControl* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnContentControl* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnContentControl* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnContentControl* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnContentControl* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnContentControl* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnContentControl* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnContentControl* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnContentControl* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnContentControl* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnContentControl* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnContentControl* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnContentControl* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnContentControl* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnContentControl* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnContentControl* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnContentControl* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnContentControl* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnContentControl* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnContentControl* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnContentControl* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnContentControl* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnContentControl* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnContentControl* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnContentControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnContentControl* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnContentControl* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnContentControl* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnContentControl* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnContentControl* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnContentControl* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnContentControl* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnContentControl* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnContentControl* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnContentControl* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnContentControl* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnContentControl* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnContentControl* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnContentControl* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnContentControl* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnContentControl* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnContentControl* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnContentControl* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnContentControl* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnContentControl* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnContentControl* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnContentControl* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnContentControl* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnContentControl* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnContentControl* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnContentControl* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnContentControl* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnContentControl* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnContentControl* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnContentControl* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnContentControl* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnContentControl* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnContentControl* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnContentControl* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnContentControl* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_content)(IAvnContentControl* self, IAvnControl** value); /* slot 112 */ + AvnHResult (AVN_CALL *set_content)(IAvnContentControl* self, IAvnControl* value); /* slot 113 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnContentControl* self, IAvnDataTemplate** value); /* slot 114 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnContentControl* self, IAvnDataTemplate* value); /* slot 115 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnContentControl* self, int32_t* value); /* slot 116 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnContentControl* self, int32_t value); /* slot 117 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnContentControl* self, int32_t* value); /* slot 118 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnContentControl* self, int32_t value); /* slot 119 */ }; struct IAvnContentControl { const IAvnContentControlVtbl* vtbl; }; -#define I_AVN_CONTENT_CONTROL_VTABLE_SLOTS 117 +#define I_AVN_CONTENT_CONTROL_VTABLE_SLOTS 120 static const AvnGuid I_AVN_CONTEXT_MENU_IID = { - 0xF63FBE8E, - 0x277B, - 0x531C, - { 0xB3, 0xF5, 0xE9, 0xA2, 0xCC, 0xEF, 0x11, 0xA8 } + 0x58A98293, + 0x5AA3, + 0x59E4, + { 0xAB, 0x2B, 0xCE, 0x02, 0x1C, 0x5A, 0x5C, 0xCA } }; -#define I_AVN_CONTEXT_MENU_ABI_VERSION 17 +#define I_AVN_CONTEXT_MENU_ABI_VERSION 18 struct IAvnContextMenuVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnContextMenu* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnContextMenu* self); /* slot 1 */ @@ -4965,129 +5016,132 @@ struct IAvnContextMenuVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnContextMenu* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnContextMenu* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnContextMenu* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnContextMenu* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnContextMenu* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnContextMenu* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnContextMenu* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnContextMenu* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnContextMenu* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnContextMenu* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnContextMenu* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnContextMenu* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnContextMenu* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnContextMenu* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnContextMenu* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnContextMenu* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnContextMenu* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnContextMenu* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnContextMenu* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnContextMenu* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnContextMenu* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnContextMenu* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnContextMenu* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnContextMenu* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnContextMenu* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnContextMenu* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnContextMenu* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnContextMenu* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnContextMenu* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnContextMenu* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnContextMenu* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnContextMenu* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnContextMenu* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnContextMenu* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnContextMenu* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnContextMenu* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnContextMenu* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnContextMenu* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnContextMenu* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnContextMenu* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnContextMenu* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnContextMenu* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnContextMenu* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnContextMenu* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnContextMenu* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnContextMenu* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnContextMenu* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnContextMenu* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnContextMenu* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnContextMenu* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnContextMenu* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnContextMenu* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnContextMenu* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnContextMenu* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnContextMenu* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnContextMenu* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnContextMenu* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_items)(IAvnContextMenu* self, IAvnItemList** value); /* slot 109 */ - AvnHResult (AVN_CALL *get_item_count)(IAvnContextMenu* self, int32_t* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_items_source)(IAvnContextMenu* self, IAvnVariantList** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_items_source)(IAvnContextMenu* self, IAvnVariantList* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_item_template)(IAvnContextMenu* self, IAvnDataTemplate** value); /* slot 113 */ - AvnHResult (AVN_CALL *set_item_template)(IAvnContextMenu* self, IAvnDataTemplate* value); /* slot 114 */ - AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnContextMenu* self, int32_t index, IAvnControl** value); /* slot 115 */ - AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnContextMenu* self, AvnVariant item, IAvnControl** value); /* slot 116 */ - AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnContextMenu* self, IAvnControl* container, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnContextMenu* self, IAvnControl* container, AvnVariant* value); /* slot 118 */ - AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnContextMenu* self, int32_t index); /* slot 119 */ - AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnContextMenu* self, AvnVariant item); /* slot 120 */ - AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnContextMenu* self, int32_t* value); /* slot 121 */ - AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnContextMenu* self, int32_t value); /* slot 122 */ - AvnHResult (AVN_CALL *get_selected_index)(IAvnContextMenu* self, int32_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *set_selected_index)(IAvnContextMenu* self, int32_t value); /* slot 124 */ - AvnHResult (AVN_CALL *get_selected_item)(IAvnContextMenu* self, AvnVariant* value); /* slot 125 */ - AvnHResult (AVN_CALL *set_selected_item)(IAvnContextMenu* self, AvnVariant value); /* slot 126 */ - AvnHResult (AVN_CALL *get_selected_value)(IAvnContextMenu* self, AvnVariant* value); /* slot 127 */ - AvnHResult (AVN_CALL *set_selected_value)(IAvnContextMenu* self, AvnVariant value); /* slot 128 */ - AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnContextMenu* self, int32_t* value); /* slot 129 */ - AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnContextMenu* self, int32_t value); /* slot 130 */ - AvnHResult (AVN_CALL *get_wrap_selection)(IAvnContextMenu* self, int32_t* value); /* slot 131 */ - AvnHResult (AVN_CALL *set_wrap_selection)(IAvnContextMenu* self, int32_t value); /* slot 132 */ - AvnHResult (AVN_CALL *advise_selection_changed)(IAvnContextMenu* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 133 */ - AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnContextMenu* self, int64_t subscription_id); /* slot 134 */ - AvnHResult (AVN_CALL *get_is_open)(IAvnContextMenu* self, int32_t* value); /* slot 135 */ - AvnHResult (AVN_CALL *close)(IAvnContextMenu* self); /* slot 136 */ - AvnHResult (AVN_CALL *open)(IAvnContextMenu* self); /* slot 137 */ - AvnHResult (AVN_CALL *advise_opened)(IAvnContextMenu* self, IAvnMenuBaseOpenedHandler* handler, int64_t* subscription_id); /* slot 138 */ - AvnHResult (AVN_CALL *unadvise_opened)(IAvnContextMenu* self, int64_t subscription_id); /* slot 139 */ - AvnHResult (AVN_CALL *advise_closed)(IAvnContextMenu* self, IAvnMenuBaseClosedHandler* handler, int64_t* subscription_id); /* slot 140 */ - AvnHResult (AVN_CALL *unadvise_closed)(IAvnContextMenu* self, int64_t subscription_id); /* slot 141 */ - AvnHResult (AVN_CALL *get_horizontal_offset)(IAvnContextMenu* self, double* value); /* slot 142 */ - AvnHResult (AVN_CALL *set_horizontal_offset)(IAvnContextMenu* self, double value); /* slot 143 */ - AvnHResult (AVN_CALL *get_vertical_offset)(IAvnContextMenu* self, double* value); /* slot 144 */ - AvnHResult (AVN_CALL *set_vertical_offset)(IAvnContextMenu* self, double value); /* slot 145 */ - AvnHResult (AVN_CALL *get_placement_anchor)(IAvnContextMenu* self, int32_t* value); /* slot 146 */ - AvnHResult (AVN_CALL *set_placement_anchor)(IAvnContextMenu* self, int32_t value); /* slot 147 */ - AvnHResult (AVN_CALL *get_placement_constraint_adjustment)(IAvnContextMenu* self, int32_t* value); /* slot 148 */ - AvnHResult (AVN_CALL *set_placement_constraint_adjustment)(IAvnContextMenu* self, int32_t value); /* slot 149 */ - AvnHResult (AVN_CALL *get_placement_gravity)(IAvnContextMenu* self, int32_t* value); /* slot 150 */ - AvnHResult (AVN_CALL *set_placement_gravity)(IAvnContextMenu* self, int32_t value); /* slot 151 */ - AvnHResult (AVN_CALL *get_placement)(IAvnContextMenu* self, int32_t* value); /* slot 152 */ - AvnHResult (AVN_CALL *set_placement)(IAvnContextMenu* self, int32_t value); /* slot 153 */ - AvnHResult (AVN_CALL *get_window_manager_add_shadow_hint)(IAvnContextMenu* self, int32_t* value); /* slot 154 */ - AvnHResult (AVN_CALL *set_window_manager_add_shadow_hint)(IAvnContextMenu* self, int32_t value); /* slot 155 */ - AvnHResult (AVN_CALL *get_placement_rect)(IAvnContextMenu* self, AvnOptionalRect* value); /* slot 156 */ - AvnHResult (AVN_CALL *set_placement_rect)(IAvnContextMenu* self, AvnOptionalRect value); /* slot 157 */ - AvnHResult (AVN_CALL *get_placement_target)(IAvnContextMenu* self, IAvnControl** value); /* slot 158 */ - AvnHResult (AVN_CALL *set_placement_target)(IAvnContextMenu* self, IAvnControl* value); /* slot 159 */ - AvnHResult (AVN_CALL *get_custom_popup_placement_callback)(IAvnContextMenu* self, IAvnPopupPlacementCallback** value); /* slot 160 */ - AvnHResult (AVN_CALL *set_custom_popup_placement_callback)(IAvnContextMenu* self, IAvnPopupPlacementCallback* value); /* slot 161 */ - AvnHResult (AVN_CALL *open_with_control)(IAvnContextMenu* self, IAvnControl* control); /* slot 162 */ - AvnHResult (AVN_CALL *advise_opening)(IAvnContextMenu* self, IAvnContextMenuOpeningHandler* handler, int64_t* subscription_id); /* slot 163 */ - AvnHResult (AVN_CALL *unadvise_opening)(IAvnContextMenu* self, int64_t subscription_id); /* slot 164 */ - AvnHResult (AVN_CALL *advise_closing)(IAvnContextMenu* self, IAvnContextMenuClosingHandler* handler, int64_t* subscription_id); /* slot 165 */ - AvnHResult (AVN_CALL *unadvise_closing)(IAvnContextMenu* self, int64_t subscription_id); /* slot 166 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnContextMenu* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnContextMenu* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnContextMenu* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnContextMenu* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnContextMenu* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnContextMenu* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnContextMenu* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnContextMenu* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnContextMenu* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnContextMenu* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnContextMenu* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnContextMenu* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnContextMenu* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnContextMenu* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnContextMenu* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnContextMenu* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnContextMenu* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnContextMenu* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnContextMenu* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnContextMenu* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnContextMenu* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnContextMenu* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnContextMenu* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnContextMenu* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnContextMenu* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnContextMenu* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnContextMenu* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnContextMenu* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnContextMenu* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnContextMenu* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnContextMenu* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnContextMenu* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnContextMenu* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnContextMenu* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnContextMenu* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnContextMenu* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnContextMenu* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnContextMenu* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnContextMenu* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnContextMenu* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnContextMenu* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnContextMenu* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnContextMenu* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnContextMenu* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnContextMenu* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnContextMenu* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnContextMenu* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnContextMenu* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnContextMenu* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnContextMenu* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnContextMenu* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnContextMenu* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnContextMenu* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnContextMenu* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnContextMenu* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnContextMenu* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnContextMenu* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_items)(IAvnContextMenu* self, IAvnItemList** value); /* slot 112 */ + AvnHResult (AVN_CALL *get_item_count)(IAvnContextMenu* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *get_items_source)(IAvnContextMenu* self, IAvnVariantList** value); /* slot 114 */ + AvnHResult (AVN_CALL *set_items_source)(IAvnContextMenu* self, IAvnVariantList* value); /* slot 115 */ + AvnHResult (AVN_CALL *get_item_template)(IAvnContextMenu* self, IAvnDataTemplate** value); /* slot 116 */ + AvnHResult (AVN_CALL *set_item_template)(IAvnContextMenu* self, IAvnDataTemplate* value); /* slot 117 */ + AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnContextMenu* self, int32_t index, IAvnControl** value); /* slot 118 */ + AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnContextMenu* self, AvnVariant item, IAvnControl** value); /* slot 119 */ + AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnContextMenu* self, IAvnControl* container, int32_t* value); /* slot 120 */ + AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnContextMenu* self, IAvnControl* container, AvnVariant* value); /* slot 121 */ + AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnContextMenu* self, int32_t index); /* slot 122 */ + AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnContextMenu* self, AvnVariant item); /* slot 123 */ + AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnContextMenu* self, int32_t* value); /* slot 124 */ + AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnContextMenu* self, int32_t value); /* slot 125 */ + AvnHResult (AVN_CALL *get_selected_index)(IAvnContextMenu* self, int32_t* value); /* slot 126 */ + AvnHResult (AVN_CALL *set_selected_index)(IAvnContextMenu* self, int32_t value); /* slot 127 */ + AvnHResult (AVN_CALL *get_selected_item)(IAvnContextMenu* self, AvnVariant* value); /* slot 128 */ + AvnHResult (AVN_CALL *set_selected_item)(IAvnContextMenu* self, AvnVariant value); /* slot 129 */ + AvnHResult (AVN_CALL *get_selected_value)(IAvnContextMenu* self, AvnVariant* value); /* slot 130 */ + AvnHResult (AVN_CALL *set_selected_value)(IAvnContextMenu* self, AvnVariant value); /* slot 131 */ + AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnContextMenu* self, int32_t* value); /* slot 132 */ + AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnContextMenu* self, int32_t value); /* slot 133 */ + AvnHResult (AVN_CALL *get_wrap_selection)(IAvnContextMenu* self, int32_t* value); /* slot 134 */ + AvnHResult (AVN_CALL *set_wrap_selection)(IAvnContextMenu* self, int32_t value); /* slot 135 */ + AvnHResult (AVN_CALL *advise_selection_changed)(IAvnContextMenu* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 136 */ + AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnContextMenu* self, int64_t subscription_id); /* slot 137 */ + AvnHResult (AVN_CALL *get_is_open)(IAvnContextMenu* self, int32_t* value); /* slot 138 */ + AvnHResult (AVN_CALL *close)(IAvnContextMenu* self); /* slot 139 */ + AvnHResult (AVN_CALL *open)(IAvnContextMenu* self); /* slot 140 */ + AvnHResult (AVN_CALL *advise_opened)(IAvnContextMenu* self, IAvnMenuBaseOpenedHandler* handler, int64_t* subscription_id); /* slot 141 */ + AvnHResult (AVN_CALL *unadvise_opened)(IAvnContextMenu* self, int64_t subscription_id); /* slot 142 */ + AvnHResult (AVN_CALL *advise_closed)(IAvnContextMenu* self, IAvnMenuBaseClosedHandler* handler, int64_t* subscription_id); /* slot 143 */ + AvnHResult (AVN_CALL *unadvise_closed)(IAvnContextMenu* self, int64_t subscription_id); /* slot 144 */ + AvnHResult (AVN_CALL *get_horizontal_offset)(IAvnContextMenu* self, double* value); /* slot 145 */ + AvnHResult (AVN_CALL *set_horizontal_offset)(IAvnContextMenu* self, double value); /* slot 146 */ + AvnHResult (AVN_CALL *get_vertical_offset)(IAvnContextMenu* self, double* value); /* slot 147 */ + AvnHResult (AVN_CALL *set_vertical_offset)(IAvnContextMenu* self, double value); /* slot 148 */ + AvnHResult (AVN_CALL *get_placement_anchor)(IAvnContextMenu* self, int32_t* value); /* slot 149 */ + AvnHResult (AVN_CALL *set_placement_anchor)(IAvnContextMenu* self, int32_t value); /* slot 150 */ + AvnHResult (AVN_CALL *get_placement_constraint_adjustment)(IAvnContextMenu* self, int32_t* value); /* slot 151 */ + AvnHResult (AVN_CALL *set_placement_constraint_adjustment)(IAvnContextMenu* self, int32_t value); /* slot 152 */ + AvnHResult (AVN_CALL *get_placement_gravity)(IAvnContextMenu* self, int32_t* value); /* slot 153 */ + AvnHResult (AVN_CALL *set_placement_gravity)(IAvnContextMenu* self, int32_t value); /* slot 154 */ + AvnHResult (AVN_CALL *get_placement)(IAvnContextMenu* self, int32_t* value); /* slot 155 */ + AvnHResult (AVN_CALL *set_placement)(IAvnContextMenu* self, int32_t value); /* slot 156 */ + AvnHResult (AVN_CALL *get_window_manager_add_shadow_hint)(IAvnContextMenu* self, int32_t* value); /* slot 157 */ + AvnHResult (AVN_CALL *set_window_manager_add_shadow_hint)(IAvnContextMenu* self, int32_t value); /* slot 158 */ + AvnHResult (AVN_CALL *get_placement_rect)(IAvnContextMenu* self, AvnOptionalRect* value); /* slot 159 */ + AvnHResult (AVN_CALL *set_placement_rect)(IAvnContextMenu* self, AvnOptionalRect value); /* slot 160 */ + AvnHResult (AVN_CALL *get_placement_target)(IAvnContextMenu* self, IAvnControl** value); /* slot 161 */ + AvnHResult (AVN_CALL *set_placement_target)(IAvnContextMenu* self, IAvnControl* value); /* slot 162 */ + AvnHResult (AVN_CALL *get_custom_popup_placement_callback)(IAvnContextMenu* self, IAvnPopupPlacementCallback** value); /* slot 163 */ + AvnHResult (AVN_CALL *set_custom_popup_placement_callback)(IAvnContextMenu* self, IAvnPopupPlacementCallback* value); /* slot 164 */ + AvnHResult (AVN_CALL *open_with_control)(IAvnContextMenu* self, IAvnControl* control); /* slot 165 */ + AvnHResult (AVN_CALL *advise_opening)(IAvnContextMenu* self, IAvnContextMenuOpeningHandler* handler, int64_t* subscription_id); /* slot 166 */ + AvnHResult (AVN_CALL *unadvise_opening)(IAvnContextMenu* self, int64_t subscription_id); /* slot 167 */ + AvnHResult (AVN_CALL *advise_closing)(IAvnContextMenu* self, IAvnContextMenuClosingHandler* handler, int64_t* subscription_id); /* slot 168 */ + AvnHResult (AVN_CALL *unadvise_closing)(IAvnContextMenu* self, int64_t subscription_id); /* slot 169 */ }; struct IAvnContextMenu { const IAvnContextMenuVtbl* vtbl; }; -#define I_AVN_CONTEXT_MENU_VTABLE_SLOTS 167 +#define I_AVN_CONTEXT_MENU_VTABLE_SLOTS 170 static const AvnGuid I_AVN_CONTROL_IID = { - 0xE2F44292, - 0x89FA, - 0x5AFA, - { 0x92, 0x94, 0xFF, 0x2F, 0x26, 0xDB, 0x68, 0xCE } + 0x8B272500, + 0x09E4, + 0x535F, + { 0xAB, 0xF1, 0x14, 0x99, 0x2E, 0x90, 0xE7, 0x78 } }; -#define I_AVN_CONTROL_ABI_VERSION 10 +#define I_AVN_CONTROL_ABI_VERSION 11 struct IAvnControlVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnControl* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnControl* self); /* slot 1 */ @@ -5144,43 +5198,46 @@ struct IAvnControlVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnControl* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnControl* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnControl* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnControl* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnControl* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnControl* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnControl* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnControl* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnControl* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnControl* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnControl* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnControl* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnControl* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnControl* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnControl* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnControl* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnControl* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnControl* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnControl* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnControl* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnControl* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnControl* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnControl* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnControl* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnControl* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnControl* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnControl* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnControl* self, int64_t subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnControl* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnControl* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnControl* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnControl* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnControl* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnControl* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnControl* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnControl* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnControl* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnControl* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnControl* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnControl* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnControl* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnControl* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnControl* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnControl* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnControl* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnControl* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnControl* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnControl* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnControl* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnControl* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnControl* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnControl* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnControl* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnControl* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnControl* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnControl* self, int64_t subscription_id); /* slot 83 */ }; struct IAvnControl { const IAvnControlVtbl* vtbl; }; -#define I_AVN_CONTROL_VTABLE_SLOTS 81 +#define I_AVN_CONTROL_VTABLE_SLOTS 84 static const AvnGuid I_AVN_DATE_PICKER_IID = { - 0xDF809CB0, - 0x67FA, - 0x58E8, - { 0x92, 0x0C, 0x1B, 0x95, 0x74, 0xA7, 0xB3, 0x69 } + 0x2AAFC151, + 0x688F, + 0x5326, + { 0xB6, 0x51, 0xD0, 0x22, 0xBD, 0x55, 0x48, 0x7D } }; -#define I_AVN_DATE_PICKER_ABI_VERSION 13 +#define I_AVN_DATE_PICKER_ABI_VERSION 14 struct IAvnDatePickerVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnDatePicker* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnDatePicker* self); /* slot 1 */ @@ -5237,94 +5294,97 @@ struct IAvnDatePickerVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnDatePicker* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnDatePicker* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnDatePicker* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnDatePicker* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnDatePicker* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnDatePicker* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnDatePicker* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnDatePicker* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnDatePicker* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnDatePicker* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnDatePicker* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnDatePicker* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnDatePicker* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnDatePicker* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnDatePicker* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnDatePicker* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnDatePicker* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnDatePicker* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnDatePicker* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnDatePicker* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnDatePicker* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnDatePicker* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnDatePicker* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnDatePicker* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnDatePicker* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnDatePicker* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnDatePicker* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnDatePicker* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnDatePicker* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnDatePicker* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnDatePicker* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnDatePicker* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnDatePicker* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnDatePicker* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnDatePicker* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnDatePicker* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnDatePicker* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnDatePicker* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnDatePicker* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnDatePicker* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnDatePicker* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnDatePicker* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnDatePicker* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnDatePicker* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnDatePicker* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnDatePicker* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnDatePicker* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnDatePicker* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnDatePicker* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnDatePicker* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnDatePicker* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnDatePicker* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnDatePicker* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnDatePicker* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnDatePicker* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnDatePicker* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnDatePicker* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnDatePicker* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnDatePicker* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_day_format)(IAvnDatePicker* self, uint16_t** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_day_format)(IAvnDatePicker* self, const uint16_t* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_day_visible)(IAvnDatePicker* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_day_visible)(IAvnDatePicker* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_max_year)(IAvnDatePicker* self, uint16_t** value); /* slot 115 */ - AvnHResult (AVN_CALL *set_max_year)(IAvnDatePicker* self, const uint16_t* value); /* slot 116 */ - AvnHResult (AVN_CALL *get_min_year)(IAvnDatePicker* self, uint16_t** value); /* slot 117 */ - AvnHResult (AVN_CALL *set_min_year)(IAvnDatePicker* self, const uint16_t* value); /* slot 118 */ - AvnHResult (AVN_CALL *get_month_format)(IAvnDatePicker* self, uint16_t** value); /* slot 119 */ - AvnHResult (AVN_CALL *set_month_format)(IAvnDatePicker* self, const uint16_t* value); /* slot 120 */ - AvnHResult (AVN_CALL *get_month_visible)(IAvnDatePicker* self, int32_t* value); /* slot 121 */ - AvnHResult (AVN_CALL *set_month_visible)(IAvnDatePicker* self, int32_t value); /* slot 122 */ - AvnHResult (AVN_CALL *get_year_format)(IAvnDatePicker* self, uint16_t** value); /* slot 123 */ - AvnHResult (AVN_CALL *set_year_format)(IAvnDatePicker* self, const uint16_t* value); /* slot 124 */ - AvnHResult (AVN_CALL *get_year_visible)(IAvnDatePicker* self, int32_t* value); /* slot 125 */ - AvnHResult (AVN_CALL *set_year_visible)(IAvnDatePicker* self, int32_t value); /* slot 126 */ - AvnHResult (AVN_CALL *get_selected_date)(IAvnDatePicker* self, uint16_t** value); /* slot 127 */ - AvnHResult (AVN_CALL *set_selected_date)(IAvnDatePicker* self, const uint16_t* value); /* slot 128 */ - AvnHResult (AVN_CALL *clear)(IAvnDatePicker* self); /* slot 129 */ - AvnHResult (AVN_CALL *advise_selected_date_changed)(IAvnDatePicker* self, IAvnDatePickerSelectedDateChangedHandler* handler, int64_t* subscription_id); /* slot 130 */ - AvnHResult (AVN_CALL *unadvise_selected_date_changed)(IAvnDatePicker* self, int64_t subscription_id); /* slot 131 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnDatePicker* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnDatePicker* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnDatePicker* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnDatePicker* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnDatePicker* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnDatePicker* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnDatePicker* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnDatePicker* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnDatePicker* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnDatePicker* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnDatePicker* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnDatePicker* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnDatePicker* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnDatePicker* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnDatePicker* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnDatePicker* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnDatePicker* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnDatePicker* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnDatePicker* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnDatePicker* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnDatePicker* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnDatePicker* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnDatePicker* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnDatePicker* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnDatePicker* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnDatePicker* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnDatePicker* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnDatePicker* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnDatePicker* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnDatePicker* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnDatePicker* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnDatePicker* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnDatePicker* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnDatePicker* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnDatePicker* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnDatePicker* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnDatePicker* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnDatePicker* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnDatePicker* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnDatePicker* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnDatePicker* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnDatePicker* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnDatePicker* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnDatePicker* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnDatePicker* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnDatePicker* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnDatePicker* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnDatePicker* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnDatePicker* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnDatePicker* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnDatePicker* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnDatePicker* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnDatePicker* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnDatePicker* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnDatePicker* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnDatePicker* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnDatePicker* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnDatePicker* self, int32_t* value); /* slot 112 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnDatePicker* self, int32_t value); /* slot 113 */ + AvnHResult (AVN_CALL *get_day_format)(IAvnDatePicker* self, uint16_t** value); /* slot 114 */ + AvnHResult (AVN_CALL *set_day_format)(IAvnDatePicker* self, const uint16_t* value); /* slot 115 */ + AvnHResult (AVN_CALL *get_day_visible)(IAvnDatePicker* self, int32_t* value); /* slot 116 */ + AvnHResult (AVN_CALL *set_day_visible)(IAvnDatePicker* self, int32_t value); /* slot 117 */ + AvnHResult (AVN_CALL *get_max_year)(IAvnDatePicker* self, uint16_t** value); /* slot 118 */ + AvnHResult (AVN_CALL *set_max_year)(IAvnDatePicker* self, const uint16_t* value); /* slot 119 */ + AvnHResult (AVN_CALL *get_min_year)(IAvnDatePicker* self, uint16_t** value); /* slot 120 */ + AvnHResult (AVN_CALL *set_min_year)(IAvnDatePicker* self, const uint16_t* value); /* slot 121 */ + AvnHResult (AVN_CALL *get_month_format)(IAvnDatePicker* self, uint16_t** value); /* slot 122 */ + AvnHResult (AVN_CALL *set_month_format)(IAvnDatePicker* self, const uint16_t* value); /* slot 123 */ + AvnHResult (AVN_CALL *get_month_visible)(IAvnDatePicker* self, int32_t* value); /* slot 124 */ + AvnHResult (AVN_CALL *set_month_visible)(IAvnDatePicker* self, int32_t value); /* slot 125 */ + AvnHResult (AVN_CALL *get_year_format)(IAvnDatePicker* self, uint16_t** value); /* slot 126 */ + AvnHResult (AVN_CALL *set_year_format)(IAvnDatePicker* self, const uint16_t* value); /* slot 127 */ + AvnHResult (AVN_CALL *get_year_visible)(IAvnDatePicker* self, int32_t* value); /* slot 128 */ + AvnHResult (AVN_CALL *set_year_visible)(IAvnDatePicker* self, int32_t value); /* slot 129 */ + AvnHResult (AVN_CALL *get_selected_date)(IAvnDatePicker* self, uint16_t** value); /* slot 130 */ + AvnHResult (AVN_CALL *set_selected_date)(IAvnDatePicker* self, const uint16_t* value); /* slot 131 */ + AvnHResult (AVN_CALL *clear)(IAvnDatePicker* self); /* slot 132 */ + AvnHResult (AVN_CALL *advise_selected_date_changed)(IAvnDatePicker* self, IAvnDatePickerSelectedDateChangedHandler* handler, int64_t* subscription_id); /* slot 133 */ + AvnHResult (AVN_CALL *unadvise_selected_date_changed)(IAvnDatePicker* self, int64_t subscription_id); /* slot 134 */ }; struct IAvnDatePicker { const IAvnDatePickerVtbl* vtbl; }; -#define I_AVN_DATE_PICKER_VTABLE_SLOTS 132 +#define I_AVN_DATE_PICKER_VTABLE_SLOTS 135 static const AvnGuid I_AVN_DECORATOR_IID = { - 0xC3E4D085, - 0x4977, - 0x566E, - { 0xB8, 0x43, 0x75, 0xD8, 0x6B, 0x43, 0xC2, 0xC9 } + 0xF8530439, + 0xABA5, + 0x5B16, + { 0x9C, 0x0B, 0x21, 0x32, 0xD4, 0xEF, 0xD2, 0x05 } }; -#define I_AVN_DECORATOR_ABI_VERSION 12 +#define I_AVN_DECORATOR_ABI_VERSION 13 struct IAvnDecoratorVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnDecorator* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnDecorator* self); /* slot 1 */ @@ -5381,47 +5441,50 @@ struct IAvnDecoratorVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnDecorator* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnDecorator* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnDecorator* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnDecorator* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnDecorator* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnDecorator* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnDecorator* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnDecorator* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnDecorator* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnDecorator* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnDecorator* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnDecorator* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnDecorator* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnDecorator* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnDecorator* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnDecorator* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnDecorator* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnDecorator* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnDecorator* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnDecorator* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnDecorator* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnDecorator* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnDecorator* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnDecorator* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnDecorator* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnDecorator* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnDecorator* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnDecorator* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnDecorator* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_child)(IAvnDecorator* self, IAvnControl** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_child)(IAvnDecorator* self, IAvnControl* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_padding)(IAvnDecorator* self, AvnThickness* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_padding)(IAvnDecorator* self, AvnThickness value); /* slot 84 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnDecorator* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnDecorator* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnDecorator* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnDecorator* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnDecorator* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnDecorator* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnDecorator* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnDecorator* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnDecorator* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnDecorator* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnDecorator* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnDecorator* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnDecorator* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnDecorator* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnDecorator* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnDecorator* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnDecorator* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnDecorator* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnDecorator* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnDecorator* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnDecorator* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnDecorator* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnDecorator* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnDecorator* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnDecorator* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnDecorator* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnDecorator* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnDecorator* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnDecorator* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_child)(IAvnDecorator* self, IAvnControl** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_child)(IAvnDecorator* self, IAvnControl* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_padding)(IAvnDecorator* self, AvnThickness* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_padding)(IAvnDecorator* self, AvnThickness value); /* slot 87 */ }; struct IAvnDecorator { const IAvnDecoratorVtbl* vtbl; }; -#define I_AVN_DECORATOR_VTABLE_SLOTS 85 +#define I_AVN_DECORATOR_VTABLE_SLOTS 88 static const AvnGuid I_AVN_DOCK_PANEL_IID = { - 0x8D7E3210, - 0x853F, - 0x5D42, - { 0xAE, 0x5B, 0xA5, 0x91, 0x5B, 0xD5, 0x39, 0x28 } + 0x63D1EF80, + 0xEEE5, + 0x50CA, + { 0xB1, 0xA7, 0xC6, 0x00, 0x85, 0x60, 0xBF, 0xD3 } }; -#define I_AVN_DOCK_PANEL_ABI_VERSION 13 +#define I_AVN_DOCK_PANEL_ABI_VERSION 14 struct IAvnDockPanelVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnDockPanel* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnDockPanel* self); /* slot 1 */ @@ -5478,52 +5541,55 @@ struct IAvnDockPanelVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnDockPanel* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnDockPanel* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnDockPanel* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnDockPanel* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnDockPanel* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnDockPanel* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnDockPanel* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnDockPanel* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnDockPanel* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnDockPanel* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnDockPanel* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnDockPanel* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnDockPanel* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnDockPanel* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnDockPanel* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnDockPanel* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnDockPanel* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnDockPanel* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnDockPanel* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnDockPanel* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnDockPanel* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnDockPanel* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnDockPanel* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnDockPanel* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnDockPanel* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnDockPanel* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnDockPanel* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnDockPanel* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnDockPanel* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_children)(IAvnDockPanel* self, IAvnControlList** value); /* slot 81 */ - AvnHResult (AVN_CALL *get_background)(IAvnDockPanel* self, IAvnBrush** value); /* slot 82 */ - AvnHResult (AVN_CALL *set_background)(IAvnDockPanel* self, IAvnBrush* value); /* slot 83 */ - AvnHResult (AVN_CALL *get_last_child_fill)(IAvnDockPanel* self, int32_t* value); /* slot 84 */ - AvnHResult (AVN_CALL *set_last_child_fill)(IAvnDockPanel* self, int32_t value); /* slot 85 */ - AvnHResult (AVN_CALL *get_horizontal_spacing)(IAvnDockPanel* self, double* value); /* slot 86 */ - AvnHResult (AVN_CALL *set_horizontal_spacing)(IAvnDockPanel* self, double value); /* slot 87 */ - AvnHResult (AVN_CALL *get_vertical_spacing)(IAvnDockPanel* self, double* value); /* slot 88 */ - AvnHResult (AVN_CALL *set_vertical_spacing)(IAvnDockPanel* self, double value); /* slot 89 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnDockPanel* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnDockPanel* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnDockPanel* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnDockPanel* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnDockPanel* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnDockPanel* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnDockPanel* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnDockPanel* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnDockPanel* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnDockPanel* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnDockPanel* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnDockPanel* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnDockPanel* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnDockPanel* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnDockPanel* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnDockPanel* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnDockPanel* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnDockPanel* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnDockPanel* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnDockPanel* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnDockPanel* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnDockPanel* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnDockPanel* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnDockPanel* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnDockPanel* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnDockPanel* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnDockPanel* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnDockPanel* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnDockPanel* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_children)(IAvnDockPanel* self, IAvnControlList** value); /* slot 84 */ + AvnHResult (AVN_CALL *get_background)(IAvnDockPanel* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_background)(IAvnDockPanel* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_last_child_fill)(IAvnDockPanel* self, int32_t* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_last_child_fill)(IAvnDockPanel* self, int32_t value); /* slot 88 */ + AvnHResult (AVN_CALL *get_horizontal_spacing)(IAvnDockPanel* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_horizontal_spacing)(IAvnDockPanel* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_vertical_spacing)(IAvnDockPanel* self, double* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_vertical_spacing)(IAvnDockPanel* self, double value); /* slot 92 */ }; struct IAvnDockPanel { const IAvnDockPanelVtbl* vtbl; }; -#define I_AVN_DOCK_PANEL_VTABLE_SLOTS 90 +#define I_AVN_DOCK_PANEL_VTABLE_SLOTS 93 static const AvnGuid I_AVN_DROP_DOWN_BUTTON_IID = { - 0xBCBBD462, - 0xBE4D, - 0x517B, - { 0x96, 0xB1, 0xBD, 0xF7, 0x62, 0xCA, 0x9B, 0x4B } + 0x99F4E9B6, + 0xDAAC, + 0x55B1, + { 0xAF, 0xDE, 0x75, 0xD3, 0x8A, 0x5C, 0x24, 0x91 } }; -#define I_AVN_DROP_DOWN_BUTTON_ABI_VERSION 13 +#define I_AVN_DROP_DOWN_BUTTON_ABI_VERSION 14 struct IAvnDropDownButtonVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnDropDownButton* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnDropDownButton* self); /* slot 1 */ @@ -5580,96 +5646,99 @@ struct IAvnDropDownButtonVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnDropDownButton* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnDropDownButton* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnDropDownButton* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnDropDownButton* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnDropDownButton* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnDropDownButton* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnDropDownButton* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnDropDownButton* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnDropDownButton* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnDropDownButton* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnDropDownButton* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnDropDownButton* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnDropDownButton* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnDropDownButton* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnDropDownButton* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnDropDownButton* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnDropDownButton* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnDropDownButton* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnDropDownButton* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnDropDownButton* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnDropDownButton* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnDropDownButton* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnDropDownButton* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnDropDownButton* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnDropDownButton* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnDropDownButton* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnDropDownButton* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnDropDownButton* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnDropDownButton* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnDropDownButton* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnDropDownButton* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnDropDownButton* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnDropDownButton* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnDropDownButton* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnDropDownButton* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnDropDownButton* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnDropDownButton* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnDropDownButton* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnDropDownButton* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnDropDownButton* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnDropDownButton* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnDropDownButton* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnDropDownButton* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnDropDownButton* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnDropDownButton* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnDropDownButton* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnDropDownButton* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnDropDownButton* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnDropDownButton* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnDropDownButton* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnDropDownButton* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnDropDownButton* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnDropDownButton* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnDropDownButton* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnDropDownButton* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnDropDownButton* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnDropDownButton* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_content)(IAvnDropDownButton* self, IAvnControl** value); /* slot 109 */ - AvnHResult (AVN_CALL *set_content)(IAvnDropDownButton* self, IAvnControl* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnDropDownButton* self, IAvnDataTemplate** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnDropDownButton* self, IAvnDataTemplate* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnDropDownButton* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnDropDownButton* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnDropDownButton* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnDropDownButton* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_click_mode)(IAvnDropDownButton* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_click_mode)(IAvnDropDownButton* self, int32_t value); /* slot 118 */ - AvnHResult (AVN_CALL *get_command)(IAvnDropDownButton* self, IAvnCommand** value); /* slot 119 */ - AvnHResult (AVN_CALL *set_command)(IAvnDropDownButton* self, IAvnCommand* value); /* slot 120 */ - AvnHResult (AVN_CALL *get_hot_key)(IAvnDropDownButton* self, uint16_t** value); /* slot 121 */ - AvnHResult (AVN_CALL *set_hot_key)(IAvnDropDownButton* self, const uint16_t* value); /* slot 122 */ - AvnHResult (AVN_CALL *get_command_parameter)(IAvnDropDownButton* self, AvnVariant* value); /* slot 123 */ - AvnHResult (AVN_CALL *set_command_parameter)(IAvnDropDownButton* self, AvnVariant value); /* slot 124 */ - AvnHResult (AVN_CALL *get_is_default)(IAvnDropDownButton* self, int32_t* value); /* slot 125 */ - AvnHResult (AVN_CALL *set_is_default)(IAvnDropDownButton* self, int32_t value); /* slot 126 */ - AvnHResult (AVN_CALL *get_is_cancel)(IAvnDropDownButton* self, int32_t* value); /* slot 127 */ - AvnHResult (AVN_CALL *set_is_cancel)(IAvnDropDownButton* self, int32_t value); /* slot 128 */ - AvnHResult (AVN_CALL *get_is_pressed)(IAvnDropDownButton* self, int32_t* value); /* slot 129 */ - AvnHResult (AVN_CALL *get_flyout)(IAvnDropDownButton* self, IAvnFlyoutBase** value); /* slot 130 */ - AvnHResult (AVN_CALL *set_flyout)(IAvnDropDownButton* self, IAvnFlyoutBase* value); /* slot 131 */ - AvnHResult (AVN_CALL *advise_click)(IAvnDropDownButton* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 132 */ - AvnHResult (AVN_CALL *unadvise_click)(IAvnDropDownButton* self, int64_t subscription_id); /* slot 133 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnDropDownButton* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnDropDownButton* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnDropDownButton* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnDropDownButton* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnDropDownButton* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnDropDownButton* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnDropDownButton* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnDropDownButton* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnDropDownButton* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnDropDownButton* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnDropDownButton* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnDropDownButton* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnDropDownButton* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnDropDownButton* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnDropDownButton* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnDropDownButton* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnDropDownButton* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnDropDownButton* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnDropDownButton* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnDropDownButton* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnDropDownButton* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnDropDownButton* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnDropDownButton* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnDropDownButton* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnDropDownButton* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnDropDownButton* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnDropDownButton* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnDropDownButton* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnDropDownButton* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnDropDownButton* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnDropDownButton* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnDropDownButton* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnDropDownButton* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnDropDownButton* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnDropDownButton* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnDropDownButton* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnDropDownButton* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnDropDownButton* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnDropDownButton* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnDropDownButton* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnDropDownButton* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnDropDownButton* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnDropDownButton* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnDropDownButton* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnDropDownButton* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnDropDownButton* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnDropDownButton* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnDropDownButton* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnDropDownButton* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnDropDownButton* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnDropDownButton* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnDropDownButton* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnDropDownButton* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnDropDownButton* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnDropDownButton* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnDropDownButton* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnDropDownButton* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_content)(IAvnDropDownButton* self, IAvnControl** value); /* slot 112 */ + AvnHResult (AVN_CALL *set_content)(IAvnDropDownButton* self, IAvnControl* value); /* slot 113 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnDropDownButton* self, IAvnDataTemplate** value); /* slot 114 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnDropDownButton* self, IAvnDataTemplate* value); /* slot 115 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnDropDownButton* self, int32_t* value); /* slot 116 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnDropDownButton* self, int32_t value); /* slot 117 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnDropDownButton* self, int32_t* value); /* slot 118 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnDropDownButton* self, int32_t value); /* slot 119 */ + AvnHResult (AVN_CALL *get_click_mode)(IAvnDropDownButton* self, int32_t* value); /* slot 120 */ + AvnHResult (AVN_CALL *set_click_mode)(IAvnDropDownButton* self, int32_t value); /* slot 121 */ + AvnHResult (AVN_CALL *get_command)(IAvnDropDownButton* self, IAvnCommand** value); /* slot 122 */ + AvnHResult (AVN_CALL *set_command)(IAvnDropDownButton* self, IAvnCommand* value); /* slot 123 */ + AvnHResult (AVN_CALL *get_hot_key)(IAvnDropDownButton* self, uint16_t** value); /* slot 124 */ + AvnHResult (AVN_CALL *set_hot_key)(IAvnDropDownButton* self, const uint16_t* value); /* slot 125 */ + AvnHResult (AVN_CALL *get_command_parameter)(IAvnDropDownButton* self, AvnVariant* value); /* slot 126 */ + AvnHResult (AVN_CALL *set_command_parameter)(IAvnDropDownButton* self, AvnVariant value); /* slot 127 */ + AvnHResult (AVN_CALL *get_is_default)(IAvnDropDownButton* self, int32_t* value); /* slot 128 */ + AvnHResult (AVN_CALL *set_is_default)(IAvnDropDownButton* self, int32_t value); /* slot 129 */ + AvnHResult (AVN_CALL *get_is_cancel)(IAvnDropDownButton* self, int32_t* value); /* slot 130 */ + AvnHResult (AVN_CALL *set_is_cancel)(IAvnDropDownButton* self, int32_t value); /* slot 131 */ + AvnHResult (AVN_CALL *get_is_pressed)(IAvnDropDownButton* self, int32_t* value); /* slot 132 */ + AvnHResult (AVN_CALL *get_flyout)(IAvnDropDownButton* self, IAvnFlyoutBase** value); /* slot 133 */ + AvnHResult (AVN_CALL *set_flyout)(IAvnDropDownButton* self, IAvnFlyoutBase* value); /* slot 134 */ + AvnHResult (AVN_CALL *advise_click)(IAvnDropDownButton* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 135 */ + AvnHResult (AVN_CALL *unadvise_click)(IAvnDropDownButton* self, int64_t subscription_id); /* slot 136 */ }; struct IAvnDropDownButton { const IAvnDropDownButtonVtbl* vtbl; }; -#define I_AVN_DROP_DOWN_BUTTON_VTABLE_SLOTS 134 +#define I_AVN_DROP_DOWN_BUTTON_VTABLE_SLOTS 137 static const AvnGuid I_AVN_ELLIPSE_IID = { - 0xECCCD4F8, - 0x7656, - 0x5346, - { 0xB5, 0x62, 0xE8, 0x26, 0xC2, 0x7E, 0x03, 0x9E } + 0x71442BCB, + 0x5E0D, + 0x53BF, + { 0xB4, 0xC8, 0x4B, 0xE3, 0x9A, 0x9E, 0x19, 0x10 } }; -#define I_AVN_ELLIPSE_ABI_VERSION 10 +#define I_AVN_ELLIPSE_ABI_VERSION 11 struct IAvnEllipseVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnEllipse* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnEllipse* self); /* slot 1 */ @@ -5726,61 +5795,64 @@ struct IAvnEllipseVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnEllipse* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnEllipse* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnEllipse* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnEllipse* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnEllipse* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnEllipse* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnEllipse* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnEllipse* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnEllipse* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnEllipse* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnEllipse* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnEllipse* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnEllipse* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnEllipse* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnEllipse* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnEllipse* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnEllipse* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnEllipse* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnEllipse* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnEllipse* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnEllipse* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnEllipse* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnEllipse* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnEllipse* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnEllipse* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnEllipse* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnEllipse* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnEllipse* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnEllipse* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_fill)(IAvnEllipse* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_fill)(IAvnEllipse* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_stretch)(IAvnEllipse* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_stretch)(IAvnEllipse* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_stroke)(IAvnEllipse* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_stroke)(IAvnEllipse* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_stroke_dash_array)(IAvnEllipse* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_stroke_dash_array)(IAvnEllipse* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_stroke_dash_offset)(IAvnEllipse* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_stroke_dash_offset)(IAvnEllipse* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_stroke_thickness)(IAvnEllipse* self, double* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_stroke_thickness)(IAvnEllipse* self, double value); /* slot 92 */ - AvnHResult (AVN_CALL *get_stroke_line_cap)(IAvnEllipse* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_stroke_line_cap)(IAvnEllipse* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_stroke_join)(IAvnEllipse* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_stroke_join)(IAvnEllipse* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_stroke_miter_limit)(IAvnEllipse* self, double* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_stroke_miter_limit)(IAvnEllipse* self, double value); /* slot 98 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnEllipse* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnEllipse* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnEllipse* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnEllipse* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnEllipse* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnEllipse* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnEllipse* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnEllipse* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnEllipse* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnEllipse* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnEllipse* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnEllipse* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnEllipse* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnEllipse* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnEllipse* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnEllipse* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnEllipse* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnEllipse* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnEllipse* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnEllipse* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnEllipse* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnEllipse* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnEllipse* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnEllipse* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnEllipse* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnEllipse* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnEllipse* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnEllipse* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnEllipse* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_fill)(IAvnEllipse* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_fill)(IAvnEllipse* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_stretch)(IAvnEllipse* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_stretch)(IAvnEllipse* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_stroke)(IAvnEllipse* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_stroke)(IAvnEllipse* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_stroke_dash_array)(IAvnEllipse* self, uint16_t** value); /* slot 90 */ + AvnHResult (AVN_CALL *set_stroke_dash_array)(IAvnEllipse* self, const uint16_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *get_stroke_dash_offset)(IAvnEllipse* self, double* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_stroke_dash_offset)(IAvnEllipse* self, double value); /* slot 93 */ + AvnHResult (AVN_CALL *get_stroke_thickness)(IAvnEllipse* self, double* value); /* slot 94 */ + AvnHResult (AVN_CALL *set_stroke_thickness)(IAvnEllipse* self, double value); /* slot 95 */ + AvnHResult (AVN_CALL *get_stroke_line_cap)(IAvnEllipse* self, int32_t* value); /* slot 96 */ + AvnHResult (AVN_CALL *set_stroke_line_cap)(IAvnEllipse* self, int32_t value); /* slot 97 */ + AvnHResult (AVN_CALL *get_stroke_join)(IAvnEllipse* self, int32_t* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_stroke_join)(IAvnEllipse* self, int32_t value); /* slot 99 */ + AvnHResult (AVN_CALL *get_stroke_miter_limit)(IAvnEllipse* self, double* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_stroke_miter_limit)(IAvnEllipse* self, double value); /* slot 101 */ }; struct IAvnEllipse { const IAvnEllipseVtbl* vtbl; }; -#define I_AVN_ELLIPSE_VTABLE_SLOTS 99 +#define I_AVN_ELLIPSE_VTABLE_SLOTS 102 static const AvnGuid I_AVN_EXPANDER_IID = { - 0xDFCCCA83, - 0x1ADA, - 0x5620, - { 0x82, 0x30, 0x0C, 0x1D, 0x66, 0x50, 0x7F, 0x12 } + 0x014D8342, + 0x03F6, + 0x590B, + { 0xAF, 0xF5, 0xA8, 0x2C, 0x0E, 0xB3, 0x76, 0xBB } }; -#define I_AVN_EXPANDER_ABI_VERSION 15 +#define I_AVN_EXPANDER_ABI_VERSION 16 struct IAvnExpanderVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnExpander* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnExpander* self); /* slot 1 */ @@ -5837,95 +5909,98 @@ struct IAvnExpanderVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnExpander* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnExpander* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnExpander* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnExpander* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnExpander* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnExpander* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnExpander* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnExpander* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnExpander* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnExpander* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnExpander* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnExpander* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnExpander* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnExpander* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnExpander* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnExpander* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnExpander* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnExpander* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnExpander* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnExpander* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnExpander* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnExpander* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnExpander* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnExpander* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnExpander* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnExpander* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnExpander* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnExpander* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnExpander* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnExpander* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnExpander* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnExpander* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnExpander* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnExpander* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnExpander* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnExpander* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnExpander* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnExpander* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnExpander* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnExpander* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnExpander* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnExpander* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnExpander* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnExpander* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnExpander* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnExpander* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnExpander* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnExpander* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnExpander* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnExpander* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnExpander* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnExpander* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnExpander* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnExpander* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnExpander* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnExpander* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnExpander* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_content)(IAvnExpander* self, IAvnControl** value); /* slot 109 */ - AvnHResult (AVN_CALL *set_content)(IAvnExpander* self, IAvnControl* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnExpander* self, IAvnDataTemplate** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnExpander* self, IAvnDataTemplate* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnExpander* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnExpander* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnExpander* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnExpander* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_header)(IAvnExpander* self, IAvnControl** value); /* slot 117 */ - AvnHResult (AVN_CALL *set_header)(IAvnExpander* self, IAvnControl* value); /* slot 118 */ - AvnHResult (AVN_CALL *get_header_template)(IAvnExpander* self, IAvnDataTemplate** value); /* slot 119 */ - AvnHResult (AVN_CALL *set_header_template)(IAvnExpander* self, IAvnDataTemplate* value); /* slot 120 */ - AvnHResult (AVN_CALL *get_expand_direction)(IAvnExpander* self, int32_t* value); /* slot 121 */ - AvnHResult (AVN_CALL *set_expand_direction)(IAvnExpander* self, int32_t value); /* slot 122 */ - AvnHResult (AVN_CALL *get_is_expanded)(IAvnExpander* self, int32_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *set_is_expanded)(IAvnExpander* self, int32_t value); /* slot 124 */ - AvnHResult (AVN_CALL *advise_collapsed)(IAvnExpander* self, IAvnExpanderCollapsedHandler* handler, int64_t* subscription_id); /* slot 125 */ - AvnHResult (AVN_CALL *unadvise_collapsed)(IAvnExpander* self, int64_t subscription_id); /* slot 126 */ - AvnHResult (AVN_CALL *advise_collapsing)(IAvnExpander* self, IAvnExpanderCollapsingHandler* handler, int64_t* subscription_id); /* slot 127 */ - AvnHResult (AVN_CALL *unadvise_collapsing)(IAvnExpander* self, int64_t subscription_id); /* slot 128 */ - AvnHResult (AVN_CALL *advise_expanded)(IAvnExpander* self, IAvnExpanderExpandedHandler* handler, int64_t* subscription_id); /* slot 129 */ - AvnHResult (AVN_CALL *unadvise_expanded)(IAvnExpander* self, int64_t subscription_id); /* slot 130 */ - AvnHResult (AVN_CALL *advise_expanding)(IAvnExpander* self, IAvnExpanderExpandingHandler* handler, int64_t* subscription_id); /* slot 131 */ - AvnHResult (AVN_CALL *unadvise_expanding)(IAvnExpander* self, int64_t subscription_id); /* slot 132 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnExpander* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnExpander* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnExpander* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnExpander* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnExpander* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnExpander* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnExpander* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnExpander* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnExpander* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnExpander* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnExpander* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnExpander* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnExpander* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnExpander* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnExpander* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnExpander* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnExpander* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnExpander* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnExpander* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnExpander* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnExpander* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnExpander* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnExpander* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnExpander* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnExpander* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnExpander* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnExpander* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnExpander* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnExpander* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnExpander* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnExpander* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnExpander* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnExpander* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnExpander* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnExpander* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnExpander* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnExpander* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnExpander* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnExpander* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnExpander* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnExpander* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnExpander* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnExpander* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnExpander* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnExpander* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnExpander* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnExpander* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnExpander* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnExpander* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnExpander* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnExpander* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnExpander* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnExpander* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnExpander* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnExpander* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnExpander* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnExpander* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_content)(IAvnExpander* self, IAvnControl** value); /* slot 112 */ + AvnHResult (AVN_CALL *set_content)(IAvnExpander* self, IAvnControl* value); /* slot 113 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnExpander* self, IAvnDataTemplate** value); /* slot 114 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnExpander* self, IAvnDataTemplate* value); /* slot 115 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnExpander* self, int32_t* value); /* slot 116 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnExpander* self, int32_t value); /* slot 117 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnExpander* self, int32_t* value); /* slot 118 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnExpander* self, int32_t value); /* slot 119 */ + AvnHResult (AVN_CALL *get_header)(IAvnExpander* self, IAvnControl** value); /* slot 120 */ + AvnHResult (AVN_CALL *set_header)(IAvnExpander* self, IAvnControl* value); /* slot 121 */ + AvnHResult (AVN_CALL *get_header_template)(IAvnExpander* self, IAvnDataTemplate** value); /* slot 122 */ + AvnHResult (AVN_CALL *set_header_template)(IAvnExpander* self, IAvnDataTemplate* value); /* slot 123 */ + AvnHResult (AVN_CALL *get_expand_direction)(IAvnExpander* self, int32_t* value); /* slot 124 */ + AvnHResult (AVN_CALL *set_expand_direction)(IAvnExpander* self, int32_t value); /* slot 125 */ + AvnHResult (AVN_CALL *get_is_expanded)(IAvnExpander* self, int32_t* value); /* slot 126 */ + AvnHResult (AVN_CALL *set_is_expanded)(IAvnExpander* self, int32_t value); /* slot 127 */ + AvnHResult (AVN_CALL *advise_collapsed)(IAvnExpander* self, IAvnExpanderCollapsedHandler* handler, int64_t* subscription_id); /* slot 128 */ + AvnHResult (AVN_CALL *unadvise_collapsed)(IAvnExpander* self, int64_t subscription_id); /* slot 129 */ + AvnHResult (AVN_CALL *advise_collapsing)(IAvnExpander* self, IAvnExpanderCollapsingHandler* handler, int64_t* subscription_id); /* slot 130 */ + AvnHResult (AVN_CALL *unadvise_collapsing)(IAvnExpander* self, int64_t subscription_id); /* slot 131 */ + AvnHResult (AVN_CALL *advise_expanded)(IAvnExpander* self, IAvnExpanderExpandedHandler* handler, int64_t* subscription_id); /* slot 132 */ + AvnHResult (AVN_CALL *unadvise_expanded)(IAvnExpander* self, int64_t subscription_id); /* slot 133 */ + AvnHResult (AVN_CALL *advise_expanding)(IAvnExpander* self, IAvnExpanderExpandingHandler* handler, int64_t* subscription_id); /* slot 134 */ + AvnHResult (AVN_CALL *unadvise_expanding)(IAvnExpander* self, int64_t subscription_id); /* slot 135 */ }; struct IAvnExpander { const IAvnExpanderVtbl* vtbl; }; -#define I_AVN_EXPANDER_VTABLE_SLOTS 133 +#define I_AVN_EXPANDER_VTABLE_SLOTS 136 static const AvnGuid I_AVN_FLEX_PANEL_IID = { - 0x1CC87ECC, - 0x363C, - 0x5A07, - { 0x90, 0x23, 0xAE, 0xA8, 0x0D, 0xBE, 0xF8, 0xB0 } + 0x82049C23, + 0xF315, + 0x5A82, + { 0x86, 0xD9, 0x84, 0x5D, 0x8B, 0x82, 0xBA, 0x59 } }; -#define I_AVN_FLEX_PANEL_ABI_VERSION 10 +#define I_AVN_FLEX_PANEL_ABI_VERSION 11 struct IAvnFlexPanelVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnFlexPanel* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnFlexPanel* self); /* slot 1 */ @@ -5982,52 +6057,55 @@ struct IAvnFlexPanelVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnFlexPanel* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnFlexPanel* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnFlexPanel* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnFlexPanel* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnFlexPanel* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnFlexPanel* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnFlexPanel* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnFlexPanel* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnFlexPanel* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnFlexPanel* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnFlexPanel* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnFlexPanel* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnFlexPanel* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnFlexPanel* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnFlexPanel* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnFlexPanel* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnFlexPanel* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnFlexPanel* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnFlexPanel* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnFlexPanel* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnFlexPanel* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnFlexPanel* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnFlexPanel* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnFlexPanel* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnFlexPanel* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnFlexPanel* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnFlexPanel* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnFlexPanel* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnFlexPanel* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_children)(IAvnFlexPanel* self, IAvnControlList** value); /* slot 81 */ - AvnHResult (AVN_CALL *get_background)(IAvnFlexPanel* self, IAvnBrush** value); /* slot 82 */ - AvnHResult (AVN_CALL *set_background)(IAvnFlexPanel* self, IAvnBrush* value); /* slot 83 */ - AvnHResult (AVN_CALL *get_direction)(IAvnFlexPanel* self, int32_t* value); /* slot 84 */ - AvnHResult (AVN_CALL *set_direction)(IAvnFlexPanel* self, int32_t value); /* slot 85 */ - AvnHResult (AVN_CALL *get_justify_content)(IAvnFlexPanel* self, int32_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *set_justify_content)(IAvnFlexPanel* self, int32_t value); /* slot 87 */ - AvnHResult (AVN_CALL *get_align_items)(IAvnFlexPanel* self, int32_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *set_align_items)(IAvnFlexPanel* self, int32_t value); /* slot 89 */ - AvnHResult (AVN_CALL *get_align_content)(IAvnFlexPanel* self, int32_t* value); /* slot 90 */ - AvnHResult (AVN_CALL *set_align_content)(IAvnFlexPanel* self, int32_t value); /* slot 91 */ - AvnHResult (AVN_CALL *get_wrap)(IAvnFlexPanel* self, int32_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *set_wrap)(IAvnFlexPanel* self, int32_t value); /* slot 93 */ - AvnHResult (AVN_CALL *get_column_spacing)(IAvnFlexPanel* self, double* value); /* slot 94 */ - AvnHResult (AVN_CALL *set_column_spacing)(IAvnFlexPanel* self, double value); /* slot 95 */ - AvnHResult (AVN_CALL *get_row_spacing)(IAvnFlexPanel* self, double* value); /* slot 96 */ - AvnHResult (AVN_CALL *set_row_spacing)(IAvnFlexPanel* self, double value); /* slot 97 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnFlexPanel* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnFlexPanel* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnFlexPanel* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnFlexPanel* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnFlexPanel* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnFlexPanel* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnFlexPanel* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnFlexPanel* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnFlexPanel* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnFlexPanel* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnFlexPanel* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnFlexPanel* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnFlexPanel* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnFlexPanel* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnFlexPanel* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnFlexPanel* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnFlexPanel* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnFlexPanel* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnFlexPanel* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnFlexPanel* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnFlexPanel* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnFlexPanel* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnFlexPanel* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnFlexPanel* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnFlexPanel* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnFlexPanel* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnFlexPanel* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnFlexPanel* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnFlexPanel* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_children)(IAvnFlexPanel* self, IAvnControlList** value); /* slot 84 */ + AvnHResult (AVN_CALL *get_background)(IAvnFlexPanel* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_background)(IAvnFlexPanel* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_direction)(IAvnFlexPanel* self, int32_t* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_direction)(IAvnFlexPanel* self, int32_t value); /* slot 88 */ + AvnHResult (AVN_CALL *get_justify_content)(IAvnFlexPanel* self, int32_t* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_justify_content)(IAvnFlexPanel* self, int32_t value); /* slot 90 */ + AvnHResult (AVN_CALL *get_align_items)(IAvnFlexPanel* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_align_items)(IAvnFlexPanel* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_align_content)(IAvnFlexPanel* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_align_content)(IAvnFlexPanel* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_wrap)(IAvnFlexPanel* self, int32_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_wrap)(IAvnFlexPanel* self, int32_t value); /* slot 96 */ + AvnHResult (AVN_CALL *get_column_spacing)(IAvnFlexPanel* self, double* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_column_spacing)(IAvnFlexPanel* self, double value); /* slot 98 */ + AvnHResult (AVN_CALL *get_row_spacing)(IAvnFlexPanel* self, double* value); /* slot 99 */ + AvnHResult (AVN_CALL *set_row_spacing)(IAvnFlexPanel* self, double value); /* slot 100 */ }; struct IAvnFlexPanel { const IAvnFlexPanelVtbl* vtbl; }; -#define I_AVN_FLEX_PANEL_VTABLE_SLOTS 98 +#define I_AVN_FLEX_PANEL_VTABLE_SLOTS 101 static const AvnGuid I_AVN_FLYOUT_IID = { 0xCD1035F1, @@ -6112,12 +6190,12 @@ struct IAvnFlyoutBase { const IAvnFlyoutBaseVtbl* vtbl; }; #define I_AVN_FLYOUT_BASE_VTABLE_SLOTS 14 static const AvnGuid I_AVN_GRID_IID = { - 0x887286EA, - 0x8097, - 0x52EB, - { 0x9C, 0xEF, 0xFA, 0x1D, 0xA7, 0x82, 0x8D, 0x0F } + 0x028C589C, + 0x2C52, + 0x5505, + { 0x9C, 0xD2, 0x36, 0xA2, 0x5B, 0x4F, 0x43, 0xA6 } }; -#define I_AVN_GRID_ABI_VERSION 14 +#define I_AVN_GRID_ABI_VERSION 15 struct IAvnGridVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnGrid* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnGrid* self); /* slot 1 */ @@ -6174,56 +6252,59 @@ struct IAvnGridVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnGrid* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnGrid* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnGrid* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnGrid* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnGrid* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnGrid* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnGrid* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnGrid* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnGrid* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnGrid* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnGrid* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnGrid* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnGrid* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnGrid* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnGrid* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnGrid* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnGrid* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnGrid* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnGrid* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnGrid* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnGrid* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnGrid* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnGrid* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnGrid* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnGrid* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnGrid* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnGrid* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnGrid* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnGrid* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_children)(IAvnGrid* self, IAvnControlList** value); /* slot 81 */ - AvnHResult (AVN_CALL *get_background)(IAvnGrid* self, IAvnBrush** value); /* slot 82 */ - AvnHResult (AVN_CALL *set_background)(IAvnGrid* self, IAvnBrush* value); /* slot 83 */ - AvnHResult (AVN_CALL *get_show_grid_lines)(IAvnGrid* self, int32_t* value); /* slot 84 */ - AvnHResult (AVN_CALL *set_show_grid_lines)(IAvnGrid* self, int32_t value); /* slot 85 */ - AvnHResult (AVN_CALL *get_row_spacing)(IAvnGrid* self, double* value); /* slot 86 */ - AvnHResult (AVN_CALL *set_row_spacing)(IAvnGrid* self, double value); /* slot 87 */ - AvnHResult (AVN_CALL *get_column_spacing)(IAvnGrid* self, double* value); /* slot 88 */ - AvnHResult (AVN_CALL *set_column_spacing)(IAvnGrid* self, double value); /* slot 89 */ - AvnHResult (AVN_CALL *get_column_definitions)(IAvnGrid* self, uint16_t** value); /* slot 90 */ - AvnHResult (AVN_CALL *set_column_definitions)(IAvnGrid* self, const uint16_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *get_row_definitions)(IAvnGrid* self, uint16_t** value); /* slot 92 */ - AvnHResult (AVN_CALL *set_row_definitions)(IAvnGrid* self, const uint16_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnGrid* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnGrid* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnGrid* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnGrid* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnGrid* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnGrid* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnGrid* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnGrid* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnGrid* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnGrid* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnGrid* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnGrid* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnGrid* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnGrid* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnGrid* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnGrid* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnGrid* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnGrid* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnGrid* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnGrid* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnGrid* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnGrid* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnGrid* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnGrid* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnGrid* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnGrid* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnGrid* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnGrid* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnGrid* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_children)(IAvnGrid* self, IAvnControlList** value); /* slot 84 */ + AvnHResult (AVN_CALL *get_background)(IAvnGrid* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_background)(IAvnGrid* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_show_grid_lines)(IAvnGrid* self, int32_t* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_show_grid_lines)(IAvnGrid* self, int32_t value); /* slot 88 */ + AvnHResult (AVN_CALL *get_row_spacing)(IAvnGrid* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_row_spacing)(IAvnGrid* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_column_spacing)(IAvnGrid* self, double* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_column_spacing)(IAvnGrid* self, double value); /* slot 92 */ + AvnHResult (AVN_CALL *get_column_definitions)(IAvnGrid* self, uint16_t** value); /* slot 93 */ + AvnHResult (AVN_CALL *set_column_definitions)(IAvnGrid* self, const uint16_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *get_row_definitions)(IAvnGrid* self, uint16_t** value); /* slot 95 */ + AvnHResult (AVN_CALL *set_row_definitions)(IAvnGrid* self, const uint16_t* value); /* slot 96 */ }; struct IAvnGrid { const IAvnGridVtbl* vtbl; }; -#define I_AVN_GRID_VTABLE_SLOTS 94 +#define I_AVN_GRID_VTABLE_SLOTS 97 static const AvnGuid I_AVN_GRID_SPLITTER_IID = { - 0x9D81E579, - 0x275C, - 0x53A1, - { 0x8C, 0x3B, 0x91, 0xF1, 0x0E, 0x2D, 0x84, 0x03 } + 0x135352FD, + 0x917A, + 0x577E, + { 0xA4, 0x28, 0xD1, 0xB6, 0x08, 0x27, 0x44, 0x11 } }; -#define I_AVN_GRID_SPLITTER_ABI_VERSION 12 +#define I_AVN_GRID_SPLITTER_ABI_VERSION 13 struct IAvnGridSplitterVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnGridSplitter* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnGridSplitter* self); /* slot 1 */ @@ -6280,87 +6361,90 @@ struct IAvnGridSplitterVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnGridSplitter* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnGridSplitter* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnGridSplitter* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnGridSplitter* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnGridSplitter* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnGridSplitter* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnGridSplitter* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnGridSplitter* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnGridSplitter* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnGridSplitter* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnGridSplitter* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnGridSplitter* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnGridSplitter* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnGridSplitter* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnGridSplitter* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnGridSplitter* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnGridSplitter* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnGridSplitter* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnGridSplitter* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnGridSplitter* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnGridSplitter* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnGridSplitter* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnGridSplitter* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnGridSplitter* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnGridSplitter* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnGridSplitter* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnGridSplitter* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnGridSplitter* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnGridSplitter* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnGridSplitter* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnGridSplitter* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnGridSplitter* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnGridSplitter* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnGridSplitter* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnGridSplitter* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnGridSplitter* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnGridSplitter* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnGridSplitter* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnGridSplitter* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnGridSplitter* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnGridSplitter* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnGridSplitter* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnGridSplitter* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnGridSplitter* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnGridSplitter* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *advise_drag_started)(IAvnGridSplitter* self, IAvnThumbDragStartedHandler* handler, int64_t* subscription_id); /* slot 109 */ - AvnHResult (AVN_CALL *unadvise_drag_started)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 110 */ - AvnHResult (AVN_CALL *advise_drag_delta)(IAvnGridSplitter* self, IAvnThumbDragDeltaHandler* handler, int64_t* subscription_id); /* slot 111 */ - AvnHResult (AVN_CALL *unadvise_drag_delta)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 112 */ - AvnHResult (AVN_CALL *advise_drag_completed)(IAvnGridSplitter* self, IAvnThumbDragCompletedHandler* handler, int64_t* subscription_id); /* slot 113 */ - AvnHResult (AVN_CALL *unadvise_drag_completed)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 114 */ - AvnHResult (AVN_CALL *get_resize_direction)(IAvnGridSplitter* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_resize_direction)(IAvnGridSplitter* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_resize_behavior)(IAvnGridSplitter* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_resize_behavior)(IAvnGridSplitter* self, int32_t value); /* slot 118 */ - AvnHResult (AVN_CALL *get_shows_preview)(IAvnGridSplitter* self, int32_t* value); /* slot 119 */ - AvnHResult (AVN_CALL *set_shows_preview)(IAvnGridSplitter* self, int32_t value); /* slot 120 */ - AvnHResult (AVN_CALL *get_keyboard_increment)(IAvnGridSplitter* self, double* value); /* slot 121 */ - AvnHResult (AVN_CALL *set_keyboard_increment)(IAvnGridSplitter* self, double value); /* slot 122 */ - AvnHResult (AVN_CALL *get_drag_increment)(IAvnGridSplitter* self, double* value); /* slot 123 */ - AvnHResult (AVN_CALL *set_drag_increment)(IAvnGridSplitter* self, double value); /* slot 124 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnGridSplitter* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnGridSplitter* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnGridSplitter* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnGridSplitter* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnGridSplitter* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnGridSplitter* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnGridSplitter* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnGridSplitter* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnGridSplitter* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnGridSplitter* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnGridSplitter* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnGridSplitter* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnGridSplitter* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnGridSplitter* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnGridSplitter* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnGridSplitter* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnGridSplitter* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnGridSplitter* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnGridSplitter* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnGridSplitter* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnGridSplitter* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnGridSplitter* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnGridSplitter* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnGridSplitter* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnGridSplitter* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnGridSplitter* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnGridSplitter* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnGridSplitter* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnGridSplitter* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnGridSplitter* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnGridSplitter* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnGridSplitter* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnGridSplitter* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnGridSplitter* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnGridSplitter* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnGridSplitter* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnGridSplitter* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnGridSplitter* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnGridSplitter* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnGridSplitter* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnGridSplitter* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnGridSplitter* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnGridSplitter* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnGridSplitter* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnGridSplitter* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *advise_drag_started)(IAvnGridSplitter* self, IAvnThumbDragStartedHandler* handler, int64_t* subscription_id); /* slot 112 */ + AvnHResult (AVN_CALL *unadvise_drag_started)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 113 */ + AvnHResult (AVN_CALL *advise_drag_delta)(IAvnGridSplitter* self, IAvnThumbDragDeltaHandler* handler, int64_t* subscription_id); /* slot 114 */ + AvnHResult (AVN_CALL *unadvise_drag_delta)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 115 */ + AvnHResult (AVN_CALL *advise_drag_completed)(IAvnGridSplitter* self, IAvnThumbDragCompletedHandler* handler, int64_t* subscription_id); /* slot 116 */ + AvnHResult (AVN_CALL *unadvise_drag_completed)(IAvnGridSplitter* self, int64_t subscription_id); /* slot 117 */ + AvnHResult (AVN_CALL *get_resize_direction)(IAvnGridSplitter* self, int32_t* value); /* slot 118 */ + AvnHResult (AVN_CALL *set_resize_direction)(IAvnGridSplitter* self, int32_t value); /* slot 119 */ + AvnHResult (AVN_CALL *get_resize_behavior)(IAvnGridSplitter* self, int32_t* value); /* slot 120 */ + AvnHResult (AVN_CALL *set_resize_behavior)(IAvnGridSplitter* self, int32_t value); /* slot 121 */ + AvnHResult (AVN_CALL *get_shows_preview)(IAvnGridSplitter* self, int32_t* value); /* slot 122 */ + AvnHResult (AVN_CALL *set_shows_preview)(IAvnGridSplitter* self, int32_t value); /* slot 123 */ + AvnHResult (AVN_CALL *get_keyboard_increment)(IAvnGridSplitter* self, double* value); /* slot 124 */ + AvnHResult (AVN_CALL *set_keyboard_increment)(IAvnGridSplitter* self, double value); /* slot 125 */ + AvnHResult (AVN_CALL *get_drag_increment)(IAvnGridSplitter* self, double* value); /* slot 126 */ + AvnHResult (AVN_CALL *set_drag_increment)(IAvnGridSplitter* self, double value); /* slot 127 */ }; struct IAvnGridSplitter { const IAvnGridSplitterVtbl* vtbl; }; -#define I_AVN_GRID_SPLITTER_VTABLE_SLOTS 125 +#define I_AVN_GRID_SPLITTER_VTABLE_SLOTS 128 static const AvnGuid I_AVN_GROUP_BOX_IID = { - 0xF8356E2B, - 0x46EA, - 0x58CC, - { 0x80, 0x74, 0x78, 0x9B, 0xA4, 0x2F, 0x0C, 0x79 } + 0x83F8FB71, + 0x5FB5, + 0x5C67, + { 0x9E, 0xDA, 0x9B, 0x19, 0x48, 0x17, 0x2B, 0x9E } }; -#define I_AVN_GROUP_BOX_ABI_VERSION 11 +#define I_AVN_GROUP_BOX_ABI_VERSION 12 struct IAvnGroupBoxVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnGroupBox* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnGroupBox* self); /* slot 1 */ @@ -6417,83 +6501,86 @@ struct IAvnGroupBoxVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnGroupBox* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnGroupBox* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnGroupBox* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnGroupBox* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnGroupBox* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnGroupBox* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnGroupBox* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnGroupBox* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnGroupBox* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnGroupBox* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnGroupBox* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnGroupBox* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnGroupBox* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnGroupBox* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnGroupBox* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnGroupBox* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnGroupBox* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnGroupBox* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnGroupBox* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnGroupBox* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnGroupBox* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnGroupBox* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnGroupBox* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnGroupBox* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnGroupBox* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnGroupBox* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnGroupBox* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnGroupBox* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnGroupBox* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnGroupBox* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnGroupBox* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnGroupBox* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnGroupBox* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnGroupBox* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnGroupBox* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnGroupBox* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnGroupBox* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnGroupBox* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnGroupBox* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnGroupBox* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnGroupBox* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnGroupBox* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnGroupBox* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnGroupBox* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnGroupBox* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnGroupBox* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnGroupBox* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnGroupBox* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnGroupBox* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnGroupBox* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnGroupBox* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnGroupBox* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnGroupBox* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnGroupBox* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnGroupBox* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnGroupBox* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnGroupBox* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_content)(IAvnGroupBox* self, IAvnControl** value); /* slot 109 */ - AvnHResult (AVN_CALL *set_content)(IAvnGroupBox* self, IAvnControl* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnGroupBox* self, IAvnDataTemplate** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnGroupBox* self, IAvnDataTemplate* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnGroupBox* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnGroupBox* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnGroupBox* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnGroupBox* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_header)(IAvnGroupBox* self, IAvnControl** value); /* slot 117 */ - AvnHResult (AVN_CALL *set_header)(IAvnGroupBox* self, IAvnControl* value); /* slot 118 */ - AvnHResult (AVN_CALL *get_header_template)(IAvnGroupBox* self, IAvnDataTemplate** value); /* slot 119 */ - AvnHResult (AVN_CALL *set_header_template)(IAvnGroupBox* self, IAvnDataTemplate* value); /* slot 120 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnGroupBox* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnGroupBox* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnGroupBox* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnGroupBox* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnGroupBox* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnGroupBox* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnGroupBox* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnGroupBox* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnGroupBox* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnGroupBox* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnGroupBox* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnGroupBox* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnGroupBox* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnGroupBox* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnGroupBox* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnGroupBox* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnGroupBox* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnGroupBox* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnGroupBox* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnGroupBox* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnGroupBox* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnGroupBox* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnGroupBox* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnGroupBox* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnGroupBox* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnGroupBox* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnGroupBox* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnGroupBox* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnGroupBox* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnGroupBox* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnGroupBox* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnGroupBox* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnGroupBox* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnGroupBox* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnGroupBox* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnGroupBox* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnGroupBox* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnGroupBox* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnGroupBox* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnGroupBox* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnGroupBox* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnGroupBox* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnGroupBox* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnGroupBox* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnGroupBox* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnGroupBox* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnGroupBox* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnGroupBox* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnGroupBox* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnGroupBox* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnGroupBox* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnGroupBox* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnGroupBox* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnGroupBox* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnGroupBox* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnGroupBox* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnGroupBox* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_content)(IAvnGroupBox* self, IAvnControl** value); /* slot 112 */ + AvnHResult (AVN_CALL *set_content)(IAvnGroupBox* self, IAvnControl* value); /* slot 113 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnGroupBox* self, IAvnDataTemplate** value); /* slot 114 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnGroupBox* self, IAvnDataTemplate* value); /* slot 115 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnGroupBox* self, int32_t* value); /* slot 116 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnGroupBox* self, int32_t value); /* slot 117 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnGroupBox* self, int32_t* value); /* slot 118 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnGroupBox* self, int32_t value); /* slot 119 */ + AvnHResult (AVN_CALL *get_header)(IAvnGroupBox* self, IAvnControl** value); /* slot 120 */ + AvnHResult (AVN_CALL *set_header)(IAvnGroupBox* self, IAvnControl* value); /* slot 121 */ + AvnHResult (AVN_CALL *get_header_template)(IAvnGroupBox* self, IAvnDataTemplate** value); /* slot 122 */ + AvnHResult (AVN_CALL *set_header_template)(IAvnGroupBox* self, IAvnDataTemplate* value); /* slot 123 */ }; struct IAvnGroupBox { const IAvnGroupBoxVtbl* vtbl; }; -#define I_AVN_GROUP_BOX_VTABLE_SLOTS 121 +#define I_AVN_GROUP_BOX_VTABLE_SLOTS 124 static const AvnGuid I_AVN_HEADERED_CONTENT_CONTROL_IID = { - 0xD8948145, - 0x837B, - 0x5DC3, - { 0xA6, 0x85, 0x14, 0xDF, 0x38, 0x16, 0x7A, 0x93 } + 0x0408F0EA, + 0x5BA0, + 0x54C6, + { 0xA8, 0xE6, 0x97, 0x93, 0x28, 0xFB, 0xE8, 0x8C } }; -#define I_AVN_HEADERED_CONTENT_CONTROL_ABI_VERSION 15 +#define I_AVN_HEADERED_CONTENT_CONTROL_ABI_VERSION 16 struct IAvnHeaderedContentControlVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnHeaderedContentControl* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnHeaderedContentControl* self); /* slot 1 */ @@ -6550,83 +6637,86 @@ struct IAvnHeaderedContentControlVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnHeaderedContentControl* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnHeaderedContentControl* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnHeaderedContentControl* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnHeaderedContentControl* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnHeaderedContentControl* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnHeaderedContentControl* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnHeaderedContentControl* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnHeaderedContentControl* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnHeaderedContentControl* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnHeaderedContentControl* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnHeaderedContentControl* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnHeaderedContentControl* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnHeaderedContentControl* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnHeaderedContentControl* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnHeaderedContentControl* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnHeaderedContentControl* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnHeaderedContentControl* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnHeaderedContentControl* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnHeaderedContentControl* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnHeaderedContentControl* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnHeaderedContentControl* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnHeaderedContentControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnHeaderedContentControl* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnHeaderedContentControl* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnHeaderedContentControl* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnHeaderedContentControl* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnHeaderedContentControl* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnHeaderedContentControl* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnHeaderedContentControl* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnHeaderedContentControl* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnHeaderedContentControl* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnHeaderedContentControl* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnHeaderedContentControl* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnHeaderedContentControl* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnHeaderedContentControl* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnHeaderedContentControl* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnHeaderedContentControl* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnHeaderedContentControl* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnHeaderedContentControl* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnHeaderedContentControl* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnHeaderedContentControl* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnHeaderedContentControl* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnHeaderedContentControl* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnHeaderedContentControl* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnHeaderedContentControl* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnHeaderedContentControl* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnHeaderedContentControl* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnHeaderedContentControl* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnHeaderedContentControl* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnHeaderedContentControl* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnHeaderedContentControl* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnHeaderedContentControl* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnHeaderedContentControl* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnHeaderedContentControl* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnHeaderedContentControl* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnHeaderedContentControl* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnHeaderedContentControl* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_content)(IAvnHeaderedContentControl* self, IAvnControl** value); /* slot 109 */ - AvnHResult (AVN_CALL *set_content)(IAvnHeaderedContentControl* self, IAvnControl* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnHeaderedContentControl* self, IAvnDataTemplate** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnHeaderedContentControl* self, IAvnDataTemplate* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnHeaderedContentControl* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnHeaderedContentControl* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnHeaderedContentControl* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnHeaderedContentControl* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_header)(IAvnHeaderedContentControl* self, IAvnControl** value); /* slot 117 */ - AvnHResult (AVN_CALL *set_header)(IAvnHeaderedContentControl* self, IAvnControl* value); /* slot 118 */ - AvnHResult (AVN_CALL *get_header_template)(IAvnHeaderedContentControl* self, IAvnDataTemplate** value); /* slot 119 */ - AvnHResult (AVN_CALL *set_header_template)(IAvnHeaderedContentControl* self, IAvnDataTemplate* value); /* slot 120 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnHeaderedContentControl* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnHeaderedContentControl* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnHeaderedContentControl* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnHeaderedContentControl* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnHeaderedContentControl* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnHeaderedContentControl* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnHeaderedContentControl* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnHeaderedContentControl* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnHeaderedContentControl* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnHeaderedContentControl* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnHeaderedContentControl* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnHeaderedContentControl* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnHeaderedContentControl* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnHeaderedContentControl* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnHeaderedContentControl* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnHeaderedContentControl* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnHeaderedContentControl* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnHeaderedContentControl* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnHeaderedContentControl* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnHeaderedContentControl* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnHeaderedContentControl* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnHeaderedContentControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnHeaderedContentControl* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnHeaderedContentControl* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnHeaderedContentControl* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnHeaderedContentControl* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnHeaderedContentControl* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnHeaderedContentControl* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnHeaderedContentControl* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnHeaderedContentControl* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnHeaderedContentControl* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnHeaderedContentControl* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnHeaderedContentControl* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnHeaderedContentControl* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnHeaderedContentControl* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnHeaderedContentControl* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnHeaderedContentControl* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnHeaderedContentControl* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnHeaderedContentControl* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnHeaderedContentControl* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnHeaderedContentControl* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnHeaderedContentControl* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnHeaderedContentControl* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnHeaderedContentControl* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnHeaderedContentControl* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnHeaderedContentControl* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnHeaderedContentControl* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnHeaderedContentControl* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnHeaderedContentControl* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnHeaderedContentControl* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnHeaderedContentControl* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnHeaderedContentControl* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnHeaderedContentControl* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnHeaderedContentControl* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnHeaderedContentControl* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnHeaderedContentControl* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnHeaderedContentControl* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_content)(IAvnHeaderedContentControl* self, IAvnControl** value); /* slot 112 */ + AvnHResult (AVN_CALL *set_content)(IAvnHeaderedContentControl* self, IAvnControl* value); /* slot 113 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnHeaderedContentControl* self, IAvnDataTemplate** value); /* slot 114 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnHeaderedContentControl* self, IAvnDataTemplate* value); /* slot 115 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnHeaderedContentControl* self, int32_t* value); /* slot 116 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnHeaderedContentControl* self, int32_t value); /* slot 117 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnHeaderedContentControl* self, int32_t* value); /* slot 118 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnHeaderedContentControl* self, int32_t value); /* slot 119 */ + AvnHResult (AVN_CALL *get_header)(IAvnHeaderedContentControl* self, IAvnControl** value); /* slot 120 */ + AvnHResult (AVN_CALL *set_header)(IAvnHeaderedContentControl* self, IAvnControl* value); /* slot 121 */ + AvnHResult (AVN_CALL *get_header_template)(IAvnHeaderedContentControl* self, IAvnDataTemplate** value); /* slot 122 */ + AvnHResult (AVN_CALL *set_header_template)(IAvnHeaderedContentControl* self, IAvnDataTemplate* value); /* slot 123 */ }; struct IAvnHeaderedContentControl { const IAvnHeaderedContentControlVtbl* vtbl; }; -#define I_AVN_HEADERED_CONTENT_CONTROL_VTABLE_SLOTS 121 +#define I_AVN_HEADERED_CONTENT_CONTROL_VTABLE_SLOTS 124 static const AvnGuid I_AVN_HEADERED_ITEMS_CONTROL_IID = { - 0xD25B235E, - 0xD49F, - 0x55B2, - { 0xAD, 0xF8, 0x90, 0xA2, 0xBF, 0xCB, 0x96, 0xAB } + 0x2E4EBFCB, + 0xEA24, + 0x5842, + { 0xAB, 0xC1, 0x0D, 0xC1, 0x37, 0xED, 0x31, 0xDA } }; -#define I_AVN_HEADERED_ITEMS_CONTROL_ABI_VERSION 14 +#define I_AVN_HEADERED_ITEMS_CONTROL_ABI_VERSION 15 struct IAvnHeaderedItemsControlVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnHeaderedItemsControl* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnHeaderedItemsControl* self); /* slot 1 */ @@ -6683,87 +6773,90 @@ struct IAvnHeaderedItemsControlVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnHeaderedItemsControl* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnHeaderedItemsControl* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnHeaderedItemsControl* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnHeaderedItemsControl* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnHeaderedItemsControl* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnHeaderedItemsControl* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnHeaderedItemsControl* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnHeaderedItemsControl* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnHeaderedItemsControl* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnHeaderedItemsControl* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnHeaderedItemsControl* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnHeaderedItemsControl* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnHeaderedItemsControl* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnHeaderedItemsControl* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnHeaderedItemsControl* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnHeaderedItemsControl* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnHeaderedItemsControl* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnHeaderedItemsControl* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnHeaderedItemsControl* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnHeaderedItemsControl* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnHeaderedItemsControl* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnHeaderedItemsControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnHeaderedItemsControl* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnHeaderedItemsControl* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnHeaderedItemsControl* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnHeaderedItemsControl* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnHeaderedItemsControl* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnHeaderedItemsControl* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnHeaderedItemsControl* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnHeaderedItemsControl* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnHeaderedItemsControl* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnHeaderedItemsControl* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnHeaderedItemsControl* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnHeaderedItemsControl* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnHeaderedItemsControl* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnHeaderedItemsControl* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnHeaderedItemsControl* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnHeaderedItemsControl* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnHeaderedItemsControl* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnHeaderedItemsControl* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnHeaderedItemsControl* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnHeaderedItemsControl* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnHeaderedItemsControl* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnHeaderedItemsControl* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnHeaderedItemsControl* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnHeaderedItemsControl* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnHeaderedItemsControl* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnHeaderedItemsControl* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnHeaderedItemsControl* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnHeaderedItemsControl* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnHeaderedItemsControl* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnHeaderedItemsControl* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnHeaderedItemsControl* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnHeaderedItemsControl* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnHeaderedItemsControl* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnHeaderedItemsControl* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnHeaderedItemsControl* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_items)(IAvnHeaderedItemsControl* self, IAvnItemList** value); /* slot 109 */ - AvnHResult (AVN_CALL *get_item_count)(IAvnHeaderedItemsControl* self, int32_t* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_items_source)(IAvnHeaderedItemsControl* self, IAvnVariantList** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_items_source)(IAvnHeaderedItemsControl* self, IAvnVariantList* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_item_template)(IAvnHeaderedItemsControl* self, IAvnDataTemplate** value); /* slot 113 */ - AvnHResult (AVN_CALL *set_item_template)(IAvnHeaderedItemsControl* self, IAvnDataTemplate* value); /* slot 114 */ - AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnHeaderedItemsControl* self, int32_t index, IAvnControl** value); /* slot 115 */ - AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnHeaderedItemsControl* self, AvnVariant item, IAvnControl** value); /* slot 116 */ - AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnHeaderedItemsControl* self, IAvnControl* container, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnHeaderedItemsControl* self, IAvnControl* container, AvnVariant* value); /* slot 118 */ - AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnHeaderedItemsControl* self, int32_t index); /* slot 119 */ - AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnHeaderedItemsControl* self, AvnVariant item); /* slot 120 */ - AvnHResult (AVN_CALL *get_header)(IAvnHeaderedItemsControl* self, IAvnControl** value); /* slot 121 */ - AvnHResult (AVN_CALL *set_header)(IAvnHeaderedItemsControl* self, IAvnControl* value); /* slot 122 */ - AvnHResult (AVN_CALL *get_header_template)(IAvnHeaderedItemsControl* self, IAvnDataTemplate** value); /* slot 123 */ - AvnHResult (AVN_CALL *set_header_template)(IAvnHeaderedItemsControl* self, IAvnDataTemplate* value); /* slot 124 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnHeaderedItemsControl* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnHeaderedItemsControl* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnHeaderedItemsControl* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnHeaderedItemsControl* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnHeaderedItemsControl* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnHeaderedItemsControl* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnHeaderedItemsControl* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnHeaderedItemsControl* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnHeaderedItemsControl* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnHeaderedItemsControl* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnHeaderedItemsControl* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnHeaderedItemsControl* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnHeaderedItemsControl* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnHeaderedItemsControl* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnHeaderedItemsControl* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnHeaderedItemsControl* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnHeaderedItemsControl* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnHeaderedItemsControl* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnHeaderedItemsControl* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnHeaderedItemsControl* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnHeaderedItemsControl* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnHeaderedItemsControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnHeaderedItemsControl* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnHeaderedItemsControl* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnHeaderedItemsControl* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnHeaderedItemsControl* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnHeaderedItemsControl* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnHeaderedItemsControl* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnHeaderedItemsControl* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnHeaderedItemsControl* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnHeaderedItemsControl* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnHeaderedItemsControl* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnHeaderedItemsControl* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnHeaderedItemsControl* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnHeaderedItemsControl* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnHeaderedItemsControl* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnHeaderedItemsControl* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnHeaderedItemsControl* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnHeaderedItemsControl* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnHeaderedItemsControl* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnHeaderedItemsControl* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnHeaderedItemsControl* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnHeaderedItemsControl* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnHeaderedItemsControl* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnHeaderedItemsControl* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnHeaderedItemsControl* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnHeaderedItemsControl* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnHeaderedItemsControl* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnHeaderedItemsControl* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnHeaderedItemsControl* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnHeaderedItemsControl* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnHeaderedItemsControl* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnHeaderedItemsControl* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnHeaderedItemsControl* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnHeaderedItemsControl* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnHeaderedItemsControl* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnHeaderedItemsControl* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_items)(IAvnHeaderedItemsControl* self, IAvnItemList** value); /* slot 112 */ + AvnHResult (AVN_CALL *get_item_count)(IAvnHeaderedItemsControl* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *get_items_source)(IAvnHeaderedItemsControl* self, IAvnVariantList** value); /* slot 114 */ + AvnHResult (AVN_CALL *set_items_source)(IAvnHeaderedItemsControl* self, IAvnVariantList* value); /* slot 115 */ + AvnHResult (AVN_CALL *get_item_template)(IAvnHeaderedItemsControl* self, IAvnDataTemplate** value); /* slot 116 */ + AvnHResult (AVN_CALL *set_item_template)(IAvnHeaderedItemsControl* self, IAvnDataTemplate* value); /* slot 117 */ + AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnHeaderedItemsControl* self, int32_t index, IAvnControl** value); /* slot 118 */ + AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnHeaderedItemsControl* self, AvnVariant item, IAvnControl** value); /* slot 119 */ + AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnHeaderedItemsControl* self, IAvnControl* container, int32_t* value); /* slot 120 */ + AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnHeaderedItemsControl* self, IAvnControl* container, AvnVariant* value); /* slot 121 */ + AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnHeaderedItemsControl* self, int32_t index); /* slot 122 */ + AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnHeaderedItemsControl* self, AvnVariant item); /* slot 123 */ + AvnHResult (AVN_CALL *get_header)(IAvnHeaderedItemsControl* self, IAvnControl** value); /* slot 124 */ + AvnHResult (AVN_CALL *set_header)(IAvnHeaderedItemsControl* self, IAvnControl* value); /* slot 125 */ + AvnHResult (AVN_CALL *get_header_template)(IAvnHeaderedItemsControl* self, IAvnDataTemplate** value); /* slot 126 */ + AvnHResult (AVN_CALL *set_header_template)(IAvnHeaderedItemsControl* self, IAvnDataTemplate* value); /* slot 127 */ }; struct IAvnHeaderedItemsControl { const IAvnHeaderedItemsControlVtbl* vtbl; }; -#define I_AVN_HEADERED_ITEMS_CONTROL_VTABLE_SLOTS 125 +#define I_AVN_HEADERED_ITEMS_CONTROL_VTABLE_SLOTS 128 static const AvnGuid I_AVN_HEADERED_SELECTING_ITEMS_CONTROL_IID = { - 0xBA5CD52E, - 0xECDF, - 0x5379, - { 0xAC, 0x86, 0x58, 0x97, 0xFA, 0x85, 0x3C, 0x60 } + 0x723DA9D6, + 0x8356, + 0x5967, + { 0x83, 0xE1, 0x0E, 0x0A, 0x4B, 0x1C, 0x1B, 0x2C } }; -#define I_AVN_HEADERED_SELECTING_ITEMS_CONTROL_ABI_VERSION 14 +#define I_AVN_HEADERED_SELECTING_ITEMS_CONTROL_ABI_VERSION 15 struct IAvnHeaderedSelectingItemsControlVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnHeaderedSelectingItemsControl* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnHeaderedSelectingItemsControl* self); /* slot 1 */ @@ -6820,101 +6913,104 @@ struct IAvnHeaderedSelectingItemsControlVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnHeaderedSelectingItemsControl* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnHeaderedSelectingItemsControl* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnHeaderedSelectingItemsControl* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnHeaderedSelectingItemsControl* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnHeaderedSelectingItemsControl* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnHeaderedSelectingItemsControl* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnHeaderedSelectingItemsControl* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnHeaderedSelectingItemsControl* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnHeaderedSelectingItemsControl* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnHeaderedSelectingItemsControl* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnHeaderedSelectingItemsControl* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnHeaderedSelectingItemsControl* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnHeaderedSelectingItemsControl* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnHeaderedSelectingItemsControl* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnHeaderedSelectingItemsControl* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnHeaderedSelectingItemsControl* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnHeaderedSelectingItemsControl* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnHeaderedSelectingItemsControl* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnHeaderedSelectingItemsControl* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnHeaderedSelectingItemsControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnHeaderedSelectingItemsControl* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnHeaderedSelectingItemsControl* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnHeaderedSelectingItemsControl* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnHeaderedSelectingItemsControl* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnHeaderedSelectingItemsControl* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnHeaderedSelectingItemsControl* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnHeaderedSelectingItemsControl* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnHeaderedSelectingItemsControl* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnHeaderedSelectingItemsControl* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnHeaderedSelectingItemsControl* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnHeaderedSelectingItemsControl* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnHeaderedSelectingItemsControl* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnHeaderedSelectingItemsControl* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnHeaderedSelectingItemsControl* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnHeaderedSelectingItemsControl* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnHeaderedSelectingItemsControl* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnHeaderedSelectingItemsControl* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnHeaderedSelectingItemsControl* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnHeaderedSelectingItemsControl* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnHeaderedSelectingItemsControl* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnHeaderedSelectingItemsControl* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnHeaderedSelectingItemsControl* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnHeaderedSelectingItemsControl* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnHeaderedSelectingItemsControl* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnHeaderedSelectingItemsControl* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnHeaderedSelectingItemsControl* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnHeaderedSelectingItemsControl* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnHeaderedSelectingItemsControl* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnHeaderedSelectingItemsControl* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnHeaderedSelectingItemsControl* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnHeaderedSelectingItemsControl* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_items)(IAvnHeaderedSelectingItemsControl* self, IAvnItemList** value); /* slot 109 */ - AvnHResult (AVN_CALL *get_item_count)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_items_source)(IAvnHeaderedSelectingItemsControl* self, IAvnVariantList** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_items_source)(IAvnHeaderedSelectingItemsControl* self, IAvnVariantList* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_item_template)(IAvnHeaderedSelectingItemsControl* self, IAvnDataTemplate** value); /* slot 113 */ - AvnHResult (AVN_CALL *set_item_template)(IAvnHeaderedSelectingItemsControl* self, IAvnDataTemplate* value); /* slot 114 */ - AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnHeaderedSelectingItemsControl* self, int32_t index, IAvnControl** value); /* slot 115 */ - AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnHeaderedSelectingItemsControl* self, AvnVariant item, IAvnControl** value); /* slot 116 */ - AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnHeaderedSelectingItemsControl* self, IAvnControl* container, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnHeaderedSelectingItemsControl* self, IAvnControl* container, AvnVariant* value); /* slot 118 */ - AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnHeaderedSelectingItemsControl* self, int32_t index); /* slot 119 */ - AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnHeaderedSelectingItemsControl* self, AvnVariant item); /* slot 120 */ - AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 121 */ - AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnHeaderedSelectingItemsControl* self, int32_t value); /* slot 122 */ - AvnHResult (AVN_CALL *get_selected_index)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *set_selected_index)(IAvnHeaderedSelectingItemsControl* self, int32_t value); /* slot 124 */ - AvnHResult (AVN_CALL *get_selected_item)(IAvnHeaderedSelectingItemsControl* self, AvnVariant* value); /* slot 125 */ - AvnHResult (AVN_CALL *set_selected_item)(IAvnHeaderedSelectingItemsControl* self, AvnVariant value); /* slot 126 */ - AvnHResult (AVN_CALL *get_selected_value)(IAvnHeaderedSelectingItemsControl* self, AvnVariant* value); /* slot 127 */ - AvnHResult (AVN_CALL *set_selected_value)(IAvnHeaderedSelectingItemsControl* self, AvnVariant value); /* slot 128 */ - AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 129 */ - AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnHeaderedSelectingItemsControl* self, int32_t value); /* slot 130 */ - AvnHResult (AVN_CALL *get_wrap_selection)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 131 */ - AvnHResult (AVN_CALL *set_wrap_selection)(IAvnHeaderedSelectingItemsControl* self, int32_t value); /* slot 132 */ - AvnHResult (AVN_CALL *advise_selection_changed)(IAvnHeaderedSelectingItemsControl* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 133 */ - AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnHeaderedSelectingItemsControl* self, int64_t subscription_id); /* slot 134 */ - AvnHResult (AVN_CALL *get_header)(IAvnHeaderedSelectingItemsControl* self, IAvnControl** value); /* slot 135 */ - AvnHResult (AVN_CALL *set_header)(IAvnHeaderedSelectingItemsControl* self, IAvnControl* value); /* slot 136 */ - AvnHResult (AVN_CALL *get_header_template)(IAvnHeaderedSelectingItemsControl* self, IAvnDataTemplate** value); /* slot 137 */ - AvnHResult (AVN_CALL *set_header_template)(IAvnHeaderedSelectingItemsControl* self, IAvnDataTemplate* value); /* slot 138 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnHeaderedSelectingItemsControl* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnHeaderedSelectingItemsControl* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnHeaderedSelectingItemsControl* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnHeaderedSelectingItemsControl* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnHeaderedSelectingItemsControl* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnHeaderedSelectingItemsControl* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnHeaderedSelectingItemsControl* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnHeaderedSelectingItemsControl* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnHeaderedSelectingItemsControl* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnHeaderedSelectingItemsControl* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnHeaderedSelectingItemsControl* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnHeaderedSelectingItemsControl* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnHeaderedSelectingItemsControl* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnHeaderedSelectingItemsControl* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnHeaderedSelectingItemsControl* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnHeaderedSelectingItemsControl* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnHeaderedSelectingItemsControl* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnHeaderedSelectingItemsControl* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnHeaderedSelectingItemsControl* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnHeaderedSelectingItemsControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnHeaderedSelectingItemsControl* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnHeaderedSelectingItemsControl* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnHeaderedSelectingItemsControl* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnHeaderedSelectingItemsControl* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnHeaderedSelectingItemsControl* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnHeaderedSelectingItemsControl* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnHeaderedSelectingItemsControl* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnHeaderedSelectingItemsControl* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnHeaderedSelectingItemsControl* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnHeaderedSelectingItemsControl* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnHeaderedSelectingItemsControl* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnHeaderedSelectingItemsControl* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnHeaderedSelectingItemsControl* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnHeaderedSelectingItemsControl* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnHeaderedSelectingItemsControl* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnHeaderedSelectingItemsControl* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnHeaderedSelectingItemsControl* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnHeaderedSelectingItemsControl* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnHeaderedSelectingItemsControl* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnHeaderedSelectingItemsControl* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnHeaderedSelectingItemsControl* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnHeaderedSelectingItemsControl* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnHeaderedSelectingItemsControl* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnHeaderedSelectingItemsControl* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnHeaderedSelectingItemsControl* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnHeaderedSelectingItemsControl* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnHeaderedSelectingItemsControl* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnHeaderedSelectingItemsControl* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnHeaderedSelectingItemsControl* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnHeaderedSelectingItemsControl* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnHeaderedSelectingItemsControl* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_items)(IAvnHeaderedSelectingItemsControl* self, IAvnItemList** value); /* slot 112 */ + AvnHResult (AVN_CALL *get_item_count)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *get_items_source)(IAvnHeaderedSelectingItemsControl* self, IAvnVariantList** value); /* slot 114 */ + AvnHResult (AVN_CALL *set_items_source)(IAvnHeaderedSelectingItemsControl* self, IAvnVariantList* value); /* slot 115 */ + AvnHResult (AVN_CALL *get_item_template)(IAvnHeaderedSelectingItemsControl* self, IAvnDataTemplate** value); /* slot 116 */ + AvnHResult (AVN_CALL *set_item_template)(IAvnHeaderedSelectingItemsControl* self, IAvnDataTemplate* value); /* slot 117 */ + AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnHeaderedSelectingItemsControl* self, int32_t index, IAvnControl** value); /* slot 118 */ + AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnHeaderedSelectingItemsControl* self, AvnVariant item, IAvnControl** value); /* slot 119 */ + AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnHeaderedSelectingItemsControl* self, IAvnControl* container, int32_t* value); /* slot 120 */ + AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnHeaderedSelectingItemsControl* self, IAvnControl* container, AvnVariant* value); /* slot 121 */ + AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnHeaderedSelectingItemsControl* self, int32_t index); /* slot 122 */ + AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnHeaderedSelectingItemsControl* self, AvnVariant item); /* slot 123 */ + AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 124 */ + AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnHeaderedSelectingItemsControl* self, int32_t value); /* slot 125 */ + AvnHResult (AVN_CALL *get_selected_index)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 126 */ + AvnHResult (AVN_CALL *set_selected_index)(IAvnHeaderedSelectingItemsControl* self, int32_t value); /* slot 127 */ + AvnHResult (AVN_CALL *get_selected_item)(IAvnHeaderedSelectingItemsControl* self, AvnVariant* value); /* slot 128 */ + AvnHResult (AVN_CALL *set_selected_item)(IAvnHeaderedSelectingItemsControl* self, AvnVariant value); /* slot 129 */ + AvnHResult (AVN_CALL *get_selected_value)(IAvnHeaderedSelectingItemsControl* self, AvnVariant* value); /* slot 130 */ + AvnHResult (AVN_CALL *set_selected_value)(IAvnHeaderedSelectingItemsControl* self, AvnVariant value); /* slot 131 */ + AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 132 */ + AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnHeaderedSelectingItemsControl* self, int32_t value); /* slot 133 */ + AvnHResult (AVN_CALL *get_wrap_selection)(IAvnHeaderedSelectingItemsControl* self, int32_t* value); /* slot 134 */ + AvnHResult (AVN_CALL *set_wrap_selection)(IAvnHeaderedSelectingItemsControl* self, int32_t value); /* slot 135 */ + AvnHResult (AVN_CALL *advise_selection_changed)(IAvnHeaderedSelectingItemsControl* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 136 */ + AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnHeaderedSelectingItemsControl* self, int64_t subscription_id); /* slot 137 */ + AvnHResult (AVN_CALL *get_header)(IAvnHeaderedSelectingItemsControl* self, IAvnControl** value); /* slot 138 */ + AvnHResult (AVN_CALL *set_header)(IAvnHeaderedSelectingItemsControl* self, IAvnControl* value); /* slot 139 */ + AvnHResult (AVN_CALL *get_header_template)(IAvnHeaderedSelectingItemsControl* self, IAvnDataTemplate** value); /* slot 140 */ + AvnHResult (AVN_CALL *set_header_template)(IAvnHeaderedSelectingItemsControl* self, IAvnDataTemplate* value); /* slot 141 */ }; struct IAvnHeaderedSelectingItemsControl { const IAvnHeaderedSelectingItemsControlVtbl* vtbl; }; -#define I_AVN_HEADERED_SELECTING_ITEMS_CONTROL_VTABLE_SLOTS 139 +#define I_AVN_HEADERED_SELECTING_ITEMS_CONTROL_VTABLE_SLOTS 142 static const AvnGuid I_AVN_HYPERLINK_BUTTON_IID = { - 0x59F93515, - 0x012E, - 0x5F89, - { 0x99, 0x98, 0x87, 0xE5, 0x94, 0x70, 0x34, 0xC1 } + 0x8130735B, + 0x8051, + 0x5246, + { 0x99, 0x14, 0x24, 0x89, 0xE9, 0xC8, 0xBE, 0xA6 } }; -#define I_AVN_HYPERLINK_BUTTON_ABI_VERSION 13 +#define I_AVN_HYPERLINK_BUTTON_ABI_VERSION 14 struct IAvnHyperlinkButtonVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnHyperlinkButton* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnHyperlinkButton* self); /* slot 1 */ @@ -6971,100 +7067,103 @@ struct IAvnHyperlinkButtonVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnHyperlinkButton* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnHyperlinkButton* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnHyperlinkButton* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnHyperlinkButton* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnHyperlinkButton* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnHyperlinkButton* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnHyperlinkButton* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnHyperlinkButton* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnHyperlinkButton* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnHyperlinkButton* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnHyperlinkButton* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnHyperlinkButton* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnHyperlinkButton* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnHyperlinkButton* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnHyperlinkButton* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnHyperlinkButton* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnHyperlinkButton* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnHyperlinkButton* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnHyperlinkButton* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnHyperlinkButton* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnHyperlinkButton* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnHyperlinkButton* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnHyperlinkButton* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnHyperlinkButton* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnHyperlinkButton* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnHyperlinkButton* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnHyperlinkButton* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnHyperlinkButton* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnHyperlinkButton* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnHyperlinkButton* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnHyperlinkButton* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnHyperlinkButton* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnHyperlinkButton* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnHyperlinkButton* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnHyperlinkButton* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnHyperlinkButton* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnHyperlinkButton* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnHyperlinkButton* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnHyperlinkButton* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnHyperlinkButton* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnHyperlinkButton* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnHyperlinkButton* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnHyperlinkButton* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnHyperlinkButton* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnHyperlinkButton* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnHyperlinkButton* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnHyperlinkButton* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnHyperlinkButton* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnHyperlinkButton* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnHyperlinkButton* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnHyperlinkButton* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnHyperlinkButton* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnHyperlinkButton* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnHyperlinkButton* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnHyperlinkButton* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnHyperlinkButton* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnHyperlinkButton* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_content)(IAvnHyperlinkButton* self, IAvnControl** value); /* slot 109 */ - AvnHResult (AVN_CALL *set_content)(IAvnHyperlinkButton* self, IAvnControl* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnHyperlinkButton* self, IAvnDataTemplate** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnHyperlinkButton* self, IAvnDataTemplate* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnHyperlinkButton* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnHyperlinkButton* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnHyperlinkButton* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnHyperlinkButton* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_click_mode)(IAvnHyperlinkButton* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_click_mode)(IAvnHyperlinkButton* self, int32_t value); /* slot 118 */ - AvnHResult (AVN_CALL *get_command)(IAvnHyperlinkButton* self, IAvnCommand** value); /* slot 119 */ - AvnHResult (AVN_CALL *set_command)(IAvnHyperlinkButton* self, IAvnCommand* value); /* slot 120 */ - AvnHResult (AVN_CALL *get_hot_key)(IAvnHyperlinkButton* self, uint16_t** value); /* slot 121 */ - AvnHResult (AVN_CALL *set_hot_key)(IAvnHyperlinkButton* self, const uint16_t* value); /* slot 122 */ - AvnHResult (AVN_CALL *get_command_parameter)(IAvnHyperlinkButton* self, AvnVariant* value); /* slot 123 */ - AvnHResult (AVN_CALL *set_command_parameter)(IAvnHyperlinkButton* self, AvnVariant value); /* slot 124 */ - AvnHResult (AVN_CALL *get_is_default)(IAvnHyperlinkButton* self, int32_t* value); /* slot 125 */ - AvnHResult (AVN_CALL *set_is_default)(IAvnHyperlinkButton* self, int32_t value); /* slot 126 */ - AvnHResult (AVN_CALL *get_is_cancel)(IAvnHyperlinkButton* self, int32_t* value); /* slot 127 */ - AvnHResult (AVN_CALL *set_is_cancel)(IAvnHyperlinkButton* self, int32_t value); /* slot 128 */ - AvnHResult (AVN_CALL *get_is_pressed)(IAvnHyperlinkButton* self, int32_t* value); /* slot 129 */ - AvnHResult (AVN_CALL *get_flyout)(IAvnHyperlinkButton* self, IAvnFlyoutBase** value); /* slot 130 */ - AvnHResult (AVN_CALL *set_flyout)(IAvnHyperlinkButton* self, IAvnFlyoutBase* value); /* slot 131 */ - AvnHResult (AVN_CALL *advise_click)(IAvnHyperlinkButton* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 132 */ - AvnHResult (AVN_CALL *unadvise_click)(IAvnHyperlinkButton* self, int64_t subscription_id); /* slot 133 */ - AvnHResult (AVN_CALL *get_is_visited)(IAvnHyperlinkButton* self, int32_t* value); /* slot 134 */ - AvnHResult (AVN_CALL *set_is_visited)(IAvnHyperlinkButton* self, int32_t value); /* slot 135 */ - AvnHResult (AVN_CALL *get_navigate_uri)(IAvnHyperlinkButton* self, uint16_t** value); /* slot 136 */ - AvnHResult (AVN_CALL *set_navigate_uri)(IAvnHyperlinkButton* self, const uint16_t* value); /* slot 137 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnHyperlinkButton* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnHyperlinkButton* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnHyperlinkButton* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnHyperlinkButton* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnHyperlinkButton* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnHyperlinkButton* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnHyperlinkButton* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnHyperlinkButton* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnHyperlinkButton* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnHyperlinkButton* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnHyperlinkButton* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnHyperlinkButton* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnHyperlinkButton* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnHyperlinkButton* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnHyperlinkButton* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnHyperlinkButton* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnHyperlinkButton* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnHyperlinkButton* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnHyperlinkButton* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnHyperlinkButton* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnHyperlinkButton* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnHyperlinkButton* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnHyperlinkButton* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnHyperlinkButton* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnHyperlinkButton* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnHyperlinkButton* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnHyperlinkButton* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnHyperlinkButton* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnHyperlinkButton* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnHyperlinkButton* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnHyperlinkButton* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnHyperlinkButton* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnHyperlinkButton* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnHyperlinkButton* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnHyperlinkButton* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnHyperlinkButton* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnHyperlinkButton* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnHyperlinkButton* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnHyperlinkButton* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnHyperlinkButton* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnHyperlinkButton* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnHyperlinkButton* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnHyperlinkButton* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnHyperlinkButton* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnHyperlinkButton* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnHyperlinkButton* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnHyperlinkButton* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnHyperlinkButton* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnHyperlinkButton* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnHyperlinkButton* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnHyperlinkButton* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnHyperlinkButton* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnHyperlinkButton* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnHyperlinkButton* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnHyperlinkButton* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnHyperlinkButton* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnHyperlinkButton* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_content)(IAvnHyperlinkButton* self, IAvnControl** value); /* slot 112 */ + AvnHResult (AVN_CALL *set_content)(IAvnHyperlinkButton* self, IAvnControl* value); /* slot 113 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnHyperlinkButton* self, IAvnDataTemplate** value); /* slot 114 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnHyperlinkButton* self, IAvnDataTemplate* value); /* slot 115 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnHyperlinkButton* self, int32_t* value); /* slot 116 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnHyperlinkButton* self, int32_t value); /* slot 117 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnHyperlinkButton* self, int32_t* value); /* slot 118 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnHyperlinkButton* self, int32_t value); /* slot 119 */ + AvnHResult (AVN_CALL *get_click_mode)(IAvnHyperlinkButton* self, int32_t* value); /* slot 120 */ + AvnHResult (AVN_CALL *set_click_mode)(IAvnHyperlinkButton* self, int32_t value); /* slot 121 */ + AvnHResult (AVN_CALL *get_command)(IAvnHyperlinkButton* self, IAvnCommand** value); /* slot 122 */ + AvnHResult (AVN_CALL *set_command)(IAvnHyperlinkButton* self, IAvnCommand* value); /* slot 123 */ + AvnHResult (AVN_CALL *get_hot_key)(IAvnHyperlinkButton* self, uint16_t** value); /* slot 124 */ + AvnHResult (AVN_CALL *set_hot_key)(IAvnHyperlinkButton* self, const uint16_t* value); /* slot 125 */ + AvnHResult (AVN_CALL *get_command_parameter)(IAvnHyperlinkButton* self, AvnVariant* value); /* slot 126 */ + AvnHResult (AVN_CALL *set_command_parameter)(IAvnHyperlinkButton* self, AvnVariant value); /* slot 127 */ + AvnHResult (AVN_CALL *get_is_default)(IAvnHyperlinkButton* self, int32_t* value); /* slot 128 */ + AvnHResult (AVN_CALL *set_is_default)(IAvnHyperlinkButton* self, int32_t value); /* slot 129 */ + AvnHResult (AVN_CALL *get_is_cancel)(IAvnHyperlinkButton* self, int32_t* value); /* slot 130 */ + AvnHResult (AVN_CALL *set_is_cancel)(IAvnHyperlinkButton* self, int32_t value); /* slot 131 */ + AvnHResult (AVN_CALL *get_is_pressed)(IAvnHyperlinkButton* self, int32_t* value); /* slot 132 */ + AvnHResult (AVN_CALL *get_flyout)(IAvnHyperlinkButton* self, IAvnFlyoutBase** value); /* slot 133 */ + AvnHResult (AVN_CALL *set_flyout)(IAvnHyperlinkButton* self, IAvnFlyoutBase* value); /* slot 134 */ + AvnHResult (AVN_CALL *advise_click)(IAvnHyperlinkButton* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 135 */ + AvnHResult (AVN_CALL *unadvise_click)(IAvnHyperlinkButton* self, int64_t subscription_id); /* slot 136 */ + AvnHResult (AVN_CALL *get_is_visited)(IAvnHyperlinkButton* self, int32_t* value); /* slot 137 */ + AvnHResult (AVN_CALL *set_is_visited)(IAvnHyperlinkButton* self, int32_t value); /* slot 138 */ + AvnHResult (AVN_CALL *get_navigate_uri)(IAvnHyperlinkButton* self, uint16_t** value); /* slot 139 */ + AvnHResult (AVN_CALL *set_navigate_uri)(IAvnHyperlinkButton* self, const uint16_t* value); /* slot 140 */ }; struct IAvnHyperlinkButton { const IAvnHyperlinkButtonVtbl* vtbl; }; -#define I_AVN_HYPERLINK_BUTTON_VTABLE_SLOTS 138 +#define I_AVN_HYPERLINK_BUTTON_VTABLE_SLOTS 141 static const AvnGuid I_AVN_ICON_ELEMENT_IID = { - 0x21137537, - 0x05A7, - 0x5CD9, - { 0x8F, 0xED, 0x59, 0xDA, 0xCA, 0x08, 0x64, 0x07 } + 0x32A49476, + 0xDB0C, + 0x5038, + { 0xB8, 0x88, 0xA6, 0x6D, 0x12, 0x2E, 0xC5, 0x57 } }; -#define I_AVN_ICON_ELEMENT_ABI_VERSION 11 +#define I_AVN_ICON_ELEMENT_ABI_VERSION 12 struct IAvnIconElementVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnIconElement* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnIconElement* self); /* slot 1 */ @@ -7121,71 +7220,74 @@ struct IAvnIconElementVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnIconElement* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnIconElement* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnIconElement* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnIconElement* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnIconElement* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnIconElement* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnIconElement* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnIconElement* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnIconElement* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnIconElement* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnIconElement* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnIconElement* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnIconElement* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnIconElement* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnIconElement* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnIconElement* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnIconElement* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnIconElement* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnIconElement* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnIconElement* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnIconElement* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnIconElement* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnIconElement* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnIconElement* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnIconElement* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnIconElement* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnIconElement* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnIconElement* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnIconElement* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnIconElement* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnIconElement* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnIconElement* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnIconElement* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnIconElement* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnIconElement* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnIconElement* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnIconElement* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnIconElement* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnIconElement* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnIconElement* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnIconElement* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnIconElement* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnIconElement* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnIconElement* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnIconElement* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnIconElement* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnIconElement* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnIconElement* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnIconElement* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnIconElement* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnIconElement* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnIconElement* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnIconElement* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnIconElement* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnIconElement* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnIconElement* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnIconElement* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnIconElement* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnIconElement* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnIconElement* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnIconElement* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnIconElement* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnIconElement* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnIconElement* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnIconElement* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnIconElement* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnIconElement* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnIconElement* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnIconElement* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnIconElement* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnIconElement* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnIconElement* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnIconElement* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnIconElement* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnIconElement* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnIconElement* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnIconElement* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnIconElement* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnIconElement* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnIconElement* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnIconElement* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnIconElement* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnIconElement* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnIconElement* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnIconElement* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnIconElement* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnIconElement* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnIconElement* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnIconElement* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnIconElement* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnIconElement* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnIconElement* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnIconElement* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnIconElement* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnIconElement* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnIconElement* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnIconElement* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnIconElement* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnIconElement* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnIconElement* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnIconElement* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnIconElement* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnIconElement* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnIconElement* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnIconElement* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnIconElement* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnIconElement* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnIconElement* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnIconElement* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnIconElement* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnIconElement* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnIconElement* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnIconElement* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnIconElement* self, AvnThickness value); /* slot 111 */ }; struct IAvnIconElement { const IAvnIconElementVtbl* vtbl; }; -#define I_AVN_ICON_ELEMENT_VTABLE_SLOTS 109 +#define I_AVN_ICON_ELEMENT_VTABLE_SLOTS 112 static const AvnGuid I_AVN_IMAGE_IID = { - 0x9CBC9E3A, - 0x098A, - 0x51D7, - { 0x96, 0x47, 0xE2, 0x06, 0x15, 0x05, 0x82, 0x87 } + 0x3BE59E46, + 0x0ECC, + 0x595F, + { 0x85, 0xC0, 0x3C, 0xD4, 0x6F, 0x76, 0xD9, 0xB7 } }; -#define I_AVN_IMAGE_ABI_VERSION 10 +#define I_AVN_IMAGE_ABI_VERSION 11 struct IAvnImageVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnImage* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnImage* self); /* slot 1 */ @@ -7242,51 +7344,54 @@ struct IAvnImageVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnImage* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnImage* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnImage* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnImage* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnImage* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnImage* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnImage* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnImage* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnImage* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnImage* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnImage* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnImage* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnImage* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnImage* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnImage* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnImage* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnImage* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnImage* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnImage* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnImage* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnImage* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnImage* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnImage* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnImage* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnImage* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnImage* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnImage* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnImage* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnImage* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_source)(IAvnImage* self, uint16_t** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_source)(IAvnImage* self, const uint16_t* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_blend_mode)(IAvnImage* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_blend_mode)(IAvnImage* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_stretch)(IAvnImage* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_stretch)(IAvnImage* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_stretch_direction)(IAvnImage* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_stretch_direction)(IAvnImage* self, int32_t value); /* slot 88 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnImage* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnImage* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnImage* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnImage* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnImage* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnImage* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnImage* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnImage* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnImage* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnImage* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnImage* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnImage* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnImage* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnImage* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnImage* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnImage* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnImage* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnImage* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnImage* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnImage* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnImage* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnImage* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnImage* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnImage* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnImage* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnImage* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnImage* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnImage* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnImage* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_source)(IAvnImage* self, uint16_t** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_source)(IAvnImage* self, const uint16_t* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_blend_mode)(IAvnImage* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_blend_mode)(IAvnImage* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_stretch)(IAvnImage* self, int32_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *set_stretch)(IAvnImage* self, int32_t value); /* slot 89 */ + AvnHResult (AVN_CALL *get_stretch_direction)(IAvnImage* self, int32_t* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_stretch_direction)(IAvnImage* self, int32_t value); /* slot 91 */ }; struct IAvnImage { const IAvnImageVtbl* vtbl; }; -#define I_AVN_IMAGE_VTABLE_SLOTS 89 +#define I_AVN_IMAGE_VTABLE_SLOTS 92 static const AvnGuid I_AVN_ITEMS_CONTROL_IID = { - 0x45705E13, - 0xA906, - 0x50E2, - { 0xA0, 0xD8, 0xDC, 0xC2, 0x05, 0x85, 0xFD, 0xA6 } + 0xC6061984, + 0x593E, + 0x5875, + { 0x89, 0x56, 0x4B, 0x5C, 0x4B, 0x6D, 0x88, 0x6C } }; -#define I_AVN_ITEMS_CONTROL_ABI_VERSION 17 +#define I_AVN_ITEMS_CONTROL_ABI_VERSION 18 struct IAvnItemsControlVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnItemsControl* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnItemsControl* self); /* slot 1 */ @@ -7343,83 +7448,86 @@ struct IAvnItemsControlVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnItemsControl* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnItemsControl* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnItemsControl* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnItemsControl* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnItemsControl* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnItemsControl* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnItemsControl* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnItemsControl* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnItemsControl* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnItemsControl* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnItemsControl* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnItemsControl* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnItemsControl* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnItemsControl* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnItemsControl* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnItemsControl* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnItemsControl* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnItemsControl* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnItemsControl* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnItemsControl* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnItemsControl* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnItemsControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnItemsControl* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnItemsControl* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnItemsControl* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnItemsControl* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnItemsControl* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnItemsControl* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnItemsControl* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnItemsControl* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnItemsControl* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnItemsControl* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnItemsControl* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnItemsControl* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnItemsControl* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnItemsControl* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnItemsControl* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnItemsControl* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnItemsControl* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnItemsControl* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnItemsControl* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnItemsControl* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnItemsControl* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnItemsControl* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnItemsControl* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnItemsControl* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnItemsControl* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnItemsControl* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnItemsControl* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnItemsControl* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnItemsControl* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnItemsControl* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnItemsControl* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnItemsControl* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnItemsControl* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnItemsControl* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnItemsControl* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_items)(IAvnItemsControl* self, IAvnItemList** value); /* slot 109 */ - AvnHResult (AVN_CALL *get_item_count)(IAvnItemsControl* self, int32_t* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_items_source)(IAvnItemsControl* self, IAvnVariantList** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_items_source)(IAvnItemsControl* self, IAvnVariantList* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_item_template)(IAvnItemsControl* self, IAvnDataTemplate** value); /* slot 113 */ - AvnHResult (AVN_CALL *set_item_template)(IAvnItemsControl* self, IAvnDataTemplate* value); /* slot 114 */ - AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnItemsControl* self, int32_t index, IAvnControl** value); /* slot 115 */ - AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnItemsControl* self, AvnVariant item, IAvnControl** value); /* slot 116 */ - AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnItemsControl* self, IAvnControl* container, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnItemsControl* self, IAvnControl* container, AvnVariant* value); /* slot 118 */ - AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnItemsControl* self, int32_t index); /* slot 119 */ - AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnItemsControl* self, AvnVariant item); /* slot 120 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnItemsControl* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnItemsControl* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnItemsControl* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnItemsControl* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnItemsControl* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnItemsControl* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnItemsControl* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnItemsControl* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnItemsControl* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnItemsControl* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnItemsControl* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnItemsControl* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnItemsControl* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnItemsControl* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnItemsControl* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnItemsControl* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnItemsControl* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnItemsControl* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnItemsControl* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnItemsControl* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnItemsControl* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnItemsControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnItemsControl* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnItemsControl* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnItemsControl* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnItemsControl* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnItemsControl* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnItemsControl* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnItemsControl* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnItemsControl* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnItemsControl* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnItemsControl* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnItemsControl* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnItemsControl* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnItemsControl* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnItemsControl* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnItemsControl* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnItemsControl* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnItemsControl* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnItemsControl* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnItemsControl* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnItemsControl* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnItemsControl* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnItemsControl* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnItemsControl* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnItemsControl* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnItemsControl* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnItemsControl* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnItemsControl* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnItemsControl* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnItemsControl* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnItemsControl* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnItemsControl* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnItemsControl* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnItemsControl* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnItemsControl* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnItemsControl* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_items)(IAvnItemsControl* self, IAvnItemList** value); /* slot 112 */ + AvnHResult (AVN_CALL *get_item_count)(IAvnItemsControl* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *get_items_source)(IAvnItemsControl* self, IAvnVariantList** value); /* slot 114 */ + AvnHResult (AVN_CALL *set_items_source)(IAvnItemsControl* self, IAvnVariantList* value); /* slot 115 */ + AvnHResult (AVN_CALL *get_item_template)(IAvnItemsControl* self, IAvnDataTemplate** value); /* slot 116 */ + AvnHResult (AVN_CALL *set_item_template)(IAvnItemsControl* self, IAvnDataTemplate* value); /* slot 117 */ + AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnItemsControl* self, int32_t index, IAvnControl** value); /* slot 118 */ + AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnItemsControl* self, AvnVariant item, IAvnControl** value); /* slot 119 */ + AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnItemsControl* self, IAvnControl* container, int32_t* value); /* slot 120 */ + AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnItemsControl* self, IAvnControl* container, AvnVariant* value); /* slot 121 */ + AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnItemsControl* self, int32_t index); /* slot 122 */ + AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnItemsControl* self, AvnVariant item); /* slot 123 */ }; struct IAvnItemsControl { const IAvnItemsControlVtbl* vtbl; }; -#define I_AVN_ITEMS_CONTROL_VTABLE_SLOTS 121 +#define I_AVN_ITEMS_CONTROL_VTABLE_SLOTS 124 static const AvnGuid I_AVN_LABEL_IID = { - 0x73C1CCE5, - 0x8DB6, - 0x5A69, - { 0xB8, 0xFB, 0xAC, 0x63, 0x95, 0x28, 0xAE, 0x72 } + 0xC85D82E9, + 0x5381, + 0x5B73, + { 0xBB, 0x11, 0xC5, 0x47, 0xCE, 0xFA, 0x8A, 0x19 } }; -#define I_AVN_LABEL_ABI_VERSION 12 +#define I_AVN_LABEL_ABI_VERSION 13 struct IAvnLabelVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnLabel* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnLabel* self); /* slot 1 */ @@ -7476,81 +7584,84 @@ struct IAvnLabelVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnLabel* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnLabel* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnLabel* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnLabel* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnLabel* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnLabel* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnLabel* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnLabel* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnLabel* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnLabel* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnLabel* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnLabel* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnLabel* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnLabel* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnLabel* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnLabel* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnLabel* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnLabel* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnLabel* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnLabel* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnLabel* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnLabel* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnLabel* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnLabel* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnLabel* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnLabel* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnLabel* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnLabel* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnLabel* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnLabel* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnLabel* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnLabel* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnLabel* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnLabel* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnLabel* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnLabel* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnLabel* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnLabel* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnLabel* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnLabel* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnLabel* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnLabel* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnLabel* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnLabel* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnLabel* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnLabel* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnLabel* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnLabel* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnLabel* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnLabel* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnLabel* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnLabel* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnLabel* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnLabel* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnLabel* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnLabel* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnLabel* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_content)(IAvnLabel* self, IAvnControl** value); /* slot 109 */ - AvnHResult (AVN_CALL *set_content)(IAvnLabel* self, IAvnControl* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnLabel* self, IAvnDataTemplate** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnLabel* self, IAvnDataTemplate* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnLabel* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnLabel* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnLabel* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnLabel* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_target)(IAvnLabel* self, IAvnControl** value); /* slot 117 */ - AvnHResult (AVN_CALL *set_target)(IAvnLabel* self, IAvnControl* value); /* slot 118 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnLabel* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnLabel* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnLabel* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnLabel* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnLabel* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnLabel* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnLabel* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnLabel* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnLabel* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnLabel* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnLabel* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnLabel* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnLabel* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnLabel* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnLabel* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnLabel* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnLabel* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnLabel* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnLabel* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnLabel* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnLabel* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnLabel* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnLabel* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnLabel* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnLabel* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnLabel* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnLabel* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnLabel* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnLabel* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnLabel* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnLabel* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnLabel* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnLabel* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnLabel* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnLabel* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnLabel* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnLabel* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnLabel* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnLabel* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnLabel* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnLabel* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnLabel* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnLabel* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnLabel* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnLabel* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnLabel* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnLabel* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnLabel* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnLabel* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnLabel* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnLabel* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnLabel* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnLabel* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnLabel* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnLabel* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnLabel* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnLabel* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_content)(IAvnLabel* self, IAvnControl** value); /* slot 112 */ + AvnHResult (AVN_CALL *set_content)(IAvnLabel* self, IAvnControl* value); /* slot 113 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnLabel* self, IAvnDataTemplate** value); /* slot 114 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnLabel* self, IAvnDataTemplate* value); /* slot 115 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnLabel* self, int32_t* value); /* slot 116 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnLabel* self, int32_t value); /* slot 117 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnLabel* self, int32_t* value); /* slot 118 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnLabel* self, int32_t value); /* slot 119 */ + AvnHResult (AVN_CALL *get_target)(IAvnLabel* self, IAvnControl** value); /* slot 120 */ + AvnHResult (AVN_CALL *set_target)(IAvnLabel* self, IAvnControl* value); /* slot 121 */ }; struct IAvnLabel { const IAvnLabelVtbl* vtbl; }; -#define I_AVN_LABEL_VTABLE_SLOTS 119 +#define I_AVN_LABEL_VTABLE_SLOTS 122 static const AvnGuid I_AVN_LAYOUT_TRANSFORM_CONTROL_IID = { - 0x4CF77BF7, - 0x4ED9, - 0x59F6, - { 0x98, 0xC0, 0xAE, 0x96, 0x82, 0xB3, 0xAD, 0xFE } + 0xD19B8CD6, + 0x21FB, + 0x5F7C, + { 0x98, 0x5B, 0xA4, 0x86, 0x53, 0x24, 0x61, 0xA7 } }; -#define I_AVN_LAYOUT_TRANSFORM_CONTROL_ABI_VERSION 10 +#define I_AVN_LAYOUT_TRANSFORM_CONTROL_ABI_VERSION 11 struct IAvnLayoutTransformControlVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnLayoutTransformControl* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnLayoutTransformControl* self); /* slot 1 */ @@ -7607,49 +7718,52 @@ struct IAvnLayoutTransformControlVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnLayoutTransformControl* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnLayoutTransformControl* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnLayoutTransformControl* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnLayoutTransformControl* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnLayoutTransformControl* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnLayoutTransformControl* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnLayoutTransformControl* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnLayoutTransformControl* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnLayoutTransformControl* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnLayoutTransformControl* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnLayoutTransformControl* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnLayoutTransformControl* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnLayoutTransformControl* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnLayoutTransformControl* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnLayoutTransformControl* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnLayoutTransformControl* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnLayoutTransformControl* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnLayoutTransformControl* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnLayoutTransformControl* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnLayoutTransformControl* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnLayoutTransformControl* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnLayoutTransformControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnLayoutTransformControl* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnLayoutTransformControl* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnLayoutTransformControl* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnLayoutTransformControl* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnLayoutTransformControl* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnLayoutTransformControl* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnLayoutTransformControl* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_child)(IAvnLayoutTransformControl* self, IAvnControl** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_child)(IAvnLayoutTransformControl* self, IAvnControl* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_padding)(IAvnLayoutTransformControl* self, AvnThickness* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_padding)(IAvnLayoutTransformControl* self, AvnThickness value); /* slot 84 */ - AvnHResult (AVN_CALL *get_use_render_transform)(IAvnLayoutTransformControl* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_use_render_transform)(IAvnLayoutTransformControl* self, int32_t value); /* slot 86 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnLayoutTransformControl* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnLayoutTransformControl* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnLayoutTransformControl* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnLayoutTransformControl* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnLayoutTransformControl* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnLayoutTransformControl* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnLayoutTransformControl* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnLayoutTransformControl* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnLayoutTransformControl* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnLayoutTransformControl* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnLayoutTransformControl* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnLayoutTransformControl* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnLayoutTransformControl* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnLayoutTransformControl* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnLayoutTransformControl* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnLayoutTransformControl* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnLayoutTransformControl* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnLayoutTransformControl* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnLayoutTransformControl* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnLayoutTransformControl* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnLayoutTransformControl* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnLayoutTransformControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnLayoutTransformControl* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnLayoutTransformControl* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnLayoutTransformControl* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnLayoutTransformControl* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnLayoutTransformControl* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnLayoutTransformControl* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnLayoutTransformControl* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_child)(IAvnLayoutTransformControl* self, IAvnControl** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_child)(IAvnLayoutTransformControl* self, IAvnControl* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_padding)(IAvnLayoutTransformControl* self, AvnThickness* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_padding)(IAvnLayoutTransformControl* self, AvnThickness value); /* slot 87 */ + AvnHResult (AVN_CALL *get_use_render_transform)(IAvnLayoutTransformControl* self, int32_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *set_use_render_transform)(IAvnLayoutTransformControl* self, int32_t value); /* slot 89 */ }; struct IAvnLayoutTransformControl { const IAvnLayoutTransformControlVtbl* vtbl; }; -#define I_AVN_LAYOUT_TRANSFORM_CONTROL_VTABLE_SLOTS 87 +#define I_AVN_LAYOUT_TRANSFORM_CONTROL_VTABLE_SLOTS 90 static const AvnGuid I_AVN_LINE_IID = { - 0xC3F76A13, - 0x4998, - 0x5B6B, - { 0xAD, 0x06, 0xEF, 0xB5, 0xE4, 0xB9, 0xEC, 0x61 } + 0xE432CA0E, + 0x417D, + 0x584A, + { 0xA0, 0xAB, 0x88, 0x4A, 0xCB, 0x73, 0xA6, 0xF6 } }; -#define I_AVN_LINE_ABI_VERSION 10 +#define I_AVN_LINE_ABI_VERSION 11 struct IAvnLineVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnLine* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnLine* self); /* slot 1 */ @@ -7706,65 +7820,68 @@ struct IAvnLineVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnLine* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnLine* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnLine* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnLine* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnLine* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnLine* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnLine* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnLine* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnLine* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnLine* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnLine* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnLine* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnLine* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnLine* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnLine* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnLine* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnLine* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnLine* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnLine* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnLine* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnLine* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnLine* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnLine* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnLine* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnLine* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnLine* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnLine* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnLine* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnLine* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_fill)(IAvnLine* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_fill)(IAvnLine* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_stretch)(IAvnLine* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_stretch)(IAvnLine* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_stroke)(IAvnLine* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_stroke)(IAvnLine* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_stroke_dash_array)(IAvnLine* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_stroke_dash_array)(IAvnLine* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_stroke_dash_offset)(IAvnLine* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_stroke_dash_offset)(IAvnLine* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_stroke_thickness)(IAvnLine* self, double* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_stroke_thickness)(IAvnLine* self, double value); /* slot 92 */ - AvnHResult (AVN_CALL *get_stroke_line_cap)(IAvnLine* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_stroke_line_cap)(IAvnLine* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_stroke_join)(IAvnLine* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_stroke_join)(IAvnLine* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_stroke_miter_limit)(IAvnLine* self, double* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_stroke_miter_limit)(IAvnLine* self, double value); /* slot 98 */ - AvnHResult (AVN_CALL *get_start_point)(IAvnLine* self, AvnPoint* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_start_point)(IAvnLine* self, AvnPoint value); /* slot 100 */ - AvnHResult (AVN_CALL *get_end_point)(IAvnLine* self, AvnPoint* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_end_point)(IAvnLine* self, AvnPoint value); /* slot 102 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnLine* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnLine* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnLine* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnLine* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnLine* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnLine* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnLine* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnLine* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnLine* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnLine* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnLine* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnLine* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnLine* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnLine* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnLine* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnLine* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnLine* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnLine* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnLine* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnLine* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnLine* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnLine* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnLine* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnLine* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnLine* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnLine* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnLine* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnLine* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnLine* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_fill)(IAvnLine* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_fill)(IAvnLine* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_stretch)(IAvnLine* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_stretch)(IAvnLine* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_stroke)(IAvnLine* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_stroke)(IAvnLine* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_stroke_dash_array)(IAvnLine* self, uint16_t** value); /* slot 90 */ + AvnHResult (AVN_CALL *set_stroke_dash_array)(IAvnLine* self, const uint16_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *get_stroke_dash_offset)(IAvnLine* self, double* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_stroke_dash_offset)(IAvnLine* self, double value); /* slot 93 */ + AvnHResult (AVN_CALL *get_stroke_thickness)(IAvnLine* self, double* value); /* slot 94 */ + AvnHResult (AVN_CALL *set_stroke_thickness)(IAvnLine* self, double value); /* slot 95 */ + AvnHResult (AVN_CALL *get_stroke_line_cap)(IAvnLine* self, int32_t* value); /* slot 96 */ + AvnHResult (AVN_CALL *set_stroke_line_cap)(IAvnLine* self, int32_t value); /* slot 97 */ + AvnHResult (AVN_CALL *get_stroke_join)(IAvnLine* self, int32_t* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_stroke_join)(IAvnLine* self, int32_t value); /* slot 99 */ + AvnHResult (AVN_CALL *get_stroke_miter_limit)(IAvnLine* self, double* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_stroke_miter_limit)(IAvnLine* self, double value); /* slot 101 */ + AvnHResult (AVN_CALL *get_start_point)(IAvnLine* self, AvnPoint* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_start_point)(IAvnLine* self, AvnPoint value); /* slot 103 */ + AvnHResult (AVN_CALL *get_end_point)(IAvnLine* self, AvnPoint* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_end_point)(IAvnLine* self, AvnPoint value); /* slot 105 */ }; struct IAvnLine { const IAvnLineVtbl* vtbl; }; -#define I_AVN_LINE_VTABLE_SLOTS 103 +#define I_AVN_LINE_VTABLE_SLOTS 106 static const AvnGuid I_AVN_LIST_BOX_IID = { - 0xC45989AF, - 0x4038, - 0x524F, - { 0x88, 0x5B, 0xE5, 0x71, 0x85, 0xB2, 0x21, 0x59 } + 0xFD704B9F, + 0x4E33, + 0x516E, + { 0xB4, 0x8D, 0xB1, 0xDC, 0x9A, 0xA4, 0x4D, 0xCA } }; -#define I_AVN_LIST_BOX_ABI_VERSION 18 +#define I_AVN_LIST_BOX_ABI_VERSION 19 struct IAvnListBoxVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnListBox* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnListBox* self); /* slot 1 */ @@ -7821,101 +7938,104 @@ struct IAvnListBoxVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnListBox* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnListBox* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnListBox* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnListBox* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnListBox* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnListBox* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnListBox* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnListBox* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnListBox* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnListBox* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnListBox* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnListBox* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnListBox* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnListBox* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnListBox* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnListBox* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnListBox* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnListBox* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnListBox* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnListBox* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnListBox* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnListBox* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnListBox* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnListBox* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnListBox* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnListBox* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnListBox* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnListBox* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnListBox* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnListBox* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnListBox* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnListBox* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnListBox* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnListBox* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnListBox* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnListBox* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnListBox* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnListBox* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnListBox* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnListBox* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnListBox* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnListBox* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnListBox* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnListBox* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnListBox* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnListBox* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnListBox* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnListBox* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnListBox* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnListBox* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnListBox* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnListBox* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnListBox* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnListBox* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnListBox* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnListBox* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnListBox* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_items)(IAvnListBox* self, IAvnItemList** value); /* slot 109 */ - AvnHResult (AVN_CALL *get_item_count)(IAvnListBox* self, int32_t* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_items_source)(IAvnListBox* self, IAvnVariantList** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_items_source)(IAvnListBox* self, IAvnVariantList* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_item_template)(IAvnListBox* self, IAvnDataTemplate** value); /* slot 113 */ - AvnHResult (AVN_CALL *set_item_template)(IAvnListBox* self, IAvnDataTemplate* value); /* slot 114 */ - AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnListBox* self, int32_t index, IAvnControl** value); /* slot 115 */ - AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnListBox* self, AvnVariant item, IAvnControl** value); /* slot 116 */ - AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnListBox* self, IAvnControl* container, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnListBox* self, IAvnControl* container, AvnVariant* value); /* slot 118 */ - AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnListBox* self, int32_t index); /* slot 119 */ - AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnListBox* self, AvnVariant item); /* slot 120 */ - AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnListBox* self, int32_t* value); /* slot 121 */ - AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnListBox* self, int32_t value); /* slot 122 */ - AvnHResult (AVN_CALL *get_selected_index)(IAvnListBox* self, int32_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *set_selected_index)(IAvnListBox* self, int32_t value); /* slot 124 */ - AvnHResult (AVN_CALL *get_selected_item)(IAvnListBox* self, AvnVariant* value); /* slot 125 */ - AvnHResult (AVN_CALL *set_selected_item)(IAvnListBox* self, AvnVariant value); /* slot 126 */ - AvnHResult (AVN_CALL *get_selected_value)(IAvnListBox* self, AvnVariant* value); /* slot 127 */ - AvnHResult (AVN_CALL *set_selected_value)(IAvnListBox* self, AvnVariant value); /* slot 128 */ - AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnListBox* self, int32_t* value); /* slot 129 */ - AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnListBox* self, int32_t value); /* slot 130 */ - AvnHResult (AVN_CALL *get_wrap_selection)(IAvnListBox* self, int32_t* value); /* slot 131 */ - AvnHResult (AVN_CALL *set_wrap_selection)(IAvnListBox* self, int32_t value); /* slot 132 */ - AvnHResult (AVN_CALL *advise_selection_changed)(IAvnListBox* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 133 */ - AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnListBox* self, int64_t subscription_id); /* slot 134 */ - AvnHResult (AVN_CALL *get_selection_mode)(IAvnListBox* self, int32_t* value); /* slot 135 */ - AvnHResult (AVN_CALL *set_selection_mode)(IAvnListBox* self, int32_t value); /* slot 136 */ - AvnHResult (AVN_CALL *select_all)(IAvnListBox* self); /* slot 137 */ - AvnHResult (AVN_CALL *unselect_all)(IAvnListBox* self); /* slot 138 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnListBox* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnListBox* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnListBox* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnListBox* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnListBox* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnListBox* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnListBox* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnListBox* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnListBox* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnListBox* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnListBox* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnListBox* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnListBox* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnListBox* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnListBox* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnListBox* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnListBox* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnListBox* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnListBox* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnListBox* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnListBox* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnListBox* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnListBox* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnListBox* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnListBox* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnListBox* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnListBox* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnListBox* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnListBox* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnListBox* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnListBox* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnListBox* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnListBox* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnListBox* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnListBox* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnListBox* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnListBox* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnListBox* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnListBox* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnListBox* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnListBox* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnListBox* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnListBox* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnListBox* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnListBox* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnListBox* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnListBox* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnListBox* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnListBox* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnListBox* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnListBox* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnListBox* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnListBox* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnListBox* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnListBox* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnListBox* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnListBox* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_items)(IAvnListBox* self, IAvnItemList** value); /* slot 112 */ + AvnHResult (AVN_CALL *get_item_count)(IAvnListBox* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *get_items_source)(IAvnListBox* self, IAvnVariantList** value); /* slot 114 */ + AvnHResult (AVN_CALL *set_items_source)(IAvnListBox* self, IAvnVariantList* value); /* slot 115 */ + AvnHResult (AVN_CALL *get_item_template)(IAvnListBox* self, IAvnDataTemplate** value); /* slot 116 */ + AvnHResult (AVN_CALL *set_item_template)(IAvnListBox* self, IAvnDataTemplate* value); /* slot 117 */ + AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnListBox* self, int32_t index, IAvnControl** value); /* slot 118 */ + AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnListBox* self, AvnVariant item, IAvnControl** value); /* slot 119 */ + AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnListBox* self, IAvnControl* container, int32_t* value); /* slot 120 */ + AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnListBox* self, IAvnControl* container, AvnVariant* value); /* slot 121 */ + AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnListBox* self, int32_t index); /* slot 122 */ + AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnListBox* self, AvnVariant item); /* slot 123 */ + AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnListBox* self, int32_t* value); /* slot 124 */ + AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnListBox* self, int32_t value); /* slot 125 */ + AvnHResult (AVN_CALL *get_selected_index)(IAvnListBox* self, int32_t* value); /* slot 126 */ + AvnHResult (AVN_CALL *set_selected_index)(IAvnListBox* self, int32_t value); /* slot 127 */ + AvnHResult (AVN_CALL *get_selected_item)(IAvnListBox* self, AvnVariant* value); /* slot 128 */ + AvnHResult (AVN_CALL *set_selected_item)(IAvnListBox* self, AvnVariant value); /* slot 129 */ + AvnHResult (AVN_CALL *get_selected_value)(IAvnListBox* self, AvnVariant* value); /* slot 130 */ + AvnHResult (AVN_CALL *set_selected_value)(IAvnListBox* self, AvnVariant value); /* slot 131 */ + AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnListBox* self, int32_t* value); /* slot 132 */ + AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnListBox* self, int32_t value); /* slot 133 */ + AvnHResult (AVN_CALL *get_wrap_selection)(IAvnListBox* self, int32_t* value); /* slot 134 */ + AvnHResult (AVN_CALL *set_wrap_selection)(IAvnListBox* self, int32_t value); /* slot 135 */ + AvnHResult (AVN_CALL *advise_selection_changed)(IAvnListBox* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 136 */ + AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnListBox* self, int64_t subscription_id); /* slot 137 */ + AvnHResult (AVN_CALL *get_selection_mode)(IAvnListBox* self, int32_t* value); /* slot 138 */ + AvnHResult (AVN_CALL *set_selection_mode)(IAvnListBox* self, int32_t value); /* slot 139 */ + AvnHResult (AVN_CALL *select_all)(IAvnListBox* self); /* slot 140 */ + AvnHResult (AVN_CALL *unselect_all)(IAvnListBox* self); /* slot 141 */ }; struct IAvnListBox { const IAvnListBoxVtbl* vtbl; }; -#define I_AVN_LIST_BOX_VTABLE_SLOTS 139 +#define I_AVN_LIST_BOX_VTABLE_SLOTS 142 static const AvnGuid I_AVN_LIST_BOX_ITEM_IID = { - 0xD51DAD4D, - 0xC109, - 0x5ABD, - { 0x84, 0xB4, 0xF3, 0xC6, 0x00, 0x7F, 0x61, 0x33 } + 0xD177A044, + 0x40A9, + 0x5BD2, + { 0xB9, 0xD5, 0xBC, 0x3B, 0x24, 0xF6, 0xF8, 0x7E } }; -#define I_AVN_LIST_BOX_ITEM_ABI_VERSION 17 +#define I_AVN_LIST_BOX_ITEM_ABI_VERSION 18 struct IAvnListBoxItemVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnListBoxItem* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnListBoxItem* self); /* slot 1 */ @@ -7972,81 +8092,84 @@ struct IAvnListBoxItemVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnListBoxItem* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnListBoxItem* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnListBoxItem* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnListBoxItem* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnListBoxItem* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnListBoxItem* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnListBoxItem* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnListBoxItem* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnListBoxItem* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnListBoxItem* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnListBoxItem* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnListBoxItem* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnListBoxItem* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnListBoxItem* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnListBoxItem* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnListBoxItem* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnListBoxItem* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnListBoxItem* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnListBoxItem* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnListBoxItem* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnListBoxItem* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnListBoxItem* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnListBoxItem* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnListBoxItem* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnListBoxItem* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnListBoxItem* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnListBoxItem* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnListBoxItem* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnListBoxItem* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnListBoxItem* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnListBoxItem* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnListBoxItem* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnListBoxItem* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnListBoxItem* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnListBoxItem* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnListBoxItem* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnListBoxItem* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnListBoxItem* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnListBoxItem* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnListBoxItem* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnListBoxItem* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnListBoxItem* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnListBoxItem* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnListBoxItem* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnListBoxItem* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnListBoxItem* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnListBoxItem* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnListBoxItem* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnListBoxItem* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnListBoxItem* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnListBoxItem* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnListBoxItem* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnListBoxItem* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnListBoxItem* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnListBoxItem* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnListBoxItem* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnListBoxItem* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_content)(IAvnListBoxItem* self, IAvnControl** value); /* slot 109 */ - AvnHResult (AVN_CALL *set_content)(IAvnListBoxItem* self, IAvnControl* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnListBoxItem* self, IAvnDataTemplate** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnListBoxItem* self, IAvnDataTemplate* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnListBoxItem* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnListBoxItem* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnListBoxItem* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnListBoxItem* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_is_selected)(IAvnListBoxItem* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_is_selected)(IAvnListBoxItem* self, int32_t value); /* slot 118 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnListBoxItem* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnListBoxItem* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnListBoxItem* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnListBoxItem* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnListBoxItem* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnListBoxItem* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnListBoxItem* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnListBoxItem* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnListBoxItem* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnListBoxItem* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnListBoxItem* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnListBoxItem* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnListBoxItem* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnListBoxItem* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnListBoxItem* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnListBoxItem* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnListBoxItem* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnListBoxItem* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnListBoxItem* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnListBoxItem* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnListBoxItem* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnListBoxItem* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnListBoxItem* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnListBoxItem* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnListBoxItem* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnListBoxItem* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnListBoxItem* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnListBoxItem* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnListBoxItem* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnListBoxItem* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnListBoxItem* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnListBoxItem* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnListBoxItem* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnListBoxItem* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnListBoxItem* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnListBoxItem* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnListBoxItem* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnListBoxItem* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnListBoxItem* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnListBoxItem* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnListBoxItem* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnListBoxItem* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnListBoxItem* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnListBoxItem* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnListBoxItem* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnListBoxItem* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnListBoxItem* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnListBoxItem* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnListBoxItem* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnListBoxItem* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnListBoxItem* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnListBoxItem* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnListBoxItem* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnListBoxItem* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnListBoxItem* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnListBoxItem* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnListBoxItem* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_content)(IAvnListBoxItem* self, IAvnControl** value); /* slot 112 */ + AvnHResult (AVN_CALL *set_content)(IAvnListBoxItem* self, IAvnControl* value); /* slot 113 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnListBoxItem* self, IAvnDataTemplate** value); /* slot 114 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnListBoxItem* self, IAvnDataTemplate* value); /* slot 115 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnListBoxItem* self, int32_t* value); /* slot 116 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnListBoxItem* self, int32_t value); /* slot 117 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnListBoxItem* self, int32_t* value); /* slot 118 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnListBoxItem* self, int32_t value); /* slot 119 */ + AvnHResult (AVN_CALL *get_is_selected)(IAvnListBoxItem* self, int32_t* value); /* slot 120 */ + AvnHResult (AVN_CALL *set_is_selected)(IAvnListBoxItem* self, int32_t value); /* slot 121 */ }; struct IAvnListBoxItem { const IAvnListBoxItemVtbl* vtbl; }; -#define I_AVN_LIST_BOX_ITEM_VTABLE_SLOTS 119 +#define I_AVN_LIST_BOX_ITEM_VTABLE_SLOTS 122 static const AvnGuid I_AVN_MASKED_TEXT_BOX_IID = { - 0xACF377B4, - 0xD865, - 0x5245, - { 0x8C, 0xFE, 0xAE, 0x04, 0x61, 0xEF, 0x95, 0xFB } + 0x1C1A91B2, + 0x4417, + 0x5AB6, + { 0xA2, 0x5A, 0xAF, 0x72, 0xF5, 0x7B, 0x56, 0x40 } }; -#define I_AVN_MASKED_TEXT_BOX_ABI_VERSION 17 +#define I_AVN_MASKED_TEXT_BOX_ABI_VERSION 18 struct IAvnMaskedTextBoxVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnMaskedTextBox* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnMaskedTextBox* self); /* slot 1 */ @@ -8103,174 +8226,177 @@ struct IAvnMaskedTextBoxVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnMaskedTextBox* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnMaskedTextBox* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnMaskedTextBox* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnMaskedTextBox* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnMaskedTextBox* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnMaskedTextBox* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnMaskedTextBox* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnMaskedTextBox* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnMaskedTextBox* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnMaskedTextBox* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnMaskedTextBox* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnMaskedTextBox* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnMaskedTextBox* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnMaskedTextBox* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnMaskedTextBox* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnMaskedTextBox* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnMaskedTextBox* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnMaskedTextBox* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnMaskedTextBox* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnMaskedTextBox* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnMaskedTextBox* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnMaskedTextBox* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnMaskedTextBox* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnMaskedTextBox* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnMaskedTextBox* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnMaskedTextBox* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnMaskedTextBox* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnMaskedTextBox* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnMaskedTextBox* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnMaskedTextBox* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnMaskedTextBox* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnMaskedTextBox* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnMaskedTextBox* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnMaskedTextBox* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnMaskedTextBox* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnMaskedTextBox* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnMaskedTextBox* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnMaskedTextBox* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnMaskedTextBox* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnMaskedTextBox* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnMaskedTextBox* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnMaskedTextBox* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnMaskedTextBox* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnMaskedTextBox* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnMaskedTextBox* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_is_inactive_selection_highlight_enabled)(IAvnMaskedTextBox* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_is_inactive_selection_highlight_enabled)(IAvnMaskedTextBox* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_clear_selection_on_lost_focus)(IAvnMaskedTextBox* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_clear_selection_on_lost_focus)(IAvnMaskedTextBox* self, int32_t value); /* slot 112 */ - AvnHResult (AVN_CALL *get_accepts_return)(IAvnMaskedTextBox* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_accepts_return)(IAvnMaskedTextBox* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_accepts_tab)(IAvnMaskedTextBox* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_accepts_tab)(IAvnMaskedTextBox* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_caret_index)(IAvnMaskedTextBox* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_caret_index)(IAvnMaskedTextBox* self, int32_t value); /* slot 118 */ - AvnHResult (AVN_CALL *get_is_read_only)(IAvnMaskedTextBox* self, int32_t* value); /* slot 119 */ - AvnHResult (AVN_CALL *set_is_read_only)(IAvnMaskedTextBox* self, int32_t value); /* slot 120 */ - AvnHResult (AVN_CALL *get_password_char)(IAvnMaskedTextBox* self, uint16_t* value); /* slot 121 */ - AvnHResult (AVN_CALL *set_password_char)(IAvnMaskedTextBox* self, uint16_t value); /* slot 122 */ - AvnHResult (AVN_CALL *get_selection_brush)(IAvnMaskedTextBox* self, IAvnBrush** value); /* slot 123 */ - AvnHResult (AVN_CALL *set_selection_brush)(IAvnMaskedTextBox* self, IAvnBrush* value); /* slot 124 */ - AvnHResult (AVN_CALL *get_selection_foreground_brush)(IAvnMaskedTextBox* self, IAvnBrush** value); /* slot 125 */ - AvnHResult (AVN_CALL *set_selection_foreground_brush)(IAvnMaskedTextBox* self, IAvnBrush* value); /* slot 126 */ - AvnHResult (AVN_CALL *get_caret_brush)(IAvnMaskedTextBox* self, IAvnBrush** value); /* slot 127 */ - AvnHResult (AVN_CALL *set_caret_brush)(IAvnMaskedTextBox* self, IAvnBrush* value); /* slot 128 */ - AvnHResult (AVN_CALL *get_caret_blink_interval)(IAvnMaskedTextBox* self, int64_t* value); /* slot 129 */ - AvnHResult (AVN_CALL *set_caret_blink_interval)(IAvnMaskedTextBox* self, int64_t value); /* slot 130 */ - AvnHResult (AVN_CALL *get_selection_start)(IAvnMaskedTextBox* self, int32_t* value); /* slot 131 */ - AvnHResult (AVN_CALL *set_selection_start)(IAvnMaskedTextBox* self, int32_t value); /* slot 132 */ - AvnHResult (AVN_CALL *get_selection_end)(IAvnMaskedTextBox* self, int32_t* value); /* slot 133 */ - AvnHResult (AVN_CALL *set_selection_end)(IAvnMaskedTextBox* self, int32_t value); /* slot 134 */ - AvnHResult (AVN_CALL *get_max_length)(IAvnMaskedTextBox* self, int32_t* value); /* slot 135 */ - AvnHResult (AVN_CALL *set_max_length)(IAvnMaskedTextBox* self, int32_t value); /* slot 136 */ - AvnHResult (AVN_CALL *get_max_lines)(IAvnMaskedTextBox* self, int32_t* value); /* slot 137 */ - AvnHResult (AVN_CALL *set_max_lines)(IAvnMaskedTextBox* self, int32_t value); /* slot 138 */ - AvnHResult (AVN_CALL *get_min_lines)(IAvnMaskedTextBox* self, int32_t* value); /* slot 139 */ - AvnHResult (AVN_CALL *set_min_lines)(IAvnMaskedTextBox* self, int32_t value); /* slot 140 */ - AvnHResult (AVN_CALL *get_line_height)(IAvnMaskedTextBox* self, double* value); /* slot 141 */ - AvnHResult (AVN_CALL *set_line_height)(IAvnMaskedTextBox* self, double value); /* slot 142 */ - AvnHResult (AVN_CALL *get_text)(IAvnMaskedTextBox* self, uint16_t** value); /* slot 143 */ - AvnHResult (AVN_CALL *set_text)(IAvnMaskedTextBox* self, const uint16_t* value); /* slot 144 */ - AvnHResult (AVN_CALL *get_selected_text)(IAvnMaskedTextBox* self, uint16_t** value); /* slot 145 */ - AvnHResult (AVN_CALL *set_selected_text)(IAvnMaskedTextBox* self, const uint16_t* value); /* slot 146 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnMaskedTextBox* self, int32_t* value); /* slot 147 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnMaskedTextBox* self, int32_t value); /* slot 148 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnMaskedTextBox* self, int32_t* value); /* slot 149 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnMaskedTextBox* self, int32_t value); /* slot 150 */ - AvnHResult (AVN_CALL *get_text_alignment)(IAvnMaskedTextBox* self, int32_t* value); /* slot 151 */ - AvnHResult (AVN_CALL *set_text_alignment)(IAvnMaskedTextBox* self, int32_t value); /* slot 152 */ - AvnHResult (AVN_CALL *get_placeholder_text)(IAvnMaskedTextBox* self, uint16_t** value); /* slot 153 */ - AvnHResult (AVN_CALL *set_placeholder_text)(IAvnMaskedTextBox* self, const uint16_t* value); /* slot 154 */ - AvnHResult (AVN_CALL *get_use_floating_placeholder)(IAvnMaskedTextBox* self, int32_t* value); /* slot 155 */ - AvnHResult (AVN_CALL *set_use_floating_placeholder)(IAvnMaskedTextBox* self, int32_t value); /* slot 156 */ - AvnHResult (AVN_CALL *get_placeholder_foreground)(IAvnMaskedTextBox* self, IAvnBrush** value); /* slot 157 */ - AvnHResult (AVN_CALL *set_placeholder_foreground)(IAvnMaskedTextBox* self, IAvnBrush* value); /* slot 158 */ - AvnHResult (AVN_CALL *get_inner_left_content)(IAvnMaskedTextBox* self, IAvnControl** value); /* slot 159 */ - AvnHResult (AVN_CALL *set_inner_left_content)(IAvnMaskedTextBox* self, IAvnControl* value); /* slot 160 */ - AvnHResult (AVN_CALL *get_inner_right_content)(IAvnMaskedTextBox* self, IAvnControl** value); /* slot 161 */ - AvnHResult (AVN_CALL *set_inner_right_content)(IAvnMaskedTextBox* self, IAvnControl* value); /* slot 162 */ - AvnHResult (AVN_CALL *get_reveal_password)(IAvnMaskedTextBox* self, int32_t* value); /* slot 163 */ - AvnHResult (AVN_CALL *set_reveal_password)(IAvnMaskedTextBox* self, int32_t value); /* slot 164 */ - AvnHResult (AVN_CALL *get_text_wrapping)(IAvnMaskedTextBox* self, int32_t* value); /* slot 165 */ - AvnHResult (AVN_CALL *set_text_wrapping)(IAvnMaskedTextBox* self, int32_t value); /* slot 166 */ - AvnHResult (AVN_CALL *get_new_line)(IAvnMaskedTextBox* self, uint16_t** value); /* slot 167 */ - AvnHResult (AVN_CALL *set_new_line)(IAvnMaskedTextBox* self, const uint16_t* value); /* slot 168 */ - AvnHResult (AVN_CALL *get_can_cut)(IAvnMaskedTextBox* self, int32_t* value); /* slot 169 */ - AvnHResult (AVN_CALL *get_can_copy)(IAvnMaskedTextBox* self, int32_t* value); /* slot 170 */ - AvnHResult (AVN_CALL *get_can_paste)(IAvnMaskedTextBox* self, int32_t* value); /* slot 171 */ - AvnHResult (AVN_CALL *get_is_undo_enabled)(IAvnMaskedTextBox* self, int32_t* value); /* slot 172 */ - AvnHResult (AVN_CALL *set_is_undo_enabled)(IAvnMaskedTextBox* self, int32_t value); /* slot 173 */ - AvnHResult (AVN_CALL *get_undo_limit)(IAvnMaskedTextBox* self, int32_t* value); /* slot 174 */ - AvnHResult (AVN_CALL *set_undo_limit)(IAvnMaskedTextBox* self, int32_t value); /* slot 175 */ - AvnHResult (AVN_CALL *get_can_undo)(IAvnMaskedTextBox* self, int32_t* value); /* slot 176 */ - AvnHResult (AVN_CALL *get_can_redo)(IAvnMaskedTextBox* self, int32_t* value); /* slot 177 */ - AvnHResult (AVN_CALL *clear_selection)(IAvnMaskedTextBox* self); /* slot 178 */ - AvnHResult (AVN_CALL *get_line_count)(IAvnMaskedTextBox* self, int32_t* value); /* slot 179 */ - AvnHResult (AVN_CALL *cut)(IAvnMaskedTextBox* self); /* slot 180 */ - AvnHResult (AVN_CALL *copy)(IAvnMaskedTextBox* self); /* slot 181 */ - AvnHResult (AVN_CALL *paste)(IAvnMaskedTextBox* self); /* slot 182 */ - AvnHResult (AVN_CALL *clear)(IAvnMaskedTextBox* self); /* slot 183 */ - AvnHResult (AVN_CALL *scroll_to_line_with_int32)(IAvnMaskedTextBox* self, int32_t line_index); /* slot 184 */ - AvnHResult (AVN_CALL *select_all)(IAvnMaskedTextBox* self); /* slot 185 */ - AvnHResult (AVN_CALL *undo)(IAvnMaskedTextBox* self); /* slot 186 */ - AvnHResult (AVN_CALL *redo)(IAvnMaskedTextBox* self); /* slot 187 */ - AvnHResult (AVN_CALL *advise_copying_to_clipboard)(IAvnMaskedTextBox* self, IAvnTextBoxCopyingToClipboardHandler* handler, int64_t* subscription_id); /* slot 188 */ - AvnHResult (AVN_CALL *unadvise_copying_to_clipboard)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 189 */ - AvnHResult (AVN_CALL *advise_cutting_to_clipboard)(IAvnMaskedTextBox* self, IAvnTextBoxCuttingToClipboardHandler* handler, int64_t* subscription_id); /* slot 190 */ - AvnHResult (AVN_CALL *unadvise_cutting_to_clipboard)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 191 */ - AvnHResult (AVN_CALL *advise_pasting_from_clipboard)(IAvnMaskedTextBox* self, IAvnTextBoxPastingFromClipboardHandler* handler, int64_t* subscription_id); /* slot 192 */ - AvnHResult (AVN_CALL *unadvise_pasting_from_clipboard)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 193 */ - AvnHResult (AVN_CALL *advise_text_changed)(IAvnMaskedTextBox* self, IAvnTextBoxTextChangedHandler* handler, int64_t* subscription_id); /* slot 194 */ - AvnHResult (AVN_CALL *unadvise_text_changed)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 195 */ - AvnHResult (AVN_CALL *advise_text_changing)(IAvnMaskedTextBox* self, IAvnTextBoxTextChangingHandler* handler, int64_t* subscription_id); /* slot 196 */ - AvnHResult (AVN_CALL *unadvise_text_changing)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 197 */ - AvnHResult (AVN_CALL *get_ascii_only)(IAvnMaskedTextBox* self, int32_t* value); /* slot 198 */ - AvnHResult (AVN_CALL *set_ascii_only)(IAvnMaskedTextBox* self, int32_t value); /* slot 199 */ - AvnHResult (AVN_CALL *get_hide_prompt_on_leave)(IAvnMaskedTextBox* self, int32_t* value); /* slot 200 */ - AvnHResult (AVN_CALL *set_hide_prompt_on_leave)(IAvnMaskedTextBox* self, int32_t value); /* slot 201 */ - AvnHResult (AVN_CALL *get_mask)(IAvnMaskedTextBox* self, uint16_t** value); /* slot 202 */ - AvnHResult (AVN_CALL *set_mask)(IAvnMaskedTextBox* self, const uint16_t* value); /* slot 203 */ - AvnHResult (AVN_CALL *get_mask_completed)(IAvnMaskedTextBox* self, int32_t* value); /* slot 204 */ - AvnHResult (AVN_CALL *get_mask_full)(IAvnMaskedTextBox* self, int32_t* value); /* slot 205 */ - AvnHResult (AVN_CALL *get_prompt_char)(IAvnMaskedTextBox* self, uint16_t* value); /* slot 206 */ - AvnHResult (AVN_CALL *set_prompt_char)(IAvnMaskedTextBox* self, uint16_t value); /* slot 207 */ - AvnHResult (AVN_CALL *get_reset_on_prompt)(IAvnMaskedTextBox* self, int32_t* value); /* slot 208 */ - AvnHResult (AVN_CALL *set_reset_on_prompt)(IAvnMaskedTextBox* self, int32_t value); /* slot 209 */ - AvnHResult (AVN_CALL *get_reset_on_space)(IAvnMaskedTextBox* self, int32_t* value); /* slot 210 */ - AvnHResult (AVN_CALL *set_reset_on_space)(IAvnMaskedTextBox* self, int32_t value); /* slot 211 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnMaskedTextBox* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnMaskedTextBox* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnMaskedTextBox* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnMaskedTextBox* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnMaskedTextBox* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnMaskedTextBox* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnMaskedTextBox* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnMaskedTextBox* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnMaskedTextBox* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnMaskedTextBox* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnMaskedTextBox* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnMaskedTextBox* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnMaskedTextBox* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnMaskedTextBox* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnMaskedTextBox* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnMaskedTextBox* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnMaskedTextBox* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnMaskedTextBox* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnMaskedTextBox* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnMaskedTextBox* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnMaskedTextBox* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnMaskedTextBox* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnMaskedTextBox* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnMaskedTextBox* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnMaskedTextBox* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnMaskedTextBox* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnMaskedTextBox* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnMaskedTextBox* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnMaskedTextBox* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnMaskedTextBox* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnMaskedTextBox* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnMaskedTextBox* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnMaskedTextBox* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnMaskedTextBox* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnMaskedTextBox* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnMaskedTextBox* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnMaskedTextBox* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnMaskedTextBox* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnMaskedTextBox* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnMaskedTextBox* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnMaskedTextBox* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnMaskedTextBox* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnMaskedTextBox* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnMaskedTextBox* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnMaskedTextBox* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_is_inactive_selection_highlight_enabled)(IAvnMaskedTextBox* self, int32_t* value); /* slot 112 */ + AvnHResult (AVN_CALL *set_is_inactive_selection_highlight_enabled)(IAvnMaskedTextBox* self, int32_t value); /* slot 113 */ + AvnHResult (AVN_CALL *get_clear_selection_on_lost_focus)(IAvnMaskedTextBox* self, int32_t* value); /* slot 114 */ + AvnHResult (AVN_CALL *set_clear_selection_on_lost_focus)(IAvnMaskedTextBox* self, int32_t value); /* slot 115 */ + AvnHResult (AVN_CALL *get_accepts_return)(IAvnMaskedTextBox* self, int32_t* value); /* slot 116 */ + AvnHResult (AVN_CALL *set_accepts_return)(IAvnMaskedTextBox* self, int32_t value); /* slot 117 */ + AvnHResult (AVN_CALL *get_accepts_tab)(IAvnMaskedTextBox* self, int32_t* value); /* slot 118 */ + AvnHResult (AVN_CALL *set_accepts_tab)(IAvnMaskedTextBox* self, int32_t value); /* slot 119 */ + AvnHResult (AVN_CALL *get_caret_index)(IAvnMaskedTextBox* self, int32_t* value); /* slot 120 */ + AvnHResult (AVN_CALL *set_caret_index)(IAvnMaskedTextBox* self, int32_t value); /* slot 121 */ + AvnHResult (AVN_CALL *get_is_read_only)(IAvnMaskedTextBox* self, int32_t* value); /* slot 122 */ + AvnHResult (AVN_CALL *set_is_read_only)(IAvnMaskedTextBox* self, int32_t value); /* slot 123 */ + AvnHResult (AVN_CALL *get_password_char)(IAvnMaskedTextBox* self, uint16_t* value); /* slot 124 */ + AvnHResult (AVN_CALL *set_password_char)(IAvnMaskedTextBox* self, uint16_t value); /* slot 125 */ + AvnHResult (AVN_CALL *get_selection_brush)(IAvnMaskedTextBox* self, IAvnBrush** value); /* slot 126 */ + AvnHResult (AVN_CALL *set_selection_brush)(IAvnMaskedTextBox* self, IAvnBrush* value); /* slot 127 */ + AvnHResult (AVN_CALL *get_selection_foreground_brush)(IAvnMaskedTextBox* self, IAvnBrush** value); /* slot 128 */ + AvnHResult (AVN_CALL *set_selection_foreground_brush)(IAvnMaskedTextBox* self, IAvnBrush* value); /* slot 129 */ + AvnHResult (AVN_CALL *get_caret_brush)(IAvnMaskedTextBox* self, IAvnBrush** value); /* slot 130 */ + AvnHResult (AVN_CALL *set_caret_brush)(IAvnMaskedTextBox* self, IAvnBrush* value); /* slot 131 */ + AvnHResult (AVN_CALL *get_caret_blink_interval)(IAvnMaskedTextBox* self, int64_t* value); /* slot 132 */ + AvnHResult (AVN_CALL *set_caret_blink_interval)(IAvnMaskedTextBox* self, int64_t value); /* slot 133 */ + AvnHResult (AVN_CALL *get_selection_start)(IAvnMaskedTextBox* self, int32_t* value); /* slot 134 */ + AvnHResult (AVN_CALL *set_selection_start)(IAvnMaskedTextBox* self, int32_t value); /* slot 135 */ + AvnHResult (AVN_CALL *get_selection_end)(IAvnMaskedTextBox* self, int32_t* value); /* slot 136 */ + AvnHResult (AVN_CALL *set_selection_end)(IAvnMaskedTextBox* self, int32_t value); /* slot 137 */ + AvnHResult (AVN_CALL *get_max_length)(IAvnMaskedTextBox* self, int32_t* value); /* slot 138 */ + AvnHResult (AVN_CALL *set_max_length)(IAvnMaskedTextBox* self, int32_t value); /* slot 139 */ + AvnHResult (AVN_CALL *get_max_lines)(IAvnMaskedTextBox* self, int32_t* value); /* slot 140 */ + AvnHResult (AVN_CALL *set_max_lines)(IAvnMaskedTextBox* self, int32_t value); /* slot 141 */ + AvnHResult (AVN_CALL *get_min_lines)(IAvnMaskedTextBox* self, int32_t* value); /* slot 142 */ + AvnHResult (AVN_CALL *set_min_lines)(IAvnMaskedTextBox* self, int32_t value); /* slot 143 */ + AvnHResult (AVN_CALL *get_line_height)(IAvnMaskedTextBox* self, double* value); /* slot 144 */ + AvnHResult (AVN_CALL *set_line_height)(IAvnMaskedTextBox* self, double value); /* slot 145 */ + AvnHResult (AVN_CALL *get_text)(IAvnMaskedTextBox* self, uint16_t** value); /* slot 146 */ + AvnHResult (AVN_CALL *set_text)(IAvnMaskedTextBox* self, const uint16_t* value); /* slot 147 */ + AvnHResult (AVN_CALL *get_selected_text)(IAvnMaskedTextBox* self, uint16_t** value); /* slot 148 */ + AvnHResult (AVN_CALL *set_selected_text)(IAvnMaskedTextBox* self, const uint16_t* value); /* slot 149 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnMaskedTextBox* self, int32_t* value); /* slot 150 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnMaskedTextBox* self, int32_t value); /* slot 151 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnMaskedTextBox* self, int32_t* value); /* slot 152 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnMaskedTextBox* self, int32_t value); /* slot 153 */ + AvnHResult (AVN_CALL *get_text_alignment)(IAvnMaskedTextBox* self, int32_t* value); /* slot 154 */ + AvnHResult (AVN_CALL *set_text_alignment)(IAvnMaskedTextBox* self, int32_t value); /* slot 155 */ + AvnHResult (AVN_CALL *get_placeholder_text)(IAvnMaskedTextBox* self, uint16_t** value); /* slot 156 */ + AvnHResult (AVN_CALL *set_placeholder_text)(IAvnMaskedTextBox* self, const uint16_t* value); /* slot 157 */ + AvnHResult (AVN_CALL *get_use_floating_placeholder)(IAvnMaskedTextBox* self, int32_t* value); /* slot 158 */ + AvnHResult (AVN_CALL *set_use_floating_placeholder)(IAvnMaskedTextBox* self, int32_t value); /* slot 159 */ + AvnHResult (AVN_CALL *get_placeholder_foreground)(IAvnMaskedTextBox* self, IAvnBrush** value); /* slot 160 */ + AvnHResult (AVN_CALL *set_placeholder_foreground)(IAvnMaskedTextBox* self, IAvnBrush* value); /* slot 161 */ + AvnHResult (AVN_CALL *get_inner_left_content)(IAvnMaskedTextBox* self, IAvnControl** value); /* slot 162 */ + AvnHResult (AVN_CALL *set_inner_left_content)(IAvnMaskedTextBox* self, IAvnControl* value); /* slot 163 */ + AvnHResult (AVN_CALL *get_inner_right_content)(IAvnMaskedTextBox* self, IAvnControl** value); /* slot 164 */ + AvnHResult (AVN_CALL *set_inner_right_content)(IAvnMaskedTextBox* self, IAvnControl* value); /* slot 165 */ + AvnHResult (AVN_CALL *get_reveal_password)(IAvnMaskedTextBox* self, int32_t* value); /* slot 166 */ + AvnHResult (AVN_CALL *set_reveal_password)(IAvnMaskedTextBox* self, int32_t value); /* slot 167 */ + AvnHResult (AVN_CALL *get_text_wrapping)(IAvnMaskedTextBox* self, int32_t* value); /* slot 168 */ + AvnHResult (AVN_CALL *set_text_wrapping)(IAvnMaskedTextBox* self, int32_t value); /* slot 169 */ + AvnHResult (AVN_CALL *get_new_line)(IAvnMaskedTextBox* self, uint16_t** value); /* slot 170 */ + AvnHResult (AVN_CALL *set_new_line)(IAvnMaskedTextBox* self, const uint16_t* value); /* slot 171 */ + AvnHResult (AVN_CALL *get_can_cut)(IAvnMaskedTextBox* self, int32_t* value); /* slot 172 */ + AvnHResult (AVN_CALL *get_can_copy)(IAvnMaskedTextBox* self, int32_t* value); /* slot 173 */ + AvnHResult (AVN_CALL *get_can_paste)(IAvnMaskedTextBox* self, int32_t* value); /* slot 174 */ + AvnHResult (AVN_CALL *get_is_undo_enabled)(IAvnMaskedTextBox* self, int32_t* value); /* slot 175 */ + AvnHResult (AVN_CALL *set_is_undo_enabled)(IAvnMaskedTextBox* self, int32_t value); /* slot 176 */ + AvnHResult (AVN_CALL *get_undo_limit)(IAvnMaskedTextBox* self, int32_t* value); /* slot 177 */ + AvnHResult (AVN_CALL *set_undo_limit)(IAvnMaskedTextBox* self, int32_t value); /* slot 178 */ + AvnHResult (AVN_CALL *get_can_undo)(IAvnMaskedTextBox* self, int32_t* value); /* slot 179 */ + AvnHResult (AVN_CALL *get_can_redo)(IAvnMaskedTextBox* self, int32_t* value); /* slot 180 */ + AvnHResult (AVN_CALL *clear_selection)(IAvnMaskedTextBox* self); /* slot 181 */ + AvnHResult (AVN_CALL *get_line_count)(IAvnMaskedTextBox* self, int32_t* value); /* slot 182 */ + AvnHResult (AVN_CALL *cut)(IAvnMaskedTextBox* self); /* slot 183 */ + AvnHResult (AVN_CALL *copy)(IAvnMaskedTextBox* self); /* slot 184 */ + AvnHResult (AVN_CALL *paste)(IAvnMaskedTextBox* self); /* slot 185 */ + AvnHResult (AVN_CALL *clear)(IAvnMaskedTextBox* self); /* slot 186 */ + AvnHResult (AVN_CALL *scroll_to_line_with_int32)(IAvnMaskedTextBox* self, int32_t line_index); /* slot 187 */ + AvnHResult (AVN_CALL *select_all)(IAvnMaskedTextBox* self); /* slot 188 */ + AvnHResult (AVN_CALL *undo)(IAvnMaskedTextBox* self); /* slot 189 */ + AvnHResult (AVN_CALL *redo)(IAvnMaskedTextBox* self); /* slot 190 */ + AvnHResult (AVN_CALL *advise_copying_to_clipboard)(IAvnMaskedTextBox* self, IAvnTextBoxCopyingToClipboardHandler* handler, int64_t* subscription_id); /* slot 191 */ + AvnHResult (AVN_CALL *unadvise_copying_to_clipboard)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 192 */ + AvnHResult (AVN_CALL *advise_cutting_to_clipboard)(IAvnMaskedTextBox* self, IAvnTextBoxCuttingToClipboardHandler* handler, int64_t* subscription_id); /* slot 193 */ + AvnHResult (AVN_CALL *unadvise_cutting_to_clipboard)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 194 */ + AvnHResult (AVN_CALL *advise_pasting_from_clipboard)(IAvnMaskedTextBox* self, IAvnTextBoxPastingFromClipboardHandler* handler, int64_t* subscription_id); /* slot 195 */ + AvnHResult (AVN_CALL *unadvise_pasting_from_clipboard)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 196 */ + AvnHResult (AVN_CALL *advise_text_changed)(IAvnMaskedTextBox* self, IAvnTextBoxTextChangedHandler* handler, int64_t* subscription_id); /* slot 197 */ + AvnHResult (AVN_CALL *unadvise_text_changed)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 198 */ + AvnHResult (AVN_CALL *advise_text_changing)(IAvnMaskedTextBox* self, IAvnTextBoxTextChangingHandler* handler, int64_t* subscription_id); /* slot 199 */ + AvnHResult (AVN_CALL *unadvise_text_changing)(IAvnMaskedTextBox* self, int64_t subscription_id); /* slot 200 */ + AvnHResult (AVN_CALL *get_ascii_only)(IAvnMaskedTextBox* self, int32_t* value); /* slot 201 */ + AvnHResult (AVN_CALL *set_ascii_only)(IAvnMaskedTextBox* self, int32_t value); /* slot 202 */ + AvnHResult (AVN_CALL *get_hide_prompt_on_leave)(IAvnMaskedTextBox* self, int32_t* value); /* slot 203 */ + AvnHResult (AVN_CALL *set_hide_prompt_on_leave)(IAvnMaskedTextBox* self, int32_t value); /* slot 204 */ + AvnHResult (AVN_CALL *get_mask)(IAvnMaskedTextBox* self, uint16_t** value); /* slot 205 */ + AvnHResult (AVN_CALL *set_mask)(IAvnMaskedTextBox* self, const uint16_t* value); /* slot 206 */ + AvnHResult (AVN_CALL *get_mask_completed)(IAvnMaskedTextBox* self, int32_t* value); /* slot 207 */ + AvnHResult (AVN_CALL *get_mask_full)(IAvnMaskedTextBox* self, int32_t* value); /* slot 208 */ + AvnHResult (AVN_CALL *get_prompt_char)(IAvnMaskedTextBox* self, uint16_t* value); /* slot 209 */ + AvnHResult (AVN_CALL *set_prompt_char)(IAvnMaskedTextBox* self, uint16_t value); /* slot 210 */ + AvnHResult (AVN_CALL *get_reset_on_prompt)(IAvnMaskedTextBox* self, int32_t* value); /* slot 211 */ + AvnHResult (AVN_CALL *set_reset_on_prompt)(IAvnMaskedTextBox* self, int32_t value); /* slot 212 */ + AvnHResult (AVN_CALL *get_reset_on_space)(IAvnMaskedTextBox* self, int32_t* value); /* slot 213 */ + AvnHResult (AVN_CALL *set_reset_on_space)(IAvnMaskedTextBox* self, int32_t value); /* slot 214 */ }; struct IAvnMaskedTextBox { const IAvnMaskedTextBoxVtbl* vtbl; }; -#define I_AVN_MASKED_TEXT_BOX_VTABLE_SLOTS 212 +#define I_AVN_MASKED_TEXT_BOX_VTABLE_SLOTS 215 static const AvnGuid I_AVN_MENU_IID = { - 0x71FC2F34, - 0x4C1D, - 0x591E, - { 0xA5, 0x67, 0xAB, 0x31, 0x51, 0xC7, 0x77, 0x85 } + 0x7494D34A, + 0x1A50, + 0x5EB7, + { 0x85, 0x32, 0xD5, 0xA9, 0xCA, 0x39, 0x92, 0xB5 } }; -#define I_AVN_MENU_ABI_VERSION 14 +#define I_AVN_MENU_ABI_VERSION 15 struct IAvnMenuVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnMenu* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnMenu* self); /* slot 1 */ @@ -8327,104 +8453,107 @@ struct IAvnMenuVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnMenu* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnMenu* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnMenu* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnMenu* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnMenu* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnMenu* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnMenu* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnMenu* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnMenu* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnMenu* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnMenu* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnMenu* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnMenu* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnMenu* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnMenu* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnMenu* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnMenu* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnMenu* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnMenu* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnMenu* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnMenu* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnMenu* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnMenu* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnMenu* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnMenu* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnMenu* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnMenu* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnMenu* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnMenu* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnMenu* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnMenu* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnMenu* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnMenu* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnMenu* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnMenu* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnMenu* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnMenu* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnMenu* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnMenu* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnMenu* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnMenu* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnMenu* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnMenu* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnMenu* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnMenu* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnMenu* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnMenu* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnMenu* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnMenu* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnMenu* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnMenu* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnMenu* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnMenu* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnMenu* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnMenu* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnMenu* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnMenu* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_items)(IAvnMenu* self, IAvnItemList** value); /* slot 109 */ - AvnHResult (AVN_CALL *get_item_count)(IAvnMenu* self, int32_t* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_items_source)(IAvnMenu* self, IAvnVariantList** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_items_source)(IAvnMenu* self, IAvnVariantList* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_item_template)(IAvnMenu* self, IAvnDataTemplate** value); /* slot 113 */ - AvnHResult (AVN_CALL *set_item_template)(IAvnMenu* self, IAvnDataTemplate* value); /* slot 114 */ - AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnMenu* self, int32_t index, IAvnControl** value); /* slot 115 */ - AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnMenu* self, AvnVariant item, IAvnControl** value); /* slot 116 */ - AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnMenu* self, IAvnControl* container, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnMenu* self, IAvnControl* container, AvnVariant* value); /* slot 118 */ - AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnMenu* self, int32_t index); /* slot 119 */ - AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnMenu* self, AvnVariant item); /* slot 120 */ - AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnMenu* self, int32_t* value); /* slot 121 */ - AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnMenu* self, int32_t value); /* slot 122 */ - AvnHResult (AVN_CALL *get_selected_index)(IAvnMenu* self, int32_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *set_selected_index)(IAvnMenu* self, int32_t value); /* slot 124 */ - AvnHResult (AVN_CALL *get_selected_item)(IAvnMenu* self, AvnVariant* value); /* slot 125 */ - AvnHResult (AVN_CALL *set_selected_item)(IAvnMenu* self, AvnVariant value); /* slot 126 */ - AvnHResult (AVN_CALL *get_selected_value)(IAvnMenu* self, AvnVariant* value); /* slot 127 */ - AvnHResult (AVN_CALL *set_selected_value)(IAvnMenu* self, AvnVariant value); /* slot 128 */ - AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnMenu* self, int32_t* value); /* slot 129 */ - AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnMenu* self, int32_t value); /* slot 130 */ - AvnHResult (AVN_CALL *get_wrap_selection)(IAvnMenu* self, int32_t* value); /* slot 131 */ - AvnHResult (AVN_CALL *set_wrap_selection)(IAvnMenu* self, int32_t value); /* slot 132 */ - AvnHResult (AVN_CALL *advise_selection_changed)(IAvnMenu* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 133 */ - AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnMenu* self, int64_t subscription_id); /* slot 134 */ - AvnHResult (AVN_CALL *get_is_open)(IAvnMenu* self, int32_t* value); /* slot 135 */ - AvnHResult (AVN_CALL *close)(IAvnMenu* self); /* slot 136 */ - AvnHResult (AVN_CALL *open)(IAvnMenu* self); /* slot 137 */ - AvnHResult (AVN_CALL *advise_opened)(IAvnMenu* self, IAvnMenuBaseOpenedHandler* handler, int64_t* subscription_id); /* slot 138 */ - AvnHResult (AVN_CALL *unadvise_opened)(IAvnMenu* self, int64_t subscription_id); /* slot 139 */ - AvnHResult (AVN_CALL *advise_closed)(IAvnMenu* self, IAvnMenuBaseClosedHandler* handler, int64_t* subscription_id); /* slot 140 */ - AvnHResult (AVN_CALL *unadvise_closed)(IAvnMenu* self, int64_t subscription_id); /* slot 141 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnMenu* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnMenu* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnMenu* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnMenu* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnMenu* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnMenu* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnMenu* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnMenu* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnMenu* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnMenu* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnMenu* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnMenu* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnMenu* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnMenu* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnMenu* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnMenu* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnMenu* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnMenu* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnMenu* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnMenu* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnMenu* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnMenu* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnMenu* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnMenu* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnMenu* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnMenu* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnMenu* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnMenu* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnMenu* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnMenu* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnMenu* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnMenu* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnMenu* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnMenu* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnMenu* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnMenu* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnMenu* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnMenu* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnMenu* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnMenu* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnMenu* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnMenu* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnMenu* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnMenu* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnMenu* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnMenu* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnMenu* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnMenu* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnMenu* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnMenu* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnMenu* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnMenu* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnMenu* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnMenu* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnMenu* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnMenu* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnMenu* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_items)(IAvnMenu* self, IAvnItemList** value); /* slot 112 */ + AvnHResult (AVN_CALL *get_item_count)(IAvnMenu* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *get_items_source)(IAvnMenu* self, IAvnVariantList** value); /* slot 114 */ + AvnHResult (AVN_CALL *set_items_source)(IAvnMenu* self, IAvnVariantList* value); /* slot 115 */ + AvnHResult (AVN_CALL *get_item_template)(IAvnMenu* self, IAvnDataTemplate** value); /* slot 116 */ + AvnHResult (AVN_CALL *set_item_template)(IAvnMenu* self, IAvnDataTemplate* value); /* slot 117 */ + AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnMenu* self, int32_t index, IAvnControl** value); /* slot 118 */ + AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnMenu* self, AvnVariant item, IAvnControl** value); /* slot 119 */ + AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnMenu* self, IAvnControl* container, int32_t* value); /* slot 120 */ + AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnMenu* self, IAvnControl* container, AvnVariant* value); /* slot 121 */ + AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnMenu* self, int32_t index); /* slot 122 */ + AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnMenu* self, AvnVariant item); /* slot 123 */ + AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnMenu* self, int32_t* value); /* slot 124 */ + AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnMenu* self, int32_t value); /* slot 125 */ + AvnHResult (AVN_CALL *get_selected_index)(IAvnMenu* self, int32_t* value); /* slot 126 */ + AvnHResult (AVN_CALL *set_selected_index)(IAvnMenu* self, int32_t value); /* slot 127 */ + AvnHResult (AVN_CALL *get_selected_item)(IAvnMenu* self, AvnVariant* value); /* slot 128 */ + AvnHResult (AVN_CALL *set_selected_item)(IAvnMenu* self, AvnVariant value); /* slot 129 */ + AvnHResult (AVN_CALL *get_selected_value)(IAvnMenu* self, AvnVariant* value); /* slot 130 */ + AvnHResult (AVN_CALL *set_selected_value)(IAvnMenu* self, AvnVariant value); /* slot 131 */ + AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnMenu* self, int32_t* value); /* slot 132 */ + AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnMenu* self, int32_t value); /* slot 133 */ + AvnHResult (AVN_CALL *get_wrap_selection)(IAvnMenu* self, int32_t* value); /* slot 134 */ + AvnHResult (AVN_CALL *set_wrap_selection)(IAvnMenu* self, int32_t value); /* slot 135 */ + AvnHResult (AVN_CALL *advise_selection_changed)(IAvnMenu* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 136 */ + AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnMenu* self, int64_t subscription_id); /* slot 137 */ + AvnHResult (AVN_CALL *get_is_open)(IAvnMenu* self, int32_t* value); /* slot 138 */ + AvnHResult (AVN_CALL *close)(IAvnMenu* self); /* slot 139 */ + AvnHResult (AVN_CALL *open)(IAvnMenu* self); /* slot 140 */ + AvnHResult (AVN_CALL *advise_opened)(IAvnMenu* self, IAvnMenuBaseOpenedHandler* handler, int64_t* subscription_id); /* slot 141 */ + AvnHResult (AVN_CALL *unadvise_opened)(IAvnMenu* self, int64_t subscription_id); /* slot 142 */ + AvnHResult (AVN_CALL *advise_closed)(IAvnMenu* self, IAvnMenuBaseClosedHandler* handler, int64_t* subscription_id); /* slot 143 */ + AvnHResult (AVN_CALL *unadvise_closed)(IAvnMenu* self, int64_t subscription_id); /* slot 144 */ }; struct IAvnMenu { const IAvnMenuVtbl* vtbl; }; -#define I_AVN_MENU_VTABLE_SLOTS 142 +#define I_AVN_MENU_VTABLE_SLOTS 145 static const AvnGuid I_AVN_MENU_BASE_IID = { - 0x1E92B6FA, - 0x9790, - 0x5135, - { 0x8A, 0xC6, 0xA5, 0x66, 0xA0, 0xEA, 0xD4, 0x14 } + 0xA5A9B117, + 0xB812, + 0x50DC, + { 0xBE, 0xAA, 0xD8, 0x1C, 0xDA, 0xE4, 0x07, 0x0D } }; -#define I_AVN_MENU_BASE_ABI_VERSION 14 +#define I_AVN_MENU_BASE_ABI_VERSION 15 struct IAvnMenuBaseVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnMenuBase* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnMenuBase* self); /* slot 1 */ @@ -8481,96 +8610,99 @@ struct IAvnMenuBaseVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnMenuBase* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnMenuBase* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnMenuBase* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnMenuBase* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnMenuBase* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnMenuBase* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnMenuBase* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnMenuBase* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnMenuBase* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnMenuBase* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnMenuBase* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnMenuBase* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnMenuBase* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnMenuBase* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnMenuBase* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnMenuBase* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnMenuBase* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnMenuBase* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnMenuBase* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnMenuBase* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnMenuBase* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnMenuBase* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnMenuBase* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnMenuBase* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnMenuBase* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnMenuBase* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnMenuBase* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnMenuBase* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnMenuBase* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnMenuBase* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnMenuBase* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnMenuBase* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnMenuBase* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnMenuBase* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnMenuBase* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnMenuBase* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnMenuBase* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnMenuBase* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnMenuBase* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnMenuBase* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnMenuBase* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnMenuBase* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnMenuBase* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnMenuBase* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnMenuBase* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnMenuBase* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnMenuBase* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnMenuBase* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnMenuBase* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnMenuBase* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnMenuBase* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnMenuBase* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnMenuBase* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnMenuBase* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnMenuBase* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnMenuBase* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnMenuBase* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_items)(IAvnMenuBase* self, IAvnItemList** value); /* slot 109 */ - AvnHResult (AVN_CALL *get_item_count)(IAvnMenuBase* self, int32_t* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_items_source)(IAvnMenuBase* self, IAvnVariantList** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_items_source)(IAvnMenuBase* self, IAvnVariantList* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_item_template)(IAvnMenuBase* self, IAvnDataTemplate** value); /* slot 113 */ - AvnHResult (AVN_CALL *set_item_template)(IAvnMenuBase* self, IAvnDataTemplate* value); /* slot 114 */ - AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnMenuBase* self, int32_t index, IAvnControl** value); /* slot 115 */ - AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnMenuBase* self, AvnVariant item, IAvnControl** value); /* slot 116 */ - AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnMenuBase* self, IAvnControl* container, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnMenuBase* self, IAvnControl* container, AvnVariant* value); /* slot 118 */ - AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnMenuBase* self, int32_t index); /* slot 119 */ - AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnMenuBase* self, AvnVariant item); /* slot 120 */ - AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnMenuBase* self, int32_t* value); /* slot 121 */ - AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnMenuBase* self, int32_t value); /* slot 122 */ - AvnHResult (AVN_CALL *get_selected_index)(IAvnMenuBase* self, int32_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *set_selected_index)(IAvnMenuBase* self, int32_t value); /* slot 124 */ - AvnHResult (AVN_CALL *get_selected_item)(IAvnMenuBase* self, AvnVariant* value); /* slot 125 */ - AvnHResult (AVN_CALL *set_selected_item)(IAvnMenuBase* self, AvnVariant value); /* slot 126 */ - AvnHResult (AVN_CALL *get_selected_value)(IAvnMenuBase* self, AvnVariant* value); /* slot 127 */ - AvnHResult (AVN_CALL *set_selected_value)(IAvnMenuBase* self, AvnVariant value); /* slot 128 */ - AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnMenuBase* self, int32_t* value); /* slot 129 */ - AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnMenuBase* self, int32_t value); /* slot 130 */ - AvnHResult (AVN_CALL *get_wrap_selection)(IAvnMenuBase* self, int32_t* value); /* slot 131 */ - AvnHResult (AVN_CALL *set_wrap_selection)(IAvnMenuBase* self, int32_t value); /* slot 132 */ - AvnHResult (AVN_CALL *advise_selection_changed)(IAvnMenuBase* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 133 */ - AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnMenuBase* self, int64_t subscription_id); /* slot 134 */ - AvnHResult (AVN_CALL *get_is_open)(IAvnMenuBase* self, int32_t* value); /* slot 135 */ - AvnHResult (AVN_CALL *close)(IAvnMenuBase* self); /* slot 136 */ - AvnHResult (AVN_CALL *open)(IAvnMenuBase* self); /* slot 137 */ - AvnHResult (AVN_CALL *advise_opened)(IAvnMenuBase* self, IAvnMenuBaseOpenedHandler* handler, int64_t* subscription_id); /* slot 138 */ - AvnHResult (AVN_CALL *unadvise_opened)(IAvnMenuBase* self, int64_t subscription_id); /* slot 139 */ - AvnHResult (AVN_CALL *advise_closed)(IAvnMenuBase* self, IAvnMenuBaseClosedHandler* handler, int64_t* subscription_id); /* slot 140 */ - AvnHResult (AVN_CALL *unadvise_closed)(IAvnMenuBase* self, int64_t subscription_id); /* slot 141 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnMenuBase* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnMenuBase* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnMenuBase* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnMenuBase* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnMenuBase* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnMenuBase* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnMenuBase* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnMenuBase* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnMenuBase* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnMenuBase* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnMenuBase* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnMenuBase* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnMenuBase* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnMenuBase* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnMenuBase* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnMenuBase* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnMenuBase* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnMenuBase* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnMenuBase* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnMenuBase* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnMenuBase* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnMenuBase* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnMenuBase* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnMenuBase* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnMenuBase* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnMenuBase* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnMenuBase* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnMenuBase* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnMenuBase* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnMenuBase* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnMenuBase* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnMenuBase* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnMenuBase* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnMenuBase* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnMenuBase* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnMenuBase* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnMenuBase* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnMenuBase* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnMenuBase* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnMenuBase* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnMenuBase* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnMenuBase* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnMenuBase* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnMenuBase* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnMenuBase* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnMenuBase* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnMenuBase* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnMenuBase* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnMenuBase* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnMenuBase* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnMenuBase* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnMenuBase* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnMenuBase* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnMenuBase* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnMenuBase* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnMenuBase* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnMenuBase* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_items)(IAvnMenuBase* self, IAvnItemList** value); /* slot 112 */ + AvnHResult (AVN_CALL *get_item_count)(IAvnMenuBase* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *get_items_source)(IAvnMenuBase* self, IAvnVariantList** value); /* slot 114 */ + AvnHResult (AVN_CALL *set_items_source)(IAvnMenuBase* self, IAvnVariantList* value); /* slot 115 */ + AvnHResult (AVN_CALL *get_item_template)(IAvnMenuBase* self, IAvnDataTemplate** value); /* slot 116 */ + AvnHResult (AVN_CALL *set_item_template)(IAvnMenuBase* self, IAvnDataTemplate* value); /* slot 117 */ + AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnMenuBase* self, int32_t index, IAvnControl** value); /* slot 118 */ + AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnMenuBase* self, AvnVariant item, IAvnControl** value); /* slot 119 */ + AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnMenuBase* self, IAvnControl* container, int32_t* value); /* slot 120 */ + AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnMenuBase* self, IAvnControl* container, AvnVariant* value); /* slot 121 */ + AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnMenuBase* self, int32_t index); /* slot 122 */ + AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnMenuBase* self, AvnVariant item); /* slot 123 */ + AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnMenuBase* self, int32_t* value); /* slot 124 */ + AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnMenuBase* self, int32_t value); /* slot 125 */ + AvnHResult (AVN_CALL *get_selected_index)(IAvnMenuBase* self, int32_t* value); /* slot 126 */ + AvnHResult (AVN_CALL *set_selected_index)(IAvnMenuBase* self, int32_t value); /* slot 127 */ + AvnHResult (AVN_CALL *get_selected_item)(IAvnMenuBase* self, AvnVariant* value); /* slot 128 */ + AvnHResult (AVN_CALL *set_selected_item)(IAvnMenuBase* self, AvnVariant value); /* slot 129 */ + AvnHResult (AVN_CALL *get_selected_value)(IAvnMenuBase* self, AvnVariant* value); /* slot 130 */ + AvnHResult (AVN_CALL *set_selected_value)(IAvnMenuBase* self, AvnVariant value); /* slot 131 */ + AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnMenuBase* self, int32_t* value); /* slot 132 */ + AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnMenuBase* self, int32_t value); /* slot 133 */ + AvnHResult (AVN_CALL *get_wrap_selection)(IAvnMenuBase* self, int32_t* value); /* slot 134 */ + AvnHResult (AVN_CALL *set_wrap_selection)(IAvnMenuBase* self, int32_t value); /* slot 135 */ + AvnHResult (AVN_CALL *advise_selection_changed)(IAvnMenuBase* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 136 */ + AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnMenuBase* self, int64_t subscription_id); /* slot 137 */ + AvnHResult (AVN_CALL *get_is_open)(IAvnMenuBase* self, int32_t* value); /* slot 138 */ + AvnHResult (AVN_CALL *close)(IAvnMenuBase* self); /* slot 139 */ + AvnHResult (AVN_CALL *open)(IAvnMenuBase* self); /* slot 140 */ + AvnHResult (AVN_CALL *advise_opened)(IAvnMenuBase* self, IAvnMenuBaseOpenedHandler* handler, int64_t* subscription_id); /* slot 141 */ + AvnHResult (AVN_CALL *unadvise_opened)(IAvnMenuBase* self, int64_t subscription_id); /* slot 142 */ + AvnHResult (AVN_CALL *advise_closed)(IAvnMenuBase* self, IAvnMenuBaseClosedHandler* handler, int64_t* subscription_id); /* slot 143 */ + AvnHResult (AVN_CALL *unadvise_closed)(IAvnMenuBase* self, int64_t subscription_id); /* slot 144 */ }; struct IAvnMenuBase { const IAvnMenuBaseVtbl* vtbl; }; -#define I_AVN_MENU_BASE_VTABLE_SLOTS 142 +#define I_AVN_MENU_BASE_VTABLE_SLOTS 145 static const AvnGuid I_AVN_MENU_FLYOUT_IID = { 0xBE003C6C, @@ -8630,12 +8762,12 @@ struct IAvnMenuFlyout { const IAvnMenuFlyoutVtbl* vtbl; }; #define I_AVN_MENU_FLYOUT_VTABLE_SLOTS 45 static const AvnGuid I_AVN_MENU_ITEM_IID = { - 0x15CE4E5D, - 0xE0E7, - 0x5356, - { 0xAC, 0xFF, 0xD7, 0x42, 0xB7, 0x28, 0x0B, 0x97 } + 0x1863F45C, + 0x1039, + 0x5C4E, + { 0x96, 0x68, 0x43, 0x36, 0x06, 0xE9, 0x1A, 0xB9 } }; -#define I_AVN_MENU_ITEM_ABI_VERSION 17 +#define I_AVN_MENU_ITEM_ABI_VERSION 18 struct IAvnMenuItemVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnMenuItem* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnMenuItem* self); /* slot 1 */ @@ -8692,131 +8824,134 @@ struct IAvnMenuItemVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnMenuItem* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnMenuItem* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnMenuItem* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnMenuItem* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnMenuItem* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnMenuItem* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnMenuItem* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnMenuItem* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnMenuItem* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnMenuItem* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnMenuItem* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnMenuItem* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnMenuItem* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnMenuItem* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnMenuItem* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnMenuItem* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnMenuItem* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnMenuItem* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnMenuItem* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnMenuItem* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnMenuItem* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnMenuItem* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnMenuItem* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnMenuItem* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnMenuItem* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnMenuItem* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnMenuItem* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnMenuItem* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnMenuItem* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnMenuItem* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnMenuItem* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnMenuItem* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnMenuItem* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnMenuItem* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnMenuItem* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnMenuItem* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnMenuItem* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnMenuItem* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnMenuItem* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnMenuItem* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnMenuItem* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnMenuItem* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnMenuItem* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnMenuItem* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnMenuItem* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnMenuItem* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnMenuItem* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnMenuItem* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnMenuItem* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnMenuItem* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnMenuItem* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnMenuItem* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnMenuItem* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnMenuItem* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnMenuItem* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnMenuItem* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnMenuItem* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_items)(IAvnMenuItem* self, IAvnItemList** value); /* slot 109 */ - AvnHResult (AVN_CALL *get_item_count)(IAvnMenuItem* self, int32_t* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_items_source)(IAvnMenuItem* self, IAvnVariantList** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_items_source)(IAvnMenuItem* self, IAvnVariantList* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_item_template)(IAvnMenuItem* self, IAvnDataTemplate** value); /* slot 113 */ - AvnHResult (AVN_CALL *set_item_template)(IAvnMenuItem* self, IAvnDataTemplate* value); /* slot 114 */ - AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnMenuItem* self, int32_t index, IAvnControl** value); /* slot 115 */ - AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnMenuItem* self, AvnVariant item, IAvnControl** value); /* slot 116 */ - AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnMenuItem* self, IAvnControl* container, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnMenuItem* self, IAvnControl* container, AvnVariant* value); /* slot 118 */ - AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnMenuItem* self, int32_t index); /* slot 119 */ - AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnMenuItem* self, AvnVariant item); /* slot 120 */ - AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnMenuItem* self, int32_t* value); /* slot 121 */ - AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnMenuItem* self, int32_t value); /* slot 122 */ - AvnHResult (AVN_CALL *get_selected_index)(IAvnMenuItem* self, int32_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *set_selected_index)(IAvnMenuItem* self, int32_t value); /* slot 124 */ - AvnHResult (AVN_CALL *get_selected_item)(IAvnMenuItem* self, AvnVariant* value); /* slot 125 */ - AvnHResult (AVN_CALL *set_selected_item)(IAvnMenuItem* self, AvnVariant value); /* slot 126 */ - AvnHResult (AVN_CALL *get_selected_value)(IAvnMenuItem* self, AvnVariant* value); /* slot 127 */ - AvnHResult (AVN_CALL *set_selected_value)(IAvnMenuItem* self, AvnVariant value); /* slot 128 */ - AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnMenuItem* self, int32_t* value); /* slot 129 */ - AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnMenuItem* self, int32_t value); /* slot 130 */ - AvnHResult (AVN_CALL *get_wrap_selection)(IAvnMenuItem* self, int32_t* value); /* slot 131 */ - AvnHResult (AVN_CALL *set_wrap_selection)(IAvnMenuItem* self, int32_t value); /* slot 132 */ - AvnHResult (AVN_CALL *advise_selection_changed)(IAvnMenuItem* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 133 */ - AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnMenuItem* self, int64_t subscription_id); /* slot 134 */ - AvnHResult (AVN_CALL *get_header)(IAvnMenuItem* self, IAvnControl** value); /* slot 135 */ - AvnHResult (AVN_CALL *set_header)(IAvnMenuItem* self, IAvnControl* value); /* slot 136 */ - AvnHResult (AVN_CALL *get_header_template)(IAvnMenuItem* self, IAvnDataTemplate** value); /* slot 137 */ - AvnHResult (AVN_CALL *set_header_template)(IAvnMenuItem* self, IAvnDataTemplate* value); /* slot 138 */ - AvnHResult (AVN_CALL *get_command)(IAvnMenuItem* self, IAvnCommand** value); /* slot 139 */ - AvnHResult (AVN_CALL *set_command)(IAvnMenuItem* self, IAvnCommand* value); /* slot 140 */ - AvnHResult (AVN_CALL *get_hot_key)(IAvnMenuItem* self, uint16_t** value); /* slot 141 */ - AvnHResult (AVN_CALL *set_hot_key)(IAvnMenuItem* self, const uint16_t* value); /* slot 142 */ - AvnHResult (AVN_CALL *get_command_parameter)(IAvnMenuItem* self, AvnVariant* value); /* slot 143 */ - AvnHResult (AVN_CALL *set_command_parameter)(IAvnMenuItem* self, AvnVariant value); /* slot 144 */ - AvnHResult (AVN_CALL *get_icon)(IAvnMenuItem* self, IAvnControl** value); /* slot 145 */ - AvnHResult (AVN_CALL *set_icon)(IAvnMenuItem* self, IAvnControl* value); /* slot 146 */ - AvnHResult (AVN_CALL *get_input_gesture)(IAvnMenuItem* self, uint16_t** value); /* slot 147 */ - AvnHResult (AVN_CALL *set_input_gesture)(IAvnMenuItem* self, const uint16_t* value); /* slot 148 */ - AvnHResult (AVN_CALL *get_is_selected)(IAvnMenuItem* self, int32_t* value); /* slot 149 */ - AvnHResult (AVN_CALL *set_is_selected)(IAvnMenuItem* self, int32_t value); /* slot 150 */ - AvnHResult (AVN_CALL *get_is_sub_menu_open)(IAvnMenuItem* self, int32_t* value); /* slot 151 */ - AvnHResult (AVN_CALL *set_is_sub_menu_open)(IAvnMenuItem* self, int32_t value); /* slot 152 */ - AvnHResult (AVN_CALL *get_stays_open_on_click)(IAvnMenuItem* self, int32_t* value); /* slot 153 */ - AvnHResult (AVN_CALL *set_stays_open_on_click)(IAvnMenuItem* self, int32_t value); /* slot 154 */ - AvnHResult (AVN_CALL *get_toggle_type)(IAvnMenuItem* self, int32_t* value); /* slot 155 */ - AvnHResult (AVN_CALL *set_toggle_type)(IAvnMenuItem* self, int32_t value); /* slot 156 */ - AvnHResult (AVN_CALL *get_is_checked)(IAvnMenuItem* self, int32_t* value); /* slot 157 */ - AvnHResult (AVN_CALL *set_is_checked)(IAvnMenuItem* self, int32_t value); /* slot 158 */ - AvnHResult (AVN_CALL *get_group_name)(IAvnMenuItem* self, uint16_t** value); /* slot 159 */ - AvnHResult (AVN_CALL *set_group_name)(IAvnMenuItem* self, const uint16_t* value); /* slot 160 */ - AvnHResult (AVN_CALL *get_has_sub_menu)(IAvnMenuItem* self, int32_t* value); /* slot 161 */ - AvnHResult (AVN_CALL *get_is_top_level)(IAvnMenuItem* self, int32_t* value); /* slot 162 */ - AvnHResult (AVN_CALL *open)(IAvnMenuItem* self); /* slot 163 */ - AvnHResult (AVN_CALL *close)(IAvnMenuItem* self); /* slot 164 */ - AvnHResult (AVN_CALL *advise_click)(IAvnMenuItem* self, IAvnMenuItemClickHandler* handler, int64_t* subscription_id); /* slot 165 */ - AvnHResult (AVN_CALL *unadvise_click)(IAvnMenuItem* self, int64_t subscription_id); /* slot 166 */ - AvnHResult (AVN_CALL *advise_submenu_opened)(IAvnMenuItem* self, IAvnMenuItemSubmenuOpenedHandler* handler, int64_t* subscription_id); /* slot 167 */ - AvnHResult (AVN_CALL *unadvise_submenu_opened)(IAvnMenuItem* self, int64_t subscription_id); /* slot 168 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnMenuItem* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnMenuItem* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnMenuItem* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnMenuItem* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnMenuItem* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnMenuItem* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnMenuItem* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnMenuItem* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnMenuItem* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnMenuItem* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnMenuItem* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnMenuItem* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnMenuItem* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnMenuItem* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnMenuItem* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnMenuItem* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnMenuItem* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnMenuItem* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnMenuItem* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnMenuItem* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnMenuItem* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnMenuItem* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnMenuItem* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnMenuItem* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnMenuItem* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnMenuItem* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnMenuItem* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnMenuItem* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnMenuItem* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnMenuItem* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnMenuItem* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnMenuItem* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnMenuItem* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnMenuItem* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnMenuItem* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnMenuItem* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnMenuItem* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnMenuItem* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnMenuItem* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnMenuItem* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnMenuItem* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnMenuItem* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnMenuItem* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnMenuItem* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnMenuItem* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnMenuItem* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnMenuItem* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnMenuItem* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnMenuItem* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnMenuItem* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnMenuItem* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnMenuItem* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnMenuItem* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnMenuItem* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnMenuItem* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnMenuItem* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnMenuItem* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_items)(IAvnMenuItem* self, IAvnItemList** value); /* slot 112 */ + AvnHResult (AVN_CALL *get_item_count)(IAvnMenuItem* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *get_items_source)(IAvnMenuItem* self, IAvnVariantList** value); /* slot 114 */ + AvnHResult (AVN_CALL *set_items_source)(IAvnMenuItem* self, IAvnVariantList* value); /* slot 115 */ + AvnHResult (AVN_CALL *get_item_template)(IAvnMenuItem* self, IAvnDataTemplate** value); /* slot 116 */ + AvnHResult (AVN_CALL *set_item_template)(IAvnMenuItem* self, IAvnDataTemplate* value); /* slot 117 */ + AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnMenuItem* self, int32_t index, IAvnControl** value); /* slot 118 */ + AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnMenuItem* self, AvnVariant item, IAvnControl** value); /* slot 119 */ + AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnMenuItem* self, IAvnControl* container, int32_t* value); /* slot 120 */ + AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnMenuItem* self, IAvnControl* container, AvnVariant* value); /* slot 121 */ + AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnMenuItem* self, int32_t index); /* slot 122 */ + AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnMenuItem* self, AvnVariant item); /* slot 123 */ + AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnMenuItem* self, int32_t* value); /* slot 124 */ + AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnMenuItem* self, int32_t value); /* slot 125 */ + AvnHResult (AVN_CALL *get_selected_index)(IAvnMenuItem* self, int32_t* value); /* slot 126 */ + AvnHResult (AVN_CALL *set_selected_index)(IAvnMenuItem* self, int32_t value); /* slot 127 */ + AvnHResult (AVN_CALL *get_selected_item)(IAvnMenuItem* self, AvnVariant* value); /* slot 128 */ + AvnHResult (AVN_CALL *set_selected_item)(IAvnMenuItem* self, AvnVariant value); /* slot 129 */ + AvnHResult (AVN_CALL *get_selected_value)(IAvnMenuItem* self, AvnVariant* value); /* slot 130 */ + AvnHResult (AVN_CALL *set_selected_value)(IAvnMenuItem* self, AvnVariant value); /* slot 131 */ + AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnMenuItem* self, int32_t* value); /* slot 132 */ + AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnMenuItem* self, int32_t value); /* slot 133 */ + AvnHResult (AVN_CALL *get_wrap_selection)(IAvnMenuItem* self, int32_t* value); /* slot 134 */ + AvnHResult (AVN_CALL *set_wrap_selection)(IAvnMenuItem* self, int32_t value); /* slot 135 */ + AvnHResult (AVN_CALL *advise_selection_changed)(IAvnMenuItem* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 136 */ + AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnMenuItem* self, int64_t subscription_id); /* slot 137 */ + AvnHResult (AVN_CALL *get_header)(IAvnMenuItem* self, IAvnControl** value); /* slot 138 */ + AvnHResult (AVN_CALL *set_header)(IAvnMenuItem* self, IAvnControl* value); /* slot 139 */ + AvnHResult (AVN_CALL *get_header_template)(IAvnMenuItem* self, IAvnDataTemplate** value); /* slot 140 */ + AvnHResult (AVN_CALL *set_header_template)(IAvnMenuItem* self, IAvnDataTemplate* value); /* slot 141 */ + AvnHResult (AVN_CALL *get_command)(IAvnMenuItem* self, IAvnCommand** value); /* slot 142 */ + AvnHResult (AVN_CALL *set_command)(IAvnMenuItem* self, IAvnCommand* value); /* slot 143 */ + AvnHResult (AVN_CALL *get_hot_key)(IAvnMenuItem* self, uint16_t** value); /* slot 144 */ + AvnHResult (AVN_CALL *set_hot_key)(IAvnMenuItem* self, const uint16_t* value); /* slot 145 */ + AvnHResult (AVN_CALL *get_command_parameter)(IAvnMenuItem* self, AvnVariant* value); /* slot 146 */ + AvnHResult (AVN_CALL *set_command_parameter)(IAvnMenuItem* self, AvnVariant value); /* slot 147 */ + AvnHResult (AVN_CALL *get_icon)(IAvnMenuItem* self, IAvnControl** value); /* slot 148 */ + AvnHResult (AVN_CALL *set_icon)(IAvnMenuItem* self, IAvnControl* value); /* slot 149 */ + AvnHResult (AVN_CALL *get_input_gesture)(IAvnMenuItem* self, uint16_t** value); /* slot 150 */ + AvnHResult (AVN_CALL *set_input_gesture)(IAvnMenuItem* self, const uint16_t* value); /* slot 151 */ + AvnHResult (AVN_CALL *get_is_selected)(IAvnMenuItem* self, int32_t* value); /* slot 152 */ + AvnHResult (AVN_CALL *set_is_selected)(IAvnMenuItem* self, int32_t value); /* slot 153 */ + AvnHResult (AVN_CALL *get_is_sub_menu_open)(IAvnMenuItem* self, int32_t* value); /* slot 154 */ + AvnHResult (AVN_CALL *set_is_sub_menu_open)(IAvnMenuItem* self, int32_t value); /* slot 155 */ + AvnHResult (AVN_CALL *get_stays_open_on_click)(IAvnMenuItem* self, int32_t* value); /* slot 156 */ + AvnHResult (AVN_CALL *set_stays_open_on_click)(IAvnMenuItem* self, int32_t value); /* slot 157 */ + AvnHResult (AVN_CALL *get_toggle_type)(IAvnMenuItem* self, int32_t* value); /* slot 158 */ + AvnHResult (AVN_CALL *set_toggle_type)(IAvnMenuItem* self, int32_t value); /* slot 159 */ + AvnHResult (AVN_CALL *get_is_checked)(IAvnMenuItem* self, int32_t* value); /* slot 160 */ + AvnHResult (AVN_CALL *set_is_checked)(IAvnMenuItem* self, int32_t value); /* slot 161 */ + AvnHResult (AVN_CALL *get_group_name)(IAvnMenuItem* self, uint16_t** value); /* slot 162 */ + AvnHResult (AVN_CALL *set_group_name)(IAvnMenuItem* self, const uint16_t* value); /* slot 163 */ + AvnHResult (AVN_CALL *get_has_sub_menu)(IAvnMenuItem* self, int32_t* value); /* slot 164 */ + AvnHResult (AVN_CALL *get_is_top_level)(IAvnMenuItem* self, int32_t* value); /* slot 165 */ + AvnHResult (AVN_CALL *open)(IAvnMenuItem* self); /* slot 166 */ + AvnHResult (AVN_CALL *close)(IAvnMenuItem* self); /* slot 167 */ + AvnHResult (AVN_CALL *advise_click)(IAvnMenuItem* self, IAvnMenuItemClickHandler* handler, int64_t* subscription_id); /* slot 168 */ + AvnHResult (AVN_CALL *unadvise_click)(IAvnMenuItem* self, int64_t subscription_id); /* slot 169 */ + AvnHResult (AVN_CALL *advise_submenu_opened)(IAvnMenuItem* self, IAvnMenuItemSubmenuOpenedHandler* handler, int64_t* subscription_id); /* slot 170 */ + AvnHResult (AVN_CALL *unadvise_submenu_opened)(IAvnMenuItem* self, int64_t subscription_id); /* slot 171 */ }; struct IAvnMenuItem { const IAvnMenuItemVtbl* vtbl; }; -#define I_AVN_MENU_ITEM_VTABLE_SLOTS 169 +#define I_AVN_MENU_ITEM_VTABLE_SLOTS 172 static const AvnGuid I_AVN_NOTIFICATION_CARD_IID = { - 0xDB52E2D8, - 0xCC48, - 0x5F72, - { 0xB2, 0x20, 0x52, 0xBD, 0xF1, 0x6B, 0xC0, 0x55 } + 0x9E79955D, + 0x2569, + 0x59C2, + { 0x9A, 0x3A, 0x25, 0xFE, 0x0A, 0xE5, 0x60, 0x26 } }; -#define I_AVN_NOTIFICATION_CARD_ABI_VERSION 12 +#define I_AVN_NOTIFICATION_CARD_ABI_VERSION 13 struct IAvnNotificationCardVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnNotificationCard* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnNotificationCard* self); /* slot 1 */ @@ -8873,87 +9008,90 @@ struct IAvnNotificationCardVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnNotificationCard* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnNotificationCard* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnNotificationCard* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnNotificationCard* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnNotificationCard* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnNotificationCard* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnNotificationCard* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnNotificationCard* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnNotificationCard* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnNotificationCard* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnNotificationCard* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnNotificationCard* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnNotificationCard* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnNotificationCard* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnNotificationCard* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnNotificationCard* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnNotificationCard* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnNotificationCard* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnNotificationCard* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnNotificationCard* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnNotificationCard* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnNotificationCard* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnNotificationCard* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnNotificationCard* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnNotificationCard* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnNotificationCard* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnNotificationCard* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnNotificationCard* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnNotificationCard* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnNotificationCard* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnNotificationCard* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnNotificationCard* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnNotificationCard* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnNotificationCard* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnNotificationCard* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnNotificationCard* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnNotificationCard* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnNotificationCard* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnNotificationCard* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnNotificationCard* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnNotificationCard* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnNotificationCard* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnNotificationCard* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnNotificationCard* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnNotificationCard* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnNotificationCard* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnNotificationCard* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnNotificationCard* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnNotificationCard* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnNotificationCard* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnNotificationCard* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnNotificationCard* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnNotificationCard* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnNotificationCard* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnNotificationCard* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnNotificationCard* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnNotificationCard* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_content)(IAvnNotificationCard* self, IAvnControl** value); /* slot 109 */ - AvnHResult (AVN_CALL *set_content)(IAvnNotificationCard* self, IAvnControl* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnNotificationCard* self, IAvnDataTemplate** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnNotificationCard* self, IAvnDataTemplate* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnNotificationCard* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnNotificationCard* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnNotificationCard* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnNotificationCard* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_is_closing)(IAvnNotificationCard* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *get_is_closed)(IAvnNotificationCard* self, int32_t* value); /* slot 118 */ - AvnHResult (AVN_CALL *set_is_closed)(IAvnNotificationCard* self, int32_t value); /* slot 119 */ - AvnHResult (AVN_CALL *get_notification_type)(IAvnNotificationCard* self, int32_t* value); /* slot 120 */ - AvnHResult (AVN_CALL *set_notification_type)(IAvnNotificationCard* self, int32_t value); /* slot 121 */ - AvnHResult (AVN_CALL *close)(IAvnNotificationCard* self); /* slot 122 */ - AvnHResult (AVN_CALL *advise_notification_closed)(IAvnNotificationCard* self, IAvnNotificationCardNotificationClosedHandler* handler, int64_t* subscription_id); /* slot 123 */ - AvnHResult (AVN_CALL *unadvise_notification_closed)(IAvnNotificationCard* self, int64_t subscription_id); /* slot 124 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnNotificationCard* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnNotificationCard* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnNotificationCard* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnNotificationCard* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnNotificationCard* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnNotificationCard* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnNotificationCard* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnNotificationCard* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnNotificationCard* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnNotificationCard* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnNotificationCard* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnNotificationCard* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnNotificationCard* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnNotificationCard* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnNotificationCard* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnNotificationCard* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnNotificationCard* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnNotificationCard* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnNotificationCard* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnNotificationCard* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnNotificationCard* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnNotificationCard* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnNotificationCard* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnNotificationCard* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnNotificationCard* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnNotificationCard* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnNotificationCard* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnNotificationCard* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnNotificationCard* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnNotificationCard* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnNotificationCard* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnNotificationCard* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnNotificationCard* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnNotificationCard* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnNotificationCard* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnNotificationCard* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnNotificationCard* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnNotificationCard* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnNotificationCard* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnNotificationCard* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnNotificationCard* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnNotificationCard* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnNotificationCard* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnNotificationCard* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnNotificationCard* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnNotificationCard* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnNotificationCard* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnNotificationCard* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnNotificationCard* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnNotificationCard* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnNotificationCard* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnNotificationCard* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnNotificationCard* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnNotificationCard* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnNotificationCard* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnNotificationCard* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnNotificationCard* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_content)(IAvnNotificationCard* self, IAvnControl** value); /* slot 112 */ + AvnHResult (AVN_CALL *set_content)(IAvnNotificationCard* self, IAvnControl* value); /* slot 113 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnNotificationCard* self, IAvnDataTemplate** value); /* slot 114 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnNotificationCard* self, IAvnDataTemplate* value); /* slot 115 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnNotificationCard* self, int32_t* value); /* slot 116 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnNotificationCard* self, int32_t value); /* slot 117 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnNotificationCard* self, int32_t* value); /* slot 118 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnNotificationCard* self, int32_t value); /* slot 119 */ + AvnHResult (AVN_CALL *get_is_closing)(IAvnNotificationCard* self, int32_t* value); /* slot 120 */ + AvnHResult (AVN_CALL *get_is_closed)(IAvnNotificationCard* self, int32_t* value); /* slot 121 */ + AvnHResult (AVN_CALL *set_is_closed)(IAvnNotificationCard* self, int32_t value); /* slot 122 */ + AvnHResult (AVN_CALL *get_notification_type)(IAvnNotificationCard* self, int32_t* value); /* slot 123 */ + AvnHResult (AVN_CALL *set_notification_type)(IAvnNotificationCard* self, int32_t value); /* slot 124 */ + AvnHResult (AVN_CALL *close)(IAvnNotificationCard* self); /* slot 125 */ + AvnHResult (AVN_CALL *advise_notification_closed)(IAvnNotificationCard* self, IAvnNotificationCardNotificationClosedHandler* handler, int64_t* subscription_id); /* slot 126 */ + AvnHResult (AVN_CALL *unadvise_notification_closed)(IAvnNotificationCard* self, int64_t subscription_id); /* slot 127 */ }; struct IAvnNotificationCard { const IAvnNotificationCardVtbl* vtbl; }; -#define I_AVN_NOTIFICATION_CARD_VTABLE_SLOTS 125 +#define I_AVN_NOTIFICATION_CARD_VTABLE_SLOTS 128 static const AvnGuid I_AVN_NUMERIC_UP_DOWN_IID = { - 0x1082FB46, - 0x8635, - 0x515E, - { 0x82, 0x2C, 0x12, 0x62, 0x9B, 0x6D, 0x25, 0xF8 } + 0x5B2AA4AD, + 0xE367, + 0x58A1, + { 0x99, 0xED, 0x81, 0x22, 0xD7, 0xC9, 0xB2, 0x09 } }; -#define I_AVN_NUMERIC_UP_DOWN_ABI_VERSION 12 +#define I_AVN_NUMERIC_UP_DOWN_ABI_VERSION 13 struct IAvnNumericUpDownVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnNumericUpDown* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnNumericUpDown* self); /* slot 1 */ @@ -9010,111 +9148,114 @@ struct IAvnNumericUpDownVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnNumericUpDown* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnNumericUpDown* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnNumericUpDown* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnNumericUpDown* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnNumericUpDown* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnNumericUpDown* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnNumericUpDown* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnNumericUpDown* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnNumericUpDown* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnNumericUpDown* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnNumericUpDown* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnNumericUpDown* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnNumericUpDown* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnNumericUpDown* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnNumericUpDown* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnNumericUpDown* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnNumericUpDown* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnNumericUpDown* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnNumericUpDown* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnNumericUpDown* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnNumericUpDown* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnNumericUpDown* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnNumericUpDown* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnNumericUpDown* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnNumericUpDown* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnNumericUpDown* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnNumericUpDown* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnNumericUpDown* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnNumericUpDown* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnNumericUpDown* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnNumericUpDown* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnNumericUpDown* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnNumericUpDown* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnNumericUpDown* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnNumericUpDown* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnNumericUpDown* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnNumericUpDown* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnNumericUpDown* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnNumericUpDown* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnNumericUpDown* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnNumericUpDown* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnNumericUpDown* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnNumericUpDown* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnNumericUpDown* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnNumericUpDown* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnNumericUpDown* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnNumericUpDown* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnNumericUpDown* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnNumericUpDown* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnNumericUpDown* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnNumericUpDown* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnNumericUpDown* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnNumericUpDown* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnNumericUpDown* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnNumericUpDown* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnNumericUpDown* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnNumericUpDown* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_allow_spin)(IAvnNumericUpDown* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_allow_spin)(IAvnNumericUpDown* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_button_spinner_location)(IAvnNumericUpDown* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_button_spinner_location)(IAvnNumericUpDown* self, int32_t value); /* slot 112 */ - AvnHResult (AVN_CALL *get_show_button_spinner)(IAvnNumericUpDown* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_show_button_spinner)(IAvnNumericUpDown* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_clip_value_to_min_max)(IAvnNumericUpDown* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_clip_value_to_min_max)(IAvnNumericUpDown* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_format_string)(IAvnNumericUpDown* self, uint16_t** value); /* slot 117 */ - AvnHResult (AVN_CALL *set_format_string)(IAvnNumericUpDown* self, const uint16_t* value); /* slot 118 */ - AvnHResult (AVN_CALL *get_increment)(IAvnNumericUpDown* self, uint16_t** value); /* slot 119 */ - AvnHResult (AVN_CALL *set_increment)(IAvnNumericUpDown* self, const uint16_t* value); /* slot 120 */ - AvnHResult (AVN_CALL *get_is_read_only)(IAvnNumericUpDown* self, int32_t* value); /* slot 121 */ - AvnHResult (AVN_CALL *set_is_read_only)(IAvnNumericUpDown* self, int32_t value); /* slot 122 */ - AvnHResult (AVN_CALL *get_maximum)(IAvnNumericUpDown* self, uint16_t** value); /* slot 123 */ - AvnHResult (AVN_CALL *set_maximum)(IAvnNumericUpDown* self, const uint16_t* value); /* slot 124 */ - AvnHResult (AVN_CALL *get_minimum)(IAvnNumericUpDown* self, uint16_t** value); /* slot 125 */ - AvnHResult (AVN_CALL *set_minimum)(IAvnNumericUpDown* self, const uint16_t* value); /* slot 126 */ - AvnHResult (AVN_CALL *get_text)(IAvnNumericUpDown* self, uint16_t** value); /* slot 127 */ - AvnHResult (AVN_CALL *set_text)(IAvnNumericUpDown* self, const uint16_t* value); /* slot 128 */ - AvnHResult (AVN_CALL *get_value)(IAvnNumericUpDown* self, uint16_t** value); /* slot 129 */ - AvnHResult (AVN_CALL *set_value)(IAvnNumericUpDown* self, const uint16_t* value); /* slot 130 */ - AvnHResult (AVN_CALL *get_placeholder_text)(IAvnNumericUpDown* self, uint16_t** value); /* slot 131 */ - AvnHResult (AVN_CALL *set_placeholder_text)(IAvnNumericUpDown* self, const uint16_t* value); /* slot 132 */ - AvnHResult (AVN_CALL *get_placeholder_foreground)(IAvnNumericUpDown* self, IAvnBrush** value); /* slot 133 */ - AvnHResult (AVN_CALL *set_placeholder_foreground)(IAvnNumericUpDown* self, IAvnBrush* value); /* slot 134 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnNumericUpDown* self, int32_t* value); /* slot 135 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnNumericUpDown* self, int32_t value); /* slot 136 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnNumericUpDown* self, int32_t* value); /* slot 137 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnNumericUpDown* self, int32_t value); /* slot 138 */ - AvnHResult (AVN_CALL *get_text_alignment)(IAvnNumericUpDown* self, int32_t* value); /* slot 139 */ - AvnHResult (AVN_CALL *set_text_alignment)(IAvnNumericUpDown* self, int32_t value); /* slot 140 */ - AvnHResult (AVN_CALL *get_inner_left_content)(IAvnNumericUpDown* self, IAvnControl** value); /* slot 141 */ - AvnHResult (AVN_CALL *set_inner_left_content)(IAvnNumericUpDown* self, IAvnControl* value); /* slot 142 */ - AvnHResult (AVN_CALL *get_inner_right_content)(IAvnNumericUpDown* self, IAvnControl** value); /* slot 143 */ - AvnHResult (AVN_CALL *set_inner_right_content)(IAvnNumericUpDown* self, IAvnControl* value); /* slot 144 */ - AvnHResult (AVN_CALL *advise_spinned)(IAvnNumericUpDown* self, IAvnNumericUpDownSpinnedHandler* handler, int64_t* subscription_id); /* slot 145 */ - AvnHResult (AVN_CALL *unadvise_spinned)(IAvnNumericUpDown* self, int64_t subscription_id); /* slot 146 */ - AvnHResult (AVN_CALL *advise_value_changed)(IAvnNumericUpDown* self, IAvnNumericUpDownValueChangedHandler* handler, int64_t* subscription_id); /* slot 147 */ - AvnHResult (AVN_CALL *unadvise_value_changed)(IAvnNumericUpDown* self, int64_t subscription_id); /* slot 148 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnNumericUpDown* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnNumericUpDown* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnNumericUpDown* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnNumericUpDown* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnNumericUpDown* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnNumericUpDown* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnNumericUpDown* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnNumericUpDown* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnNumericUpDown* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnNumericUpDown* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnNumericUpDown* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnNumericUpDown* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnNumericUpDown* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnNumericUpDown* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnNumericUpDown* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnNumericUpDown* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnNumericUpDown* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnNumericUpDown* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnNumericUpDown* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnNumericUpDown* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnNumericUpDown* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnNumericUpDown* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnNumericUpDown* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnNumericUpDown* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnNumericUpDown* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnNumericUpDown* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnNumericUpDown* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnNumericUpDown* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnNumericUpDown* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnNumericUpDown* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnNumericUpDown* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnNumericUpDown* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnNumericUpDown* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnNumericUpDown* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnNumericUpDown* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnNumericUpDown* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnNumericUpDown* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnNumericUpDown* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnNumericUpDown* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnNumericUpDown* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnNumericUpDown* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnNumericUpDown* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnNumericUpDown* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnNumericUpDown* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnNumericUpDown* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnNumericUpDown* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnNumericUpDown* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnNumericUpDown* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnNumericUpDown* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnNumericUpDown* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnNumericUpDown* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnNumericUpDown* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnNumericUpDown* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnNumericUpDown* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnNumericUpDown* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnNumericUpDown* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnNumericUpDown* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_allow_spin)(IAvnNumericUpDown* self, int32_t* value); /* slot 112 */ + AvnHResult (AVN_CALL *set_allow_spin)(IAvnNumericUpDown* self, int32_t value); /* slot 113 */ + AvnHResult (AVN_CALL *get_button_spinner_location)(IAvnNumericUpDown* self, int32_t* value); /* slot 114 */ + AvnHResult (AVN_CALL *set_button_spinner_location)(IAvnNumericUpDown* self, int32_t value); /* slot 115 */ + AvnHResult (AVN_CALL *get_show_button_spinner)(IAvnNumericUpDown* self, int32_t* value); /* slot 116 */ + AvnHResult (AVN_CALL *set_show_button_spinner)(IAvnNumericUpDown* self, int32_t value); /* slot 117 */ + AvnHResult (AVN_CALL *get_clip_value_to_min_max)(IAvnNumericUpDown* self, int32_t* value); /* slot 118 */ + AvnHResult (AVN_CALL *set_clip_value_to_min_max)(IAvnNumericUpDown* self, int32_t value); /* slot 119 */ + AvnHResult (AVN_CALL *get_format_string)(IAvnNumericUpDown* self, uint16_t** value); /* slot 120 */ + AvnHResult (AVN_CALL *set_format_string)(IAvnNumericUpDown* self, const uint16_t* value); /* slot 121 */ + AvnHResult (AVN_CALL *get_increment)(IAvnNumericUpDown* self, uint16_t** value); /* slot 122 */ + AvnHResult (AVN_CALL *set_increment)(IAvnNumericUpDown* self, const uint16_t* value); /* slot 123 */ + AvnHResult (AVN_CALL *get_is_read_only)(IAvnNumericUpDown* self, int32_t* value); /* slot 124 */ + AvnHResult (AVN_CALL *set_is_read_only)(IAvnNumericUpDown* self, int32_t value); /* slot 125 */ + AvnHResult (AVN_CALL *get_maximum)(IAvnNumericUpDown* self, uint16_t** value); /* slot 126 */ + AvnHResult (AVN_CALL *set_maximum)(IAvnNumericUpDown* self, const uint16_t* value); /* slot 127 */ + AvnHResult (AVN_CALL *get_minimum)(IAvnNumericUpDown* self, uint16_t** value); /* slot 128 */ + AvnHResult (AVN_CALL *set_minimum)(IAvnNumericUpDown* self, const uint16_t* value); /* slot 129 */ + AvnHResult (AVN_CALL *get_text)(IAvnNumericUpDown* self, uint16_t** value); /* slot 130 */ + AvnHResult (AVN_CALL *set_text)(IAvnNumericUpDown* self, const uint16_t* value); /* slot 131 */ + AvnHResult (AVN_CALL *get_value)(IAvnNumericUpDown* self, uint16_t** value); /* slot 132 */ + AvnHResult (AVN_CALL *set_value)(IAvnNumericUpDown* self, const uint16_t* value); /* slot 133 */ + AvnHResult (AVN_CALL *get_placeholder_text)(IAvnNumericUpDown* self, uint16_t** value); /* slot 134 */ + AvnHResult (AVN_CALL *set_placeholder_text)(IAvnNumericUpDown* self, const uint16_t* value); /* slot 135 */ + AvnHResult (AVN_CALL *get_placeholder_foreground)(IAvnNumericUpDown* self, IAvnBrush** value); /* slot 136 */ + AvnHResult (AVN_CALL *set_placeholder_foreground)(IAvnNumericUpDown* self, IAvnBrush* value); /* slot 137 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnNumericUpDown* self, int32_t* value); /* slot 138 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnNumericUpDown* self, int32_t value); /* slot 139 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnNumericUpDown* self, int32_t* value); /* slot 140 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnNumericUpDown* self, int32_t value); /* slot 141 */ + AvnHResult (AVN_CALL *get_text_alignment)(IAvnNumericUpDown* self, int32_t* value); /* slot 142 */ + AvnHResult (AVN_CALL *set_text_alignment)(IAvnNumericUpDown* self, int32_t value); /* slot 143 */ + AvnHResult (AVN_CALL *get_inner_left_content)(IAvnNumericUpDown* self, IAvnControl** value); /* slot 144 */ + AvnHResult (AVN_CALL *set_inner_left_content)(IAvnNumericUpDown* self, IAvnControl* value); /* slot 145 */ + AvnHResult (AVN_CALL *get_inner_right_content)(IAvnNumericUpDown* self, IAvnControl** value); /* slot 146 */ + AvnHResult (AVN_CALL *set_inner_right_content)(IAvnNumericUpDown* self, IAvnControl* value); /* slot 147 */ + AvnHResult (AVN_CALL *advise_spinned)(IAvnNumericUpDown* self, IAvnNumericUpDownSpinnedHandler* handler, int64_t* subscription_id); /* slot 148 */ + AvnHResult (AVN_CALL *unadvise_spinned)(IAvnNumericUpDown* self, int64_t subscription_id); /* slot 149 */ + AvnHResult (AVN_CALL *advise_value_changed)(IAvnNumericUpDown* self, IAvnNumericUpDownValueChangedHandler* handler, int64_t* subscription_id); /* slot 150 */ + AvnHResult (AVN_CALL *unadvise_value_changed)(IAvnNumericUpDown* self, int64_t subscription_id); /* slot 151 */ }; struct IAvnNumericUpDown { const IAvnNumericUpDownVtbl* vtbl; }; -#define I_AVN_NUMERIC_UP_DOWN_VTABLE_SLOTS 149 +#define I_AVN_NUMERIC_UP_DOWN_VTABLE_SLOTS 152 static const AvnGuid I_AVN_PANEL_IID = { - 0xE6C6B17E, - 0x9747, - 0x5739, - { 0xB2, 0x55, 0x52, 0xE7, 0x37, 0xA7, 0xA2, 0xA2 } + 0xFE37643D, + 0xBDE5, + 0x511B, + { 0xAB, 0x66, 0xCB, 0x66, 0xB7, 0x3F, 0x68, 0x5F } }; -#define I_AVN_PANEL_ABI_VERSION 13 +#define I_AVN_PANEL_ABI_VERSION 14 struct IAvnPanelVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnPanel* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnPanel* self); /* slot 1 */ @@ -9171,46 +9312,49 @@ struct IAvnPanelVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnPanel* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnPanel* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnPanel* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnPanel* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnPanel* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnPanel* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnPanel* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnPanel* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnPanel* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnPanel* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnPanel* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnPanel* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnPanel* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnPanel* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnPanel* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnPanel* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnPanel* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnPanel* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnPanel* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnPanel* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnPanel* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnPanel* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnPanel* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnPanel* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnPanel* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnPanel* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnPanel* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnPanel* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnPanel* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_children)(IAvnPanel* self, IAvnControlList** value); /* slot 81 */ - AvnHResult (AVN_CALL *get_background)(IAvnPanel* self, IAvnBrush** value); /* slot 82 */ - AvnHResult (AVN_CALL *set_background)(IAvnPanel* self, IAvnBrush* value); /* slot 83 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnPanel* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnPanel* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnPanel* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnPanel* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnPanel* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnPanel* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnPanel* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnPanel* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnPanel* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnPanel* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnPanel* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnPanel* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnPanel* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnPanel* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnPanel* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnPanel* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnPanel* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnPanel* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnPanel* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnPanel* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnPanel* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnPanel* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnPanel* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnPanel* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnPanel* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnPanel* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnPanel* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnPanel* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnPanel* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_children)(IAvnPanel* self, IAvnControlList** value); /* slot 84 */ + AvnHResult (AVN_CALL *get_background)(IAvnPanel* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_background)(IAvnPanel* self, IAvnBrush* value); /* slot 86 */ }; struct IAvnPanel { const IAvnPanelVtbl* vtbl; }; -#define I_AVN_PANEL_VTABLE_SLOTS 84 +#define I_AVN_PANEL_VTABLE_SLOTS 87 static const AvnGuid I_AVN_PATH_IID = { - 0x708CD7FD, - 0x817B, - 0x56CB, - { 0xAE, 0x5C, 0xC7, 0x4F, 0x67, 0xCA, 0xD4, 0xF6 } + 0xE663EA07, + 0xD965, + 0x5E67, + { 0x92, 0x2A, 0xCA, 0x93, 0x2B, 0x48, 0x83, 0xEF } }; -#define I_AVN_PATH_ABI_VERSION 10 +#define I_AVN_PATH_ABI_VERSION 11 struct IAvnPathVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnPath* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnPath* self); /* slot 1 */ @@ -9267,63 +9411,66 @@ struct IAvnPathVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnPath* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnPath* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnPath* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnPath* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnPath* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnPath* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnPath* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnPath* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnPath* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnPath* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnPath* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnPath* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnPath* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnPath* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnPath* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnPath* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnPath* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnPath* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnPath* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnPath* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnPath* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnPath* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnPath* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnPath* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnPath* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnPath* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnPath* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnPath* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnPath* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_fill)(IAvnPath* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_fill)(IAvnPath* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_stretch)(IAvnPath* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_stretch)(IAvnPath* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_stroke)(IAvnPath* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_stroke)(IAvnPath* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_stroke_dash_array)(IAvnPath* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_stroke_dash_array)(IAvnPath* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_stroke_dash_offset)(IAvnPath* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_stroke_dash_offset)(IAvnPath* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_stroke_thickness)(IAvnPath* self, double* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_stroke_thickness)(IAvnPath* self, double value); /* slot 92 */ - AvnHResult (AVN_CALL *get_stroke_line_cap)(IAvnPath* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_stroke_line_cap)(IAvnPath* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_stroke_join)(IAvnPath* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_stroke_join)(IAvnPath* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_stroke_miter_limit)(IAvnPath* self, double* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_stroke_miter_limit)(IAvnPath* self, double value); /* slot 98 */ - AvnHResult (AVN_CALL *get_data)(IAvnPath* self, uint16_t** value); /* slot 99 */ - AvnHResult (AVN_CALL *set_data)(IAvnPath* self, const uint16_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnPath* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnPath* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnPath* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnPath* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnPath* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnPath* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnPath* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnPath* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnPath* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnPath* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnPath* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnPath* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnPath* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnPath* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnPath* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnPath* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnPath* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnPath* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnPath* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnPath* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnPath* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnPath* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnPath* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnPath* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnPath* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnPath* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnPath* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnPath* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnPath* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_fill)(IAvnPath* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_fill)(IAvnPath* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_stretch)(IAvnPath* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_stretch)(IAvnPath* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_stroke)(IAvnPath* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_stroke)(IAvnPath* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_stroke_dash_array)(IAvnPath* self, uint16_t** value); /* slot 90 */ + AvnHResult (AVN_CALL *set_stroke_dash_array)(IAvnPath* self, const uint16_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *get_stroke_dash_offset)(IAvnPath* self, double* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_stroke_dash_offset)(IAvnPath* self, double value); /* slot 93 */ + AvnHResult (AVN_CALL *get_stroke_thickness)(IAvnPath* self, double* value); /* slot 94 */ + AvnHResult (AVN_CALL *set_stroke_thickness)(IAvnPath* self, double value); /* slot 95 */ + AvnHResult (AVN_CALL *get_stroke_line_cap)(IAvnPath* self, int32_t* value); /* slot 96 */ + AvnHResult (AVN_CALL *set_stroke_line_cap)(IAvnPath* self, int32_t value); /* slot 97 */ + AvnHResult (AVN_CALL *get_stroke_join)(IAvnPath* self, int32_t* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_stroke_join)(IAvnPath* self, int32_t value); /* slot 99 */ + AvnHResult (AVN_CALL *get_stroke_miter_limit)(IAvnPath* self, double* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_stroke_miter_limit)(IAvnPath* self, double value); /* slot 101 */ + AvnHResult (AVN_CALL *get_data)(IAvnPath* self, uint16_t** value); /* slot 102 */ + AvnHResult (AVN_CALL *set_data)(IAvnPath* self, const uint16_t* value); /* slot 103 */ }; struct IAvnPath { const IAvnPathVtbl* vtbl; }; -#define I_AVN_PATH_VTABLE_SLOTS 101 +#define I_AVN_PATH_VTABLE_SLOTS 104 static const AvnGuid I_AVN_PATH_ICON_IID = { - 0x6D274452, - 0x1819, - 0x559D, - { 0xBB, 0x43, 0x52, 0xE6, 0x8A, 0xB6, 0x4E, 0x10 } + 0x9C821A9C, + 0x6A11, + 0x5E74, + { 0x8D, 0x69, 0xA6, 0x37, 0x66, 0x2C, 0xD2, 0x92 } }; -#define I_AVN_PATH_ICON_ABI_VERSION 11 +#define I_AVN_PATH_ICON_ABI_VERSION 12 struct IAvnPathIconVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnPathIcon* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnPathIcon* self); /* slot 1 */ @@ -9380,73 +9527,76 @@ struct IAvnPathIconVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnPathIcon* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnPathIcon* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnPathIcon* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnPathIcon* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnPathIcon* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnPathIcon* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnPathIcon* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnPathIcon* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnPathIcon* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnPathIcon* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnPathIcon* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnPathIcon* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnPathIcon* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnPathIcon* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnPathIcon* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnPathIcon* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnPathIcon* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnPathIcon* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnPathIcon* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnPathIcon* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnPathIcon* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnPathIcon* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnPathIcon* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnPathIcon* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnPathIcon* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnPathIcon* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnPathIcon* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnPathIcon* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnPathIcon* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnPathIcon* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnPathIcon* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnPathIcon* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnPathIcon* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnPathIcon* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnPathIcon* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnPathIcon* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnPathIcon* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnPathIcon* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnPathIcon* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnPathIcon* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnPathIcon* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnPathIcon* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnPathIcon* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnPathIcon* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnPathIcon* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnPathIcon* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnPathIcon* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnPathIcon* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnPathIcon* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnPathIcon* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnPathIcon* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnPathIcon* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnPathIcon* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnPathIcon* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnPathIcon* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnPathIcon* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnPathIcon* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_data)(IAvnPathIcon* self, uint16_t** value); /* slot 109 */ - AvnHResult (AVN_CALL *set_data)(IAvnPathIcon* self, const uint16_t* value); /* slot 110 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnPathIcon* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnPathIcon* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnPathIcon* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnPathIcon* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnPathIcon* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnPathIcon* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnPathIcon* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnPathIcon* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnPathIcon* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnPathIcon* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnPathIcon* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnPathIcon* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnPathIcon* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnPathIcon* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnPathIcon* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnPathIcon* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnPathIcon* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnPathIcon* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnPathIcon* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnPathIcon* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnPathIcon* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnPathIcon* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnPathIcon* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnPathIcon* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnPathIcon* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnPathIcon* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnPathIcon* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnPathIcon* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnPathIcon* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnPathIcon* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnPathIcon* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnPathIcon* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnPathIcon* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnPathIcon* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnPathIcon* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnPathIcon* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnPathIcon* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnPathIcon* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnPathIcon* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnPathIcon* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnPathIcon* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnPathIcon* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnPathIcon* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnPathIcon* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnPathIcon* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnPathIcon* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnPathIcon* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnPathIcon* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnPathIcon* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnPathIcon* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnPathIcon* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnPathIcon* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnPathIcon* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnPathIcon* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnPathIcon* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnPathIcon* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnPathIcon* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_data)(IAvnPathIcon* self, uint16_t** value); /* slot 112 */ + AvnHResult (AVN_CALL *set_data)(IAvnPathIcon* self, const uint16_t* value); /* slot 113 */ }; struct IAvnPathIcon { const IAvnPathIconVtbl* vtbl; }; -#define I_AVN_PATH_ICON_VTABLE_SLOTS 111 +#define I_AVN_PATH_ICON_VTABLE_SLOTS 114 static const AvnGuid I_AVN_PIPS_PAGER_IID = { - 0xFBFAC5E1, - 0xFD39, - 0x56C8, - { 0x82, 0x08, 0x7C, 0x0E, 0x0A, 0xFA, 0x68, 0xCD } + 0xB23699D7, + 0xACE9, + 0x5D8F, + { 0x85, 0xED, 0x21, 0x6C, 0x49, 0xDE, 0xBE, 0x3E } }; -#define I_AVN_PIPS_PAGER_ABI_VERSION 12 +#define I_AVN_PIPS_PAGER_ABI_VERSION 13 struct IAvnPipsPagerVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnPipsPager* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnPipsPager* self); /* slot 1 */ @@ -9503,85 +9653,88 @@ struct IAvnPipsPagerVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnPipsPager* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnPipsPager* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnPipsPager* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnPipsPager* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnPipsPager* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnPipsPager* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnPipsPager* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnPipsPager* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnPipsPager* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnPipsPager* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnPipsPager* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnPipsPager* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnPipsPager* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnPipsPager* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnPipsPager* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnPipsPager* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnPipsPager* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnPipsPager* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnPipsPager* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnPipsPager* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnPipsPager* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnPipsPager* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnPipsPager* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnPipsPager* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnPipsPager* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnPipsPager* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnPipsPager* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnPipsPager* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnPipsPager* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnPipsPager* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnPipsPager* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnPipsPager* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnPipsPager* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnPipsPager* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnPipsPager* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnPipsPager* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnPipsPager* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnPipsPager* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnPipsPager* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnPipsPager* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnPipsPager* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnPipsPager* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnPipsPager* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnPipsPager* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnPipsPager* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnPipsPager* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnPipsPager* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnPipsPager* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnPipsPager* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnPipsPager* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnPipsPager* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnPipsPager* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnPipsPager* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnPipsPager* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnPipsPager* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnPipsPager* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnPipsPager* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_max_visible_pips)(IAvnPipsPager* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_max_visible_pips)(IAvnPipsPager* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_is_next_button_visible)(IAvnPipsPager* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_is_next_button_visible)(IAvnPipsPager* self, int32_t value); /* slot 112 */ - AvnHResult (AVN_CALL *get_number_of_pages)(IAvnPipsPager* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_number_of_pages)(IAvnPipsPager* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_orientation)(IAvnPipsPager* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_orientation)(IAvnPipsPager* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_is_previous_button_visible)(IAvnPipsPager* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_is_previous_button_visible)(IAvnPipsPager* self, int32_t value); /* slot 118 */ - AvnHResult (AVN_CALL *get_selected_page_index)(IAvnPipsPager* self, int32_t* value); /* slot 119 */ - AvnHResult (AVN_CALL *set_selected_page_index)(IAvnPipsPager* self, int32_t value); /* slot 120 */ - AvnHResult (AVN_CALL *advise_selected_index_changed)(IAvnPipsPager* self, IAvnPipsPagerSelectedIndexChangedHandler* handler, int64_t* subscription_id); /* slot 121 */ - AvnHResult (AVN_CALL *unadvise_selected_index_changed)(IAvnPipsPager* self, int64_t subscription_id); /* slot 122 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnPipsPager* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnPipsPager* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnPipsPager* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnPipsPager* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnPipsPager* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnPipsPager* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnPipsPager* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnPipsPager* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnPipsPager* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnPipsPager* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnPipsPager* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnPipsPager* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnPipsPager* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnPipsPager* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnPipsPager* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnPipsPager* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnPipsPager* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnPipsPager* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnPipsPager* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnPipsPager* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnPipsPager* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnPipsPager* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnPipsPager* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnPipsPager* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnPipsPager* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnPipsPager* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnPipsPager* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnPipsPager* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnPipsPager* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnPipsPager* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnPipsPager* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnPipsPager* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnPipsPager* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnPipsPager* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnPipsPager* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnPipsPager* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnPipsPager* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnPipsPager* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnPipsPager* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnPipsPager* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnPipsPager* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnPipsPager* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnPipsPager* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnPipsPager* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnPipsPager* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnPipsPager* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnPipsPager* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnPipsPager* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnPipsPager* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnPipsPager* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnPipsPager* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnPipsPager* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnPipsPager* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnPipsPager* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnPipsPager* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnPipsPager* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnPipsPager* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_max_visible_pips)(IAvnPipsPager* self, int32_t* value); /* slot 112 */ + AvnHResult (AVN_CALL *set_max_visible_pips)(IAvnPipsPager* self, int32_t value); /* slot 113 */ + AvnHResult (AVN_CALL *get_is_next_button_visible)(IAvnPipsPager* self, int32_t* value); /* slot 114 */ + AvnHResult (AVN_CALL *set_is_next_button_visible)(IAvnPipsPager* self, int32_t value); /* slot 115 */ + AvnHResult (AVN_CALL *get_number_of_pages)(IAvnPipsPager* self, int32_t* value); /* slot 116 */ + AvnHResult (AVN_CALL *set_number_of_pages)(IAvnPipsPager* self, int32_t value); /* slot 117 */ + AvnHResult (AVN_CALL *get_orientation)(IAvnPipsPager* self, int32_t* value); /* slot 118 */ + AvnHResult (AVN_CALL *set_orientation)(IAvnPipsPager* self, int32_t value); /* slot 119 */ + AvnHResult (AVN_CALL *get_is_previous_button_visible)(IAvnPipsPager* self, int32_t* value); /* slot 120 */ + AvnHResult (AVN_CALL *set_is_previous_button_visible)(IAvnPipsPager* self, int32_t value); /* slot 121 */ + AvnHResult (AVN_CALL *get_selected_page_index)(IAvnPipsPager* self, int32_t* value); /* slot 122 */ + AvnHResult (AVN_CALL *set_selected_page_index)(IAvnPipsPager* self, int32_t value); /* slot 123 */ + AvnHResult (AVN_CALL *advise_selected_index_changed)(IAvnPipsPager* self, IAvnPipsPagerSelectedIndexChangedHandler* handler, int64_t* subscription_id); /* slot 124 */ + AvnHResult (AVN_CALL *unadvise_selected_index_changed)(IAvnPipsPager* self, int64_t subscription_id); /* slot 125 */ }; struct IAvnPipsPager { const IAvnPipsPagerVtbl* vtbl; }; -#define I_AVN_PIPS_PAGER_VTABLE_SLOTS 123 +#define I_AVN_PIPS_PAGER_VTABLE_SLOTS 126 static const AvnGuid I_AVN_POLYGON_IID = { - 0x4F93F9D8, - 0x08E6, - 0x56F7, - { 0xA5, 0x1B, 0x07, 0x39, 0x28, 0x79, 0x5D, 0x7D } + 0x0AAD3814, + 0xFD24, + 0x5051, + { 0xAE, 0xD3, 0xFB, 0x09, 0x0E, 0x1C, 0x0A, 0x3F } }; -#define I_AVN_POLYGON_ABI_VERSION 10 +#define I_AVN_POLYGON_ABI_VERSION 11 struct IAvnPolygonVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnPolygon* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnPolygon* self); /* slot 1 */ @@ -9638,65 +9791,68 @@ struct IAvnPolygonVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnPolygon* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnPolygon* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnPolygon* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnPolygon* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnPolygon* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnPolygon* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnPolygon* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnPolygon* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnPolygon* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnPolygon* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnPolygon* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnPolygon* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnPolygon* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnPolygon* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnPolygon* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnPolygon* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnPolygon* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnPolygon* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnPolygon* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnPolygon* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnPolygon* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnPolygon* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnPolygon* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnPolygon* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnPolygon* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnPolygon* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnPolygon* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnPolygon* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnPolygon* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_fill)(IAvnPolygon* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_fill)(IAvnPolygon* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_stretch)(IAvnPolygon* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_stretch)(IAvnPolygon* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_stroke)(IAvnPolygon* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_stroke)(IAvnPolygon* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_stroke_dash_array)(IAvnPolygon* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_stroke_dash_array)(IAvnPolygon* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_stroke_dash_offset)(IAvnPolygon* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_stroke_dash_offset)(IAvnPolygon* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_stroke_thickness)(IAvnPolygon* self, double* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_stroke_thickness)(IAvnPolygon* self, double value); /* slot 92 */ - AvnHResult (AVN_CALL *get_stroke_line_cap)(IAvnPolygon* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_stroke_line_cap)(IAvnPolygon* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_stroke_join)(IAvnPolygon* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_stroke_join)(IAvnPolygon* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_stroke_miter_limit)(IAvnPolygon* self, double* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_stroke_miter_limit)(IAvnPolygon* self, double value); /* slot 98 */ - AvnHResult (AVN_CALL *get_points)(IAvnPolygon* self, uint16_t** value); /* slot 99 */ - AvnHResult (AVN_CALL *set_points)(IAvnPolygon* self, const uint16_t* value); /* slot 100 */ - AvnHResult (AVN_CALL *get_fill_rule)(IAvnPolygon* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_fill_rule)(IAvnPolygon* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnPolygon* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnPolygon* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnPolygon* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnPolygon* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnPolygon* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnPolygon* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnPolygon* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnPolygon* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnPolygon* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnPolygon* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnPolygon* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnPolygon* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnPolygon* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnPolygon* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnPolygon* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnPolygon* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnPolygon* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnPolygon* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnPolygon* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnPolygon* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnPolygon* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnPolygon* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnPolygon* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnPolygon* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnPolygon* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnPolygon* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnPolygon* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnPolygon* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnPolygon* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_fill)(IAvnPolygon* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_fill)(IAvnPolygon* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_stretch)(IAvnPolygon* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_stretch)(IAvnPolygon* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_stroke)(IAvnPolygon* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_stroke)(IAvnPolygon* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_stroke_dash_array)(IAvnPolygon* self, uint16_t** value); /* slot 90 */ + AvnHResult (AVN_CALL *set_stroke_dash_array)(IAvnPolygon* self, const uint16_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *get_stroke_dash_offset)(IAvnPolygon* self, double* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_stroke_dash_offset)(IAvnPolygon* self, double value); /* slot 93 */ + AvnHResult (AVN_CALL *get_stroke_thickness)(IAvnPolygon* self, double* value); /* slot 94 */ + AvnHResult (AVN_CALL *set_stroke_thickness)(IAvnPolygon* self, double value); /* slot 95 */ + AvnHResult (AVN_CALL *get_stroke_line_cap)(IAvnPolygon* self, int32_t* value); /* slot 96 */ + AvnHResult (AVN_CALL *set_stroke_line_cap)(IAvnPolygon* self, int32_t value); /* slot 97 */ + AvnHResult (AVN_CALL *get_stroke_join)(IAvnPolygon* self, int32_t* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_stroke_join)(IAvnPolygon* self, int32_t value); /* slot 99 */ + AvnHResult (AVN_CALL *get_stroke_miter_limit)(IAvnPolygon* self, double* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_stroke_miter_limit)(IAvnPolygon* self, double value); /* slot 101 */ + AvnHResult (AVN_CALL *get_points)(IAvnPolygon* self, uint16_t** value); /* slot 102 */ + AvnHResult (AVN_CALL *set_points)(IAvnPolygon* self, const uint16_t* value); /* slot 103 */ + AvnHResult (AVN_CALL *get_fill_rule)(IAvnPolygon* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_fill_rule)(IAvnPolygon* self, int32_t value); /* slot 105 */ }; struct IAvnPolygon { const IAvnPolygonVtbl* vtbl; }; -#define I_AVN_POLYGON_VTABLE_SLOTS 103 +#define I_AVN_POLYGON_VTABLE_SLOTS 106 static const AvnGuid I_AVN_POLYLINE_IID = { - 0x2DBA0D61, - 0xC35B, - 0x5D12, - { 0x82, 0xA7, 0x55, 0x5E, 0xDA, 0x62, 0x0B, 0xC5 } + 0x5CBDF633, + 0x9B36, + 0x5DDE, + { 0xBF, 0xBE, 0x48, 0xFD, 0x2F, 0xA5, 0x4C, 0x99 } }; -#define I_AVN_POLYLINE_ABI_VERSION 10 +#define I_AVN_POLYLINE_ABI_VERSION 11 struct IAvnPolylineVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnPolyline* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnPolyline* self); /* slot 1 */ @@ -9753,65 +9909,68 @@ struct IAvnPolylineVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnPolyline* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnPolyline* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnPolyline* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnPolyline* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnPolyline* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnPolyline* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnPolyline* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnPolyline* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnPolyline* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnPolyline* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnPolyline* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnPolyline* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnPolyline* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnPolyline* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnPolyline* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnPolyline* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnPolyline* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnPolyline* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnPolyline* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnPolyline* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnPolyline* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnPolyline* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnPolyline* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnPolyline* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnPolyline* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnPolyline* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnPolyline* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnPolyline* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnPolyline* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_fill)(IAvnPolyline* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_fill)(IAvnPolyline* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_stretch)(IAvnPolyline* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_stretch)(IAvnPolyline* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_stroke)(IAvnPolyline* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_stroke)(IAvnPolyline* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_stroke_dash_array)(IAvnPolyline* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_stroke_dash_array)(IAvnPolyline* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_stroke_dash_offset)(IAvnPolyline* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_stroke_dash_offset)(IAvnPolyline* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_stroke_thickness)(IAvnPolyline* self, double* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_stroke_thickness)(IAvnPolyline* self, double value); /* slot 92 */ - AvnHResult (AVN_CALL *get_stroke_line_cap)(IAvnPolyline* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_stroke_line_cap)(IAvnPolyline* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_stroke_join)(IAvnPolyline* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_stroke_join)(IAvnPolyline* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_stroke_miter_limit)(IAvnPolyline* self, double* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_stroke_miter_limit)(IAvnPolyline* self, double value); /* slot 98 */ - AvnHResult (AVN_CALL *get_points)(IAvnPolyline* self, uint16_t** value); /* slot 99 */ - AvnHResult (AVN_CALL *set_points)(IAvnPolyline* self, const uint16_t* value); /* slot 100 */ - AvnHResult (AVN_CALL *get_fill_rule)(IAvnPolyline* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_fill_rule)(IAvnPolyline* self, int32_t value); /* slot 102 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnPolyline* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnPolyline* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnPolyline* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnPolyline* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnPolyline* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnPolyline* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnPolyline* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnPolyline* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnPolyline* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnPolyline* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnPolyline* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnPolyline* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnPolyline* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnPolyline* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnPolyline* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnPolyline* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnPolyline* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnPolyline* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnPolyline* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnPolyline* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnPolyline* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnPolyline* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnPolyline* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnPolyline* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnPolyline* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnPolyline* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnPolyline* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnPolyline* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnPolyline* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_fill)(IAvnPolyline* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_fill)(IAvnPolyline* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_stretch)(IAvnPolyline* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_stretch)(IAvnPolyline* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_stroke)(IAvnPolyline* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_stroke)(IAvnPolyline* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_stroke_dash_array)(IAvnPolyline* self, uint16_t** value); /* slot 90 */ + AvnHResult (AVN_CALL *set_stroke_dash_array)(IAvnPolyline* self, const uint16_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *get_stroke_dash_offset)(IAvnPolyline* self, double* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_stroke_dash_offset)(IAvnPolyline* self, double value); /* slot 93 */ + AvnHResult (AVN_CALL *get_stroke_thickness)(IAvnPolyline* self, double* value); /* slot 94 */ + AvnHResult (AVN_CALL *set_stroke_thickness)(IAvnPolyline* self, double value); /* slot 95 */ + AvnHResult (AVN_CALL *get_stroke_line_cap)(IAvnPolyline* self, int32_t* value); /* slot 96 */ + AvnHResult (AVN_CALL *set_stroke_line_cap)(IAvnPolyline* self, int32_t value); /* slot 97 */ + AvnHResult (AVN_CALL *get_stroke_join)(IAvnPolyline* self, int32_t* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_stroke_join)(IAvnPolyline* self, int32_t value); /* slot 99 */ + AvnHResult (AVN_CALL *get_stroke_miter_limit)(IAvnPolyline* self, double* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_stroke_miter_limit)(IAvnPolyline* self, double value); /* slot 101 */ + AvnHResult (AVN_CALL *get_points)(IAvnPolyline* self, uint16_t** value); /* slot 102 */ + AvnHResult (AVN_CALL *set_points)(IAvnPolyline* self, const uint16_t* value); /* slot 103 */ + AvnHResult (AVN_CALL *get_fill_rule)(IAvnPolyline* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_fill_rule)(IAvnPolyline* self, int32_t value); /* slot 105 */ }; struct IAvnPolyline { const IAvnPolylineVtbl* vtbl; }; -#define I_AVN_POLYLINE_VTABLE_SLOTS 103 +#define I_AVN_POLYLINE_VTABLE_SLOTS 106 static const AvnGuid I_AVN_POPUP_IID = { - 0x30B75D6F, - 0x4E12, - 0x505C, - { 0x8C, 0x73, 0xE0, 0x2A, 0x5F, 0xCD, 0xB3, 0x56 } + 0xC8FAC379, + 0xF367, + 0x5D83, + { 0x9A, 0xBF, 0x46, 0xEF, 0x6F, 0xCB, 0x77, 0x8B } }; -#define I_AVN_POPUP_ABI_VERSION 10 +#define I_AVN_POPUP_ABI_VERSION 11 struct IAvnPopupVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnPopup* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnPopup* self); /* slot 1 */ @@ -9868,81 +10027,84 @@ struct IAvnPopupVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnPopup* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnPopup* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnPopup* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnPopup* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnPopup* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnPopup* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnPopup* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnPopup* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnPopup* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnPopup* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnPopup* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnPopup* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnPopup* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnPopup* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnPopup* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnPopup* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnPopup* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnPopup* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnPopup* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnPopup* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnPopup* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnPopup* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnPopup* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnPopup* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnPopup* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnPopup* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnPopup* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnPopup* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnPopup* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_window_manager_add_shadow_hint)(IAvnPopup* self, int32_t* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_window_manager_add_shadow_hint)(IAvnPopup* self, int32_t value); /* slot 82 */ - AvnHResult (AVN_CALL *get_child)(IAvnPopup* self, IAvnControl** value); /* slot 83 */ - AvnHResult (AVN_CALL *set_child)(IAvnPopup* self, IAvnControl* value); /* slot 84 */ - AvnHResult (AVN_CALL *get_inherits_transform)(IAvnPopup* self, int32_t* value); /* slot 85 */ - AvnHResult (AVN_CALL *set_inherits_transform)(IAvnPopup* self, int32_t value); /* slot 86 */ - AvnHResult (AVN_CALL *get_is_light_dismiss_enabled)(IAvnPopup* self, int32_t* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_is_light_dismiss_enabled)(IAvnPopup* self, int32_t value); /* slot 88 */ - AvnHResult (AVN_CALL *get_is_open)(IAvnPopup* self, int32_t* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_is_open)(IAvnPopup* self, int32_t value); /* slot 90 */ - AvnHResult (AVN_CALL *get_placement_anchor)(IAvnPopup* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_placement_anchor)(IAvnPopup* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_placement_constraint_adjustment)(IAvnPopup* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_placement_constraint_adjustment)(IAvnPopup* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_placement_gravity)(IAvnPopup* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_placement_gravity)(IAvnPopup* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_placement)(IAvnPopup* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_placement)(IAvnPopup* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_placement_rect)(IAvnPopup* self, AvnOptionalRect* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_placement_rect)(IAvnPopup* self, AvnOptionalRect value); /* slot 100 */ - AvnHResult (AVN_CALL *get_placement_target)(IAvnPopup* self, IAvnControl** value); /* slot 101 */ - AvnHResult (AVN_CALL *set_placement_target)(IAvnPopup* self, IAvnControl* value); /* slot 102 */ - AvnHResult (AVN_CALL *get_custom_popup_placement_callback)(IAvnPopup* self, IAvnPopupPlacementCallback** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_custom_popup_placement_callback)(IAvnPopup* self, IAvnPopupPlacementCallback* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_overlay_dismiss_event_pass_through)(IAvnPopup* self, int32_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_overlay_dismiss_event_pass_through)(IAvnPopup* self, int32_t value); /* slot 106 */ - AvnHResult (AVN_CALL *get_overlay_input_pass_through_element)(IAvnPopup* self, IAvnControl** value); /* slot 107 */ - AvnHResult (AVN_CALL *set_overlay_input_pass_through_element)(IAvnPopup* self, IAvnControl* value); /* slot 108 */ - AvnHResult (AVN_CALL *get_horizontal_offset)(IAvnPopup* self, double* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_horizontal_offset)(IAvnPopup* self, double value); /* slot 110 */ - AvnHResult (AVN_CALL *get_vertical_offset)(IAvnPopup* self, double* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_vertical_offset)(IAvnPopup* self, double value); /* slot 112 */ - AvnHResult (AVN_CALL *get_topmost)(IAvnPopup* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_topmost)(IAvnPopup* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_takes_focus_from_native_control)(IAvnPopup* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_takes_focus_from_native_control)(IAvnPopup* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_should_use_overlay_layer)(IAvnPopup* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_should_use_overlay_layer)(IAvnPopup* self, int32_t value); /* slot 118 */ - AvnHResult (AVN_CALL *get_is_using_overlay_layer)(IAvnPopup* self, int32_t* value); /* slot 119 */ - AvnHResult (AVN_CALL *get_is_pointer_over_popup)(IAvnPopup* self, int32_t* value); /* slot 120 */ - AvnHResult (AVN_CALL *open)(IAvnPopup* self); /* slot 121 */ - AvnHResult (AVN_CALL *close)(IAvnPopup* self); /* slot 122 */ - AvnHResult (AVN_CALL *advise_closed)(IAvnPopup* self, IAvnPopupClosedHandler* handler, int64_t* subscription_id); /* slot 123 */ - AvnHResult (AVN_CALL *unadvise_closed)(IAvnPopup* self, int64_t subscription_id); /* slot 124 */ - AvnHResult (AVN_CALL *advise_opened)(IAvnPopup* self, IAvnPopupOpenedHandler* handler, int64_t* subscription_id); /* slot 125 */ - AvnHResult (AVN_CALL *unadvise_opened)(IAvnPopup* self, int64_t subscription_id); /* slot 126 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnPopup* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnPopup* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnPopup* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnPopup* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnPopup* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnPopup* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnPopup* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnPopup* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnPopup* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnPopup* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnPopup* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnPopup* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnPopup* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnPopup* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnPopup* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnPopup* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnPopup* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnPopup* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnPopup* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnPopup* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnPopup* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnPopup* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnPopup* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnPopup* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnPopup* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnPopup* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnPopup* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnPopup* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnPopup* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_window_manager_add_shadow_hint)(IAvnPopup* self, int32_t* value); /* slot 84 */ + AvnHResult (AVN_CALL *set_window_manager_add_shadow_hint)(IAvnPopup* self, int32_t value); /* slot 85 */ + AvnHResult (AVN_CALL *get_child)(IAvnPopup* self, IAvnControl** value); /* slot 86 */ + AvnHResult (AVN_CALL *set_child)(IAvnPopup* self, IAvnControl* value); /* slot 87 */ + AvnHResult (AVN_CALL *get_inherits_transform)(IAvnPopup* self, int32_t* value); /* slot 88 */ + AvnHResult (AVN_CALL *set_inherits_transform)(IAvnPopup* self, int32_t value); /* slot 89 */ + AvnHResult (AVN_CALL *get_is_light_dismiss_enabled)(IAvnPopup* self, int32_t* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_is_light_dismiss_enabled)(IAvnPopup* self, int32_t value); /* slot 91 */ + AvnHResult (AVN_CALL *get_is_open)(IAvnPopup* self, int32_t* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_is_open)(IAvnPopup* self, int32_t value); /* slot 93 */ + AvnHResult (AVN_CALL *get_placement_anchor)(IAvnPopup* self, int32_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *set_placement_anchor)(IAvnPopup* self, int32_t value); /* slot 95 */ + AvnHResult (AVN_CALL *get_placement_constraint_adjustment)(IAvnPopup* self, int32_t* value); /* slot 96 */ + AvnHResult (AVN_CALL *set_placement_constraint_adjustment)(IAvnPopup* self, int32_t value); /* slot 97 */ + AvnHResult (AVN_CALL *get_placement_gravity)(IAvnPopup* self, int32_t* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_placement_gravity)(IAvnPopup* self, int32_t value); /* slot 99 */ + AvnHResult (AVN_CALL *get_placement)(IAvnPopup* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_placement)(IAvnPopup* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_placement_rect)(IAvnPopup* self, AvnOptionalRect* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_placement_rect)(IAvnPopup* self, AvnOptionalRect value); /* slot 103 */ + AvnHResult (AVN_CALL *get_placement_target)(IAvnPopup* self, IAvnControl** value); /* slot 104 */ + AvnHResult (AVN_CALL *set_placement_target)(IAvnPopup* self, IAvnControl* value); /* slot 105 */ + AvnHResult (AVN_CALL *get_custom_popup_placement_callback)(IAvnPopup* self, IAvnPopupPlacementCallback** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_custom_popup_placement_callback)(IAvnPopup* self, IAvnPopupPlacementCallback* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_overlay_dismiss_event_pass_through)(IAvnPopup* self, int32_t* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_overlay_dismiss_event_pass_through)(IAvnPopup* self, int32_t value); /* slot 109 */ + AvnHResult (AVN_CALL *get_overlay_input_pass_through_element)(IAvnPopup* self, IAvnControl** value); /* slot 110 */ + AvnHResult (AVN_CALL *set_overlay_input_pass_through_element)(IAvnPopup* self, IAvnControl* value); /* slot 111 */ + AvnHResult (AVN_CALL *get_horizontal_offset)(IAvnPopup* self, double* value); /* slot 112 */ + AvnHResult (AVN_CALL *set_horizontal_offset)(IAvnPopup* self, double value); /* slot 113 */ + AvnHResult (AVN_CALL *get_vertical_offset)(IAvnPopup* self, double* value); /* slot 114 */ + AvnHResult (AVN_CALL *set_vertical_offset)(IAvnPopup* self, double value); /* slot 115 */ + AvnHResult (AVN_CALL *get_topmost)(IAvnPopup* self, int32_t* value); /* slot 116 */ + AvnHResult (AVN_CALL *set_topmost)(IAvnPopup* self, int32_t value); /* slot 117 */ + AvnHResult (AVN_CALL *get_takes_focus_from_native_control)(IAvnPopup* self, int32_t* value); /* slot 118 */ + AvnHResult (AVN_CALL *set_takes_focus_from_native_control)(IAvnPopup* self, int32_t value); /* slot 119 */ + AvnHResult (AVN_CALL *get_should_use_overlay_layer)(IAvnPopup* self, int32_t* value); /* slot 120 */ + AvnHResult (AVN_CALL *set_should_use_overlay_layer)(IAvnPopup* self, int32_t value); /* slot 121 */ + AvnHResult (AVN_CALL *get_is_using_overlay_layer)(IAvnPopup* self, int32_t* value); /* slot 122 */ + AvnHResult (AVN_CALL *get_is_pointer_over_popup)(IAvnPopup* self, int32_t* value); /* slot 123 */ + AvnHResult (AVN_CALL *open)(IAvnPopup* self); /* slot 124 */ + AvnHResult (AVN_CALL *close)(IAvnPopup* self); /* slot 125 */ + AvnHResult (AVN_CALL *advise_closed)(IAvnPopup* self, IAvnPopupClosedHandler* handler, int64_t* subscription_id); /* slot 126 */ + AvnHResult (AVN_CALL *unadvise_closed)(IAvnPopup* self, int64_t subscription_id); /* slot 127 */ + AvnHResult (AVN_CALL *advise_opened)(IAvnPopup* self, IAvnPopupOpenedHandler* handler, int64_t* subscription_id); /* slot 128 */ + AvnHResult (AVN_CALL *unadvise_opened)(IAvnPopup* self, int64_t subscription_id); /* slot 129 */ }; struct IAvnPopup { const IAvnPopupVtbl* vtbl; }; -#define I_AVN_POPUP_VTABLE_SLOTS 127 +#define I_AVN_POPUP_VTABLE_SLOTS 130 static const AvnGuid I_AVN_POPUP_FLYOUT_BASE_IID = { 0xE8905C74, @@ -9997,12 +10159,12 @@ struct IAvnPopupFlyoutBase { const IAvnPopupFlyoutBaseVtbl* vtbl; }; #define I_AVN_POPUP_FLYOUT_BASE_VTABLE_SLOTS 40 static const AvnGuid I_AVN_PROGRESS_BAR_IID = { - 0x5AD47222, - 0x012D, - 0x56C8, - { 0x84, 0x59, 0x42, 0xDD, 0x29, 0x5B, 0x9D, 0xAF } + 0x5B810486, + 0x98CC, + 0x51F9, + { 0x8F, 0x12, 0x46, 0xA0, 0x95, 0x59, 0x5B, 0xB4 } }; -#define I_AVN_PROGRESS_BAR_ABI_VERSION 15 +#define I_AVN_PROGRESS_BAR_ABI_VERSION 16 struct IAvnProgressBarVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnProgressBar* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnProgressBar* self); /* slot 1 */ @@ -10059,92 +10221,95 @@ struct IAvnProgressBarVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnProgressBar* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnProgressBar* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnProgressBar* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnProgressBar* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnProgressBar* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnProgressBar* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnProgressBar* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnProgressBar* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnProgressBar* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnProgressBar* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnProgressBar* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnProgressBar* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnProgressBar* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnProgressBar* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnProgressBar* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnProgressBar* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnProgressBar* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnProgressBar* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnProgressBar* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnProgressBar* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnProgressBar* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnProgressBar* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnProgressBar* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnProgressBar* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnProgressBar* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnProgressBar* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnProgressBar* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnProgressBar* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnProgressBar* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnProgressBar* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnProgressBar* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnProgressBar* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnProgressBar* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnProgressBar* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnProgressBar* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnProgressBar* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnProgressBar* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnProgressBar* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnProgressBar* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnProgressBar* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnProgressBar* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnProgressBar* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnProgressBar* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnProgressBar* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnProgressBar* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnProgressBar* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnProgressBar* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnProgressBar* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnProgressBar* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnProgressBar* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnProgressBar* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnProgressBar* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnProgressBar* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnProgressBar* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnProgressBar* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnProgressBar* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnProgressBar* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_minimum)(IAvnProgressBar* self, double* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_minimum)(IAvnProgressBar* self, double value); /* slot 110 */ - AvnHResult (AVN_CALL *get_maximum)(IAvnProgressBar* self, double* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_maximum)(IAvnProgressBar* self, double value); /* slot 112 */ - AvnHResult (AVN_CALL *get_value)(IAvnProgressBar* self, double* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_value)(IAvnProgressBar* self, double value); /* slot 114 */ - AvnHResult (AVN_CALL *get_small_change)(IAvnProgressBar* self, double* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_small_change)(IAvnProgressBar* self, double value); /* slot 116 */ - AvnHResult (AVN_CALL *get_large_change)(IAvnProgressBar* self, double* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_large_change)(IAvnProgressBar* self, double value); /* slot 118 */ - AvnHResult (AVN_CALL *advise_value_changed)(IAvnProgressBar* self, IAvnRangeBaseValueChangedHandler* handler, int64_t* subscription_id); /* slot 119 */ - AvnHResult (AVN_CALL *unadvise_value_changed)(IAvnProgressBar* self, int64_t subscription_id); /* slot 120 */ - AvnHResult (AVN_CALL *get_percentage)(IAvnProgressBar* self, double* value); /* slot 121 */ - AvnHResult (AVN_CALL *get_is_indeterminate)(IAvnProgressBar* self, int32_t* value); /* slot 122 */ - AvnHResult (AVN_CALL *set_is_indeterminate)(IAvnProgressBar* self, int32_t value); /* slot 123 */ - AvnHResult (AVN_CALL *get_show_progress_text)(IAvnProgressBar* self, int32_t* value); /* slot 124 */ - AvnHResult (AVN_CALL *set_show_progress_text)(IAvnProgressBar* self, int32_t value); /* slot 125 */ - AvnHResult (AVN_CALL *get_progress_text_format)(IAvnProgressBar* self, uint16_t** value); /* slot 126 */ - AvnHResult (AVN_CALL *set_progress_text_format)(IAvnProgressBar* self, const uint16_t* value); /* slot 127 */ - AvnHResult (AVN_CALL *get_orientation)(IAvnProgressBar* self, int32_t* value); /* slot 128 */ - AvnHResult (AVN_CALL *set_orientation)(IAvnProgressBar* self, int32_t value); /* slot 129 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnProgressBar* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnProgressBar* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnProgressBar* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnProgressBar* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnProgressBar* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnProgressBar* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnProgressBar* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnProgressBar* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnProgressBar* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnProgressBar* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnProgressBar* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnProgressBar* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnProgressBar* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnProgressBar* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnProgressBar* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnProgressBar* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnProgressBar* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnProgressBar* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnProgressBar* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnProgressBar* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnProgressBar* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnProgressBar* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnProgressBar* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnProgressBar* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnProgressBar* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnProgressBar* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnProgressBar* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnProgressBar* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnProgressBar* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnProgressBar* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnProgressBar* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnProgressBar* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnProgressBar* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnProgressBar* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnProgressBar* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnProgressBar* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnProgressBar* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnProgressBar* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnProgressBar* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnProgressBar* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnProgressBar* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnProgressBar* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnProgressBar* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnProgressBar* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnProgressBar* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnProgressBar* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnProgressBar* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnProgressBar* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnProgressBar* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnProgressBar* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnProgressBar* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnProgressBar* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnProgressBar* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnProgressBar* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnProgressBar* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnProgressBar* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnProgressBar* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_minimum)(IAvnProgressBar* self, double* value); /* slot 112 */ + AvnHResult (AVN_CALL *set_minimum)(IAvnProgressBar* self, double value); /* slot 113 */ + AvnHResult (AVN_CALL *get_maximum)(IAvnProgressBar* self, double* value); /* slot 114 */ + AvnHResult (AVN_CALL *set_maximum)(IAvnProgressBar* self, double value); /* slot 115 */ + AvnHResult (AVN_CALL *get_value)(IAvnProgressBar* self, double* value); /* slot 116 */ + AvnHResult (AVN_CALL *set_value)(IAvnProgressBar* self, double value); /* slot 117 */ + AvnHResult (AVN_CALL *get_small_change)(IAvnProgressBar* self, double* value); /* slot 118 */ + AvnHResult (AVN_CALL *set_small_change)(IAvnProgressBar* self, double value); /* slot 119 */ + AvnHResult (AVN_CALL *get_large_change)(IAvnProgressBar* self, double* value); /* slot 120 */ + AvnHResult (AVN_CALL *set_large_change)(IAvnProgressBar* self, double value); /* slot 121 */ + AvnHResult (AVN_CALL *advise_value_changed)(IAvnProgressBar* self, IAvnRangeBaseValueChangedHandler* handler, int64_t* subscription_id); /* slot 122 */ + AvnHResult (AVN_CALL *unadvise_value_changed)(IAvnProgressBar* self, int64_t subscription_id); /* slot 123 */ + AvnHResult (AVN_CALL *get_percentage)(IAvnProgressBar* self, double* value); /* slot 124 */ + AvnHResult (AVN_CALL *get_is_indeterminate)(IAvnProgressBar* self, int32_t* value); /* slot 125 */ + AvnHResult (AVN_CALL *set_is_indeterminate)(IAvnProgressBar* self, int32_t value); /* slot 126 */ + AvnHResult (AVN_CALL *get_show_progress_text)(IAvnProgressBar* self, int32_t* value); /* slot 127 */ + AvnHResult (AVN_CALL *set_show_progress_text)(IAvnProgressBar* self, int32_t value); /* slot 128 */ + AvnHResult (AVN_CALL *get_progress_text_format)(IAvnProgressBar* self, uint16_t** value); /* slot 129 */ + AvnHResult (AVN_CALL *set_progress_text_format)(IAvnProgressBar* self, const uint16_t* value); /* slot 130 */ + AvnHResult (AVN_CALL *get_orientation)(IAvnProgressBar* self, int32_t* value); /* slot 131 */ + AvnHResult (AVN_CALL *set_orientation)(IAvnProgressBar* self, int32_t value); /* slot 132 */ }; struct IAvnProgressBar { const IAvnProgressBarVtbl* vtbl; }; -#define I_AVN_PROGRESS_BAR_VTABLE_SLOTS 130 +#define I_AVN_PROGRESS_BAR_VTABLE_SLOTS 133 static const AvnGuid I_AVN_RADIO_BUTTON_IID = { - 0xA2E6518A, - 0x5B2E, - 0x5424, - { 0x84, 0xFE, 0xCF, 0xA3, 0x25, 0xD9, 0x32, 0x88 } + 0xFBEA357A, + 0x8E1A, + 0x5579, + { 0xA0, 0xCF, 0x4F, 0xD4, 0x88, 0x95, 0xDA, 0xDB } }; -#define I_AVN_RADIO_BUTTON_ABI_VERSION 18 +#define I_AVN_RADIO_BUTTON_ABI_VERSION 19 struct IAvnRadioButtonVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnRadioButton* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnRadioButton* self); /* slot 1 */ @@ -10201,104 +10366,107 @@ struct IAvnRadioButtonVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnRadioButton* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnRadioButton* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnRadioButton* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnRadioButton* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnRadioButton* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnRadioButton* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnRadioButton* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnRadioButton* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnRadioButton* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnRadioButton* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnRadioButton* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnRadioButton* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnRadioButton* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnRadioButton* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnRadioButton* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnRadioButton* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnRadioButton* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnRadioButton* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnRadioButton* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnRadioButton* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnRadioButton* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnRadioButton* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnRadioButton* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnRadioButton* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnRadioButton* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnRadioButton* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnRadioButton* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnRadioButton* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnRadioButton* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnRadioButton* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnRadioButton* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnRadioButton* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnRadioButton* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnRadioButton* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnRadioButton* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnRadioButton* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnRadioButton* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnRadioButton* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnRadioButton* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnRadioButton* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnRadioButton* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnRadioButton* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnRadioButton* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnRadioButton* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnRadioButton* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnRadioButton* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnRadioButton* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnRadioButton* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnRadioButton* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnRadioButton* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnRadioButton* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnRadioButton* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnRadioButton* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnRadioButton* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnRadioButton* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnRadioButton* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnRadioButton* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_content)(IAvnRadioButton* self, IAvnControl** value); /* slot 109 */ - AvnHResult (AVN_CALL *set_content)(IAvnRadioButton* self, IAvnControl* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnRadioButton* self, IAvnDataTemplate** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnRadioButton* self, IAvnDataTemplate* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnRadioButton* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnRadioButton* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnRadioButton* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnRadioButton* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_click_mode)(IAvnRadioButton* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_click_mode)(IAvnRadioButton* self, int32_t value); /* slot 118 */ - AvnHResult (AVN_CALL *get_command)(IAvnRadioButton* self, IAvnCommand** value); /* slot 119 */ - AvnHResult (AVN_CALL *set_command)(IAvnRadioButton* self, IAvnCommand* value); /* slot 120 */ - AvnHResult (AVN_CALL *get_hot_key)(IAvnRadioButton* self, uint16_t** value); /* slot 121 */ - AvnHResult (AVN_CALL *set_hot_key)(IAvnRadioButton* self, const uint16_t* value); /* slot 122 */ - AvnHResult (AVN_CALL *get_command_parameter)(IAvnRadioButton* self, AvnVariant* value); /* slot 123 */ - AvnHResult (AVN_CALL *set_command_parameter)(IAvnRadioButton* self, AvnVariant value); /* slot 124 */ - AvnHResult (AVN_CALL *get_is_default)(IAvnRadioButton* self, int32_t* value); /* slot 125 */ - AvnHResult (AVN_CALL *set_is_default)(IAvnRadioButton* self, int32_t value); /* slot 126 */ - AvnHResult (AVN_CALL *get_is_cancel)(IAvnRadioButton* self, int32_t* value); /* slot 127 */ - AvnHResult (AVN_CALL *set_is_cancel)(IAvnRadioButton* self, int32_t value); /* slot 128 */ - AvnHResult (AVN_CALL *get_is_pressed)(IAvnRadioButton* self, int32_t* value); /* slot 129 */ - AvnHResult (AVN_CALL *get_flyout)(IAvnRadioButton* self, IAvnFlyoutBase** value); /* slot 130 */ - AvnHResult (AVN_CALL *set_flyout)(IAvnRadioButton* self, IAvnFlyoutBase* value); /* slot 131 */ - AvnHResult (AVN_CALL *advise_click)(IAvnRadioButton* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 132 */ - AvnHResult (AVN_CALL *unadvise_click)(IAvnRadioButton* self, int64_t subscription_id); /* slot 133 */ - AvnHResult (AVN_CALL *get_is_checked)(IAvnRadioButton* self, int32_t* value); /* slot 134 */ - AvnHResult (AVN_CALL *set_is_checked)(IAvnRadioButton* self, int32_t value); /* slot 135 */ - AvnHResult (AVN_CALL *get_is_three_state)(IAvnRadioButton* self, int32_t* value); /* slot 136 */ - AvnHResult (AVN_CALL *set_is_three_state)(IAvnRadioButton* self, int32_t value); /* slot 137 */ - AvnHResult (AVN_CALL *advise_is_checked_changed)(IAvnRadioButton* self, IAvnToggleButtonIsCheckedChangedHandler* handler, int64_t* subscription_id); /* slot 138 */ - AvnHResult (AVN_CALL *unadvise_is_checked_changed)(IAvnRadioButton* self, int64_t subscription_id); /* slot 139 */ - AvnHResult (AVN_CALL *get_group_name)(IAvnRadioButton* self, uint16_t** value); /* slot 140 */ - AvnHResult (AVN_CALL *set_group_name)(IAvnRadioButton* self, const uint16_t* value); /* slot 141 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnRadioButton* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnRadioButton* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnRadioButton* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnRadioButton* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnRadioButton* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnRadioButton* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnRadioButton* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnRadioButton* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnRadioButton* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnRadioButton* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnRadioButton* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnRadioButton* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnRadioButton* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnRadioButton* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnRadioButton* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnRadioButton* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnRadioButton* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnRadioButton* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnRadioButton* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnRadioButton* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnRadioButton* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnRadioButton* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnRadioButton* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnRadioButton* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnRadioButton* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnRadioButton* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnRadioButton* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnRadioButton* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnRadioButton* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnRadioButton* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnRadioButton* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnRadioButton* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnRadioButton* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnRadioButton* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnRadioButton* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnRadioButton* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnRadioButton* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnRadioButton* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnRadioButton* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnRadioButton* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnRadioButton* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnRadioButton* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnRadioButton* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnRadioButton* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnRadioButton* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnRadioButton* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnRadioButton* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnRadioButton* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnRadioButton* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnRadioButton* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnRadioButton* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnRadioButton* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnRadioButton* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnRadioButton* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnRadioButton* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnRadioButton* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnRadioButton* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_content)(IAvnRadioButton* self, IAvnControl** value); /* slot 112 */ + AvnHResult (AVN_CALL *set_content)(IAvnRadioButton* self, IAvnControl* value); /* slot 113 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnRadioButton* self, IAvnDataTemplate** value); /* slot 114 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnRadioButton* self, IAvnDataTemplate* value); /* slot 115 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnRadioButton* self, int32_t* value); /* slot 116 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnRadioButton* self, int32_t value); /* slot 117 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnRadioButton* self, int32_t* value); /* slot 118 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnRadioButton* self, int32_t value); /* slot 119 */ + AvnHResult (AVN_CALL *get_click_mode)(IAvnRadioButton* self, int32_t* value); /* slot 120 */ + AvnHResult (AVN_CALL *set_click_mode)(IAvnRadioButton* self, int32_t value); /* slot 121 */ + AvnHResult (AVN_CALL *get_command)(IAvnRadioButton* self, IAvnCommand** value); /* slot 122 */ + AvnHResult (AVN_CALL *set_command)(IAvnRadioButton* self, IAvnCommand* value); /* slot 123 */ + AvnHResult (AVN_CALL *get_hot_key)(IAvnRadioButton* self, uint16_t** value); /* slot 124 */ + AvnHResult (AVN_CALL *set_hot_key)(IAvnRadioButton* self, const uint16_t* value); /* slot 125 */ + AvnHResult (AVN_CALL *get_command_parameter)(IAvnRadioButton* self, AvnVariant* value); /* slot 126 */ + AvnHResult (AVN_CALL *set_command_parameter)(IAvnRadioButton* self, AvnVariant value); /* slot 127 */ + AvnHResult (AVN_CALL *get_is_default)(IAvnRadioButton* self, int32_t* value); /* slot 128 */ + AvnHResult (AVN_CALL *set_is_default)(IAvnRadioButton* self, int32_t value); /* slot 129 */ + AvnHResult (AVN_CALL *get_is_cancel)(IAvnRadioButton* self, int32_t* value); /* slot 130 */ + AvnHResult (AVN_CALL *set_is_cancel)(IAvnRadioButton* self, int32_t value); /* slot 131 */ + AvnHResult (AVN_CALL *get_is_pressed)(IAvnRadioButton* self, int32_t* value); /* slot 132 */ + AvnHResult (AVN_CALL *get_flyout)(IAvnRadioButton* self, IAvnFlyoutBase** value); /* slot 133 */ + AvnHResult (AVN_CALL *set_flyout)(IAvnRadioButton* self, IAvnFlyoutBase* value); /* slot 134 */ + AvnHResult (AVN_CALL *advise_click)(IAvnRadioButton* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 135 */ + AvnHResult (AVN_CALL *unadvise_click)(IAvnRadioButton* self, int64_t subscription_id); /* slot 136 */ + AvnHResult (AVN_CALL *get_is_checked)(IAvnRadioButton* self, int32_t* value); /* slot 137 */ + AvnHResult (AVN_CALL *set_is_checked)(IAvnRadioButton* self, int32_t value); /* slot 138 */ + AvnHResult (AVN_CALL *get_is_three_state)(IAvnRadioButton* self, int32_t* value); /* slot 139 */ + AvnHResult (AVN_CALL *set_is_three_state)(IAvnRadioButton* self, int32_t value); /* slot 140 */ + AvnHResult (AVN_CALL *advise_is_checked_changed)(IAvnRadioButton* self, IAvnToggleButtonIsCheckedChangedHandler* handler, int64_t* subscription_id); /* slot 141 */ + AvnHResult (AVN_CALL *unadvise_is_checked_changed)(IAvnRadioButton* self, int64_t subscription_id); /* slot 142 */ + AvnHResult (AVN_CALL *get_group_name)(IAvnRadioButton* self, uint16_t** value); /* slot 143 */ + AvnHResult (AVN_CALL *set_group_name)(IAvnRadioButton* self, const uint16_t* value); /* slot 144 */ }; struct IAvnRadioButton { const IAvnRadioButtonVtbl* vtbl; }; -#define I_AVN_RADIO_BUTTON_VTABLE_SLOTS 142 +#define I_AVN_RADIO_BUTTON_VTABLE_SLOTS 145 static const AvnGuid I_AVN_RANGE_BASE_IID = { - 0xD910F3E2, - 0xCD14, - 0x547A, - { 0x8E, 0x8C, 0xBF, 0xEC, 0x9F, 0x4C, 0x92, 0x6F } + 0x4B50BE51, + 0x3AF1, + 0x5ED3, + { 0xB2, 0x9F, 0x61, 0xE8, 0x72, 0x8F, 0x05, 0xC9 } }; -#define I_AVN_RANGE_BASE_ABI_VERSION 14 +#define I_AVN_RANGE_BASE_ABI_VERSION 15 struct IAvnRangeBaseVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnRangeBase* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnRangeBase* self); /* slot 1 */ @@ -10355,83 +10523,86 @@ struct IAvnRangeBaseVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnRangeBase* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnRangeBase* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnRangeBase* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnRangeBase* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnRangeBase* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnRangeBase* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnRangeBase* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnRangeBase* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnRangeBase* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnRangeBase* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnRangeBase* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnRangeBase* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnRangeBase* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnRangeBase* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnRangeBase* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnRangeBase* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnRangeBase* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnRangeBase* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnRangeBase* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnRangeBase* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnRangeBase* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnRangeBase* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnRangeBase* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnRangeBase* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnRangeBase* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnRangeBase* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnRangeBase* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnRangeBase* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnRangeBase* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnRangeBase* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnRangeBase* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnRangeBase* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnRangeBase* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnRangeBase* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnRangeBase* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnRangeBase* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnRangeBase* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnRangeBase* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnRangeBase* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnRangeBase* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnRangeBase* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnRangeBase* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnRangeBase* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnRangeBase* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnRangeBase* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnRangeBase* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnRangeBase* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnRangeBase* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnRangeBase* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnRangeBase* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnRangeBase* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnRangeBase* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnRangeBase* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnRangeBase* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnRangeBase* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnRangeBase* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnRangeBase* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_minimum)(IAvnRangeBase* self, double* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_minimum)(IAvnRangeBase* self, double value); /* slot 110 */ - AvnHResult (AVN_CALL *get_maximum)(IAvnRangeBase* self, double* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_maximum)(IAvnRangeBase* self, double value); /* slot 112 */ - AvnHResult (AVN_CALL *get_value)(IAvnRangeBase* self, double* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_value)(IAvnRangeBase* self, double value); /* slot 114 */ - AvnHResult (AVN_CALL *get_small_change)(IAvnRangeBase* self, double* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_small_change)(IAvnRangeBase* self, double value); /* slot 116 */ - AvnHResult (AVN_CALL *get_large_change)(IAvnRangeBase* self, double* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_large_change)(IAvnRangeBase* self, double value); /* slot 118 */ - AvnHResult (AVN_CALL *advise_value_changed)(IAvnRangeBase* self, IAvnRangeBaseValueChangedHandler* handler, int64_t* subscription_id); /* slot 119 */ - AvnHResult (AVN_CALL *unadvise_value_changed)(IAvnRangeBase* self, int64_t subscription_id); /* slot 120 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnRangeBase* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnRangeBase* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnRangeBase* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnRangeBase* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnRangeBase* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnRangeBase* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnRangeBase* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnRangeBase* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnRangeBase* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnRangeBase* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnRangeBase* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnRangeBase* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnRangeBase* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnRangeBase* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnRangeBase* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnRangeBase* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnRangeBase* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnRangeBase* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnRangeBase* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnRangeBase* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnRangeBase* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnRangeBase* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnRangeBase* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnRangeBase* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnRangeBase* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnRangeBase* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnRangeBase* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnRangeBase* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnRangeBase* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnRangeBase* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnRangeBase* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnRangeBase* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnRangeBase* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnRangeBase* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnRangeBase* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnRangeBase* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnRangeBase* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnRangeBase* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnRangeBase* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnRangeBase* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnRangeBase* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnRangeBase* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnRangeBase* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnRangeBase* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnRangeBase* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnRangeBase* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnRangeBase* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnRangeBase* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnRangeBase* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnRangeBase* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnRangeBase* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnRangeBase* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnRangeBase* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnRangeBase* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnRangeBase* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnRangeBase* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnRangeBase* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_minimum)(IAvnRangeBase* self, double* value); /* slot 112 */ + AvnHResult (AVN_CALL *set_minimum)(IAvnRangeBase* self, double value); /* slot 113 */ + AvnHResult (AVN_CALL *get_maximum)(IAvnRangeBase* self, double* value); /* slot 114 */ + AvnHResult (AVN_CALL *set_maximum)(IAvnRangeBase* self, double value); /* slot 115 */ + AvnHResult (AVN_CALL *get_value)(IAvnRangeBase* self, double* value); /* slot 116 */ + AvnHResult (AVN_CALL *set_value)(IAvnRangeBase* self, double value); /* slot 117 */ + AvnHResult (AVN_CALL *get_small_change)(IAvnRangeBase* self, double* value); /* slot 118 */ + AvnHResult (AVN_CALL *set_small_change)(IAvnRangeBase* self, double value); /* slot 119 */ + AvnHResult (AVN_CALL *get_large_change)(IAvnRangeBase* self, double* value); /* slot 120 */ + AvnHResult (AVN_CALL *set_large_change)(IAvnRangeBase* self, double value); /* slot 121 */ + AvnHResult (AVN_CALL *advise_value_changed)(IAvnRangeBase* self, IAvnRangeBaseValueChangedHandler* handler, int64_t* subscription_id); /* slot 122 */ + AvnHResult (AVN_CALL *unadvise_value_changed)(IAvnRangeBase* self, int64_t subscription_id); /* slot 123 */ }; struct IAvnRangeBase { const IAvnRangeBaseVtbl* vtbl; }; -#define I_AVN_RANGE_BASE_VTABLE_SLOTS 121 +#define I_AVN_RANGE_BASE_VTABLE_SLOTS 124 static const AvnGuid I_AVN_RECTANGLE_IID = { - 0x95D3D828, - 0x9CB6, - 0x536E, - { 0x96, 0xD5, 0x2D, 0x5D, 0x67, 0xC3, 0x46, 0x3F } + 0x18F60995, + 0x254F, + 0x5AC8, + { 0x81, 0x01, 0x5D, 0xF9, 0xA4, 0x4E, 0xE4, 0x88 } }; -#define I_AVN_RECTANGLE_ABI_VERSION 10 +#define I_AVN_RECTANGLE_ABI_VERSION 11 struct IAvnRectangleVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnRectangle* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnRectangle* self); /* slot 1 */ @@ -10488,65 +10659,68 @@ struct IAvnRectangleVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnRectangle* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnRectangle* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnRectangle* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnRectangle* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnRectangle* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnRectangle* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnRectangle* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnRectangle* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnRectangle* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnRectangle* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnRectangle* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnRectangle* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnRectangle* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnRectangle* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnRectangle* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnRectangle* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnRectangle* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnRectangle* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnRectangle* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnRectangle* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnRectangle* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnRectangle* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnRectangle* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnRectangle* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnRectangle* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnRectangle* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnRectangle* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnRectangle* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnRectangle* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_fill)(IAvnRectangle* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_fill)(IAvnRectangle* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_stretch)(IAvnRectangle* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_stretch)(IAvnRectangle* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_stroke)(IAvnRectangle* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_stroke)(IAvnRectangle* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_stroke_dash_array)(IAvnRectangle* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_stroke_dash_array)(IAvnRectangle* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_stroke_dash_offset)(IAvnRectangle* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_stroke_dash_offset)(IAvnRectangle* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_stroke_thickness)(IAvnRectangle* self, double* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_stroke_thickness)(IAvnRectangle* self, double value); /* slot 92 */ - AvnHResult (AVN_CALL *get_stroke_line_cap)(IAvnRectangle* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_stroke_line_cap)(IAvnRectangle* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_stroke_join)(IAvnRectangle* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_stroke_join)(IAvnRectangle* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_stroke_miter_limit)(IAvnRectangle* self, double* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_stroke_miter_limit)(IAvnRectangle* self, double value); /* slot 98 */ - AvnHResult (AVN_CALL *get_radius_x)(IAvnRectangle* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_radius_x)(IAvnRectangle* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_radius_y)(IAvnRectangle* self, double* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_radius_y)(IAvnRectangle* self, double value); /* slot 102 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnRectangle* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnRectangle* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnRectangle* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnRectangle* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnRectangle* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnRectangle* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnRectangle* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnRectangle* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnRectangle* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnRectangle* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnRectangle* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnRectangle* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnRectangle* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnRectangle* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnRectangle* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnRectangle* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnRectangle* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnRectangle* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnRectangle* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnRectangle* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnRectangle* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnRectangle* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnRectangle* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnRectangle* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnRectangle* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnRectangle* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnRectangle* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnRectangle* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnRectangle* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_fill)(IAvnRectangle* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_fill)(IAvnRectangle* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_stretch)(IAvnRectangle* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_stretch)(IAvnRectangle* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_stroke)(IAvnRectangle* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_stroke)(IAvnRectangle* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_stroke_dash_array)(IAvnRectangle* self, uint16_t** value); /* slot 90 */ + AvnHResult (AVN_CALL *set_stroke_dash_array)(IAvnRectangle* self, const uint16_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *get_stroke_dash_offset)(IAvnRectangle* self, double* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_stroke_dash_offset)(IAvnRectangle* self, double value); /* slot 93 */ + AvnHResult (AVN_CALL *get_stroke_thickness)(IAvnRectangle* self, double* value); /* slot 94 */ + AvnHResult (AVN_CALL *set_stroke_thickness)(IAvnRectangle* self, double value); /* slot 95 */ + AvnHResult (AVN_CALL *get_stroke_line_cap)(IAvnRectangle* self, int32_t* value); /* slot 96 */ + AvnHResult (AVN_CALL *set_stroke_line_cap)(IAvnRectangle* self, int32_t value); /* slot 97 */ + AvnHResult (AVN_CALL *get_stroke_join)(IAvnRectangle* self, int32_t* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_stroke_join)(IAvnRectangle* self, int32_t value); /* slot 99 */ + AvnHResult (AVN_CALL *get_stroke_miter_limit)(IAvnRectangle* self, double* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_stroke_miter_limit)(IAvnRectangle* self, double value); /* slot 101 */ + AvnHResult (AVN_CALL *get_radius_x)(IAvnRectangle* self, double* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_radius_x)(IAvnRectangle* self, double value); /* slot 103 */ + AvnHResult (AVN_CALL *get_radius_y)(IAvnRectangle* self, double* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_radius_y)(IAvnRectangle* self, double value); /* slot 105 */ }; struct IAvnRectangle { const IAvnRectangleVtbl* vtbl; }; -#define I_AVN_RECTANGLE_VTABLE_SLOTS 103 +#define I_AVN_RECTANGLE_VTABLE_SLOTS 106 static const AvnGuid I_AVN_REFRESH_CONTAINER_IID = { - 0x95707491, - 0x9943, - 0x5B6C, - { 0xBF, 0x2E, 0x1A, 0x68, 0xA7, 0x97, 0xA8, 0x42 } + 0x8A61432D, + 0xC34F, + 0x51D2, + { 0x8A, 0xCC, 0xE3, 0x6D, 0x3D, 0x63, 0x9D, 0xC7 } }; -#define I_AVN_REFRESH_CONTAINER_ABI_VERSION 12 +#define I_AVN_REFRESH_CONTAINER_ABI_VERSION 13 struct IAvnRefreshContainerVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnRefreshContainer* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnRefreshContainer* self); /* slot 1 */ @@ -10603,86 +10777,89 @@ struct IAvnRefreshContainerVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnRefreshContainer* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnRefreshContainer* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnRefreshContainer* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnRefreshContainer* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnRefreshContainer* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnRefreshContainer* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnRefreshContainer* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnRefreshContainer* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnRefreshContainer* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnRefreshContainer* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnRefreshContainer* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnRefreshContainer* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnRefreshContainer* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnRefreshContainer* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnRefreshContainer* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnRefreshContainer* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnRefreshContainer* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnRefreshContainer* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnRefreshContainer* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnRefreshContainer* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnRefreshContainer* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnRefreshContainer* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnRefreshContainer* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnRefreshContainer* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnRefreshContainer* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnRefreshContainer* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnRefreshContainer* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnRefreshContainer* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnRefreshContainer* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnRefreshContainer* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnRefreshContainer* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnRefreshContainer* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnRefreshContainer* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnRefreshContainer* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnRefreshContainer* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnRefreshContainer* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnRefreshContainer* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnRefreshContainer* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnRefreshContainer* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnRefreshContainer* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnRefreshContainer* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnRefreshContainer* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnRefreshContainer* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnRefreshContainer* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnRefreshContainer* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnRefreshContainer* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnRefreshContainer* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnRefreshContainer* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnRefreshContainer* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnRefreshContainer* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnRefreshContainer* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnRefreshContainer* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnRefreshContainer* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnRefreshContainer* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnRefreshContainer* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnRefreshContainer* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnRefreshContainer* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_content)(IAvnRefreshContainer* self, IAvnControl** value); /* slot 109 */ - AvnHResult (AVN_CALL *set_content)(IAvnRefreshContainer* self, IAvnControl* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnRefreshContainer* self, IAvnDataTemplate** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnRefreshContainer* self, IAvnDataTemplate* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnRefreshContainer* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnRefreshContainer* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnRefreshContainer* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnRefreshContainer* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_is_mouse_enabled)(IAvnRefreshContainer* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_is_mouse_enabled)(IAvnRefreshContainer* self, int32_t value); /* slot 118 */ - AvnHResult (AVN_CALL *get_pull_direction)(IAvnRefreshContainer* self, int32_t* value); /* slot 119 */ - AvnHResult (AVN_CALL *set_pull_direction)(IAvnRefreshContainer* self, int32_t value); /* slot 120 */ - AvnHResult (AVN_CALL *request_refresh)(IAvnRefreshContainer* self); /* slot 121 */ - AvnHResult (AVN_CALL *advise_refresh_requested)(IAvnRefreshContainer* self, IAvnRefreshContainerRefreshRequestedHandler* handler, int64_t* subscription_id); /* slot 122 */ - AvnHResult (AVN_CALL *unadvise_refresh_requested)(IAvnRefreshContainer* self, int64_t subscription_id); /* slot 123 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnRefreshContainer* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnRefreshContainer* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnRefreshContainer* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnRefreshContainer* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnRefreshContainer* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnRefreshContainer* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnRefreshContainer* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnRefreshContainer* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnRefreshContainer* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnRefreshContainer* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnRefreshContainer* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnRefreshContainer* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnRefreshContainer* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnRefreshContainer* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnRefreshContainer* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnRefreshContainer* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnRefreshContainer* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnRefreshContainer* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnRefreshContainer* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnRefreshContainer* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnRefreshContainer* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnRefreshContainer* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnRefreshContainer* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnRefreshContainer* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnRefreshContainer* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnRefreshContainer* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnRefreshContainer* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnRefreshContainer* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnRefreshContainer* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnRefreshContainer* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnRefreshContainer* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnRefreshContainer* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnRefreshContainer* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnRefreshContainer* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnRefreshContainer* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnRefreshContainer* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnRefreshContainer* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnRefreshContainer* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnRefreshContainer* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnRefreshContainer* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnRefreshContainer* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnRefreshContainer* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnRefreshContainer* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnRefreshContainer* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnRefreshContainer* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnRefreshContainer* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnRefreshContainer* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnRefreshContainer* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnRefreshContainer* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnRefreshContainer* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnRefreshContainer* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnRefreshContainer* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnRefreshContainer* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnRefreshContainer* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnRefreshContainer* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnRefreshContainer* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnRefreshContainer* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_content)(IAvnRefreshContainer* self, IAvnControl** value); /* slot 112 */ + AvnHResult (AVN_CALL *set_content)(IAvnRefreshContainer* self, IAvnControl* value); /* slot 113 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnRefreshContainer* self, IAvnDataTemplate** value); /* slot 114 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnRefreshContainer* self, IAvnDataTemplate* value); /* slot 115 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnRefreshContainer* self, int32_t* value); /* slot 116 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnRefreshContainer* self, int32_t value); /* slot 117 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnRefreshContainer* self, int32_t* value); /* slot 118 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnRefreshContainer* self, int32_t value); /* slot 119 */ + AvnHResult (AVN_CALL *get_is_mouse_enabled)(IAvnRefreshContainer* self, int32_t* value); /* slot 120 */ + AvnHResult (AVN_CALL *set_is_mouse_enabled)(IAvnRefreshContainer* self, int32_t value); /* slot 121 */ + AvnHResult (AVN_CALL *get_pull_direction)(IAvnRefreshContainer* self, int32_t* value); /* slot 122 */ + AvnHResult (AVN_CALL *set_pull_direction)(IAvnRefreshContainer* self, int32_t value); /* slot 123 */ + AvnHResult (AVN_CALL *request_refresh)(IAvnRefreshContainer* self); /* slot 124 */ + AvnHResult (AVN_CALL *advise_refresh_requested)(IAvnRefreshContainer* self, IAvnRefreshContainerRefreshRequestedHandler* handler, int64_t* subscription_id); /* slot 125 */ + AvnHResult (AVN_CALL *unadvise_refresh_requested)(IAvnRefreshContainer* self, int64_t subscription_id); /* slot 126 */ }; struct IAvnRefreshContainer { const IAvnRefreshContainerVtbl* vtbl; }; -#define I_AVN_REFRESH_CONTAINER_VTABLE_SLOTS 124 +#define I_AVN_REFRESH_CONTAINER_VTABLE_SLOTS 127 static const AvnGuid I_AVN_RELATIVE_PANEL_IID = { - 0xA52468AD, - 0xE31F, - 0x58F2, - { 0x8A, 0x74, 0x1A, 0xB7, 0xE7, 0x3D, 0x66, 0xE6 } + 0x65247A43, + 0x88C6, + 0x51B3, + { 0x91, 0xA5, 0x4D, 0xD6, 0x46, 0x41, 0x01, 0x56 } }; -#define I_AVN_RELATIVE_PANEL_ABI_VERSION 10 +#define I_AVN_RELATIVE_PANEL_ABI_VERSION 11 struct IAvnRelativePanelVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnRelativePanel* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnRelativePanel* self); /* slot 1 */ @@ -10739,46 +10916,49 @@ struct IAvnRelativePanelVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnRelativePanel* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnRelativePanel* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnRelativePanel* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnRelativePanel* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnRelativePanel* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnRelativePanel* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnRelativePanel* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnRelativePanel* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnRelativePanel* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnRelativePanel* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnRelativePanel* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnRelativePanel* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnRelativePanel* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnRelativePanel* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnRelativePanel* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnRelativePanel* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnRelativePanel* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnRelativePanel* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnRelativePanel* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnRelativePanel* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnRelativePanel* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnRelativePanel* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnRelativePanel* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnRelativePanel* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnRelativePanel* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnRelativePanel* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnRelativePanel* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnRelativePanel* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnRelativePanel* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_children)(IAvnRelativePanel* self, IAvnControlList** value); /* slot 81 */ - AvnHResult (AVN_CALL *get_background)(IAvnRelativePanel* self, IAvnBrush** value); /* slot 82 */ - AvnHResult (AVN_CALL *set_background)(IAvnRelativePanel* self, IAvnBrush* value); /* slot 83 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnRelativePanel* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnRelativePanel* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnRelativePanel* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnRelativePanel* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnRelativePanel* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnRelativePanel* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnRelativePanel* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnRelativePanel* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnRelativePanel* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnRelativePanel* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnRelativePanel* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnRelativePanel* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnRelativePanel* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnRelativePanel* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnRelativePanel* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnRelativePanel* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnRelativePanel* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnRelativePanel* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnRelativePanel* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnRelativePanel* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnRelativePanel* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnRelativePanel* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnRelativePanel* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnRelativePanel* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnRelativePanel* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnRelativePanel* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnRelativePanel* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnRelativePanel* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnRelativePanel* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_children)(IAvnRelativePanel* self, IAvnControlList** value); /* slot 84 */ + AvnHResult (AVN_CALL *get_background)(IAvnRelativePanel* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_background)(IAvnRelativePanel* self, IAvnBrush* value); /* slot 86 */ }; struct IAvnRelativePanel { const IAvnRelativePanelVtbl* vtbl; }; -#define I_AVN_RELATIVE_PANEL_VTABLE_SLOTS 84 +#define I_AVN_RELATIVE_PANEL_VTABLE_SLOTS 87 static const AvnGuid I_AVN_REPEAT_BUTTON_IID = { - 0xDF355462, - 0x7926, - 0x5F77, - { 0xB4, 0x63, 0x22, 0xB1, 0x64, 0xC7, 0xA4, 0x02 } + 0x4F04D781, + 0x4A77, + 0x5C93, + { 0x81, 0x2D, 0x3D, 0x1D, 0xFC, 0x10, 0x62, 0x7C } }; -#define I_AVN_REPEAT_BUTTON_ABI_VERSION 13 +#define I_AVN_REPEAT_BUTTON_ABI_VERSION 14 struct IAvnRepeatButtonVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnRepeatButton* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnRepeatButton* self); /* slot 1 */ @@ -10835,100 +11015,103 @@ struct IAvnRepeatButtonVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnRepeatButton* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnRepeatButton* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnRepeatButton* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnRepeatButton* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnRepeatButton* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnRepeatButton* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnRepeatButton* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnRepeatButton* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnRepeatButton* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnRepeatButton* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnRepeatButton* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnRepeatButton* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnRepeatButton* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnRepeatButton* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnRepeatButton* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnRepeatButton* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnRepeatButton* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnRepeatButton* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnRepeatButton* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnRepeatButton* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnRepeatButton* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnRepeatButton* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnRepeatButton* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnRepeatButton* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnRepeatButton* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnRepeatButton* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnRepeatButton* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnRepeatButton* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnRepeatButton* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnRepeatButton* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnRepeatButton* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnRepeatButton* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnRepeatButton* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnRepeatButton* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnRepeatButton* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnRepeatButton* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnRepeatButton* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnRepeatButton* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnRepeatButton* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnRepeatButton* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnRepeatButton* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnRepeatButton* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnRepeatButton* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnRepeatButton* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnRepeatButton* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnRepeatButton* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnRepeatButton* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnRepeatButton* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnRepeatButton* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnRepeatButton* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnRepeatButton* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnRepeatButton* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnRepeatButton* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnRepeatButton* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnRepeatButton* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnRepeatButton* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnRepeatButton* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_content)(IAvnRepeatButton* self, IAvnControl** value); /* slot 109 */ - AvnHResult (AVN_CALL *set_content)(IAvnRepeatButton* self, IAvnControl* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnRepeatButton* self, IAvnDataTemplate** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnRepeatButton* self, IAvnDataTemplate* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnRepeatButton* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnRepeatButton* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnRepeatButton* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnRepeatButton* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_click_mode)(IAvnRepeatButton* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_click_mode)(IAvnRepeatButton* self, int32_t value); /* slot 118 */ - AvnHResult (AVN_CALL *get_command)(IAvnRepeatButton* self, IAvnCommand** value); /* slot 119 */ - AvnHResult (AVN_CALL *set_command)(IAvnRepeatButton* self, IAvnCommand* value); /* slot 120 */ - AvnHResult (AVN_CALL *get_hot_key)(IAvnRepeatButton* self, uint16_t** value); /* slot 121 */ - AvnHResult (AVN_CALL *set_hot_key)(IAvnRepeatButton* self, const uint16_t* value); /* slot 122 */ - AvnHResult (AVN_CALL *get_command_parameter)(IAvnRepeatButton* self, AvnVariant* value); /* slot 123 */ - AvnHResult (AVN_CALL *set_command_parameter)(IAvnRepeatButton* self, AvnVariant value); /* slot 124 */ - AvnHResult (AVN_CALL *get_is_default)(IAvnRepeatButton* self, int32_t* value); /* slot 125 */ - AvnHResult (AVN_CALL *set_is_default)(IAvnRepeatButton* self, int32_t value); /* slot 126 */ - AvnHResult (AVN_CALL *get_is_cancel)(IAvnRepeatButton* self, int32_t* value); /* slot 127 */ - AvnHResult (AVN_CALL *set_is_cancel)(IAvnRepeatButton* self, int32_t value); /* slot 128 */ - AvnHResult (AVN_CALL *get_is_pressed)(IAvnRepeatButton* self, int32_t* value); /* slot 129 */ - AvnHResult (AVN_CALL *get_flyout)(IAvnRepeatButton* self, IAvnFlyoutBase** value); /* slot 130 */ - AvnHResult (AVN_CALL *set_flyout)(IAvnRepeatButton* self, IAvnFlyoutBase* value); /* slot 131 */ - AvnHResult (AVN_CALL *advise_click)(IAvnRepeatButton* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 132 */ - AvnHResult (AVN_CALL *unadvise_click)(IAvnRepeatButton* self, int64_t subscription_id); /* slot 133 */ - AvnHResult (AVN_CALL *get_interval)(IAvnRepeatButton* self, int32_t* value); /* slot 134 */ - AvnHResult (AVN_CALL *set_interval)(IAvnRepeatButton* self, int32_t value); /* slot 135 */ - AvnHResult (AVN_CALL *get_delay)(IAvnRepeatButton* self, int32_t* value); /* slot 136 */ - AvnHResult (AVN_CALL *set_delay)(IAvnRepeatButton* self, int32_t value); /* slot 137 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnRepeatButton* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnRepeatButton* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnRepeatButton* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnRepeatButton* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnRepeatButton* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnRepeatButton* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnRepeatButton* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnRepeatButton* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnRepeatButton* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnRepeatButton* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnRepeatButton* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnRepeatButton* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnRepeatButton* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnRepeatButton* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnRepeatButton* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnRepeatButton* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnRepeatButton* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnRepeatButton* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnRepeatButton* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnRepeatButton* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnRepeatButton* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnRepeatButton* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnRepeatButton* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnRepeatButton* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnRepeatButton* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnRepeatButton* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnRepeatButton* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnRepeatButton* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnRepeatButton* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnRepeatButton* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnRepeatButton* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnRepeatButton* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnRepeatButton* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnRepeatButton* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnRepeatButton* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnRepeatButton* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnRepeatButton* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnRepeatButton* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnRepeatButton* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnRepeatButton* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnRepeatButton* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnRepeatButton* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnRepeatButton* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnRepeatButton* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnRepeatButton* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnRepeatButton* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnRepeatButton* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnRepeatButton* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnRepeatButton* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnRepeatButton* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnRepeatButton* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnRepeatButton* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnRepeatButton* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnRepeatButton* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnRepeatButton* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnRepeatButton* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnRepeatButton* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_content)(IAvnRepeatButton* self, IAvnControl** value); /* slot 112 */ + AvnHResult (AVN_CALL *set_content)(IAvnRepeatButton* self, IAvnControl* value); /* slot 113 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnRepeatButton* self, IAvnDataTemplate** value); /* slot 114 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnRepeatButton* self, IAvnDataTemplate* value); /* slot 115 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnRepeatButton* self, int32_t* value); /* slot 116 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnRepeatButton* self, int32_t value); /* slot 117 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnRepeatButton* self, int32_t* value); /* slot 118 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnRepeatButton* self, int32_t value); /* slot 119 */ + AvnHResult (AVN_CALL *get_click_mode)(IAvnRepeatButton* self, int32_t* value); /* slot 120 */ + AvnHResult (AVN_CALL *set_click_mode)(IAvnRepeatButton* self, int32_t value); /* slot 121 */ + AvnHResult (AVN_CALL *get_command)(IAvnRepeatButton* self, IAvnCommand** value); /* slot 122 */ + AvnHResult (AVN_CALL *set_command)(IAvnRepeatButton* self, IAvnCommand* value); /* slot 123 */ + AvnHResult (AVN_CALL *get_hot_key)(IAvnRepeatButton* self, uint16_t** value); /* slot 124 */ + AvnHResult (AVN_CALL *set_hot_key)(IAvnRepeatButton* self, const uint16_t* value); /* slot 125 */ + AvnHResult (AVN_CALL *get_command_parameter)(IAvnRepeatButton* self, AvnVariant* value); /* slot 126 */ + AvnHResult (AVN_CALL *set_command_parameter)(IAvnRepeatButton* self, AvnVariant value); /* slot 127 */ + AvnHResult (AVN_CALL *get_is_default)(IAvnRepeatButton* self, int32_t* value); /* slot 128 */ + AvnHResult (AVN_CALL *set_is_default)(IAvnRepeatButton* self, int32_t value); /* slot 129 */ + AvnHResult (AVN_CALL *get_is_cancel)(IAvnRepeatButton* self, int32_t* value); /* slot 130 */ + AvnHResult (AVN_CALL *set_is_cancel)(IAvnRepeatButton* self, int32_t value); /* slot 131 */ + AvnHResult (AVN_CALL *get_is_pressed)(IAvnRepeatButton* self, int32_t* value); /* slot 132 */ + AvnHResult (AVN_CALL *get_flyout)(IAvnRepeatButton* self, IAvnFlyoutBase** value); /* slot 133 */ + AvnHResult (AVN_CALL *set_flyout)(IAvnRepeatButton* self, IAvnFlyoutBase* value); /* slot 134 */ + AvnHResult (AVN_CALL *advise_click)(IAvnRepeatButton* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 135 */ + AvnHResult (AVN_CALL *unadvise_click)(IAvnRepeatButton* self, int64_t subscription_id); /* slot 136 */ + AvnHResult (AVN_CALL *get_interval)(IAvnRepeatButton* self, int32_t* value); /* slot 137 */ + AvnHResult (AVN_CALL *set_interval)(IAvnRepeatButton* self, int32_t value); /* slot 138 */ + AvnHResult (AVN_CALL *get_delay)(IAvnRepeatButton* self, int32_t* value); /* slot 139 */ + AvnHResult (AVN_CALL *set_delay)(IAvnRepeatButton* self, int32_t value); /* slot 140 */ }; struct IAvnRepeatButton { const IAvnRepeatButtonVtbl* vtbl; }; -#define I_AVN_REPEAT_BUTTON_VTABLE_SLOTS 138 +#define I_AVN_REPEAT_BUTTON_VTABLE_SLOTS 141 static const AvnGuid I_AVN_SCROLL_VIEWER_IID = { - 0x4CCB656E, - 0x34E8, - 0x5621, - { 0xAF, 0x96, 0x1C, 0x2A, 0xF4, 0xF1, 0xDA, 0xAE } + 0x1D6C37FA, + 0x326B, + 0x57A1, + { 0xA0, 0x84, 0x77, 0x90, 0xE0, 0xCE, 0x29, 0x73 } }; -#define I_AVN_SCROLL_VIEWER_ABI_VERSION 17 +#define I_AVN_SCROLL_VIEWER_ABI_VERSION 18 struct IAvnScrollViewerVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnScrollViewer* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnScrollViewer* self); /* slot 1 */ @@ -10985,124 +11168,127 @@ struct IAvnScrollViewerVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnScrollViewer* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnScrollViewer* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnScrollViewer* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnScrollViewer* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnScrollViewer* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnScrollViewer* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnScrollViewer* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnScrollViewer* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnScrollViewer* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnScrollViewer* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnScrollViewer* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnScrollViewer* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnScrollViewer* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnScrollViewer* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnScrollViewer* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnScrollViewer* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnScrollViewer* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnScrollViewer* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnScrollViewer* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnScrollViewer* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnScrollViewer* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnScrollViewer* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnScrollViewer* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnScrollViewer* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnScrollViewer* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnScrollViewer* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnScrollViewer* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnScrollViewer* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnScrollViewer* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnScrollViewer* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnScrollViewer* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnScrollViewer* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnScrollViewer* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnScrollViewer* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnScrollViewer* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnScrollViewer* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnScrollViewer* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnScrollViewer* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnScrollViewer* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnScrollViewer* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnScrollViewer* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnScrollViewer* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnScrollViewer* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnScrollViewer* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnScrollViewer* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnScrollViewer* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnScrollViewer* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnScrollViewer* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnScrollViewer* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnScrollViewer* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnScrollViewer* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnScrollViewer* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnScrollViewer* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnScrollViewer* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnScrollViewer* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnScrollViewer* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnScrollViewer* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_content)(IAvnScrollViewer* self, IAvnControl** value); /* slot 109 */ - AvnHResult (AVN_CALL *set_content)(IAvnScrollViewer* self, IAvnControl* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnScrollViewer* self, IAvnDataTemplate** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnScrollViewer* self, IAvnDataTemplate* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnScrollViewer* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnScrollViewer* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnScrollViewer* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnScrollViewer* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_bring_into_view_on_focus_change)(IAvnScrollViewer* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_bring_into_view_on_focus_change)(IAvnScrollViewer* self, int32_t value); /* slot 118 */ - AvnHResult (AVN_CALL *get_extent)(IAvnScrollViewer* self, AvnSize* value); /* slot 119 */ - AvnHResult (AVN_CALL *get_offset)(IAvnScrollViewer* self, AvnVector* value); /* slot 120 */ - AvnHResult (AVN_CALL *set_offset)(IAvnScrollViewer* self, AvnVector value); /* slot 121 */ - AvnHResult (AVN_CALL *get_viewport)(IAvnScrollViewer* self, AvnSize* value); /* slot 122 */ - AvnHResult (AVN_CALL *get_large_change)(IAvnScrollViewer* self, AvnSize* value); /* slot 123 */ - AvnHResult (AVN_CALL *get_small_change)(IAvnScrollViewer* self, AvnSize* value); /* slot 124 */ - AvnHResult (AVN_CALL *get_horizontal_scroll_bar_visibility)(IAvnScrollViewer* self, int32_t* value); /* slot 125 */ - AvnHResult (AVN_CALL *set_horizontal_scroll_bar_visibility)(IAvnScrollViewer* self, int32_t value); /* slot 126 */ - AvnHResult (AVN_CALL *get_vertical_scroll_bar_visibility)(IAvnScrollViewer* self, int32_t* value); /* slot 127 */ - AvnHResult (AVN_CALL *set_vertical_scroll_bar_visibility)(IAvnScrollViewer* self, int32_t value); /* slot 128 */ - AvnHResult (AVN_CALL *get_current_anchor)(IAvnScrollViewer* self, IAvnControl** value); /* slot 129 */ - AvnHResult (AVN_CALL *get_scroll_bar_maximum)(IAvnScrollViewer* self, AvnVector* value); /* slot 130 */ - AvnHResult (AVN_CALL *get_is_expanded)(IAvnScrollViewer* self, int32_t* value); /* slot 131 */ - AvnHResult (AVN_CALL *get_horizontal_snap_points_type)(IAvnScrollViewer* self, int32_t* value); /* slot 132 */ - AvnHResult (AVN_CALL *set_horizontal_snap_points_type)(IAvnScrollViewer* self, int32_t value); /* slot 133 */ - AvnHResult (AVN_CALL *get_vertical_snap_points_type)(IAvnScrollViewer* self, int32_t* value); /* slot 134 */ - AvnHResult (AVN_CALL *set_vertical_snap_points_type)(IAvnScrollViewer* self, int32_t value); /* slot 135 */ - AvnHResult (AVN_CALL *get_horizontal_snap_points_alignment)(IAvnScrollViewer* self, int32_t* value); /* slot 136 */ - AvnHResult (AVN_CALL *set_horizontal_snap_points_alignment)(IAvnScrollViewer* self, int32_t value); /* slot 137 */ - AvnHResult (AVN_CALL *get_vertical_snap_points_alignment)(IAvnScrollViewer* self, int32_t* value); /* slot 138 */ - AvnHResult (AVN_CALL *set_vertical_snap_points_alignment)(IAvnScrollViewer* self, int32_t value); /* slot 139 */ - AvnHResult (AVN_CALL *get_allow_auto_hide)(IAvnScrollViewer* self, int32_t* value); /* slot 140 */ - AvnHResult (AVN_CALL *set_allow_auto_hide)(IAvnScrollViewer* self, int32_t value); /* slot 141 */ - AvnHResult (AVN_CALL *get_is_scroll_chaining_enabled)(IAvnScrollViewer* self, int32_t* value); /* slot 142 */ - AvnHResult (AVN_CALL *set_is_scroll_chaining_enabled)(IAvnScrollViewer* self, int32_t value); /* slot 143 */ - AvnHResult (AVN_CALL *get_is_scroll_inertia_enabled)(IAvnScrollViewer* self, int32_t* value); /* slot 144 */ - AvnHResult (AVN_CALL *set_is_scroll_inertia_enabled)(IAvnScrollViewer* self, int32_t value); /* slot 145 */ - AvnHResult (AVN_CALL *get_is_deferred_scrolling_enabled)(IAvnScrollViewer* self, int32_t* value); /* slot 146 */ - AvnHResult (AVN_CALL *set_is_deferred_scrolling_enabled)(IAvnScrollViewer* self, int32_t value); /* slot 147 */ - AvnHResult (AVN_CALL *line_up)(IAvnScrollViewer* self); /* slot 148 */ - AvnHResult (AVN_CALL *line_down)(IAvnScrollViewer* self); /* slot 149 */ - AvnHResult (AVN_CALL *line_left)(IAvnScrollViewer* self); /* slot 150 */ - AvnHResult (AVN_CALL *line_right)(IAvnScrollViewer* self); /* slot 151 */ - AvnHResult (AVN_CALL *page_up)(IAvnScrollViewer* self); /* slot 152 */ - AvnHResult (AVN_CALL *page_down)(IAvnScrollViewer* self); /* slot 153 */ - AvnHResult (AVN_CALL *page_left)(IAvnScrollViewer* self); /* slot 154 */ - AvnHResult (AVN_CALL *page_right)(IAvnScrollViewer* self); /* slot 155 */ - AvnHResult (AVN_CALL *scroll_to_home)(IAvnScrollViewer* self); /* slot 156 */ - AvnHResult (AVN_CALL *scroll_to_end)(IAvnScrollViewer* self); /* slot 157 */ - AvnHResult (AVN_CALL *register_anchor_candidate_with_control)(IAvnScrollViewer* self, IAvnControl* element); /* slot 158 */ - AvnHResult (AVN_CALL *unregister_anchor_candidate_with_control)(IAvnScrollViewer* self, IAvnControl* element); /* slot 159 */ - AvnHResult (AVN_CALL *advise_scroll_changed)(IAvnScrollViewer* self, IAvnScrollViewerScrollChangedHandler* handler, int64_t* subscription_id); /* slot 160 */ - AvnHResult (AVN_CALL *unadvise_scroll_changed)(IAvnScrollViewer* self, int64_t subscription_id); /* slot 161 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnScrollViewer* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnScrollViewer* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnScrollViewer* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnScrollViewer* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnScrollViewer* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnScrollViewer* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnScrollViewer* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnScrollViewer* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnScrollViewer* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnScrollViewer* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnScrollViewer* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnScrollViewer* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnScrollViewer* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnScrollViewer* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnScrollViewer* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnScrollViewer* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnScrollViewer* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnScrollViewer* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnScrollViewer* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnScrollViewer* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnScrollViewer* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnScrollViewer* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnScrollViewer* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnScrollViewer* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnScrollViewer* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnScrollViewer* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnScrollViewer* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnScrollViewer* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnScrollViewer* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnScrollViewer* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnScrollViewer* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnScrollViewer* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnScrollViewer* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnScrollViewer* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnScrollViewer* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnScrollViewer* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnScrollViewer* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnScrollViewer* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnScrollViewer* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnScrollViewer* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnScrollViewer* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnScrollViewer* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnScrollViewer* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnScrollViewer* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnScrollViewer* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnScrollViewer* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnScrollViewer* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnScrollViewer* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnScrollViewer* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnScrollViewer* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnScrollViewer* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnScrollViewer* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnScrollViewer* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnScrollViewer* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnScrollViewer* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnScrollViewer* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnScrollViewer* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_content)(IAvnScrollViewer* self, IAvnControl** value); /* slot 112 */ + AvnHResult (AVN_CALL *set_content)(IAvnScrollViewer* self, IAvnControl* value); /* slot 113 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnScrollViewer* self, IAvnDataTemplate** value); /* slot 114 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnScrollViewer* self, IAvnDataTemplate* value); /* slot 115 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnScrollViewer* self, int32_t* value); /* slot 116 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnScrollViewer* self, int32_t value); /* slot 117 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnScrollViewer* self, int32_t* value); /* slot 118 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnScrollViewer* self, int32_t value); /* slot 119 */ + AvnHResult (AVN_CALL *get_bring_into_view_on_focus_change)(IAvnScrollViewer* self, int32_t* value); /* slot 120 */ + AvnHResult (AVN_CALL *set_bring_into_view_on_focus_change)(IAvnScrollViewer* self, int32_t value); /* slot 121 */ + AvnHResult (AVN_CALL *get_extent)(IAvnScrollViewer* self, AvnSize* value); /* slot 122 */ + AvnHResult (AVN_CALL *get_offset)(IAvnScrollViewer* self, AvnVector* value); /* slot 123 */ + AvnHResult (AVN_CALL *set_offset)(IAvnScrollViewer* self, AvnVector value); /* slot 124 */ + AvnHResult (AVN_CALL *get_viewport)(IAvnScrollViewer* self, AvnSize* value); /* slot 125 */ + AvnHResult (AVN_CALL *get_large_change)(IAvnScrollViewer* self, AvnSize* value); /* slot 126 */ + AvnHResult (AVN_CALL *get_small_change)(IAvnScrollViewer* self, AvnSize* value); /* slot 127 */ + AvnHResult (AVN_CALL *get_horizontal_scroll_bar_visibility)(IAvnScrollViewer* self, int32_t* value); /* slot 128 */ + AvnHResult (AVN_CALL *set_horizontal_scroll_bar_visibility)(IAvnScrollViewer* self, int32_t value); /* slot 129 */ + AvnHResult (AVN_CALL *get_vertical_scroll_bar_visibility)(IAvnScrollViewer* self, int32_t* value); /* slot 130 */ + AvnHResult (AVN_CALL *set_vertical_scroll_bar_visibility)(IAvnScrollViewer* self, int32_t value); /* slot 131 */ + AvnHResult (AVN_CALL *get_current_anchor)(IAvnScrollViewer* self, IAvnControl** value); /* slot 132 */ + AvnHResult (AVN_CALL *get_scroll_bar_maximum)(IAvnScrollViewer* self, AvnVector* value); /* slot 133 */ + AvnHResult (AVN_CALL *get_is_expanded)(IAvnScrollViewer* self, int32_t* value); /* slot 134 */ + AvnHResult (AVN_CALL *get_horizontal_snap_points_type)(IAvnScrollViewer* self, int32_t* value); /* slot 135 */ + AvnHResult (AVN_CALL *set_horizontal_snap_points_type)(IAvnScrollViewer* self, int32_t value); /* slot 136 */ + AvnHResult (AVN_CALL *get_vertical_snap_points_type)(IAvnScrollViewer* self, int32_t* value); /* slot 137 */ + AvnHResult (AVN_CALL *set_vertical_snap_points_type)(IAvnScrollViewer* self, int32_t value); /* slot 138 */ + AvnHResult (AVN_CALL *get_horizontal_snap_points_alignment)(IAvnScrollViewer* self, int32_t* value); /* slot 139 */ + AvnHResult (AVN_CALL *set_horizontal_snap_points_alignment)(IAvnScrollViewer* self, int32_t value); /* slot 140 */ + AvnHResult (AVN_CALL *get_vertical_snap_points_alignment)(IAvnScrollViewer* self, int32_t* value); /* slot 141 */ + AvnHResult (AVN_CALL *set_vertical_snap_points_alignment)(IAvnScrollViewer* self, int32_t value); /* slot 142 */ + AvnHResult (AVN_CALL *get_allow_auto_hide)(IAvnScrollViewer* self, int32_t* value); /* slot 143 */ + AvnHResult (AVN_CALL *set_allow_auto_hide)(IAvnScrollViewer* self, int32_t value); /* slot 144 */ + AvnHResult (AVN_CALL *get_is_scroll_chaining_enabled)(IAvnScrollViewer* self, int32_t* value); /* slot 145 */ + AvnHResult (AVN_CALL *set_is_scroll_chaining_enabled)(IAvnScrollViewer* self, int32_t value); /* slot 146 */ + AvnHResult (AVN_CALL *get_is_scroll_inertia_enabled)(IAvnScrollViewer* self, int32_t* value); /* slot 147 */ + AvnHResult (AVN_CALL *set_is_scroll_inertia_enabled)(IAvnScrollViewer* self, int32_t value); /* slot 148 */ + AvnHResult (AVN_CALL *get_is_deferred_scrolling_enabled)(IAvnScrollViewer* self, int32_t* value); /* slot 149 */ + AvnHResult (AVN_CALL *set_is_deferred_scrolling_enabled)(IAvnScrollViewer* self, int32_t value); /* slot 150 */ + AvnHResult (AVN_CALL *line_up)(IAvnScrollViewer* self); /* slot 151 */ + AvnHResult (AVN_CALL *line_down)(IAvnScrollViewer* self); /* slot 152 */ + AvnHResult (AVN_CALL *line_left)(IAvnScrollViewer* self); /* slot 153 */ + AvnHResult (AVN_CALL *line_right)(IAvnScrollViewer* self); /* slot 154 */ + AvnHResult (AVN_CALL *page_up)(IAvnScrollViewer* self); /* slot 155 */ + AvnHResult (AVN_CALL *page_down)(IAvnScrollViewer* self); /* slot 156 */ + AvnHResult (AVN_CALL *page_left)(IAvnScrollViewer* self); /* slot 157 */ + AvnHResult (AVN_CALL *page_right)(IAvnScrollViewer* self); /* slot 158 */ + AvnHResult (AVN_CALL *scroll_to_home)(IAvnScrollViewer* self); /* slot 159 */ + AvnHResult (AVN_CALL *scroll_to_end)(IAvnScrollViewer* self); /* slot 160 */ + AvnHResult (AVN_CALL *register_anchor_candidate_with_control)(IAvnScrollViewer* self, IAvnControl* element); /* slot 161 */ + AvnHResult (AVN_CALL *unregister_anchor_candidate_with_control)(IAvnScrollViewer* self, IAvnControl* element); /* slot 162 */ + AvnHResult (AVN_CALL *advise_scroll_changed)(IAvnScrollViewer* self, IAvnScrollViewerScrollChangedHandler* handler, int64_t* subscription_id); /* slot 163 */ + AvnHResult (AVN_CALL *unadvise_scroll_changed)(IAvnScrollViewer* self, int64_t subscription_id); /* slot 164 */ }; struct IAvnScrollViewer { const IAvnScrollViewerVtbl* vtbl; }; -#define I_AVN_SCROLL_VIEWER_VTABLE_SLOTS 162 +#define I_AVN_SCROLL_VIEWER_VTABLE_SLOTS 165 static const AvnGuid I_AVN_SECTOR_IID = { - 0xA6E3E187, - 0x67DD, - 0x5603, - { 0x93, 0xD8, 0x74, 0x31, 0xB6, 0x44, 0x9C, 0xD7 } + 0xB5A66A03, + 0x1739, + 0x5B83, + { 0xB5, 0xBB, 0x74, 0x8E, 0x76, 0xAF, 0x1B, 0x27 } }; -#define I_AVN_SECTOR_ABI_VERSION 10 +#define I_AVN_SECTOR_ABI_VERSION 11 struct IAvnSectorVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnSector* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnSector* self); /* slot 1 */ @@ -11159,65 +11345,68 @@ struct IAvnSectorVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnSector* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnSector* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnSector* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnSector* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnSector* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnSector* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnSector* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnSector* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnSector* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnSector* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnSector* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnSector* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnSector* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnSector* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnSector* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnSector* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnSector* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnSector* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnSector* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnSector* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnSector* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnSector* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnSector* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnSector* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnSector* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnSector* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnSector* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnSector* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnSector* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_fill)(IAvnSector* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_fill)(IAvnSector* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_stretch)(IAvnSector* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_stretch)(IAvnSector* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_stroke)(IAvnSector* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_stroke)(IAvnSector* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_stroke_dash_array)(IAvnSector* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_stroke_dash_array)(IAvnSector* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_stroke_dash_offset)(IAvnSector* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_stroke_dash_offset)(IAvnSector* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_stroke_thickness)(IAvnSector* self, double* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_stroke_thickness)(IAvnSector* self, double value); /* slot 92 */ - AvnHResult (AVN_CALL *get_stroke_line_cap)(IAvnSector* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_stroke_line_cap)(IAvnSector* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_stroke_join)(IAvnSector* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_stroke_join)(IAvnSector* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_stroke_miter_limit)(IAvnSector* self, double* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_stroke_miter_limit)(IAvnSector* self, double value); /* slot 98 */ - AvnHResult (AVN_CALL *get_start_angle)(IAvnSector* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_start_angle)(IAvnSector* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_sweep_angle)(IAvnSector* self, double* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_sweep_angle)(IAvnSector* self, double value); /* slot 102 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnSector* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnSector* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnSector* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnSector* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnSector* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnSector* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnSector* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnSector* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnSector* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnSector* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnSector* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnSector* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnSector* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnSector* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnSector* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnSector* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnSector* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnSector* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnSector* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnSector* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnSector* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnSector* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnSector* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnSector* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnSector* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnSector* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnSector* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnSector* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnSector* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_fill)(IAvnSector* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_fill)(IAvnSector* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_stretch)(IAvnSector* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_stretch)(IAvnSector* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_stroke)(IAvnSector* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_stroke)(IAvnSector* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_stroke_dash_array)(IAvnSector* self, uint16_t** value); /* slot 90 */ + AvnHResult (AVN_CALL *set_stroke_dash_array)(IAvnSector* self, const uint16_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *get_stroke_dash_offset)(IAvnSector* self, double* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_stroke_dash_offset)(IAvnSector* self, double value); /* slot 93 */ + AvnHResult (AVN_CALL *get_stroke_thickness)(IAvnSector* self, double* value); /* slot 94 */ + AvnHResult (AVN_CALL *set_stroke_thickness)(IAvnSector* self, double value); /* slot 95 */ + AvnHResult (AVN_CALL *get_stroke_line_cap)(IAvnSector* self, int32_t* value); /* slot 96 */ + AvnHResult (AVN_CALL *set_stroke_line_cap)(IAvnSector* self, int32_t value); /* slot 97 */ + AvnHResult (AVN_CALL *get_stroke_join)(IAvnSector* self, int32_t* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_stroke_join)(IAvnSector* self, int32_t value); /* slot 99 */ + AvnHResult (AVN_CALL *get_stroke_miter_limit)(IAvnSector* self, double* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_stroke_miter_limit)(IAvnSector* self, double value); /* slot 101 */ + AvnHResult (AVN_CALL *get_start_angle)(IAvnSector* self, double* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_start_angle)(IAvnSector* self, double value); /* slot 103 */ + AvnHResult (AVN_CALL *get_sweep_angle)(IAvnSector* self, double* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_sweep_angle)(IAvnSector* self, double value); /* slot 105 */ }; struct IAvnSector { const IAvnSectorVtbl* vtbl; }; -#define I_AVN_SECTOR_VTABLE_SLOTS 103 +#define I_AVN_SECTOR_VTABLE_SLOTS 106 static const AvnGuid I_AVN_SELECTABLE_TEXT_BLOCK_IID = { - 0x8E36E51E, - 0x30AC, - 0x563D, - { 0xA2, 0xD7, 0x79, 0x33, 0x5F, 0x5F, 0xAD, 0x8C } + 0x11DADAD8, + 0x19AB, + 0x5C0C, + { 0x96, 0x14, 0x00, 0xDD, 0x41, 0x25, 0x70, 0xF8 } }; -#define I_AVN_SELECTABLE_TEXT_BLOCK_ABI_VERSION 13 +#define I_AVN_SELECTABLE_TEXT_BLOCK_ABI_VERSION 14 struct IAvnSelectableTextBlockVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnSelectableTextBlock* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnSelectableTextBlock* self); /* slot 1 */ @@ -11274,94 +11463,97 @@ struct IAvnSelectableTextBlockVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnSelectableTextBlock* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnSelectableTextBlock* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnSelectableTextBlock* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnSelectableTextBlock* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnSelectableTextBlock* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnSelectableTextBlock* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnSelectableTextBlock* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnSelectableTextBlock* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnSelectableTextBlock* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnSelectableTextBlock* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnSelectableTextBlock* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnSelectableTextBlock* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnSelectableTextBlock* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnSelectableTextBlock* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnSelectableTextBlock* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnSelectableTextBlock* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnSelectableTextBlock* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnSelectableTextBlock* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnSelectableTextBlock* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnSelectableTextBlock* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnSelectableTextBlock* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnSelectableTextBlock* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnSelectableTextBlock* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnSelectableTextBlock* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnSelectableTextBlock* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnSelectableTextBlock* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnSelectableTextBlock* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_padding)(IAvnSelectableTextBlock* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_padding)(IAvnSelectableTextBlock* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background)(IAvnSelectableTextBlock* self, IAvnBrush** value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background)(IAvnSelectableTextBlock* self, IAvnBrush* value); /* slot 84 */ - AvnHResult (AVN_CALL *get_text)(IAvnSelectableTextBlock* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_text)(IAvnSelectableTextBlock* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnSelectableTextBlock* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnSelectableTextBlock* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnSelectableTextBlock* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnSelectableTextBlock* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnSelectableTextBlock* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnSelectableTextBlock* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnSelectableTextBlock* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnSelectableTextBlock* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnSelectableTextBlock* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_line_height)(IAvnSelectableTextBlock* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_line_height)(IAvnSelectableTextBlock* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_line_spacing)(IAvnSelectableTextBlock* self, double* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_line_spacing)(IAvnSelectableTextBlock* self, double value); /* slot 102 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnSelectableTextBlock* self, double* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnSelectableTextBlock* self, double value); /* slot 104 */ - AvnHResult (AVN_CALL *get_max_lines)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_max_lines)(IAvnSelectableTextBlock* self, int32_t value); /* slot 106 */ - AvnHResult (AVN_CALL *get_text_wrapping)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_text_wrapping)(IAvnSelectableTextBlock* self, int32_t value); /* slot 108 */ - AvnHResult (AVN_CALL *get_text_trimming)(IAvnSelectableTextBlock* self, uint16_t** value); /* slot 109 */ - AvnHResult (AVN_CALL *set_text_trimming)(IAvnSelectableTextBlock* self, const uint16_t* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_text_alignment)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_text_alignment)(IAvnSelectableTextBlock* self, int32_t value); /* slot 112 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnSelectableTextBlock* self, uint16_t** value); /* slot 113 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnSelectableTextBlock* self, const uint16_t* value); /* slot 114 */ - AvnHResult (AVN_CALL *get_baseline_offset)(IAvnSelectableTextBlock* self, double* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_baseline_offset)(IAvnSelectableTextBlock* self, double value); /* slot 116 */ - AvnHResult (AVN_CALL *get_selection_brush)(IAvnSelectableTextBlock* self, IAvnBrush** value); /* slot 117 */ - AvnHResult (AVN_CALL *set_selection_brush)(IAvnSelectableTextBlock* self, IAvnBrush* value); /* slot 118 */ - AvnHResult (AVN_CALL *get_selection_foreground_brush)(IAvnSelectableTextBlock* self, IAvnBrush** value); /* slot 119 */ - AvnHResult (AVN_CALL *set_selection_foreground_brush)(IAvnSelectableTextBlock* self, IAvnBrush* value); /* slot 120 */ - AvnHResult (AVN_CALL *get_selection_start)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 121 */ - AvnHResult (AVN_CALL *set_selection_start)(IAvnSelectableTextBlock* self, int32_t value); /* slot 122 */ - AvnHResult (AVN_CALL *get_selection_end)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *set_selection_end)(IAvnSelectableTextBlock* self, int32_t value); /* slot 124 */ - AvnHResult (AVN_CALL *get_selected_text)(IAvnSelectableTextBlock* self, uint16_t** value); /* slot 125 */ - AvnHResult (AVN_CALL *get_can_copy)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 126 */ - AvnHResult (AVN_CALL *copy)(IAvnSelectableTextBlock* self); /* slot 127 */ - AvnHResult (AVN_CALL *select_all)(IAvnSelectableTextBlock* self); /* slot 128 */ - AvnHResult (AVN_CALL *clear_selection)(IAvnSelectableTextBlock* self); /* slot 129 */ - AvnHResult (AVN_CALL *advise_copying_to_clipboard)(IAvnSelectableTextBlock* self, IAvnSelectableTextBlockCopyingToClipboardHandler* handler, int64_t* subscription_id); /* slot 130 */ - AvnHResult (AVN_CALL *unadvise_copying_to_clipboard)(IAvnSelectableTextBlock* self, int64_t subscription_id); /* slot 131 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnSelectableTextBlock* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnSelectableTextBlock* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnSelectableTextBlock* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnSelectableTextBlock* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnSelectableTextBlock* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnSelectableTextBlock* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnSelectableTextBlock* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnSelectableTextBlock* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnSelectableTextBlock* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnSelectableTextBlock* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnSelectableTextBlock* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnSelectableTextBlock* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnSelectableTextBlock* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnSelectableTextBlock* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnSelectableTextBlock* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnSelectableTextBlock* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnSelectableTextBlock* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnSelectableTextBlock* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnSelectableTextBlock* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnSelectableTextBlock* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnSelectableTextBlock* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnSelectableTextBlock* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnSelectableTextBlock* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnSelectableTextBlock* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnSelectableTextBlock* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnSelectableTextBlock* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnSelectableTextBlock* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_padding)(IAvnSelectableTextBlock* self, AvnThickness* value); /* slot 84 */ + AvnHResult (AVN_CALL *set_padding)(IAvnSelectableTextBlock* self, AvnThickness value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background)(IAvnSelectableTextBlock* self, IAvnBrush** value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background)(IAvnSelectableTextBlock* self, IAvnBrush* value); /* slot 87 */ + AvnHResult (AVN_CALL *get_text)(IAvnSelectableTextBlock* self, uint16_t** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_text)(IAvnSelectableTextBlock* self, const uint16_t* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnSelectableTextBlock* self, uint16_t** value); /* slot 90 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnSelectableTextBlock* self, const uint16_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnSelectableTextBlock* self, double* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnSelectableTextBlock* self, double value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnSelectableTextBlock* self, int32_t value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnSelectableTextBlock* self, int32_t value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnSelectableTextBlock* self, int32_t value); /* slot 99 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnSelectableTextBlock* self, IAvnBrush** value); /* slot 100 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnSelectableTextBlock* self, IAvnBrush* value); /* slot 101 */ + AvnHResult (AVN_CALL *get_line_height)(IAvnSelectableTextBlock* self, double* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_line_height)(IAvnSelectableTextBlock* self, double value); /* slot 103 */ + AvnHResult (AVN_CALL *get_line_spacing)(IAvnSelectableTextBlock* self, double* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_line_spacing)(IAvnSelectableTextBlock* self, double value); /* slot 105 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnSelectableTextBlock* self, double* value); /* slot 106 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnSelectableTextBlock* self, double value); /* slot 107 */ + AvnHResult (AVN_CALL *get_max_lines)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_max_lines)(IAvnSelectableTextBlock* self, int32_t value); /* slot 109 */ + AvnHResult (AVN_CALL *get_text_wrapping)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_text_wrapping)(IAvnSelectableTextBlock* self, int32_t value); /* slot 111 */ + AvnHResult (AVN_CALL *get_text_trimming)(IAvnSelectableTextBlock* self, uint16_t** value); /* slot 112 */ + AvnHResult (AVN_CALL *set_text_trimming)(IAvnSelectableTextBlock* self, const uint16_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *get_text_alignment)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 114 */ + AvnHResult (AVN_CALL *set_text_alignment)(IAvnSelectableTextBlock* self, int32_t value); /* slot 115 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnSelectableTextBlock* self, uint16_t** value); /* slot 116 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnSelectableTextBlock* self, const uint16_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *get_baseline_offset)(IAvnSelectableTextBlock* self, double* value); /* slot 118 */ + AvnHResult (AVN_CALL *set_baseline_offset)(IAvnSelectableTextBlock* self, double value); /* slot 119 */ + AvnHResult (AVN_CALL *get_selection_brush)(IAvnSelectableTextBlock* self, IAvnBrush** value); /* slot 120 */ + AvnHResult (AVN_CALL *set_selection_brush)(IAvnSelectableTextBlock* self, IAvnBrush* value); /* slot 121 */ + AvnHResult (AVN_CALL *get_selection_foreground_brush)(IAvnSelectableTextBlock* self, IAvnBrush** value); /* slot 122 */ + AvnHResult (AVN_CALL *set_selection_foreground_brush)(IAvnSelectableTextBlock* self, IAvnBrush* value); /* slot 123 */ + AvnHResult (AVN_CALL *get_selection_start)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 124 */ + AvnHResult (AVN_CALL *set_selection_start)(IAvnSelectableTextBlock* self, int32_t value); /* slot 125 */ + AvnHResult (AVN_CALL *get_selection_end)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 126 */ + AvnHResult (AVN_CALL *set_selection_end)(IAvnSelectableTextBlock* self, int32_t value); /* slot 127 */ + AvnHResult (AVN_CALL *get_selected_text)(IAvnSelectableTextBlock* self, uint16_t** value); /* slot 128 */ + AvnHResult (AVN_CALL *get_can_copy)(IAvnSelectableTextBlock* self, int32_t* value); /* slot 129 */ + AvnHResult (AVN_CALL *copy)(IAvnSelectableTextBlock* self); /* slot 130 */ + AvnHResult (AVN_CALL *select_all)(IAvnSelectableTextBlock* self); /* slot 131 */ + AvnHResult (AVN_CALL *clear_selection)(IAvnSelectableTextBlock* self); /* slot 132 */ + AvnHResult (AVN_CALL *advise_copying_to_clipboard)(IAvnSelectableTextBlock* self, IAvnSelectableTextBlockCopyingToClipboardHandler* handler, int64_t* subscription_id); /* slot 133 */ + AvnHResult (AVN_CALL *unadvise_copying_to_clipboard)(IAvnSelectableTextBlock* self, int64_t subscription_id); /* slot 134 */ }; struct IAvnSelectableTextBlock { const IAvnSelectableTextBlockVtbl* vtbl; }; -#define I_AVN_SELECTABLE_TEXT_BLOCK_VTABLE_SLOTS 132 +#define I_AVN_SELECTABLE_TEXT_BLOCK_VTABLE_SLOTS 135 static const AvnGuid I_AVN_SELECTING_ITEMS_CONTROL_IID = { - 0x18B99B99, - 0x03A3, - 0x5C68, - { 0x84, 0x71, 0xD4, 0x63, 0xC4, 0xED, 0x17, 0x78 } + 0xBF3CA6E3, + 0xC054, + 0x5059, + { 0xAF, 0xE7, 0x20, 0xE3, 0x8D, 0x9B, 0x9D, 0xE8 } }; -#define I_AVN_SELECTING_ITEMS_CONTROL_ABI_VERSION 17 +#define I_AVN_SELECTING_ITEMS_CONTROL_ABI_VERSION 18 struct IAvnSelectingItemsControlVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnSelectingItemsControl* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnSelectingItemsControl* self); /* slot 1 */ @@ -11418,97 +11610,100 @@ struct IAvnSelectingItemsControlVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnSelectingItemsControl* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnSelectingItemsControl* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnSelectingItemsControl* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnSelectingItemsControl* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnSelectingItemsControl* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnSelectingItemsControl* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnSelectingItemsControl* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnSelectingItemsControl* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnSelectingItemsControl* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnSelectingItemsControl* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnSelectingItemsControl* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnSelectingItemsControl* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnSelectingItemsControl* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnSelectingItemsControl* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnSelectingItemsControl* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnSelectingItemsControl* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnSelectingItemsControl* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnSelectingItemsControl* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnSelectingItemsControl* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnSelectingItemsControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnSelectingItemsControl* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnSelectingItemsControl* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnSelectingItemsControl* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnSelectingItemsControl* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnSelectingItemsControl* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnSelectingItemsControl* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnSelectingItemsControl* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnSelectingItemsControl* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnSelectingItemsControl* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnSelectingItemsControl* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnSelectingItemsControl* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnSelectingItemsControl* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnSelectingItemsControl* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnSelectingItemsControl* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnSelectingItemsControl* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnSelectingItemsControl* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnSelectingItemsControl* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnSelectingItemsControl* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnSelectingItemsControl* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnSelectingItemsControl* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnSelectingItemsControl* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnSelectingItemsControl* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnSelectingItemsControl* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnSelectingItemsControl* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnSelectingItemsControl* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnSelectingItemsControl* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnSelectingItemsControl* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnSelectingItemsControl* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnSelectingItemsControl* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnSelectingItemsControl* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnSelectingItemsControl* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_items)(IAvnSelectingItemsControl* self, IAvnItemList** value); /* slot 109 */ - AvnHResult (AVN_CALL *get_item_count)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_items_source)(IAvnSelectingItemsControl* self, IAvnVariantList** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_items_source)(IAvnSelectingItemsControl* self, IAvnVariantList* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_item_template)(IAvnSelectingItemsControl* self, IAvnDataTemplate** value); /* slot 113 */ - AvnHResult (AVN_CALL *set_item_template)(IAvnSelectingItemsControl* self, IAvnDataTemplate* value); /* slot 114 */ - AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnSelectingItemsControl* self, int32_t index, IAvnControl** value); /* slot 115 */ - AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnSelectingItemsControl* self, AvnVariant item, IAvnControl** value); /* slot 116 */ - AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnSelectingItemsControl* self, IAvnControl* container, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnSelectingItemsControl* self, IAvnControl* container, AvnVariant* value); /* slot 118 */ - AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnSelectingItemsControl* self, int32_t index); /* slot 119 */ - AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnSelectingItemsControl* self, AvnVariant item); /* slot 120 */ - AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 121 */ - AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnSelectingItemsControl* self, int32_t value); /* slot 122 */ - AvnHResult (AVN_CALL *get_selected_index)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *set_selected_index)(IAvnSelectingItemsControl* self, int32_t value); /* slot 124 */ - AvnHResult (AVN_CALL *get_selected_item)(IAvnSelectingItemsControl* self, AvnVariant* value); /* slot 125 */ - AvnHResult (AVN_CALL *set_selected_item)(IAvnSelectingItemsControl* self, AvnVariant value); /* slot 126 */ - AvnHResult (AVN_CALL *get_selected_value)(IAvnSelectingItemsControl* self, AvnVariant* value); /* slot 127 */ - AvnHResult (AVN_CALL *set_selected_value)(IAvnSelectingItemsControl* self, AvnVariant value); /* slot 128 */ - AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 129 */ - AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnSelectingItemsControl* self, int32_t value); /* slot 130 */ - AvnHResult (AVN_CALL *get_wrap_selection)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 131 */ - AvnHResult (AVN_CALL *set_wrap_selection)(IAvnSelectingItemsControl* self, int32_t value); /* slot 132 */ - AvnHResult (AVN_CALL *advise_selection_changed)(IAvnSelectingItemsControl* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 133 */ - AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnSelectingItemsControl* self, int64_t subscription_id); /* slot 134 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnSelectingItemsControl* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnSelectingItemsControl* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnSelectingItemsControl* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnSelectingItemsControl* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnSelectingItemsControl* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnSelectingItemsControl* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnSelectingItemsControl* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnSelectingItemsControl* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnSelectingItemsControl* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnSelectingItemsControl* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnSelectingItemsControl* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnSelectingItemsControl* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnSelectingItemsControl* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnSelectingItemsControl* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnSelectingItemsControl* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnSelectingItemsControl* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnSelectingItemsControl* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnSelectingItemsControl* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnSelectingItemsControl* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnSelectingItemsControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnSelectingItemsControl* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnSelectingItemsControl* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnSelectingItemsControl* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnSelectingItemsControl* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnSelectingItemsControl* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnSelectingItemsControl* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnSelectingItemsControl* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnSelectingItemsControl* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnSelectingItemsControl* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnSelectingItemsControl* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnSelectingItemsControl* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnSelectingItemsControl* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnSelectingItemsControl* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnSelectingItemsControl* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnSelectingItemsControl* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnSelectingItemsControl* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnSelectingItemsControl* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnSelectingItemsControl* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnSelectingItemsControl* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnSelectingItemsControl* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnSelectingItemsControl* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnSelectingItemsControl* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnSelectingItemsControl* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnSelectingItemsControl* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnSelectingItemsControl* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnSelectingItemsControl* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnSelectingItemsControl* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnSelectingItemsControl* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnSelectingItemsControl* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnSelectingItemsControl* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnSelectingItemsControl* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_items)(IAvnSelectingItemsControl* self, IAvnItemList** value); /* slot 112 */ + AvnHResult (AVN_CALL *get_item_count)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *get_items_source)(IAvnSelectingItemsControl* self, IAvnVariantList** value); /* slot 114 */ + AvnHResult (AVN_CALL *set_items_source)(IAvnSelectingItemsControl* self, IAvnVariantList* value); /* slot 115 */ + AvnHResult (AVN_CALL *get_item_template)(IAvnSelectingItemsControl* self, IAvnDataTemplate** value); /* slot 116 */ + AvnHResult (AVN_CALL *set_item_template)(IAvnSelectingItemsControl* self, IAvnDataTemplate* value); /* slot 117 */ + AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnSelectingItemsControl* self, int32_t index, IAvnControl** value); /* slot 118 */ + AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnSelectingItemsControl* self, AvnVariant item, IAvnControl** value); /* slot 119 */ + AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnSelectingItemsControl* self, IAvnControl* container, int32_t* value); /* slot 120 */ + AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnSelectingItemsControl* self, IAvnControl* container, AvnVariant* value); /* slot 121 */ + AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnSelectingItemsControl* self, int32_t index); /* slot 122 */ + AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnSelectingItemsControl* self, AvnVariant item); /* slot 123 */ + AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 124 */ + AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnSelectingItemsControl* self, int32_t value); /* slot 125 */ + AvnHResult (AVN_CALL *get_selected_index)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 126 */ + AvnHResult (AVN_CALL *set_selected_index)(IAvnSelectingItemsControl* self, int32_t value); /* slot 127 */ + AvnHResult (AVN_CALL *get_selected_item)(IAvnSelectingItemsControl* self, AvnVariant* value); /* slot 128 */ + AvnHResult (AVN_CALL *set_selected_item)(IAvnSelectingItemsControl* self, AvnVariant value); /* slot 129 */ + AvnHResult (AVN_CALL *get_selected_value)(IAvnSelectingItemsControl* self, AvnVariant* value); /* slot 130 */ + AvnHResult (AVN_CALL *set_selected_value)(IAvnSelectingItemsControl* self, AvnVariant value); /* slot 131 */ + AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 132 */ + AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnSelectingItemsControl* self, int32_t value); /* slot 133 */ + AvnHResult (AVN_CALL *get_wrap_selection)(IAvnSelectingItemsControl* self, int32_t* value); /* slot 134 */ + AvnHResult (AVN_CALL *set_wrap_selection)(IAvnSelectingItemsControl* self, int32_t value); /* slot 135 */ + AvnHResult (AVN_CALL *advise_selection_changed)(IAvnSelectingItemsControl* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 136 */ + AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnSelectingItemsControl* self, int64_t subscription_id); /* slot 137 */ }; struct IAvnSelectingItemsControl { const IAvnSelectingItemsControlVtbl* vtbl; }; -#define I_AVN_SELECTING_ITEMS_CONTROL_VTABLE_SLOTS 135 +#define I_AVN_SELECTING_ITEMS_CONTROL_VTABLE_SLOTS 138 static const AvnGuid I_AVN_SEPARATOR_IID = { - 0xC97E1335, - 0x936C, - 0x5319, - { 0x91, 0xB3, 0x09, 0xE2, 0xE1, 0x60, 0x7D, 0x5A } + 0x81DB67FE, + 0xE07A, + 0x5DD4, + { 0xB1, 0x6C, 0x1E, 0x09, 0x9F, 0xC0, 0x59, 0xFB } }; -#define I_AVN_SEPARATOR_ABI_VERSION 11 +#define I_AVN_SEPARATOR_ABI_VERSION 12 struct IAvnSeparatorVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnSeparator* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnSeparator* self); /* slot 1 */ @@ -11565,71 +11760,74 @@ struct IAvnSeparatorVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnSeparator* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnSeparator* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnSeparator* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnSeparator* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnSeparator* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnSeparator* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnSeparator* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnSeparator* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnSeparator* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnSeparator* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnSeparator* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnSeparator* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnSeparator* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnSeparator* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnSeparator* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnSeparator* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnSeparator* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnSeparator* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnSeparator* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnSeparator* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnSeparator* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnSeparator* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnSeparator* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnSeparator* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnSeparator* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnSeparator* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnSeparator* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnSeparator* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnSeparator* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnSeparator* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnSeparator* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnSeparator* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnSeparator* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnSeparator* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnSeparator* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnSeparator* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnSeparator* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnSeparator* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnSeparator* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnSeparator* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnSeparator* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnSeparator* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnSeparator* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnSeparator* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnSeparator* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnSeparator* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnSeparator* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnSeparator* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnSeparator* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnSeparator* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnSeparator* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnSeparator* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnSeparator* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnSeparator* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnSeparator* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnSeparator* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnSeparator* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnSeparator* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnSeparator* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnSeparator* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnSeparator* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnSeparator* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnSeparator* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnSeparator* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnSeparator* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnSeparator* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnSeparator* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnSeparator* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnSeparator* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnSeparator* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnSeparator* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnSeparator* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnSeparator* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnSeparator* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnSeparator* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnSeparator* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnSeparator* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnSeparator* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnSeparator* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnSeparator* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnSeparator* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnSeparator* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnSeparator* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnSeparator* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnSeparator* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnSeparator* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnSeparator* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnSeparator* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnSeparator* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnSeparator* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnSeparator* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnSeparator* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnSeparator* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnSeparator* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnSeparator* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnSeparator* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnSeparator* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnSeparator* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnSeparator* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnSeparator* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnSeparator* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnSeparator* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnSeparator* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnSeparator* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnSeparator* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnSeparator* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnSeparator* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnSeparator* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnSeparator* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnSeparator* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnSeparator* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnSeparator* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnSeparator* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnSeparator* self, AvnThickness value); /* slot 111 */ }; struct IAvnSeparator { const IAvnSeparatorVtbl* vtbl; }; -#define I_AVN_SEPARATOR_VTABLE_SLOTS 109 +#define I_AVN_SEPARATOR_VTABLE_SLOTS 112 static const AvnGuid I_AVN_SHAPE_IID = { - 0x8C49AE37, - 0x0535, - 0x5DEF, - { 0x92, 0x6C, 0xD0, 0xD6, 0x85, 0x7C, 0xC2, 0x16 } + 0x9B09B01F, + 0xE387, + 0x5C6F, + { 0xBB, 0x9B, 0x60, 0x5F, 0xC4, 0x3B, 0xA2, 0x33 } }; -#define I_AVN_SHAPE_ABI_VERSION 10 +#define I_AVN_SHAPE_ABI_VERSION 11 struct IAvnShapeVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnShape* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnShape* self); /* slot 1 */ @@ -11686,61 +11884,64 @@ struct IAvnShapeVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnShape* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnShape* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnShape* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnShape* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnShape* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnShape* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnShape* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnShape* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnShape* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnShape* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnShape* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnShape* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnShape* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnShape* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnShape* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnShape* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnShape* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnShape* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnShape* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnShape* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnShape* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnShape* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnShape* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnShape* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnShape* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnShape* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnShape* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnShape* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnShape* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_fill)(IAvnShape* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_fill)(IAvnShape* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_stretch)(IAvnShape* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_stretch)(IAvnShape* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_stroke)(IAvnShape* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_stroke)(IAvnShape* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_stroke_dash_array)(IAvnShape* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_stroke_dash_array)(IAvnShape* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_stroke_dash_offset)(IAvnShape* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_stroke_dash_offset)(IAvnShape* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_stroke_thickness)(IAvnShape* self, double* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_stroke_thickness)(IAvnShape* self, double value); /* slot 92 */ - AvnHResult (AVN_CALL *get_stroke_line_cap)(IAvnShape* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_stroke_line_cap)(IAvnShape* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_stroke_join)(IAvnShape* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_stroke_join)(IAvnShape* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_stroke_miter_limit)(IAvnShape* self, double* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_stroke_miter_limit)(IAvnShape* self, double value); /* slot 98 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnShape* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnShape* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnShape* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnShape* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnShape* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnShape* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnShape* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnShape* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnShape* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnShape* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnShape* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnShape* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnShape* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnShape* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnShape* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnShape* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnShape* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnShape* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnShape* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnShape* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnShape* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnShape* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnShape* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnShape* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnShape* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnShape* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnShape* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnShape* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnShape* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_fill)(IAvnShape* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_fill)(IAvnShape* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_stretch)(IAvnShape* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_stretch)(IAvnShape* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_stroke)(IAvnShape* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_stroke)(IAvnShape* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_stroke_dash_array)(IAvnShape* self, uint16_t** value); /* slot 90 */ + AvnHResult (AVN_CALL *set_stroke_dash_array)(IAvnShape* self, const uint16_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *get_stroke_dash_offset)(IAvnShape* self, double* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_stroke_dash_offset)(IAvnShape* self, double value); /* slot 93 */ + AvnHResult (AVN_CALL *get_stroke_thickness)(IAvnShape* self, double* value); /* slot 94 */ + AvnHResult (AVN_CALL *set_stroke_thickness)(IAvnShape* self, double value); /* slot 95 */ + AvnHResult (AVN_CALL *get_stroke_line_cap)(IAvnShape* self, int32_t* value); /* slot 96 */ + AvnHResult (AVN_CALL *set_stroke_line_cap)(IAvnShape* self, int32_t value); /* slot 97 */ + AvnHResult (AVN_CALL *get_stroke_join)(IAvnShape* self, int32_t* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_stroke_join)(IAvnShape* self, int32_t value); /* slot 99 */ + AvnHResult (AVN_CALL *get_stroke_miter_limit)(IAvnShape* self, double* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_stroke_miter_limit)(IAvnShape* self, double value); /* slot 101 */ }; struct IAvnShape { const IAvnShapeVtbl* vtbl; }; -#define I_AVN_SHAPE_VTABLE_SLOTS 99 +#define I_AVN_SHAPE_VTABLE_SLOTS 102 static const AvnGuid I_AVN_SLIDER_IID = { - 0x8F19D970, - 0x60A0, - 0x5AA7, - { 0xA9, 0xCF, 0xDF, 0x78, 0x82, 0xB1, 0x1E, 0x7A } + 0x87C098D1, + 0xE3D8, + 0x5297, + { 0x8E, 0xFB, 0xB0, 0x39, 0xEF, 0x2C, 0x9C, 0xB5 } }; -#define I_AVN_SLIDER_ABI_VERSION 14 +#define I_AVN_SLIDER_ABI_VERSION 15 struct IAvnSliderVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnSlider* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnSlider* self); /* slot 1 */ @@ -11797,95 +11998,98 @@ struct IAvnSliderVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnSlider* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnSlider* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnSlider* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnSlider* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnSlider* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnSlider* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnSlider* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnSlider* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnSlider* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnSlider* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnSlider* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnSlider* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnSlider* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnSlider* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnSlider* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnSlider* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnSlider* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnSlider* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnSlider* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnSlider* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnSlider* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnSlider* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnSlider* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnSlider* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnSlider* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnSlider* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnSlider* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnSlider* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnSlider* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnSlider* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnSlider* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnSlider* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnSlider* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnSlider* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnSlider* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnSlider* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnSlider* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnSlider* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnSlider* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnSlider* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnSlider* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnSlider* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnSlider* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnSlider* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnSlider* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnSlider* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnSlider* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnSlider* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnSlider* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnSlider* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnSlider* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnSlider* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnSlider* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnSlider* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnSlider* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnSlider* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnSlider* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_minimum)(IAvnSlider* self, double* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_minimum)(IAvnSlider* self, double value); /* slot 110 */ - AvnHResult (AVN_CALL *get_maximum)(IAvnSlider* self, double* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_maximum)(IAvnSlider* self, double value); /* slot 112 */ - AvnHResult (AVN_CALL *get_value)(IAvnSlider* self, double* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_value)(IAvnSlider* self, double value); /* slot 114 */ - AvnHResult (AVN_CALL *get_small_change)(IAvnSlider* self, double* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_small_change)(IAvnSlider* self, double value); /* slot 116 */ - AvnHResult (AVN_CALL *get_large_change)(IAvnSlider* self, double* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_large_change)(IAvnSlider* self, double value); /* slot 118 */ - AvnHResult (AVN_CALL *advise_value_changed)(IAvnSlider* self, IAvnRangeBaseValueChangedHandler* handler, int64_t* subscription_id); /* slot 119 */ - AvnHResult (AVN_CALL *unadvise_value_changed)(IAvnSlider* self, int64_t subscription_id); /* slot 120 */ - AvnHResult (AVN_CALL *get_ticks)(IAvnSlider* self, uint16_t** value); /* slot 121 */ - AvnHResult (AVN_CALL *set_ticks)(IAvnSlider* self, const uint16_t* value); /* slot 122 */ - AvnHResult (AVN_CALL *get_orientation)(IAvnSlider* self, int32_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *set_orientation)(IAvnSlider* self, int32_t value); /* slot 124 */ - AvnHResult (AVN_CALL *get_is_direction_reversed)(IAvnSlider* self, int32_t* value); /* slot 125 */ - AvnHResult (AVN_CALL *set_is_direction_reversed)(IAvnSlider* self, int32_t value); /* slot 126 */ - AvnHResult (AVN_CALL *get_is_snap_to_tick_enabled)(IAvnSlider* self, int32_t* value); /* slot 127 */ - AvnHResult (AVN_CALL *set_is_snap_to_tick_enabled)(IAvnSlider* self, int32_t value); /* slot 128 */ - AvnHResult (AVN_CALL *get_tick_frequency)(IAvnSlider* self, double* value); /* slot 129 */ - AvnHResult (AVN_CALL *set_tick_frequency)(IAvnSlider* self, double value); /* slot 130 */ - AvnHResult (AVN_CALL *get_tick_placement)(IAvnSlider* self, int32_t* value); /* slot 131 */ - AvnHResult (AVN_CALL *set_tick_placement)(IAvnSlider* self, int32_t value); /* slot 132 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnSlider* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnSlider* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnSlider* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnSlider* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnSlider* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnSlider* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnSlider* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnSlider* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnSlider* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnSlider* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnSlider* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnSlider* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnSlider* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnSlider* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnSlider* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnSlider* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnSlider* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnSlider* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnSlider* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnSlider* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnSlider* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnSlider* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnSlider* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnSlider* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnSlider* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnSlider* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnSlider* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnSlider* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnSlider* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnSlider* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnSlider* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnSlider* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnSlider* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnSlider* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnSlider* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnSlider* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnSlider* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnSlider* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnSlider* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnSlider* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnSlider* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnSlider* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnSlider* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnSlider* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnSlider* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnSlider* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnSlider* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnSlider* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnSlider* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnSlider* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnSlider* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnSlider* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnSlider* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnSlider* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnSlider* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnSlider* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnSlider* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_minimum)(IAvnSlider* self, double* value); /* slot 112 */ + AvnHResult (AVN_CALL *set_minimum)(IAvnSlider* self, double value); /* slot 113 */ + AvnHResult (AVN_CALL *get_maximum)(IAvnSlider* self, double* value); /* slot 114 */ + AvnHResult (AVN_CALL *set_maximum)(IAvnSlider* self, double value); /* slot 115 */ + AvnHResult (AVN_CALL *get_value)(IAvnSlider* self, double* value); /* slot 116 */ + AvnHResult (AVN_CALL *set_value)(IAvnSlider* self, double value); /* slot 117 */ + AvnHResult (AVN_CALL *get_small_change)(IAvnSlider* self, double* value); /* slot 118 */ + AvnHResult (AVN_CALL *set_small_change)(IAvnSlider* self, double value); /* slot 119 */ + AvnHResult (AVN_CALL *get_large_change)(IAvnSlider* self, double* value); /* slot 120 */ + AvnHResult (AVN_CALL *set_large_change)(IAvnSlider* self, double value); /* slot 121 */ + AvnHResult (AVN_CALL *advise_value_changed)(IAvnSlider* self, IAvnRangeBaseValueChangedHandler* handler, int64_t* subscription_id); /* slot 122 */ + AvnHResult (AVN_CALL *unadvise_value_changed)(IAvnSlider* self, int64_t subscription_id); /* slot 123 */ + AvnHResult (AVN_CALL *get_ticks)(IAvnSlider* self, uint16_t** value); /* slot 124 */ + AvnHResult (AVN_CALL *set_ticks)(IAvnSlider* self, const uint16_t* value); /* slot 125 */ + AvnHResult (AVN_CALL *get_orientation)(IAvnSlider* self, int32_t* value); /* slot 126 */ + AvnHResult (AVN_CALL *set_orientation)(IAvnSlider* self, int32_t value); /* slot 127 */ + AvnHResult (AVN_CALL *get_is_direction_reversed)(IAvnSlider* self, int32_t* value); /* slot 128 */ + AvnHResult (AVN_CALL *set_is_direction_reversed)(IAvnSlider* self, int32_t value); /* slot 129 */ + AvnHResult (AVN_CALL *get_is_snap_to_tick_enabled)(IAvnSlider* self, int32_t* value); /* slot 130 */ + AvnHResult (AVN_CALL *set_is_snap_to_tick_enabled)(IAvnSlider* self, int32_t value); /* slot 131 */ + AvnHResult (AVN_CALL *get_tick_frequency)(IAvnSlider* self, double* value); /* slot 132 */ + AvnHResult (AVN_CALL *set_tick_frequency)(IAvnSlider* self, double value); /* slot 133 */ + AvnHResult (AVN_CALL *get_tick_placement)(IAvnSlider* self, int32_t* value); /* slot 134 */ + AvnHResult (AVN_CALL *set_tick_placement)(IAvnSlider* self, int32_t value); /* slot 135 */ }; struct IAvnSlider { const IAvnSliderVtbl* vtbl; }; -#define I_AVN_SLIDER_VTABLE_SLOTS 133 +#define I_AVN_SLIDER_VTABLE_SLOTS 136 static const AvnGuid I_AVN_SPINNER_IID = { - 0xCF93246B, - 0xDA27, - 0x5FC8, - { 0x83, 0x82, 0xFE, 0x60, 0x00, 0xF8, 0x3F, 0xA4 } + 0xB3D288E3, + 0x9138, + 0x530A, + { 0x96, 0xBE, 0x4B, 0x27, 0x4D, 0xF1, 0x15, 0xF2 } }; -#define I_AVN_SPINNER_ABI_VERSION 11 +#define I_AVN_SPINNER_ABI_VERSION 12 struct IAvnSpinnerVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnSpinner* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnSpinner* self); /* slot 1 */ @@ -11942,83 +12146,86 @@ struct IAvnSpinnerVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnSpinner* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnSpinner* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnSpinner* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnSpinner* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnSpinner* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnSpinner* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnSpinner* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnSpinner* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnSpinner* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnSpinner* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnSpinner* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnSpinner* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnSpinner* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnSpinner* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnSpinner* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnSpinner* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnSpinner* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnSpinner* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnSpinner* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnSpinner* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnSpinner* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnSpinner* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnSpinner* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnSpinner* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnSpinner* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnSpinner* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnSpinner* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnSpinner* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnSpinner* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnSpinner* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnSpinner* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnSpinner* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnSpinner* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnSpinner* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnSpinner* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnSpinner* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnSpinner* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnSpinner* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnSpinner* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnSpinner* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnSpinner* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnSpinner* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnSpinner* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnSpinner* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnSpinner* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnSpinner* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnSpinner* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnSpinner* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnSpinner* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnSpinner* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnSpinner* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnSpinner* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnSpinner* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnSpinner* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnSpinner* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnSpinner* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnSpinner* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_content)(IAvnSpinner* self, IAvnControl** value); /* slot 109 */ - AvnHResult (AVN_CALL *set_content)(IAvnSpinner* self, IAvnControl* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnSpinner* self, IAvnDataTemplate** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnSpinner* self, IAvnDataTemplate* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnSpinner* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnSpinner* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnSpinner* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnSpinner* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_valid_spin_direction)(IAvnSpinner* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_valid_spin_direction)(IAvnSpinner* self, int32_t value); /* slot 118 */ - AvnHResult (AVN_CALL *advise_spin)(IAvnSpinner* self, IAvnSpinnerSpinHandler* handler, int64_t* subscription_id); /* slot 119 */ - AvnHResult (AVN_CALL *unadvise_spin)(IAvnSpinner* self, int64_t subscription_id); /* slot 120 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnSpinner* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnSpinner* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnSpinner* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnSpinner* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnSpinner* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnSpinner* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnSpinner* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnSpinner* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnSpinner* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnSpinner* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnSpinner* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnSpinner* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnSpinner* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnSpinner* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnSpinner* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnSpinner* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnSpinner* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnSpinner* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnSpinner* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnSpinner* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnSpinner* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnSpinner* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnSpinner* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnSpinner* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnSpinner* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnSpinner* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnSpinner* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnSpinner* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnSpinner* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnSpinner* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnSpinner* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnSpinner* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnSpinner* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnSpinner* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnSpinner* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnSpinner* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnSpinner* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnSpinner* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnSpinner* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnSpinner* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnSpinner* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnSpinner* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnSpinner* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnSpinner* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnSpinner* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnSpinner* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnSpinner* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnSpinner* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnSpinner* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnSpinner* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnSpinner* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnSpinner* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnSpinner* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnSpinner* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnSpinner* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnSpinner* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnSpinner* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_content)(IAvnSpinner* self, IAvnControl** value); /* slot 112 */ + AvnHResult (AVN_CALL *set_content)(IAvnSpinner* self, IAvnControl* value); /* slot 113 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnSpinner* self, IAvnDataTemplate** value); /* slot 114 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnSpinner* self, IAvnDataTemplate* value); /* slot 115 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnSpinner* self, int32_t* value); /* slot 116 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnSpinner* self, int32_t value); /* slot 117 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnSpinner* self, int32_t* value); /* slot 118 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnSpinner* self, int32_t value); /* slot 119 */ + AvnHResult (AVN_CALL *get_valid_spin_direction)(IAvnSpinner* self, int32_t* value); /* slot 120 */ + AvnHResult (AVN_CALL *set_valid_spin_direction)(IAvnSpinner* self, int32_t value); /* slot 121 */ + AvnHResult (AVN_CALL *advise_spin)(IAvnSpinner* self, IAvnSpinnerSpinHandler* handler, int64_t* subscription_id); /* slot 122 */ + AvnHResult (AVN_CALL *unadvise_spin)(IAvnSpinner* self, int64_t subscription_id); /* slot 123 */ }; struct IAvnSpinner { const IAvnSpinnerVtbl* vtbl; }; -#define I_AVN_SPINNER_VTABLE_SLOTS 121 +#define I_AVN_SPINNER_VTABLE_SLOTS 124 static const AvnGuid I_AVN_SPLIT_BUTTON_IID = { - 0x88415351, - 0x1718, - 0x57DE, - { 0x98, 0xD6, 0x5D, 0xEE, 0x17, 0x94, 0x02, 0x9C } + 0xE162F1F5, + 0x7BC8, + 0x59CB, + { 0x82, 0xD6, 0x9A, 0x2A, 0x47, 0xF6, 0x88, 0x84 } }; -#define I_AVN_SPLIT_BUTTON_ABI_VERSION 14 +#define I_AVN_SPLIT_BUTTON_ABI_VERSION 15 struct IAvnSplitButtonVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnSplitButton* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnSplitButton* self); /* slot 1 */ @@ -12075,89 +12282,92 @@ struct IAvnSplitButtonVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnSplitButton* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnSplitButton* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnSplitButton* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnSplitButton* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnSplitButton* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnSplitButton* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnSplitButton* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnSplitButton* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnSplitButton* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnSplitButton* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnSplitButton* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnSplitButton* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnSplitButton* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnSplitButton* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnSplitButton* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnSplitButton* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnSplitButton* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnSplitButton* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnSplitButton* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnSplitButton* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnSplitButton* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnSplitButton* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnSplitButton* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnSplitButton* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnSplitButton* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnSplitButton* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnSplitButton* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnSplitButton* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnSplitButton* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnSplitButton* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnSplitButton* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnSplitButton* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnSplitButton* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnSplitButton* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnSplitButton* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnSplitButton* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnSplitButton* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnSplitButton* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnSplitButton* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnSplitButton* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnSplitButton* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnSplitButton* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnSplitButton* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnSplitButton* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnSplitButton* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnSplitButton* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnSplitButton* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnSplitButton* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnSplitButton* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnSplitButton* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnSplitButton* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnSplitButton* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnSplitButton* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnSplitButton* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnSplitButton* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnSplitButton* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnSplitButton* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_content)(IAvnSplitButton* self, IAvnControl** value); /* slot 109 */ - AvnHResult (AVN_CALL *set_content)(IAvnSplitButton* self, IAvnControl* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnSplitButton* self, IAvnDataTemplate** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnSplitButton* self, IAvnDataTemplate* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnSplitButton* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnSplitButton* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnSplitButton* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnSplitButton* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_command)(IAvnSplitButton* self, IAvnCommand** value); /* slot 117 */ - AvnHResult (AVN_CALL *set_command)(IAvnSplitButton* self, IAvnCommand* value); /* slot 118 */ - AvnHResult (AVN_CALL *get_command_parameter)(IAvnSplitButton* self, AvnVariant* value); /* slot 119 */ - AvnHResult (AVN_CALL *set_command_parameter)(IAvnSplitButton* self, AvnVariant value); /* slot 120 */ - AvnHResult (AVN_CALL *get_flyout)(IAvnSplitButton* self, IAvnFlyoutBase** value); /* slot 121 */ - AvnHResult (AVN_CALL *set_flyout)(IAvnSplitButton* self, IAvnFlyoutBase* value); /* slot 122 */ - AvnHResult (AVN_CALL *get_hot_key)(IAvnSplitButton* self, uint16_t** value); /* slot 123 */ - AvnHResult (AVN_CALL *set_hot_key)(IAvnSplitButton* self, const uint16_t* value); /* slot 124 */ - AvnHResult (AVN_CALL *advise_click)(IAvnSplitButton* self, IAvnSplitButtonClickHandler* handler, int64_t* subscription_id); /* slot 125 */ - AvnHResult (AVN_CALL *unadvise_click)(IAvnSplitButton* self, int64_t subscription_id); /* slot 126 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnSplitButton* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnSplitButton* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnSplitButton* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnSplitButton* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnSplitButton* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnSplitButton* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnSplitButton* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnSplitButton* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnSplitButton* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnSplitButton* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnSplitButton* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnSplitButton* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnSplitButton* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnSplitButton* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnSplitButton* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnSplitButton* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnSplitButton* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnSplitButton* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnSplitButton* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnSplitButton* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnSplitButton* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnSplitButton* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnSplitButton* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnSplitButton* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnSplitButton* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnSplitButton* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnSplitButton* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnSplitButton* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnSplitButton* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnSplitButton* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnSplitButton* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnSplitButton* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnSplitButton* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnSplitButton* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnSplitButton* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnSplitButton* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnSplitButton* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnSplitButton* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnSplitButton* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnSplitButton* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnSplitButton* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnSplitButton* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnSplitButton* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnSplitButton* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnSplitButton* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnSplitButton* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnSplitButton* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnSplitButton* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnSplitButton* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnSplitButton* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnSplitButton* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnSplitButton* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnSplitButton* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnSplitButton* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnSplitButton* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnSplitButton* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnSplitButton* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_content)(IAvnSplitButton* self, IAvnControl** value); /* slot 112 */ + AvnHResult (AVN_CALL *set_content)(IAvnSplitButton* self, IAvnControl* value); /* slot 113 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnSplitButton* self, IAvnDataTemplate** value); /* slot 114 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnSplitButton* self, IAvnDataTemplate* value); /* slot 115 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnSplitButton* self, int32_t* value); /* slot 116 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnSplitButton* self, int32_t value); /* slot 117 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnSplitButton* self, int32_t* value); /* slot 118 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnSplitButton* self, int32_t value); /* slot 119 */ + AvnHResult (AVN_CALL *get_command)(IAvnSplitButton* self, IAvnCommand** value); /* slot 120 */ + AvnHResult (AVN_CALL *set_command)(IAvnSplitButton* self, IAvnCommand* value); /* slot 121 */ + AvnHResult (AVN_CALL *get_command_parameter)(IAvnSplitButton* self, AvnVariant* value); /* slot 122 */ + AvnHResult (AVN_CALL *set_command_parameter)(IAvnSplitButton* self, AvnVariant value); /* slot 123 */ + AvnHResult (AVN_CALL *get_flyout)(IAvnSplitButton* self, IAvnFlyoutBase** value); /* slot 124 */ + AvnHResult (AVN_CALL *set_flyout)(IAvnSplitButton* self, IAvnFlyoutBase* value); /* slot 125 */ + AvnHResult (AVN_CALL *get_hot_key)(IAvnSplitButton* self, uint16_t** value); /* slot 126 */ + AvnHResult (AVN_CALL *set_hot_key)(IAvnSplitButton* self, const uint16_t* value); /* slot 127 */ + AvnHResult (AVN_CALL *advise_click)(IAvnSplitButton* self, IAvnSplitButtonClickHandler* handler, int64_t* subscription_id); /* slot 128 */ + AvnHResult (AVN_CALL *unadvise_click)(IAvnSplitButton* self, int64_t subscription_id); /* slot 129 */ }; struct IAvnSplitButton { const IAvnSplitButtonVtbl* vtbl; }; -#define I_AVN_SPLIT_BUTTON_VTABLE_SLOTS 127 +#define I_AVN_SPLIT_BUTTON_VTABLE_SLOTS 130 static const AvnGuid I_AVN_SPLIT_VIEW_IID = { - 0xCF2AF228, - 0xF18D, - 0x57E1, - { 0xB3, 0x62, 0x6A, 0x69, 0x2F, 0xEB, 0x7A, 0xC4 } + 0x5AA9070F, + 0xD947, + 0x566B, + { 0x93, 0x1C, 0xEF, 0x80, 0x55, 0x0E, 0xE6, 0x3E } }; -#define I_AVN_SPLIT_VIEW_ABI_VERSION 11 +#define I_AVN_SPLIT_VIEW_ABI_VERSION 12 struct IAvnSplitViewVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnSplitView* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnSplitView* self); /* slot 1 */ @@ -12214,105 +12424,108 @@ struct IAvnSplitViewVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnSplitView* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnSplitView* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnSplitView* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnSplitView* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnSplitView* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnSplitView* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnSplitView* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnSplitView* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnSplitView* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnSplitView* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnSplitView* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnSplitView* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnSplitView* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnSplitView* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnSplitView* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnSplitView* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnSplitView* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnSplitView* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnSplitView* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnSplitView* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnSplitView* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnSplitView* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnSplitView* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnSplitView* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnSplitView* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnSplitView* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnSplitView* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnSplitView* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnSplitView* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnSplitView* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnSplitView* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnSplitView* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnSplitView* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnSplitView* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnSplitView* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnSplitView* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnSplitView* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnSplitView* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnSplitView* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnSplitView* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnSplitView* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnSplitView* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnSplitView* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnSplitView* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnSplitView* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnSplitView* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnSplitView* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnSplitView* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnSplitView* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnSplitView* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnSplitView* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnSplitView* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnSplitView* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnSplitView* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnSplitView* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnSplitView* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnSplitView* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_content)(IAvnSplitView* self, IAvnControl** value); /* slot 109 */ - AvnHResult (AVN_CALL *set_content)(IAvnSplitView* self, IAvnControl* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnSplitView* self, IAvnDataTemplate** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnSplitView* self, IAvnDataTemplate* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnSplitView* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnSplitView* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnSplitView* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnSplitView* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_compact_pane_length)(IAvnSplitView* self, double* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_compact_pane_length)(IAvnSplitView* self, double value); /* slot 118 */ - AvnHResult (AVN_CALL *get_display_mode)(IAvnSplitView* self, int32_t* value); /* slot 119 */ - AvnHResult (AVN_CALL *set_display_mode)(IAvnSplitView* self, int32_t value); /* slot 120 */ - AvnHResult (AVN_CALL *get_is_pane_open)(IAvnSplitView* self, int32_t* value); /* slot 121 */ - AvnHResult (AVN_CALL *set_is_pane_open)(IAvnSplitView* self, int32_t value); /* slot 122 */ - AvnHResult (AVN_CALL *get_open_pane_length)(IAvnSplitView* self, double* value); /* slot 123 */ - AvnHResult (AVN_CALL *set_open_pane_length)(IAvnSplitView* self, double value); /* slot 124 */ - AvnHResult (AVN_CALL *get_pane_background)(IAvnSplitView* self, IAvnBrush** value); /* slot 125 */ - AvnHResult (AVN_CALL *set_pane_background)(IAvnSplitView* self, IAvnBrush* value); /* slot 126 */ - AvnHResult (AVN_CALL *get_pane_placement)(IAvnSplitView* self, int32_t* value); /* slot 127 */ - AvnHResult (AVN_CALL *set_pane_placement)(IAvnSplitView* self, int32_t value); /* slot 128 */ - AvnHResult (AVN_CALL *get_pane)(IAvnSplitView* self, IAvnControl** value); /* slot 129 */ - AvnHResult (AVN_CALL *set_pane)(IAvnSplitView* self, IAvnControl* value); /* slot 130 */ - AvnHResult (AVN_CALL *get_pane_template)(IAvnSplitView* self, IAvnDataTemplate** value); /* slot 131 */ - AvnHResult (AVN_CALL *set_pane_template)(IAvnSplitView* self, IAvnDataTemplate* value); /* slot 132 */ - AvnHResult (AVN_CALL *get_use_light_dismiss_overlay_mode)(IAvnSplitView* self, int32_t* value); /* slot 133 */ - AvnHResult (AVN_CALL *set_use_light_dismiss_overlay_mode)(IAvnSplitView* self, int32_t value); /* slot 134 */ - AvnHResult (AVN_CALL *advise_pane_closed)(IAvnSplitView* self, IAvnSplitViewPaneClosedHandler* handler, int64_t* subscription_id); /* slot 135 */ - AvnHResult (AVN_CALL *unadvise_pane_closed)(IAvnSplitView* self, int64_t subscription_id); /* slot 136 */ - AvnHResult (AVN_CALL *advise_pane_closing)(IAvnSplitView* self, IAvnSplitViewPaneClosingHandler* handler, int64_t* subscription_id); /* slot 137 */ - AvnHResult (AVN_CALL *unadvise_pane_closing)(IAvnSplitView* self, int64_t subscription_id); /* slot 138 */ - AvnHResult (AVN_CALL *advise_pane_opened)(IAvnSplitView* self, IAvnSplitViewPaneOpenedHandler* handler, int64_t* subscription_id); /* slot 139 */ - AvnHResult (AVN_CALL *unadvise_pane_opened)(IAvnSplitView* self, int64_t subscription_id); /* slot 140 */ - AvnHResult (AVN_CALL *advise_pane_opening)(IAvnSplitView* self, IAvnSplitViewPaneOpeningHandler* handler, int64_t* subscription_id); /* slot 141 */ - AvnHResult (AVN_CALL *unadvise_pane_opening)(IAvnSplitView* self, int64_t subscription_id); /* slot 142 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnSplitView* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnSplitView* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnSplitView* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnSplitView* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnSplitView* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnSplitView* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnSplitView* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnSplitView* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnSplitView* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnSplitView* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnSplitView* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnSplitView* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnSplitView* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnSplitView* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnSplitView* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnSplitView* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnSplitView* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnSplitView* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnSplitView* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnSplitView* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnSplitView* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnSplitView* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnSplitView* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnSplitView* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnSplitView* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnSplitView* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnSplitView* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnSplitView* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnSplitView* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnSplitView* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnSplitView* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnSplitView* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnSplitView* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnSplitView* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnSplitView* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnSplitView* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnSplitView* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnSplitView* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnSplitView* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnSplitView* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnSplitView* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnSplitView* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnSplitView* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnSplitView* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnSplitView* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnSplitView* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnSplitView* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnSplitView* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnSplitView* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnSplitView* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnSplitView* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnSplitView* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnSplitView* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnSplitView* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnSplitView* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnSplitView* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnSplitView* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_content)(IAvnSplitView* self, IAvnControl** value); /* slot 112 */ + AvnHResult (AVN_CALL *set_content)(IAvnSplitView* self, IAvnControl* value); /* slot 113 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnSplitView* self, IAvnDataTemplate** value); /* slot 114 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnSplitView* self, IAvnDataTemplate* value); /* slot 115 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnSplitView* self, int32_t* value); /* slot 116 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnSplitView* self, int32_t value); /* slot 117 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnSplitView* self, int32_t* value); /* slot 118 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnSplitView* self, int32_t value); /* slot 119 */ + AvnHResult (AVN_CALL *get_compact_pane_length)(IAvnSplitView* self, double* value); /* slot 120 */ + AvnHResult (AVN_CALL *set_compact_pane_length)(IAvnSplitView* self, double value); /* slot 121 */ + AvnHResult (AVN_CALL *get_display_mode)(IAvnSplitView* self, int32_t* value); /* slot 122 */ + AvnHResult (AVN_CALL *set_display_mode)(IAvnSplitView* self, int32_t value); /* slot 123 */ + AvnHResult (AVN_CALL *get_is_pane_open)(IAvnSplitView* self, int32_t* value); /* slot 124 */ + AvnHResult (AVN_CALL *set_is_pane_open)(IAvnSplitView* self, int32_t value); /* slot 125 */ + AvnHResult (AVN_CALL *get_open_pane_length)(IAvnSplitView* self, double* value); /* slot 126 */ + AvnHResult (AVN_CALL *set_open_pane_length)(IAvnSplitView* self, double value); /* slot 127 */ + AvnHResult (AVN_CALL *get_pane_background)(IAvnSplitView* self, IAvnBrush** value); /* slot 128 */ + AvnHResult (AVN_CALL *set_pane_background)(IAvnSplitView* self, IAvnBrush* value); /* slot 129 */ + AvnHResult (AVN_CALL *get_pane_placement)(IAvnSplitView* self, int32_t* value); /* slot 130 */ + AvnHResult (AVN_CALL *set_pane_placement)(IAvnSplitView* self, int32_t value); /* slot 131 */ + AvnHResult (AVN_CALL *get_pane)(IAvnSplitView* self, IAvnControl** value); /* slot 132 */ + AvnHResult (AVN_CALL *set_pane)(IAvnSplitView* self, IAvnControl* value); /* slot 133 */ + AvnHResult (AVN_CALL *get_pane_template)(IAvnSplitView* self, IAvnDataTemplate** value); /* slot 134 */ + AvnHResult (AVN_CALL *set_pane_template)(IAvnSplitView* self, IAvnDataTemplate* value); /* slot 135 */ + AvnHResult (AVN_CALL *get_use_light_dismiss_overlay_mode)(IAvnSplitView* self, int32_t* value); /* slot 136 */ + AvnHResult (AVN_CALL *set_use_light_dismiss_overlay_mode)(IAvnSplitView* self, int32_t value); /* slot 137 */ + AvnHResult (AVN_CALL *advise_pane_closed)(IAvnSplitView* self, IAvnSplitViewPaneClosedHandler* handler, int64_t* subscription_id); /* slot 138 */ + AvnHResult (AVN_CALL *unadvise_pane_closed)(IAvnSplitView* self, int64_t subscription_id); /* slot 139 */ + AvnHResult (AVN_CALL *advise_pane_closing)(IAvnSplitView* self, IAvnSplitViewPaneClosingHandler* handler, int64_t* subscription_id); /* slot 140 */ + AvnHResult (AVN_CALL *unadvise_pane_closing)(IAvnSplitView* self, int64_t subscription_id); /* slot 141 */ + AvnHResult (AVN_CALL *advise_pane_opened)(IAvnSplitView* self, IAvnSplitViewPaneOpenedHandler* handler, int64_t* subscription_id); /* slot 142 */ + AvnHResult (AVN_CALL *unadvise_pane_opened)(IAvnSplitView* self, int64_t subscription_id); /* slot 143 */ + AvnHResult (AVN_CALL *advise_pane_opening)(IAvnSplitView* self, IAvnSplitViewPaneOpeningHandler* handler, int64_t* subscription_id); /* slot 144 */ + AvnHResult (AVN_CALL *unadvise_pane_opening)(IAvnSplitView* self, int64_t subscription_id); /* slot 145 */ }; struct IAvnSplitView { const IAvnSplitViewVtbl* vtbl; }; -#define I_AVN_SPLIT_VIEW_VTABLE_SLOTS 143 +#define I_AVN_SPLIT_VIEW_VTABLE_SLOTS 146 static const AvnGuid I_AVN_STACK_PANEL_IID = { - 0x41C138FB, - 0xC0C9, - 0x579F, - { 0xA3, 0xB9, 0x76, 0x08, 0x07, 0x32, 0xA9, 0x4C } + 0x6CBE349A, + 0xE815, + 0x55A1, + { 0xBB, 0xD8, 0xB4, 0x39, 0x51, 0x56, 0x7D, 0xC1 } }; -#define I_AVN_STACK_PANEL_ABI_VERSION 14 +#define I_AVN_STACK_PANEL_ABI_VERSION 15 struct IAvnStackPanelVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnStackPanel* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnStackPanel* self); /* slot 1 */ @@ -12369,46 +12582,49 @@ struct IAvnStackPanelVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnStackPanel* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnStackPanel* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnStackPanel* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnStackPanel* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnStackPanel* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnStackPanel* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnStackPanel* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnStackPanel* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnStackPanel* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnStackPanel* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnStackPanel* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnStackPanel* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnStackPanel* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnStackPanel* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnStackPanel* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnStackPanel* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnStackPanel* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnStackPanel* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnStackPanel* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnStackPanel* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnStackPanel* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnStackPanel* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnStackPanel* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnStackPanel* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnStackPanel* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnStackPanel* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnStackPanel* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnStackPanel* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnStackPanel* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_children)(IAvnStackPanel* self, IAvnControlList** value); /* slot 81 */ - AvnHResult (AVN_CALL *get_background)(IAvnStackPanel* self, IAvnBrush** value); /* slot 82 */ - AvnHResult (AVN_CALL *set_background)(IAvnStackPanel* self, IAvnBrush* value); /* slot 83 */ - AvnHResult (AVN_CALL *get_spacing)(IAvnStackPanel* self, double* value); /* slot 84 */ - AvnHResult (AVN_CALL *set_spacing)(IAvnStackPanel* self, double value); /* slot 85 */ - AvnHResult (AVN_CALL *get_orientation)(IAvnStackPanel* self, int32_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *set_orientation)(IAvnStackPanel* self, int32_t value); /* slot 87 */ - AvnHResult (AVN_CALL *get_are_horizontal_snap_points_regular)(IAvnStackPanel* self, int32_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *set_are_horizontal_snap_points_regular)(IAvnStackPanel* self, int32_t value); /* slot 89 */ - AvnHResult (AVN_CALL *get_are_vertical_snap_points_regular)(IAvnStackPanel* self, int32_t* value); /* slot 90 */ - AvnHResult (AVN_CALL *set_are_vertical_snap_points_regular)(IAvnStackPanel* self, int32_t value); /* slot 91 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnStackPanel* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnStackPanel* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnStackPanel* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnStackPanel* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnStackPanel* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnStackPanel* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnStackPanel* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnStackPanel* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnStackPanel* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnStackPanel* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnStackPanel* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnStackPanel* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnStackPanel* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnStackPanel* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnStackPanel* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnStackPanel* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnStackPanel* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnStackPanel* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnStackPanel* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnStackPanel* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnStackPanel* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnStackPanel* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnStackPanel* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnStackPanel* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnStackPanel* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnStackPanel* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnStackPanel* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnStackPanel* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnStackPanel* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_children)(IAvnStackPanel* self, IAvnControlList** value); /* slot 84 */ + AvnHResult (AVN_CALL *get_background)(IAvnStackPanel* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_background)(IAvnStackPanel* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_spacing)(IAvnStackPanel* self, double* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_spacing)(IAvnStackPanel* self, double value); /* slot 88 */ + AvnHResult (AVN_CALL *get_orientation)(IAvnStackPanel* self, int32_t* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_orientation)(IAvnStackPanel* self, int32_t value); /* slot 90 */ + AvnHResult (AVN_CALL *get_are_horizontal_snap_points_regular)(IAvnStackPanel* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_are_horizontal_snap_points_regular)(IAvnStackPanel* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_are_vertical_snap_points_regular)(IAvnStackPanel* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_are_vertical_snap_points_regular)(IAvnStackPanel* self, int32_t value); /* slot 94 */ }; struct IAvnStackPanel { const IAvnStackPanelVtbl* vtbl; }; -#define I_AVN_STACK_PANEL_VTABLE_SLOTS 92 +#define I_AVN_STACK_PANEL_VTABLE_SLOTS 95 static const AvnGuid I_AVN_STYLED_ELEMENT_IID = { 0x383D0620, @@ -12449,12 +12665,12 @@ struct IAvnStyledElement { const IAvnStyledElementVtbl* vtbl; }; #define I_AVN_STYLED_ELEMENT_VTABLE_SLOTS 26 static const AvnGuid I_AVN_TAB_CONTROL_IID = { - 0x27DF6FA4, - 0x888C, - 0x53C3, - { 0x86, 0x12, 0x18, 0x67, 0x47, 0xFD, 0x07, 0xBF } + 0x08959EF6, + 0x348B, + 0x51EC, + { 0x8B, 0xE3, 0xD3, 0xAE, 0x47, 0xB8, 0x61, 0xBF } }; -#define I_AVN_TAB_CONTROL_ABI_VERSION 14 +#define I_AVN_TAB_CONTROL_ABI_VERSION 15 struct IAvnTabControlVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnTabControl* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnTabControl* self); /* slot 1 */ @@ -12511,109 +12727,112 @@ struct IAvnTabControlVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnTabControl* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnTabControl* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnTabControl* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnTabControl* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnTabControl* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnTabControl* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnTabControl* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnTabControl* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnTabControl* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnTabControl* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnTabControl* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnTabControl* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnTabControl* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnTabControl* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnTabControl* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnTabControl* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnTabControl* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnTabControl* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnTabControl* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnTabControl* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTabControl* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTabControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTabControl* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnTabControl* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnTabControl* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnTabControl* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnTabControl* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnTabControl* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnTabControl* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnTabControl* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnTabControl* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnTabControl* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnTabControl* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnTabControl* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnTabControl* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnTabControl* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnTabControl* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnTabControl* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnTabControl* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnTabControl* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnTabControl* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnTabControl* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnTabControl* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnTabControl* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnTabControl* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnTabControl* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnTabControl* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnTabControl* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnTabControl* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnTabControl* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnTabControl* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnTabControl* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnTabControl* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTabControl* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTabControl* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnTabControl* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnTabControl* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_items)(IAvnTabControl* self, IAvnItemList** value); /* slot 109 */ - AvnHResult (AVN_CALL *get_item_count)(IAvnTabControl* self, int32_t* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_items_source)(IAvnTabControl* self, IAvnVariantList** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_items_source)(IAvnTabControl* self, IAvnVariantList* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_item_template)(IAvnTabControl* self, IAvnDataTemplate** value); /* slot 113 */ - AvnHResult (AVN_CALL *set_item_template)(IAvnTabControl* self, IAvnDataTemplate* value); /* slot 114 */ - AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnTabControl* self, int32_t index, IAvnControl** value); /* slot 115 */ - AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnTabControl* self, AvnVariant item, IAvnControl** value); /* slot 116 */ - AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnTabControl* self, IAvnControl* container, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnTabControl* self, IAvnControl* container, AvnVariant* value); /* slot 118 */ - AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnTabControl* self, int32_t index); /* slot 119 */ - AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnTabControl* self, AvnVariant item); /* slot 120 */ - AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnTabControl* self, int32_t* value); /* slot 121 */ - AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnTabControl* self, int32_t value); /* slot 122 */ - AvnHResult (AVN_CALL *get_selected_index)(IAvnTabControl* self, int32_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *set_selected_index)(IAvnTabControl* self, int32_t value); /* slot 124 */ - AvnHResult (AVN_CALL *get_selected_item)(IAvnTabControl* self, AvnVariant* value); /* slot 125 */ - AvnHResult (AVN_CALL *set_selected_item)(IAvnTabControl* self, AvnVariant value); /* slot 126 */ - AvnHResult (AVN_CALL *get_selected_value)(IAvnTabControl* self, AvnVariant* value); /* slot 127 */ - AvnHResult (AVN_CALL *set_selected_value)(IAvnTabControl* self, AvnVariant value); /* slot 128 */ - AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnTabControl* self, int32_t* value); /* slot 129 */ - AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnTabControl* self, int32_t value); /* slot 130 */ - AvnHResult (AVN_CALL *get_wrap_selection)(IAvnTabControl* self, int32_t* value); /* slot 131 */ - AvnHResult (AVN_CALL *set_wrap_selection)(IAvnTabControl* self, int32_t value); /* slot 132 */ - AvnHResult (AVN_CALL *advise_selection_changed)(IAvnTabControl* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 133 */ - AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnTabControl* self, int64_t subscription_id); /* slot 134 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnTabControl* self, int32_t* value); /* slot 135 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnTabControl* self, int32_t value); /* slot 136 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnTabControl* self, int32_t* value); /* slot 137 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnTabControl* self, int32_t value); /* slot 138 */ - AvnHResult (AVN_CALL *get_tab_strip_placement)(IAvnTabControl* self, int32_t* value); /* slot 139 */ - AvnHResult (AVN_CALL *set_tab_strip_placement)(IAvnTabControl* self, int32_t value); /* slot 140 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnTabControl* self, IAvnDataTemplate** value); /* slot 141 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnTabControl* self, IAvnDataTemplate* value); /* slot 142 */ - AvnHResult (AVN_CALL *get_selected_content)(IAvnTabControl* self, AvnVariant* value); /* slot 143 */ - AvnHResult (AVN_CALL *get_selected_content_template)(IAvnTabControl* self, IAvnDataTemplate** value); /* slot 144 */ - AvnHResult (AVN_CALL *get_indicator_template)(IAvnTabControl* self, IAvnDataTemplate** value); /* slot 145 */ - AvnHResult (AVN_CALL *set_indicator_template)(IAvnTabControl* self, IAvnDataTemplate* value); /* slot 146 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnTabControl* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnTabControl* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnTabControl* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnTabControl* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnTabControl* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnTabControl* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnTabControl* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnTabControl* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnTabControl* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnTabControl* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnTabControl* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnTabControl* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnTabControl* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnTabControl* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnTabControl* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnTabControl* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnTabControl* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnTabControl* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnTabControl* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnTabControl* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTabControl* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTabControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTabControl* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnTabControl* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnTabControl* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnTabControl* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnTabControl* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnTabControl* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnTabControl* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnTabControl* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnTabControl* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnTabControl* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnTabControl* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnTabControl* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnTabControl* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnTabControl* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnTabControl* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnTabControl* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnTabControl* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnTabControl* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnTabControl* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnTabControl* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnTabControl* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnTabControl* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnTabControl* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnTabControl* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnTabControl* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnTabControl* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnTabControl* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnTabControl* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnTabControl* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnTabControl* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnTabControl* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTabControl* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTabControl* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnTabControl* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnTabControl* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_items)(IAvnTabControl* self, IAvnItemList** value); /* slot 112 */ + AvnHResult (AVN_CALL *get_item_count)(IAvnTabControl* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *get_items_source)(IAvnTabControl* self, IAvnVariantList** value); /* slot 114 */ + AvnHResult (AVN_CALL *set_items_source)(IAvnTabControl* self, IAvnVariantList* value); /* slot 115 */ + AvnHResult (AVN_CALL *get_item_template)(IAvnTabControl* self, IAvnDataTemplate** value); /* slot 116 */ + AvnHResult (AVN_CALL *set_item_template)(IAvnTabControl* self, IAvnDataTemplate* value); /* slot 117 */ + AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnTabControl* self, int32_t index, IAvnControl** value); /* slot 118 */ + AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnTabControl* self, AvnVariant item, IAvnControl** value); /* slot 119 */ + AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnTabControl* self, IAvnControl* container, int32_t* value); /* slot 120 */ + AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnTabControl* self, IAvnControl* container, AvnVariant* value); /* slot 121 */ + AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnTabControl* self, int32_t index); /* slot 122 */ + AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnTabControl* self, AvnVariant item); /* slot 123 */ + AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnTabControl* self, int32_t* value); /* slot 124 */ + AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnTabControl* self, int32_t value); /* slot 125 */ + AvnHResult (AVN_CALL *get_selected_index)(IAvnTabControl* self, int32_t* value); /* slot 126 */ + AvnHResult (AVN_CALL *set_selected_index)(IAvnTabControl* self, int32_t value); /* slot 127 */ + AvnHResult (AVN_CALL *get_selected_item)(IAvnTabControl* self, AvnVariant* value); /* slot 128 */ + AvnHResult (AVN_CALL *set_selected_item)(IAvnTabControl* self, AvnVariant value); /* slot 129 */ + AvnHResult (AVN_CALL *get_selected_value)(IAvnTabControl* self, AvnVariant* value); /* slot 130 */ + AvnHResult (AVN_CALL *set_selected_value)(IAvnTabControl* self, AvnVariant value); /* slot 131 */ + AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnTabControl* self, int32_t* value); /* slot 132 */ + AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnTabControl* self, int32_t value); /* slot 133 */ + AvnHResult (AVN_CALL *get_wrap_selection)(IAvnTabControl* self, int32_t* value); /* slot 134 */ + AvnHResult (AVN_CALL *set_wrap_selection)(IAvnTabControl* self, int32_t value); /* slot 135 */ + AvnHResult (AVN_CALL *advise_selection_changed)(IAvnTabControl* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 136 */ + AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnTabControl* self, int64_t subscription_id); /* slot 137 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnTabControl* self, int32_t* value); /* slot 138 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnTabControl* self, int32_t value); /* slot 139 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnTabControl* self, int32_t* value); /* slot 140 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnTabControl* self, int32_t value); /* slot 141 */ + AvnHResult (AVN_CALL *get_tab_strip_placement)(IAvnTabControl* self, int32_t* value); /* slot 142 */ + AvnHResult (AVN_CALL *set_tab_strip_placement)(IAvnTabControl* self, int32_t value); /* slot 143 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnTabControl* self, IAvnDataTemplate** value); /* slot 144 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnTabControl* self, IAvnDataTemplate* value); /* slot 145 */ + AvnHResult (AVN_CALL *get_selected_content)(IAvnTabControl* self, AvnVariant* value); /* slot 146 */ + AvnHResult (AVN_CALL *get_selected_content_template)(IAvnTabControl* self, IAvnDataTemplate** value); /* slot 147 */ + AvnHResult (AVN_CALL *get_indicator_template)(IAvnTabControl* self, IAvnDataTemplate** value); /* slot 148 */ + AvnHResult (AVN_CALL *set_indicator_template)(IAvnTabControl* self, IAvnDataTemplate* value); /* slot 149 */ }; struct IAvnTabControl { const IAvnTabControlVtbl* vtbl; }; -#define I_AVN_TAB_CONTROL_VTABLE_SLOTS 147 +#define I_AVN_TAB_CONTROL_VTABLE_SLOTS 150 static const AvnGuid I_AVN_TAB_ITEM_IID = { - 0xDED2B477, - 0xBC45, - 0x5613, - { 0xBA, 0x24, 0xCD, 0xBA, 0xB6, 0x35, 0xD7, 0x85 } + 0x7FFA8FBC, + 0x579E, + 0x5152, + { 0xA5, 0xD1, 0xAF, 0xE1, 0x28, 0xCC, 0xB4, 0x70 } }; -#define I_AVN_TAB_ITEM_ABI_VERSION 13 +#define I_AVN_TAB_ITEM_ABI_VERSION 14 struct IAvnTabItemVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnTabItem* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnTabItem* self); /* slot 1 */ @@ -12670,92 +12889,95 @@ struct IAvnTabItemVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnTabItem* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnTabItem* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnTabItem* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnTabItem* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnTabItem* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnTabItem* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnTabItem* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnTabItem* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnTabItem* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnTabItem* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnTabItem* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnTabItem* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnTabItem* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnTabItem* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnTabItem* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnTabItem* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnTabItem* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnTabItem* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnTabItem* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnTabItem* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTabItem* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTabItem* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTabItem* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnTabItem* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnTabItem* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnTabItem* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnTabItem* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnTabItem* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnTabItem* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnTabItem* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnTabItem* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnTabItem* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnTabItem* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnTabItem* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnTabItem* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnTabItem* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnTabItem* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnTabItem* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnTabItem* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnTabItem* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnTabItem* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnTabItem* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnTabItem* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnTabItem* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnTabItem* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnTabItem* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnTabItem* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnTabItem* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnTabItem* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnTabItem* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnTabItem* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnTabItem* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnTabItem* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTabItem* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTabItem* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnTabItem* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnTabItem* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_content)(IAvnTabItem* self, IAvnControl** value); /* slot 109 */ - AvnHResult (AVN_CALL *set_content)(IAvnTabItem* self, IAvnControl* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnTabItem* self, IAvnDataTemplate** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnTabItem* self, IAvnDataTemplate* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnTabItem* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnTabItem* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnTabItem* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnTabItem* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_header)(IAvnTabItem* self, IAvnControl** value); /* slot 117 */ - AvnHResult (AVN_CALL *set_header)(IAvnTabItem* self, IAvnControl* value); /* slot 118 */ - AvnHResult (AVN_CALL *get_header_template)(IAvnTabItem* self, IAvnDataTemplate** value); /* slot 119 */ - AvnHResult (AVN_CALL *set_header_template)(IAvnTabItem* self, IAvnDataTemplate* value); /* slot 120 */ - AvnHResult (AVN_CALL *get_tab_strip_placement)(IAvnTabItem* self, uint16_t** value); /* slot 121 */ - AvnHResult (AVN_CALL *get_is_selected)(IAvnTabItem* self, int32_t* value); /* slot 122 */ - AvnHResult (AVN_CALL *set_is_selected)(IAvnTabItem* self, int32_t value); /* slot 123 */ - AvnHResult (AVN_CALL *get_icon)(IAvnTabItem* self, AvnVariant* value); /* slot 124 */ - AvnHResult (AVN_CALL *set_icon)(IAvnTabItem* self, AvnVariant value); /* slot 125 */ - AvnHResult (AVN_CALL *get_icon_template)(IAvnTabItem* self, IAvnDataTemplate** value); /* slot 126 */ - AvnHResult (AVN_CALL *set_icon_template)(IAvnTabItem* self, IAvnDataTemplate* value); /* slot 127 */ - AvnHResult (AVN_CALL *get_indicator_template)(IAvnTabItem* self, IAvnDataTemplate** value); /* slot 128 */ - AvnHResult (AVN_CALL *set_indicator_template)(IAvnTabItem* self, IAvnDataTemplate* value); /* slot 129 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnTabItem* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnTabItem* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnTabItem* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnTabItem* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnTabItem* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnTabItem* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnTabItem* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnTabItem* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnTabItem* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnTabItem* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnTabItem* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnTabItem* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnTabItem* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnTabItem* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnTabItem* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnTabItem* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnTabItem* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnTabItem* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnTabItem* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnTabItem* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTabItem* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTabItem* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTabItem* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnTabItem* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnTabItem* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnTabItem* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnTabItem* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnTabItem* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnTabItem* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnTabItem* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnTabItem* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnTabItem* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnTabItem* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnTabItem* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnTabItem* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnTabItem* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnTabItem* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnTabItem* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnTabItem* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnTabItem* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnTabItem* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnTabItem* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnTabItem* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnTabItem* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnTabItem* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnTabItem* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnTabItem* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnTabItem* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnTabItem* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnTabItem* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnTabItem* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnTabItem* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnTabItem* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTabItem* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTabItem* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnTabItem* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnTabItem* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_content)(IAvnTabItem* self, IAvnControl** value); /* slot 112 */ + AvnHResult (AVN_CALL *set_content)(IAvnTabItem* self, IAvnControl* value); /* slot 113 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnTabItem* self, IAvnDataTemplate** value); /* slot 114 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnTabItem* self, IAvnDataTemplate* value); /* slot 115 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnTabItem* self, int32_t* value); /* slot 116 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnTabItem* self, int32_t value); /* slot 117 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnTabItem* self, int32_t* value); /* slot 118 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnTabItem* self, int32_t value); /* slot 119 */ + AvnHResult (AVN_CALL *get_header)(IAvnTabItem* self, IAvnControl** value); /* slot 120 */ + AvnHResult (AVN_CALL *set_header)(IAvnTabItem* self, IAvnControl* value); /* slot 121 */ + AvnHResult (AVN_CALL *get_header_template)(IAvnTabItem* self, IAvnDataTemplate** value); /* slot 122 */ + AvnHResult (AVN_CALL *set_header_template)(IAvnTabItem* self, IAvnDataTemplate* value); /* slot 123 */ + AvnHResult (AVN_CALL *get_tab_strip_placement)(IAvnTabItem* self, uint16_t** value); /* slot 124 */ + AvnHResult (AVN_CALL *get_is_selected)(IAvnTabItem* self, int32_t* value); /* slot 125 */ + AvnHResult (AVN_CALL *set_is_selected)(IAvnTabItem* self, int32_t value); /* slot 126 */ + AvnHResult (AVN_CALL *get_icon)(IAvnTabItem* self, AvnVariant* value); /* slot 127 */ + AvnHResult (AVN_CALL *set_icon)(IAvnTabItem* self, AvnVariant value); /* slot 128 */ + AvnHResult (AVN_CALL *get_icon_template)(IAvnTabItem* self, IAvnDataTemplate** value); /* slot 129 */ + AvnHResult (AVN_CALL *set_icon_template)(IAvnTabItem* self, IAvnDataTemplate* value); /* slot 130 */ + AvnHResult (AVN_CALL *get_indicator_template)(IAvnTabItem* self, IAvnDataTemplate** value); /* slot 131 */ + AvnHResult (AVN_CALL *set_indicator_template)(IAvnTabItem* self, IAvnDataTemplate* value); /* slot 132 */ }; struct IAvnTabItem { const IAvnTabItemVtbl* vtbl; }; -#define I_AVN_TAB_ITEM_VTABLE_SLOTS 130 +#define I_AVN_TAB_ITEM_VTABLE_SLOTS 133 static const AvnGuid I_AVN_TABLE_VIEW_IID = { - 0xBA62A21B, - 0xC26D, - 0x587F, - { 0xA4, 0x1F, 0x35, 0xE6, 0x7E, 0x20, 0x0B, 0x69 } + 0x8653BEA5, + 0x66FE, + 0x5479, + { 0x87, 0xD0, 0x45, 0xC9, 0xD8, 0xFD, 0xC7, 0xEC } }; -#define I_AVN_TABLE_VIEW_ABI_VERSION 15 +#define I_AVN_TABLE_VIEW_ABI_VERSION 16 struct IAvnTableViewVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnTableView* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnTableView* self); /* slot 1 */ @@ -12812,105 +13034,108 @@ struct IAvnTableViewVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnTableView* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnTableView* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnTableView* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnTableView* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnTableView* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnTableView* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnTableView* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnTableView* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnTableView* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnTableView* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnTableView* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnTableView* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnTableView* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnTableView* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnTableView* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnTableView* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnTableView* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnTableView* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnTableView* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnTableView* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTableView* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTableView* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTableView* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnTableView* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnTableView* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnTableView* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnTableView* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnTableView* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnTableView* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnTableView* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnTableView* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnTableView* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnTableView* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnTableView* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnTableView* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnTableView* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnTableView* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnTableView* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnTableView* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnTableView* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnTableView* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnTableView* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnTableView* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnTableView* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnTableView* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnTableView* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnTableView* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnTableView* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnTableView* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnTableView* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnTableView* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnTableView* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnTableView* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTableView* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTableView* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnTableView* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnTableView* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_items)(IAvnTableView* self, IAvnItemList** value); /* slot 109 */ - AvnHResult (AVN_CALL *get_item_count)(IAvnTableView* self, int32_t* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_items_source)(IAvnTableView* self, IAvnVariantList** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_items_source)(IAvnTableView* self, IAvnVariantList* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_item_template)(IAvnTableView* self, IAvnDataTemplate** value); /* slot 113 */ - AvnHResult (AVN_CALL *set_item_template)(IAvnTableView* self, IAvnDataTemplate* value); /* slot 114 */ - AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnTableView* self, int32_t index, IAvnControl** value); /* slot 115 */ - AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnTableView* self, AvnVariant item, IAvnControl** value); /* slot 116 */ - AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnTableView* self, IAvnControl* container, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnTableView* self, IAvnControl* container, AvnVariant* value); /* slot 118 */ - AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnTableView* self, int32_t index); /* slot 119 */ - AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnTableView* self, AvnVariant item); /* slot 120 */ - AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnTableView* self, int32_t* value); /* slot 121 */ - AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnTableView* self, int32_t value); /* slot 122 */ - AvnHResult (AVN_CALL *get_selected_index)(IAvnTableView* self, int32_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *set_selected_index)(IAvnTableView* self, int32_t value); /* slot 124 */ - AvnHResult (AVN_CALL *get_selected_item)(IAvnTableView* self, AvnVariant* value); /* slot 125 */ - AvnHResult (AVN_CALL *set_selected_item)(IAvnTableView* self, AvnVariant value); /* slot 126 */ - AvnHResult (AVN_CALL *get_selected_value)(IAvnTableView* self, AvnVariant* value); /* slot 127 */ - AvnHResult (AVN_CALL *set_selected_value)(IAvnTableView* self, AvnVariant value); /* slot 128 */ - AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnTableView* self, int32_t* value); /* slot 129 */ - AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnTableView* self, int32_t value); /* slot 130 */ - AvnHResult (AVN_CALL *get_wrap_selection)(IAvnTableView* self, int32_t* value); /* slot 131 */ - AvnHResult (AVN_CALL *set_wrap_selection)(IAvnTableView* self, int32_t value); /* slot 132 */ - AvnHResult (AVN_CALL *advise_selection_changed)(IAvnTableView* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 133 */ - AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnTableView* self, int64_t subscription_id); /* slot 134 */ - AvnHResult (AVN_CALL *get_selection_mode)(IAvnTableView* self, int32_t* value); /* slot 135 */ - AvnHResult (AVN_CALL *set_selection_mode)(IAvnTableView* self, int32_t value); /* slot 136 */ - AvnHResult (AVN_CALL *select_all)(IAvnTableView* self); /* slot 137 */ - AvnHResult (AVN_CALL *unselect_all)(IAvnTableView* self); /* slot 138 */ - AvnHResult (AVN_CALL *get_columns)(IAvnTableView* self, IAvnControlList** value); /* slot 139 */ - AvnHResult (AVN_CALL *set_columns)(IAvnTableView* self, IAvnControlList* value); /* slot 140 */ - AvnHResult (AVN_CALL *get_can_user_resize_columns)(IAvnTableView* self, int32_t* value); /* slot 141 */ - AvnHResult (AVN_CALL *set_can_user_resize_columns)(IAvnTableView* self, int32_t value); /* slot 142 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnTableView* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnTableView* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnTableView* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnTableView* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnTableView* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnTableView* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnTableView* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnTableView* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnTableView* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnTableView* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnTableView* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnTableView* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnTableView* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnTableView* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnTableView* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnTableView* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnTableView* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnTableView* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnTableView* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnTableView* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTableView* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTableView* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTableView* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnTableView* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnTableView* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnTableView* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnTableView* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnTableView* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnTableView* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnTableView* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnTableView* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnTableView* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnTableView* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnTableView* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnTableView* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnTableView* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnTableView* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnTableView* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnTableView* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnTableView* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnTableView* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnTableView* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnTableView* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnTableView* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnTableView* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnTableView* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnTableView* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnTableView* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnTableView* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnTableView* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnTableView* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnTableView* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnTableView* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTableView* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTableView* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnTableView* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnTableView* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_items)(IAvnTableView* self, IAvnItemList** value); /* slot 112 */ + AvnHResult (AVN_CALL *get_item_count)(IAvnTableView* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *get_items_source)(IAvnTableView* self, IAvnVariantList** value); /* slot 114 */ + AvnHResult (AVN_CALL *set_items_source)(IAvnTableView* self, IAvnVariantList* value); /* slot 115 */ + AvnHResult (AVN_CALL *get_item_template)(IAvnTableView* self, IAvnDataTemplate** value); /* slot 116 */ + AvnHResult (AVN_CALL *set_item_template)(IAvnTableView* self, IAvnDataTemplate* value); /* slot 117 */ + AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnTableView* self, int32_t index, IAvnControl** value); /* slot 118 */ + AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnTableView* self, AvnVariant item, IAvnControl** value); /* slot 119 */ + AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnTableView* self, IAvnControl* container, int32_t* value); /* slot 120 */ + AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnTableView* self, IAvnControl* container, AvnVariant* value); /* slot 121 */ + AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnTableView* self, int32_t index); /* slot 122 */ + AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnTableView* self, AvnVariant item); /* slot 123 */ + AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnTableView* self, int32_t* value); /* slot 124 */ + AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnTableView* self, int32_t value); /* slot 125 */ + AvnHResult (AVN_CALL *get_selected_index)(IAvnTableView* self, int32_t* value); /* slot 126 */ + AvnHResult (AVN_CALL *set_selected_index)(IAvnTableView* self, int32_t value); /* slot 127 */ + AvnHResult (AVN_CALL *get_selected_item)(IAvnTableView* self, AvnVariant* value); /* slot 128 */ + AvnHResult (AVN_CALL *set_selected_item)(IAvnTableView* self, AvnVariant value); /* slot 129 */ + AvnHResult (AVN_CALL *get_selected_value)(IAvnTableView* self, AvnVariant* value); /* slot 130 */ + AvnHResult (AVN_CALL *set_selected_value)(IAvnTableView* self, AvnVariant value); /* slot 131 */ + AvnHResult (AVN_CALL *get_is_text_search_enabled)(IAvnTableView* self, int32_t* value); /* slot 132 */ + AvnHResult (AVN_CALL *set_is_text_search_enabled)(IAvnTableView* self, int32_t value); /* slot 133 */ + AvnHResult (AVN_CALL *get_wrap_selection)(IAvnTableView* self, int32_t* value); /* slot 134 */ + AvnHResult (AVN_CALL *set_wrap_selection)(IAvnTableView* self, int32_t value); /* slot 135 */ + AvnHResult (AVN_CALL *advise_selection_changed)(IAvnTableView* self, IAvnSelectingItemsControlSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 136 */ + AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnTableView* self, int64_t subscription_id); /* slot 137 */ + AvnHResult (AVN_CALL *get_selection_mode)(IAvnTableView* self, int32_t* value); /* slot 138 */ + AvnHResult (AVN_CALL *set_selection_mode)(IAvnTableView* self, int32_t value); /* slot 139 */ + AvnHResult (AVN_CALL *select_all)(IAvnTableView* self); /* slot 140 */ + AvnHResult (AVN_CALL *unselect_all)(IAvnTableView* self); /* slot 141 */ + AvnHResult (AVN_CALL *get_columns)(IAvnTableView* self, IAvnControlList** value); /* slot 142 */ + AvnHResult (AVN_CALL *set_columns)(IAvnTableView* self, IAvnControlList* value); /* slot 143 */ + AvnHResult (AVN_CALL *get_can_user_resize_columns)(IAvnTableView* self, int32_t* value); /* slot 144 */ + AvnHResult (AVN_CALL *set_can_user_resize_columns)(IAvnTableView* self, int32_t value); /* slot 145 */ }; struct IAvnTableView { const IAvnTableViewVtbl* vtbl; }; -#define I_AVN_TABLE_VIEW_VTABLE_SLOTS 143 +#define I_AVN_TABLE_VIEW_VTABLE_SLOTS 146 static const AvnGuid I_AVN_TABLE_VIEW_CELL_IID = { - 0x2B1B1C38, - 0x97FD, - 0x59A3, - { 0x8B, 0xCD, 0x59, 0xAC, 0xBD, 0xC0, 0x33, 0x68 } + 0xFB82C6E3, + 0x9041, + 0x5212, + { 0xB8, 0x97, 0xE3, 0xDE, 0xC7, 0xEA, 0x63, 0x60 } }; -#define I_AVN_TABLE_VIEW_CELL_ABI_VERSION 13 +#define I_AVN_TABLE_VIEW_CELL_ABI_VERSION 14 struct IAvnTableViewCellVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnTableViewCell* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnTableViewCell* self); /* slot 1 */ @@ -12967,71 +13192,74 @@ struct IAvnTableViewCellVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnTableViewCell* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnTableViewCell* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnTableViewCell* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnTableViewCell* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnTableViewCell* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnTableViewCell* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnTableViewCell* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnTableViewCell* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnTableViewCell* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnTableViewCell* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnTableViewCell* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnTableViewCell* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnTableViewCell* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnTableViewCell* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnTableViewCell* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnTableViewCell* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnTableViewCell* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnTableViewCell* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnTableViewCell* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnTableViewCell* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTableViewCell* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTableViewCell* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTableViewCell* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnTableViewCell* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnTableViewCell* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnTableViewCell* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnTableViewCell* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnTableViewCell* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnTableViewCell* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnTableViewCell* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnTableViewCell* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnTableViewCell* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnTableViewCell* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnTableViewCell* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnTableViewCell* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnTableViewCell* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnTableViewCell* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnTableViewCell* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnTableViewCell* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnTableViewCell* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnTableViewCell* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnTableViewCell* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnTableViewCell* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnTableViewCell* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnTableViewCell* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnTableViewCell* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnTableViewCell* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnTableViewCell* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnTableViewCell* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnTableViewCell* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnTableViewCell* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnTableViewCell* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnTableViewCell* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTableViewCell* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTableViewCell* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnTableViewCell* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnTableViewCell* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_content)(IAvnTableViewCell* self, IAvnControl** value); /* slot 109 */ - AvnHResult (AVN_CALL *set_content)(IAvnTableViewCell* self, IAvnControl* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnTableViewCell* self, IAvnDataTemplate** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnTableViewCell* self, IAvnDataTemplate* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnTableViewCell* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnTableViewCell* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnTableViewCell* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnTableViewCell* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnTableViewCell* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnTableViewCell* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnTableViewCell* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnTableViewCell* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnTableViewCell* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnTableViewCell* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnTableViewCell* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnTableViewCell* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnTableViewCell* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnTableViewCell* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnTableViewCell* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnTableViewCell* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnTableViewCell* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnTableViewCell* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnTableViewCell* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnTableViewCell* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnTableViewCell* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnTableViewCell* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnTableViewCell* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnTableViewCell* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTableViewCell* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTableViewCell* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTableViewCell* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnTableViewCell* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnTableViewCell* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnTableViewCell* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnTableViewCell* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnTableViewCell* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnTableViewCell* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnTableViewCell* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnTableViewCell* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnTableViewCell* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnTableViewCell* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnTableViewCell* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnTableViewCell* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnTableViewCell* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnTableViewCell* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnTableViewCell* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnTableViewCell* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnTableViewCell* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnTableViewCell* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnTableViewCell* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnTableViewCell* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnTableViewCell* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnTableViewCell* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnTableViewCell* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnTableViewCell* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnTableViewCell* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnTableViewCell* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnTableViewCell* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnTableViewCell* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnTableViewCell* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnTableViewCell* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTableViewCell* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTableViewCell* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnTableViewCell* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnTableViewCell* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_content)(IAvnTableViewCell* self, IAvnControl** value); /* slot 112 */ + AvnHResult (AVN_CALL *set_content)(IAvnTableViewCell* self, IAvnControl* value); /* slot 113 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnTableViewCell* self, IAvnDataTemplate** value); /* slot 114 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnTableViewCell* self, IAvnDataTemplate* value); /* slot 115 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnTableViewCell* self, int32_t* value); /* slot 116 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnTableViewCell* self, int32_t value); /* slot 117 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnTableViewCell* self, int32_t* value); /* slot 118 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnTableViewCell* self, int32_t value); /* slot 119 */ }; struct IAvnTableViewCell { const IAvnTableViewCellVtbl* vtbl; }; -#define I_AVN_TABLE_VIEW_CELL_VTABLE_SLOTS 117 +#define I_AVN_TABLE_VIEW_CELL_VTABLE_SLOTS 120 static const AvnGuid I_AVN_TABLE_VIEW_COLUMN_IID = { 0xC3667189, @@ -13090,12 +13318,12 @@ struct IAvnTableViewColumn { const IAvnTableViewColumnVtbl* vtbl; }; #define I_AVN_TABLE_VIEW_COLUMN_VTABLE_SLOTS 44 static const AvnGuid I_AVN_TABLE_VIEW_ROW_IID = { - 0x8E3BA93D, - 0xD0BE, - 0x51D9, - { 0xA0, 0x07, 0x2A, 0xF6, 0x14, 0xAC, 0x6A, 0xDB } + 0x25F888AF, + 0x361C, + 0x5B20, + { 0xAC, 0xB7, 0xCC, 0x9D, 0x17, 0x70, 0xD8, 0x98 } }; -#define I_AVN_TABLE_VIEW_ROW_ABI_VERSION 11 +#define I_AVN_TABLE_VIEW_ROW_ABI_VERSION 12 struct IAvnTableViewRowVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnTableViewRow* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnTableViewRow* self); /* slot 1 */ @@ -13152,81 +13380,84 @@ struct IAvnTableViewRowVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnTableViewRow* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnTableViewRow* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnTableViewRow* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnTableViewRow* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnTableViewRow* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnTableViewRow* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnTableViewRow* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnTableViewRow* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnTableViewRow* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnTableViewRow* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnTableViewRow* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnTableViewRow* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnTableViewRow* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnTableViewRow* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnTableViewRow* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnTableViewRow* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnTableViewRow* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnTableViewRow* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnTableViewRow* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnTableViewRow* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTableViewRow* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTableViewRow* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTableViewRow* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnTableViewRow* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnTableViewRow* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnTableViewRow* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnTableViewRow* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnTableViewRow* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnTableViewRow* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnTableViewRow* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnTableViewRow* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnTableViewRow* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnTableViewRow* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnTableViewRow* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnTableViewRow* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnTableViewRow* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnTableViewRow* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnTableViewRow* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnTableViewRow* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnTableViewRow* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnTableViewRow* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnTableViewRow* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnTableViewRow* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnTableViewRow* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnTableViewRow* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnTableViewRow* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnTableViewRow* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnTableViewRow* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnTableViewRow* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnTableViewRow* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnTableViewRow* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnTableViewRow* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnTableViewRow* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTableViewRow* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTableViewRow* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnTableViewRow* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnTableViewRow* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_content)(IAvnTableViewRow* self, IAvnControl** value); /* slot 109 */ - AvnHResult (AVN_CALL *set_content)(IAvnTableViewRow* self, IAvnControl* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnTableViewRow* self, IAvnDataTemplate** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnTableViewRow* self, IAvnDataTemplate* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnTableViewRow* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnTableViewRow* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnTableViewRow* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnTableViewRow* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_is_selected)(IAvnTableViewRow* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_is_selected)(IAvnTableViewRow* self, int32_t value); /* slot 118 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnTableViewRow* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnTableViewRow* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnTableViewRow* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnTableViewRow* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnTableViewRow* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnTableViewRow* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnTableViewRow* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnTableViewRow* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnTableViewRow* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnTableViewRow* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnTableViewRow* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnTableViewRow* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnTableViewRow* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnTableViewRow* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnTableViewRow* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnTableViewRow* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnTableViewRow* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnTableViewRow* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnTableViewRow* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnTableViewRow* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTableViewRow* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTableViewRow* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTableViewRow* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnTableViewRow* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnTableViewRow* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnTableViewRow* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnTableViewRow* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnTableViewRow* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnTableViewRow* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnTableViewRow* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnTableViewRow* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnTableViewRow* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnTableViewRow* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnTableViewRow* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnTableViewRow* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnTableViewRow* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnTableViewRow* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnTableViewRow* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnTableViewRow* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnTableViewRow* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnTableViewRow* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnTableViewRow* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnTableViewRow* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnTableViewRow* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnTableViewRow* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnTableViewRow* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnTableViewRow* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnTableViewRow* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnTableViewRow* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnTableViewRow* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnTableViewRow* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnTableViewRow* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnTableViewRow* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTableViewRow* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTableViewRow* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnTableViewRow* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnTableViewRow* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_content)(IAvnTableViewRow* self, IAvnControl** value); /* slot 112 */ + AvnHResult (AVN_CALL *set_content)(IAvnTableViewRow* self, IAvnControl* value); /* slot 113 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnTableViewRow* self, IAvnDataTemplate** value); /* slot 114 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnTableViewRow* self, IAvnDataTemplate* value); /* slot 115 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnTableViewRow* self, int32_t* value); /* slot 116 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnTableViewRow* self, int32_t value); /* slot 117 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnTableViewRow* self, int32_t* value); /* slot 118 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnTableViewRow* self, int32_t value); /* slot 119 */ + AvnHResult (AVN_CALL *get_is_selected)(IAvnTableViewRow* self, int32_t* value); /* slot 120 */ + AvnHResult (AVN_CALL *set_is_selected)(IAvnTableViewRow* self, int32_t value); /* slot 121 */ }; struct IAvnTableViewRow { const IAvnTableViewRowVtbl* vtbl; }; -#define I_AVN_TABLE_VIEW_ROW_VTABLE_SLOTS 119 +#define I_AVN_TABLE_VIEW_ROW_VTABLE_SLOTS 122 static const AvnGuid I_AVN_TEMPLATED_CONTROL_IID = { - 0x6E80826C, - 0xF337, - 0x5A4D, - { 0xA5, 0xBB, 0x1C, 0x0D, 0xF4, 0x36, 0xB6, 0xD0 } + 0x1863F34C, + 0xF21F, + 0x5977, + { 0xA3, 0x05, 0x59, 0x39, 0xD8, 0x0C, 0xB8, 0xC5 } }; -#define I_AVN_TEMPLATED_CONTROL_ABI_VERSION 14 +#define I_AVN_TEMPLATED_CONTROL_ABI_VERSION 15 struct IAvnTemplatedControlVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnTemplatedControl* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnTemplatedControl* self); /* slot 1 */ @@ -13283,71 +13514,74 @@ struct IAvnTemplatedControlVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnTemplatedControl* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnTemplatedControl* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnTemplatedControl* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnTemplatedControl* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnTemplatedControl* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnTemplatedControl* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnTemplatedControl* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnTemplatedControl* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnTemplatedControl* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnTemplatedControl* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnTemplatedControl* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnTemplatedControl* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnTemplatedControl* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnTemplatedControl* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnTemplatedControl* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnTemplatedControl* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnTemplatedControl* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnTemplatedControl* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnTemplatedControl* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnTemplatedControl* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTemplatedControl* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTemplatedControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTemplatedControl* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnTemplatedControl* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnTemplatedControl* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnTemplatedControl* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnTemplatedControl* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnTemplatedControl* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnTemplatedControl* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnTemplatedControl* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnTemplatedControl* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnTemplatedControl* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnTemplatedControl* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnTemplatedControl* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnTemplatedControl* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnTemplatedControl* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnTemplatedControl* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnTemplatedControl* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnTemplatedControl* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnTemplatedControl* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnTemplatedControl* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnTemplatedControl* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnTemplatedControl* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnTemplatedControl* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnTemplatedControl* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnTemplatedControl* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnTemplatedControl* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnTemplatedControl* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnTemplatedControl* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnTemplatedControl* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnTemplatedControl* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnTemplatedControl* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnTemplatedControl* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTemplatedControl* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTemplatedControl* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnTemplatedControl* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnTemplatedControl* self, AvnThickness value); /* slot 108 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnTemplatedControl* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnTemplatedControl* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnTemplatedControl* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnTemplatedControl* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnTemplatedControl* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnTemplatedControl* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnTemplatedControl* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnTemplatedControl* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnTemplatedControl* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnTemplatedControl* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnTemplatedControl* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnTemplatedControl* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnTemplatedControl* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnTemplatedControl* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnTemplatedControl* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnTemplatedControl* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnTemplatedControl* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnTemplatedControl* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnTemplatedControl* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnTemplatedControl* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTemplatedControl* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTemplatedControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTemplatedControl* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnTemplatedControl* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnTemplatedControl* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnTemplatedControl* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnTemplatedControl* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnTemplatedControl* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnTemplatedControl* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnTemplatedControl* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnTemplatedControl* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnTemplatedControl* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnTemplatedControl* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnTemplatedControl* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnTemplatedControl* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnTemplatedControl* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnTemplatedControl* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnTemplatedControl* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnTemplatedControl* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnTemplatedControl* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnTemplatedControl* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnTemplatedControl* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnTemplatedControl* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnTemplatedControl* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnTemplatedControl* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnTemplatedControl* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnTemplatedControl* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnTemplatedControl* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnTemplatedControl* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnTemplatedControl* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnTemplatedControl* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnTemplatedControl* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnTemplatedControl* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTemplatedControl* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTemplatedControl* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnTemplatedControl* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnTemplatedControl* self, AvnThickness value); /* slot 111 */ }; struct IAvnTemplatedControl { const IAvnTemplatedControlVtbl* vtbl; }; -#define I_AVN_TEMPLATED_CONTROL_VTABLE_SLOTS 109 +#define I_AVN_TEMPLATED_CONTROL_VTABLE_SLOTS 112 static const AvnGuid I_AVN_TEXT_BLOCK_IID = { - 0x199AE412, - 0xEE08, - 0x5BDE, - { 0xA4, 0x98, 0x66, 0xAE, 0x02, 0x31, 0xAA, 0x3F } + 0x47E06BD1, + 0x10DC, + 0x5267, + { 0xA5, 0x5F, 0xA5, 0xC3, 0xBB, 0x53, 0x62, 0x85 } }; -#define I_AVN_TEXT_BLOCK_ABI_VERSION 16 +#define I_AVN_TEXT_BLOCK_ABI_VERSION 17 struct IAvnTextBlockVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnTextBlock* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnTextBlock* self); /* slot 1 */ @@ -13404,79 +13638,82 @@ struct IAvnTextBlockVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnTextBlock* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnTextBlock* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnTextBlock* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnTextBlock* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnTextBlock* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnTextBlock* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnTextBlock* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnTextBlock* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnTextBlock* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnTextBlock* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnTextBlock* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnTextBlock* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnTextBlock* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnTextBlock* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnTextBlock* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnTextBlock* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnTextBlock* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnTextBlock* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnTextBlock* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnTextBlock* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTextBlock* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTextBlock* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTextBlock* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnTextBlock* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnTextBlock* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnTextBlock* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnTextBlock* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnTextBlock* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnTextBlock* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_padding)(IAvnTextBlock* self, AvnThickness* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_padding)(IAvnTextBlock* self, AvnThickness value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background)(IAvnTextBlock* self, IAvnBrush** value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background)(IAvnTextBlock* self, IAvnBrush* value); /* slot 84 */ - AvnHResult (AVN_CALL *get_text)(IAvnTextBlock* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_text)(IAvnTextBlock* self, const uint16_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnTextBlock* self, uint16_t** value); /* slot 87 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnTextBlock* self, const uint16_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnTextBlock* self, double* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnTextBlock* self, double value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnTextBlock* self, int32_t* value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnTextBlock* self, int32_t value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnTextBlock* self, int32_t* value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnTextBlock* self, int32_t value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnTextBlock* self, int32_t* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnTextBlock* self, int32_t value); /* slot 96 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnTextBlock* self, IAvnBrush** value); /* slot 97 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnTextBlock* self, IAvnBrush* value); /* slot 98 */ - AvnHResult (AVN_CALL *get_line_height)(IAvnTextBlock* self, double* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_line_height)(IAvnTextBlock* self, double value); /* slot 100 */ - AvnHResult (AVN_CALL *get_line_spacing)(IAvnTextBlock* self, double* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_line_spacing)(IAvnTextBlock* self, double value); /* slot 102 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTextBlock* self, double* value); /* slot 103 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTextBlock* self, double value); /* slot 104 */ - AvnHResult (AVN_CALL *get_max_lines)(IAvnTextBlock* self, int32_t* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_max_lines)(IAvnTextBlock* self, int32_t value); /* slot 106 */ - AvnHResult (AVN_CALL *get_text_wrapping)(IAvnTextBlock* self, int32_t* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_text_wrapping)(IAvnTextBlock* self, int32_t value); /* slot 108 */ - AvnHResult (AVN_CALL *get_text_trimming)(IAvnTextBlock* self, uint16_t** value); /* slot 109 */ - AvnHResult (AVN_CALL *set_text_trimming)(IAvnTextBlock* self, const uint16_t* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_text_alignment)(IAvnTextBlock* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_text_alignment)(IAvnTextBlock* self, int32_t value); /* slot 112 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnTextBlock* self, uint16_t** value); /* slot 113 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnTextBlock* self, const uint16_t* value); /* slot 114 */ - AvnHResult (AVN_CALL *get_baseline_offset)(IAvnTextBlock* self, double* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_baseline_offset)(IAvnTextBlock* self, double value); /* slot 116 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnTextBlock* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnTextBlock* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnTextBlock* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnTextBlock* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnTextBlock* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnTextBlock* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnTextBlock* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnTextBlock* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnTextBlock* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnTextBlock* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnTextBlock* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnTextBlock* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnTextBlock* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnTextBlock* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnTextBlock* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnTextBlock* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnTextBlock* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnTextBlock* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnTextBlock* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnTextBlock* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTextBlock* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTextBlock* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTextBlock* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnTextBlock* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnTextBlock* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnTextBlock* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnTextBlock* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnTextBlock* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnTextBlock* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_padding)(IAvnTextBlock* self, AvnThickness* value); /* slot 84 */ + AvnHResult (AVN_CALL *set_padding)(IAvnTextBlock* self, AvnThickness value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background)(IAvnTextBlock* self, IAvnBrush** value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background)(IAvnTextBlock* self, IAvnBrush* value); /* slot 87 */ + AvnHResult (AVN_CALL *get_text)(IAvnTextBlock* self, uint16_t** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_text)(IAvnTextBlock* self, const uint16_t* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnTextBlock* self, uint16_t** value); /* slot 90 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnTextBlock* self, const uint16_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnTextBlock* self, double* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnTextBlock* self, double value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnTextBlock* self, int32_t* value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnTextBlock* self, int32_t value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnTextBlock* self, int32_t* value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnTextBlock* self, int32_t value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnTextBlock* self, int32_t* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnTextBlock* self, int32_t value); /* slot 99 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnTextBlock* self, IAvnBrush** value); /* slot 100 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnTextBlock* self, IAvnBrush* value); /* slot 101 */ + AvnHResult (AVN_CALL *get_line_height)(IAvnTextBlock* self, double* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_line_height)(IAvnTextBlock* self, double value); /* slot 103 */ + AvnHResult (AVN_CALL *get_line_spacing)(IAvnTextBlock* self, double* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_line_spacing)(IAvnTextBlock* self, double value); /* slot 105 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTextBlock* self, double* value); /* slot 106 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTextBlock* self, double value); /* slot 107 */ + AvnHResult (AVN_CALL *get_max_lines)(IAvnTextBlock* self, int32_t* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_max_lines)(IAvnTextBlock* self, int32_t value); /* slot 109 */ + AvnHResult (AVN_CALL *get_text_wrapping)(IAvnTextBlock* self, int32_t* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_text_wrapping)(IAvnTextBlock* self, int32_t value); /* slot 111 */ + AvnHResult (AVN_CALL *get_text_trimming)(IAvnTextBlock* self, uint16_t** value); /* slot 112 */ + AvnHResult (AVN_CALL *set_text_trimming)(IAvnTextBlock* self, const uint16_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *get_text_alignment)(IAvnTextBlock* self, int32_t* value); /* slot 114 */ + AvnHResult (AVN_CALL *set_text_alignment)(IAvnTextBlock* self, int32_t value); /* slot 115 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnTextBlock* self, uint16_t** value); /* slot 116 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnTextBlock* self, const uint16_t* value); /* slot 117 */ + AvnHResult (AVN_CALL *get_baseline_offset)(IAvnTextBlock* self, double* value); /* slot 118 */ + AvnHResult (AVN_CALL *set_baseline_offset)(IAvnTextBlock* self, double value); /* slot 119 */ }; struct IAvnTextBlock { const IAvnTextBlockVtbl* vtbl; }; -#define I_AVN_TEXT_BLOCK_VTABLE_SLOTS 117 +#define I_AVN_TEXT_BLOCK_VTABLE_SLOTS 120 static const AvnGuid I_AVN_TEXT_BOX_IID = { - 0x55D76247, - 0x3F6A, - 0x5F45, - { 0xAC, 0x3C, 0x33, 0xB3, 0x4A, 0x38, 0x32, 0x9A } + 0x2CECBBEF, + 0x9113, + 0x5262, + { 0xB4, 0x4C, 0x4C, 0xFD, 0x61, 0x37, 0x32, 0x81 } }; -#define I_AVN_TEXT_BOX_ABI_VERSION 20 +#define I_AVN_TEXT_BOX_ABI_VERSION 21 struct IAvnTextBoxVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnTextBox* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnTextBox* self); /* slot 1 */ @@ -13533,160 +13770,163 @@ struct IAvnTextBoxVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnTextBox* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnTextBox* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnTextBox* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnTextBox* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnTextBox* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnTextBox* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnTextBox* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnTextBox* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnTextBox* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnTextBox* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnTextBox* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnTextBox* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnTextBox* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnTextBox* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnTextBox* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnTextBox* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnTextBox* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnTextBox* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnTextBox* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnTextBox* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTextBox* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTextBox* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTextBox* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnTextBox* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnTextBox* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnTextBox* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnTextBox* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnTextBox* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnTextBox* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnTextBox* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnTextBox* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnTextBox* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnTextBox* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnTextBox* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnTextBox* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnTextBox* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnTextBox* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnTextBox* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnTextBox* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnTextBox* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnTextBox* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnTextBox* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnTextBox* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnTextBox* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnTextBox* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnTextBox* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnTextBox* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnTextBox* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnTextBox* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnTextBox* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnTextBox* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnTextBox* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnTextBox* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTextBox* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTextBox* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnTextBox* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnTextBox* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_is_inactive_selection_highlight_enabled)(IAvnTextBox* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_is_inactive_selection_highlight_enabled)(IAvnTextBox* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_clear_selection_on_lost_focus)(IAvnTextBox* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_clear_selection_on_lost_focus)(IAvnTextBox* self, int32_t value); /* slot 112 */ - AvnHResult (AVN_CALL *get_accepts_return)(IAvnTextBox* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_accepts_return)(IAvnTextBox* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_accepts_tab)(IAvnTextBox* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_accepts_tab)(IAvnTextBox* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_caret_index)(IAvnTextBox* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_caret_index)(IAvnTextBox* self, int32_t value); /* slot 118 */ - AvnHResult (AVN_CALL *get_is_read_only)(IAvnTextBox* self, int32_t* value); /* slot 119 */ - AvnHResult (AVN_CALL *set_is_read_only)(IAvnTextBox* self, int32_t value); /* slot 120 */ - AvnHResult (AVN_CALL *get_password_char)(IAvnTextBox* self, uint16_t* value); /* slot 121 */ - AvnHResult (AVN_CALL *set_password_char)(IAvnTextBox* self, uint16_t value); /* slot 122 */ - AvnHResult (AVN_CALL *get_selection_brush)(IAvnTextBox* self, IAvnBrush** value); /* slot 123 */ - AvnHResult (AVN_CALL *set_selection_brush)(IAvnTextBox* self, IAvnBrush* value); /* slot 124 */ - AvnHResult (AVN_CALL *get_selection_foreground_brush)(IAvnTextBox* self, IAvnBrush** value); /* slot 125 */ - AvnHResult (AVN_CALL *set_selection_foreground_brush)(IAvnTextBox* self, IAvnBrush* value); /* slot 126 */ - AvnHResult (AVN_CALL *get_caret_brush)(IAvnTextBox* self, IAvnBrush** value); /* slot 127 */ - AvnHResult (AVN_CALL *set_caret_brush)(IAvnTextBox* self, IAvnBrush* value); /* slot 128 */ - AvnHResult (AVN_CALL *get_caret_blink_interval)(IAvnTextBox* self, int64_t* value); /* slot 129 */ - AvnHResult (AVN_CALL *set_caret_blink_interval)(IAvnTextBox* self, int64_t value); /* slot 130 */ - AvnHResult (AVN_CALL *get_selection_start)(IAvnTextBox* self, int32_t* value); /* slot 131 */ - AvnHResult (AVN_CALL *set_selection_start)(IAvnTextBox* self, int32_t value); /* slot 132 */ - AvnHResult (AVN_CALL *get_selection_end)(IAvnTextBox* self, int32_t* value); /* slot 133 */ - AvnHResult (AVN_CALL *set_selection_end)(IAvnTextBox* self, int32_t value); /* slot 134 */ - AvnHResult (AVN_CALL *get_max_length)(IAvnTextBox* self, int32_t* value); /* slot 135 */ - AvnHResult (AVN_CALL *set_max_length)(IAvnTextBox* self, int32_t value); /* slot 136 */ - AvnHResult (AVN_CALL *get_max_lines)(IAvnTextBox* self, int32_t* value); /* slot 137 */ - AvnHResult (AVN_CALL *set_max_lines)(IAvnTextBox* self, int32_t value); /* slot 138 */ - AvnHResult (AVN_CALL *get_min_lines)(IAvnTextBox* self, int32_t* value); /* slot 139 */ - AvnHResult (AVN_CALL *set_min_lines)(IAvnTextBox* self, int32_t value); /* slot 140 */ - AvnHResult (AVN_CALL *get_line_height)(IAvnTextBox* self, double* value); /* slot 141 */ - AvnHResult (AVN_CALL *set_line_height)(IAvnTextBox* self, double value); /* slot 142 */ - AvnHResult (AVN_CALL *get_text)(IAvnTextBox* self, uint16_t** value); /* slot 143 */ - AvnHResult (AVN_CALL *set_text)(IAvnTextBox* self, const uint16_t* value); /* slot 144 */ - AvnHResult (AVN_CALL *get_selected_text)(IAvnTextBox* self, uint16_t** value); /* slot 145 */ - AvnHResult (AVN_CALL *set_selected_text)(IAvnTextBox* self, const uint16_t* value); /* slot 146 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnTextBox* self, int32_t* value); /* slot 147 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnTextBox* self, int32_t value); /* slot 148 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnTextBox* self, int32_t* value); /* slot 149 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnTextBox* self, int32_t value); /* slot 150 */ - AvnHResult (AVN_CALL *get_text_alignment)(IAvnTextBox* self, int32_t* value); /* slot 151 */ - AvnHResult (AVN_CALL *set_text_alignment)(IAvnTextBox* self, int32_t value); /* slot 152 */ - AvnHResult (AVN_CALL *get_placeholder_text)(IAvnTextBox* self, uint16_t** value); /* slot 153 */ - AvnHResult (AVN_CALL *set_placeholder_text)(IAvnTextBox* self, const uint16_t* value); /* slot 154 */ - AvnHResult (AVN_CALL *get_use_floating_placeholder)(IAvnTextBox* self, int32_t* value); /* slot 155 */ - AvnHResult (AVN_CALL *set_use_floating_placeholder)(IAvnTextBox* self, int32_t value); /* slot 156 */ - AvnHResult (AVN_CALL *get_placeholder_foreground)(IAvnTextBox* self, IAvnBrush** value); /* slot 157 */ - AvnHResult (AVN_CALL *set_placeholder_foreground)(IAvnTextBox* self, IAvnBrush* value); /* slot 158 */ - AvnHResult (AVN_CALL *get_inner_left_content)(IAvnTextBox* self, IAvnControl** value); /* slot 159 */ - AvnHResult (AVN_CALL *set_inner_left_content)(IAvnTextBox* self, IAvnControl* value); /* slot 160 */ - AvnHResult (AVN_CALL *get_inner_right_content)(IAvnTextBox* self, IAvnControl** value); /* slot 161 */ - AvnHResult (AVN_CALL *set_inner_right_content)(IAvnTextBox* self, IAvnControl* value); /* slot 162 */ - AvnHResult (AVN_CALL *get_reveal_password)(IAvnTextBox* self, int32_t* value); /* slot 163 */ - AvnHResult (AVN_CALL *set_reveal_password)(IAvnTextBox* self, int32_t value); /* slot 164 */ - AvnHResult (AVN_CALL *get_text_wrapping)(IAvnTextBox* self, int32_t* value); /* slot 165 */ - AvnHResult (AVN_CALL *set_text_wrapping)(IAvnTextBox* self, int32_t value); /* slot 166 */ - AvnHResult (AVN_CALL *get_new_line)(IAvnTextBox* self, uint16_t** value); /* slot 167 */ - AvnHResult (AVN_CALL *set_new_line)(IAvnTextBox* self, const uint16_t* value); /* slot 168 */ - AvnHResult (AVN_CALL *get_can_cut)(IAvnTextBox* self, int32_t* value); /* slot 169 */ - AvnHResult (AVN_CALL *get_can_copy)(IAvnTextBox* self, int32_t* value); /* slot 170 */ - AvnHResult (AVN_CALL *get_can_paste)(IAvnTextBox* self, int32_t* value); /* slot 171 */ - AvnHResult (AVN_CALL *get_is_undo_enabled)(IAvnTextBox* self, int32_t* value); /* slot 172 */ - AvnHResult (AVN_CALL *set_is_undo_enabled)(IAvnTextBox* self, int32_t value); /* slot 173 */ - AvnHResult (AVN_CALL *get_undo_limit)(IAvnTextBox* self, int32_t* value); /* slot 174 */ - AvnHResult (AVN_CALL *set_undo_limit)(IAvnTextBox* self, int32_t value); /* slot 175 */ - AvnHResult (AVN_CALL *get_can_undo)(IAvnTextBox* self, int32_t* value); /* slot 176 */ - AvnHResult (AVN_CALL *get_can_redo)(IAvnTextBox* self, int32_t* value); /* slot 177 */ - AvnHResult (AVN_CALL *clear_selection)(IAvnTextBox* self); /* slot 178 */ - AvnHResult (AVN_CALL *get_line_count)(IAvnTextBox* self, int32_t* value); /* slot 179 */ - AvnHResult (AVN_CALL *cut)(IAvnTextBox* self); /* slot 180 */ - AvnHResult (AVN_CALL *copy)(IAvnTextBox* self); /* slot 181 */ - AvnHResult (AVN_CALL *paste)(IAvnTextBox* self); /* slot 182 */ - AvnHResult (AVN_CALL *clear)(IAvnTextBox* self); /* slot 183 */ - AvnHResult (AVN_CALL *scroll_to_line_with_int32)(IAvnTextBox* self, int32_t line_index); /* slot 184 */ - AvnHResult (AVN_CALL *select_all)(IAvnTextBox* self); /* slot 185 */ - AvnHResult (AVN_CALL *undo)(IAvnTextBox* self); /* slot 186 */ - AvnHResult (AVN_CALL *redo)(IAvnTextBox* self); /* slot 187 */ - AvnHResult (AVN_CALL *advise_copying_to_clipboard)(IAvnTextBox* self, IAvnTextBoxCopyingToClipboardHandler* handler, int64_t* subscription_id); /* slot 188 */ - AvnHResult (AVN_CALL *unadvise_copying_to_clipboard)(IAvnTextBox* self, int64_t subscription_id); /* slot 189 */ - AvnHResult (AVN_CALL *advise_cutting_to_clipboard)(IAvnTextBox* self, IAvnTextBoxCuttingToClipboardHandler* handler, int64_t* subscription_id); /* slot 190 */ - AvnHResult (AVN_CALL *unadvise_cutting_to_clipboard)(IAvnTextBox* self, int64_t subscription_id); /* slot 191 */ - AvnHResult (AVN_CALL *advise_pasting_from_clipboard)(IAvnTextBox* self, IAvnTextBoxPastingFromClipboardHandler* handler, int64_t* subscription_id); /* slot 192 */ - AvnHResult (AVN_CALL *unadvise_pasting_from_clipboard)(IAvnTextBox* self, int64_t subscription_id); /* slot 193 */ - AvnHResult (AVN_CALL *advise_text_changed)(IAvnTextBox* self, IAvnTextBoxTextChangedHandler* handler, int64_t* subscription_id); /* slot 194 */ - AvnHResult (AVN_CALL *unadvise_text_changed)(IAvnTextBox* self, int64_t subscription_id); /* slot 195 */ - AvnHResult (AVN_CALL *advise_text_changing)(IAvnTextBox* self, IAvnTextBoxTextChangingHandler* handler, int64_t* subscription_id); /* slot 196 */ - AvnHResult (AVN_CALL *unadvise_text_changing)(IAvnTextBox* self, int64_t subscription_id); /* slot 197 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnTextBox* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnTextBox* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnTextBox* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnTextBox* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnTextBox* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnTextBox* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnTextBox* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnTextBox* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnTextBox* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnTextBox* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnTextBox* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnTextBox* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnTextBox* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnTextBox* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnTextBox* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnTextBox* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnTextBox* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnTextBox* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnTextBox* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnTextBox* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTextBox* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTextBox* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTextBox* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnTextBox* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnTextBox* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnTextBox* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnTextBox* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnTextBox* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnTextBox* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnTextBox* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnTextBox* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnTextBox* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnTextBox* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnTextBox* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnTextBox* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnTextBox* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnTextBox* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnTextBox* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnTextBox* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnTextBox* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnTextBox* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnTextBox* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnTextBox* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnTextBox* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnTextBox* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnTextBox* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnTextBox* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnTextBox* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnTextBox* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnTextBox* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnTextBox* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnTextBox* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnTextBox* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTextBox* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTextBox* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnTextBox* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnTextBox* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_is_inactive_selection_highlight_enabled)(IAvnTextBox* self, int32_t* value); /* slot 112 */ + AvnHResult (AVN_CALL *set_is_inactive_selection_highlight_enabled)(IAvnTextBox* self, int32_t value); /* slot 113 */ + AvnHResult (AVN_CALL *get_clear_selection_on_lost_focus)(IAvnTextBox* self, int32_t* value); /* slot 114 */ + AvnHResult (AVN_CALL *set_clear_selection_on_lost_focus)(IAvnTextBox* self, int32_t value); /* slot 115 */ + AvnHResult (AVN_CALL *get_accepts_return)(IAvnTextBox* self, int32_t* value); /* slot 116 */ + AvnHResult (AVN_CALL *set_accepts_return)(IAvnTextBox* self, int32_t value); /* slot 117 */ + AvnHResult (AVN_CALL *get_accepts_tab)(IAvnTextBox* self, int32_t* value); /* slot 118 */ + AvnHResult (AVN_CALL *set_accepts_tab)(IAvnTextBox* self, int32_t value); /* slot 119 */ + AvnHResult (AVN_CALL *get_caret_index)(IAvnTextBox* self, int32_t* value); /* slot 120 */ + AvnHResult (AVN_CALL *set_caret_index)(IAvnTextBox* self, int32_t value); /* slot 121 */ + AvnHResult (AVN_CALL *get_is_read_only)(IAvnTextBox* self, int32_t* value); /* slot 122 */ + AvnHResult (AVN_CALL *set_is_read_only)(IAvnTextBox* self, int32_t value); /* slot 123 */ + AvnHResult (AVN_CALL *get_password_char)(IAvnTextBox* self, uint16_t* value); /* slot 124 */ + AvnHResult (AVN_CALL *set_password_char)(IAvnTextBox* self, uint16_t value); /* slot 125 */ + AvnHResult (AVN_CALL *get_selection_brush)(IAvnTextBox* self, IAvnBrush** value); /* slot 126 */ + AvnHResult (AVN_CALL *set_selection_brush)(IAvnTextBox* self, IAvnBrush* value); /* slot 127 */ + AvnHResult (AVN_CALL *get_selection_foreground_brush)(IAvnTextBox* self, IAvnBrush** value); /* slot 128 */ + AvnHResult (AVN_CALL *set_selection_foreground_brush)(IAvnTextBox* self, IAvnBrush* value); /* slot 129 */ + AvnHResult (AVN_CALL *get_caret_brush)(IAvnTextBox* self, IAvnBrush** value); /* slot 130 */ + AvnHResult (AVN_CALL *set_caret_brush)(IAvnTextBox* self, IAvnBrush* value); /* slot 131 */ + AvnHResult (AVN_CALL *get_caret_blink_interval)(IAvnTextBox* self, int64_t* value); /* slot 132 */ + AvnHResult (AVN_CALL *set_caret_blink_interval)(IAvnTextBox* self, int64_t value); /* slot 133 */ + AvnHResult (AVN_CALL *get_selection_start)(IAvnTextBox* self, int32_t* value); /* slot 134 */ + AvnHResult (AVN_CALL *set_selection_start)(IAvnTextBox* self, int32_t value); /* slot 135 */ + AvnHResult (AVN_CALL *get_selection_end)(IAvnTextBox* self, int32_t* value); /* slot 136 */ + AvnHResult (AVN_CALL *set_selection_end)(IAvnTextBox* self, int32_t value); /* slot 137 */ + AvnHResult (AVN_CALL *get_max_length)(IAvnTextBox* self, int32_t* value); /* slot 138 */ + AvnHResult (AVN_CALL *set_max_length)(IAvnTextBox* self, int32_t value); /* slot 139 */ + AvnHResult (AVN_CALL *get_max_lines)(IAvnTextBox* self, int32_t* value); /* slot 140 */ + AvnHResult (AVN_CALL *set_max_lines)(IAvnTextBox* self, int32_t value); /* slot 141 */ + AvnHResult (AVN_CALL *get_min_lines)(IAvnTextBox* self, int32_t* value); /* slot 142 */ + AvnHResult (AVN_CALL *set_min_lines)(IAvnTextBox* self, int32_t value); /* slot 143 */ + AvnHResult (AVN_CALL *get_line_height)(IAvnTextBox* self, double* value); /* slot 144 */ + AvnHResult (AVN_CALL *set_line_height)(IAvnTextBox* self, double value); /* slot 145 */ + AvnHResult (AVN_CALL *get_text)(IAvnTextBox* self, uint16_t** value); /* slot 146 */ + AvnHResult (AVN_CALL *set_text)(IAvnTextBox* self, const uint16_t* value); /* slot 147 */ + AvnHResult (AVN_CALL *get_selected_text)(IAvnTextBox* self, uint16_t** value); /* slot 148 */ + AvnHResult (AVN_CALL *set_selected_text)(IAvnTextBox* self, const uint16_t* value); /* slot 149 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnTextBox* self, int32_t* value); /* slot 150 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnTextBox* self, int32_t value); /* slot 151 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnTextBox* self, int32_t* value); /* slot 152 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnTextBox* self, int32_t value); /* slot 153 */ + AvnHResult (AVN_CALL *get_text_alignment)(IAvnTextBox* self, int32_t* value); /* slot 154 */ + AvnHResult (AVN_CALL *set_text_alignment)(IAvnTextBox* self, int32_t value); /* slot 155 */ + AvnHResult (AVN_CALL *get_placeholder_text)(IAvnTextBox* self, uint16_t** value); /* slot 156 */ + AvnHResult (AVN_CALL *set_placeholder_text)(IAvnTextBox* self, const uint16_t* value); /* slot 157 */ + AvnHResult (AVN_CALL *get_use_floating_placeholder)(IAvnTextBox* self, int32_t* value); /* slot 158 */ + AvnHResult (AVN_CALL *set_use_floating_placeholder)(IAvnTextBox* self, int32_t value); /* slot 159 */ + AvnHResult (AVN_CALL *get_placeholder_foreground)(IAvnTextBox* self, IAvnBrush** value); /* slot 160 */ + AvnHResult (AVN_CALL *set_placeholder_foreground)(IAvnTextBox* self, IAvnBrush* value); /* slot 161 */ + AvnHResult (AVN_CALL *get_inner_left_content)(IAvnTextBox* self, IAvnControl** value); /* slot 162 */ + AvnHResult (AVN_CALL *set_inner_left_content)(IAvnTextBox* self, IAvnControl* value); /* slot 163 */ + AvnHResult (AVN_CALL *get_inner_right_content)(IAvnTextBox* self, IAvnControl** value); /* slot 164 */ + AvnHResult (AVN_CALL *set_inner_right_content)(IAvnTextBox* self, IAvnControl* value); /* slot 165 */ + AvnHResult (AVN_CALL *get_reveal_password)(IAvnTextBox* self, int32_t* value); /* slot 166 */ + AvnHResult (AVN_CALL *set_reveal_password)(IAvnTextBox* self, int32_t value); /* slot 167 */ + AvnHResult (AVN_CALL *get_text_wrapping)(IAvnTextBox* self, int32_t* value); /* slot 168 */ + AvnHResult (AVN_CALL *set_text_wrapping)(IAvnTextBox* self, int32_t value); /* slot 169 */ + AvnHResult (AVN_CALL *get_new_line)(IAvnTextBox* self, uint16_t** value); /* slot 170 */ + AvnHResult (AVN_CALL *set_new_line)(IAvnTextBox* self, const uint16_t* value); /* slot 171 */ + AvnHResult (AVN_CALL *get_can_cut)(IAvnTextBox* self, int32_t* value); /* slot 172 */ + AvnHResult (AVN_CALL *get_can_copy)(IAvnTextBox* self, int32_t* value); /* slot 173 */ + AvnHResult (AVN_CALL *get_can_paste)(IAvnTextBox* self, int32_t* value); /* slot 174 */ + AvnHResult (AVN_CALL *get_is_undo_enabled)(IAvnTextBox* self, int32_t* value); /* slot 175 */ + AvnHResult (AVN_CALL *set_is_undo_enabled)(IAvnTextBox* self, int32_t value); /* slot 176 */ + AvnHResult (AVN_CALL *get_undo_limit)(IAvnTextBox* self, int32_t* value); /* slot 177 */ + AvnHResult (AVN_CALL *set_undo_limit)(IAvnTextBox* self, int32_t value); /* slot 178 */ + AvnHResult (AVN_CALL *get_can_undo)(IAvnTextBox* self, int32_t* value); /* slot 179 */ + AvnHResult (AVN_CALL *get_can_redo)(IAvnTextBox* self, int32_t* value); /* slot 180 */ + AvnHResult (AVN_CALL *clear_selection)(IAvnTextBox* self); /* slot 181 */ + AvnHResult (AVN_CALL *get_line_count)(IAvnTextBox* self, int32_t* value); /* slot 182 */ + AvnHResult (AVN_CALL *cut)(IAvnTextBox* self); /* slot 183 */ + AvnHResult (AVN_CALL *copy)(IAvnTextBox* self); /* slot 184 */ + AvnHResult (AVN_CALL *paste)(IAvnTextBox* self); /* slot 185 */ + AvnHResult (AVN_CALL *clear)(IAvnTextBox* self); /* slot 186 */ + AvnHResult (AVN_CALL *scroll_to_line_with_int32)(IAvnTextBox* self, int32_t line_index); /* slot 187 */ + AvnHResult (AVN_CALL *select_all)(IAvnTextBox* self); /* slot 188 */ + AvnHResult (AVN_CALL *undo)(IAvnTextBox* self); /* slot 189 */ + AvnHResult (AVN_CALL *redo)(IAvnTextBox* self); /* slot 190 */ + AvnHResult (AVN_CALL *advise_copying_to_clipboard)(IAvnTextBox* self, IAvnTextBoxCopyingToClipboardHandler* handler, int64_t* subscription_id); /* slot 191 */ + AvnHResult (AVN_CALL *unadvise_copying_to_clipboard)(IAvnTextBox* self, int64_t subscription_id); /* slot 192 */ + AvnHResult (AVN_CALL *advise_cutting_to_clipboard)(IAvnTextBox* self, IAvnTextBoxCuttingToClipboardHandler* handler, int64_t* subscription_id); /* slot 193 */ + AvnHResult (AVN_CALL *unadvise_cutting_to_clipboard)(IAvnTextBox* self, int64_t subscription_id); /* slot 194 */ + AvnHResult (AVN_CALL *advise_pasting_from_clipboard)(IAvnTextBox* self, IAvnTextBoxPastingFromClipboardHandler* handler, int64_t* subscription_id); /* slot 195 */ + AvnHResult (AVN_CALL *unadvise_pasting_from_clipboard)(IAvnTextBox* self, int64_t subscription_id); /* slot 196 */ + AvnHResult (AVN_CALL *advise_text_changed)(IAvnTextBox* self, IAvnTextBoxTextChangedHandler* handler, int64_t* subscription_id); /* slot 197 */ + AvnHResult (AVN_CALL *unadvise_text_changed)(IAvnTextBox* self, int64_t subscription_id); /* slot 198 */ + AvnHResult (AVN_CALL *advise_text_changing)(IAvnTextBox* self, IAvnTextBoxTextChangingHandler* handler, int64_t* subscription_id); /* slot 199 */ + AvnHResult (AVN_CALL *unadvise_text_changing)(IAvnTextBox* self, int64_t subscription_id); /* slot 200 */ }; struct IAvnTextBox { const IAvnTextBoxVtbl* vtbl; }; -#define I_AVN_TEXT_BOX_VTABLE_SLOTS 198 +#define I_AVN_TEXT_BOX_VTABLE_SLOTS 201 static const AvnGuid I_AVN_THEME_VARIANT_SCOPE_IID = { - 0xFF6B43AB, - 0xB89D, - 0x5574, - { 0xBB, 0xDE, 0x9A, 0xCA, 0xCD, 0x23, 0xDB, 0xA4 } + 0x0C7665EE, + 0x7E88, + 0x5B31, + { 0xAA, 0x6C, 0x0B, 0x7B, 0xE8, 0x8E, 0xA1, 0x4B } }; -#define I_AVN_THEME_VARIANT_SCOPE_ABI_VERSION 10 +#define I_AVN_THEME_VARIANT_SCOPE_ABI_VERSION 11 struct IAvnThemeVariantScopeVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnThemeVariantScope* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnThemeVariantScope* self); /* slot 1 */ @@ -13743,49 +13983,52 @@ struct IAvnThemeVariantScopeVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnThemeVariantScope* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnThemeVariantScope* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnThemeVariantScope* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnThemeVariantScope* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnThemeVariantScope* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnThemeVariantScope* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnThemeVariantScope* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnThemeVariantScope* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnThemeVariantScope* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnThemeVariantScope* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnThemeVariantScope* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnThemeVariantScope* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnThemeVariantScope* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnThemeVariantScope* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnThemeVariantScope* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnThemeVariantScope* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnThemeVariantScope* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnThemeVariantScope* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnThemeVariantScope* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnThemeVariantScope* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnThemeVariantScope* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnThemeVariantScope* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnThemeVariantScope* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnThemeVariantScope* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnThemeVariantScope* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnThemeVariantScope* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnThemeVariantScope* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnThemeVariantScope* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnThemeVariantScope* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_child)(IAvnThemeVariantScope* self, IAvnControl** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_child)(IAvnThemeVariantScope* self, IAvnControl* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_padding)(IAvnThemeVariantScope* self, AvnThickness* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_padding)(IAvnThemeVariantScope* self, AvnThickness value); /* slot 84 */ - AvnHResult (AVN_CALL *get_requested_theme_variant)(IAvnThemeVariantScope* self, uint16_t** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_requested_theme_variant)(IAvnThemeVariantScope* self, const uint16_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnThemeVariantScope* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnThemeVariantScope* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnThemeVariantScope* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnThemeVariantScope* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnThemeVariantScope* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnThemeVariantScope* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnThemeVariantScope* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnThemeVariantScope* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnThemeVariantScope* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnThemeVariantScope* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnThemeVariantScope* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnThemeVariantScope* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnThemeVariantScope* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnThemeVariantScope* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnThemeVariantScope* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnThemeVariantScope* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnThemeVariantScope* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnThemeVariantScope* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnThemeVariantScope* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnThemeVariantScope* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnThemeVariantScope* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnThemeVariantScope* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnThemeVariantScope* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnThemeVariantScope* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnThemeVariantScope* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnThemeVariantScope* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnThemeVariantScope* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnThemeVariantScope* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnThemeVariantScope* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_child)(IAvnThemeVariantScope* self, IAvnControl** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_child)(IAvnThemeVariantScope* self, IAvnControl* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_padding)(IAvnThemeVariantScope* self, AvnThickness* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_padding)(IAvnThemeVariantScope* self, AvnThickness value); /* slot 87 */ + AvnHResult (AVN_CALL *get_requested_theme_variant)(IAvnThemeVariantScope* self, uint16_t** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_requested_theme_variant)(IAvnThemeVariantScope* self, const uint16_t* value); /* slot 89 */ }; struct IAvnThemeVariantScope { const IAvnThemeVariantScopeVtbl* vtbl; }; -#define I_AVN_THEME_VARIANT_SCOPE_VTABLE_SLOTS 87 +#define I_AVN_THEME_VARIANT_SCOPE_VTABLE_SLOTS 90 static const AvnGuid I_AVN_THUMB_IID = { - 0xA9A96FDF, - 0xBFCF, - 0x5E37, - { 0xA1, 0x1E, 0x4B, 0x65, 0x3C, 0xE3, 0x6C, 0x00 } + 0xE465D453, + 0x88D0, + 0x5CD1, + { 0xAF, 0x2C, 0x38, 0x9B, 0x5D, 0x80, 0xBE, 0x4D } }; -#define I_AVN_THUMB_ABI_VERSION 12 +#define I_AVN_THUMB_ABI_VERSION 13 struct IAvnThumbVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnThumb* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnThumb* self); /* slot 1 */ @@ -13842,77 +14085,80 @@ struct IAvnThumbVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnThumb* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnThumb* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnThumb* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnThumb* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnThumb* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnThumb* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnThumb* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnThumb* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnThumb* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnThumb* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnThumb* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnThumb* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnThumb* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnThumb* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnThumb* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnThumb* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnThumb* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnThumb* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnThumb* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnThumb* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnThumb* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnThumb* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnThumb* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnThumb* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnThumb* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnThumb* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnThumb* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnThumb* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnThumb* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnThumb* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnThumb* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnThumb* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnThumb* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnThumb* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnThumb* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnThumb* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnThumb* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnThumb* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnThumb* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnThumb* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnThumb* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnThumb* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnThumb* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnThumb* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnThumb* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnThumb* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnThumb* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnThumb* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnThumb* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnThumb* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnThumb* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnThumb* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnThumb* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnThumb* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnThumb* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnThumb* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnThumb* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *advise_drag_started)(IAvnThumb* self, IAvnThumbDragStartedHandler* handler, int64_t* subscription_id); /* slot 109 */ - AvnHResult (AVN_CALL *unadvise_drag_started)(IAvnThumb* self, int64_t subscription_id); /* slot 110 */ - AvnHResult (AVN_CALL *advise_drag_delta)(IAvnThumb* self, IAvnThumbDragDeltaHandler* handler, int64_t* subscription_id); /* slot 111 */ - AvnHResult (AVN_CALL *unadvise_drag_delta)(IAvnThumb* self, int64_t subscription_id); /* slot 112 */ - AvnHResult (AVN_CALL *advise_drag_completed)(IAvnThumb* self, IAvnThumbDragCompletedHandler* handler, int64_t* subscription_id); /* slot 113 */ - AvnHResult (AVN_CALL *unadvise_drag_completed)(IAvnThumb* self, int64_t subscription_id); /* slot 114 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnThumb* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnThumb* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnThumb* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnThumb* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnThumb* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnThumb* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnThumb* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnThumb* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnThumb* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnThumb* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnThumb* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnThumb* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnThumb* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnThumb* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnThumb* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnThumb* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnThumb* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnThumb* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnThumb* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnThumb* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnThumb* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnThumb* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnThumb* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnThumb* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnThumb* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnThumb* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnThumb* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnThumb* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnThumb* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnThumb* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnThumb* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnThumb* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnThumb* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnThumb* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnThumb* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnThumb* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnThumb* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnThumb* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnThumb* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnThumb* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnThumb* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnThumb* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnThumb* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnThumb* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnThumb* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnThumb* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnThumb* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnThumb* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnThumb* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnThumb* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnThumb* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnThumb* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnThumb* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnThumb* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnThumb* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnThumb* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnThumb* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *advise_drag_started)(IAvnThumb* self, IAvnThumbDragStartedHandler* handler, int64_t* subscription_id); /* slot 112 */ + AvnHResult (AVN_CALL *unadvise_drag_started)(IAvnThumb* self, int64_t subscription_id); /* slot 113 */ + AvnHResult (AVN_CALL *advise_drag_delta)(IAvnThumb* self, IAvnThumbDragDeltaHandler* handler, int64_t* subscription_id); /* slot 114 */ + AvnHResult (AVN_CALL *unadvise_drag_delta)(IAvnThumb* self, int64_t subscription_id); /* slot 115 */ + AvnHResult (AVN_CALL *advise_drag_completed)(IAvnThumb* self, IAvnThumbDragCompletedHandler* handler, int64_t* subscription_id); /* slot 116 */ + AvnHResult (AVN_CALL *unadvise_drag_completed)(IAvnThumb* self, int64_t subscription_id); /* slot 117 */ }; struct IAvnThumb { const IAvnThumbVtbl* vtbl; }; -#define I_AVN_THUMB_VTABLE_SLOTS 115 +#define I_AVN_THUMB_VTABLE_SLOTS 118 static const AvnGuid I_AVN_TIME_PICKER_IID = { - 0x5E7CE65A, - 0xFE53, - 0x551C, - { 0x9F, 0x5A, 0x23, 0x44, 0xEE, 0x09, 0xE0, 0x02 } + 0xB5A38C06, + 0x2DB2, + 0x5199, + { 0x83, 0xDC, 0x05, 0xC2, 0x8A, 0x15, 0xDA, 0x69 } }; -#define I_AVN_TIME_PICKER_ABI_VERSION 13 +#define I_AVN_TIME_PICKER_ABI_VERSION 14 struct IAvnTimePickerVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnTimePicker* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnTimePicker* self); /* slot 1 */ @@ -13969,86 +14215,89 @@ struct IAvnTimePickerVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnTimePicker* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnTimePicker* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnTimePicker* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnTimePicker* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnTimePicker* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnTimePicker* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnTimePicker* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnTimePicker* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnTimePicker* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnTimePicker* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnTimePicker* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnTimePicker* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnTimePicker* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnTimePicker* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnTimePicker* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnTimePicker* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnTimePicker* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnTimePicker* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnTimePicker* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnTimePicker* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTimePicker* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTimePicker* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTimePicker* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnTimePicker* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnTimePicker* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnTimePicker* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnTimePicker* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnTimePicker* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnTimePicker* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnTimePicker* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnTimePicker* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnTimePicker* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnTimePicker* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnTimePicker* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnTimePicker* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnTimePicker* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnTimePicker* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnTimePicker* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnTimePicker* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnTimePicker* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnTimePicker* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnTimePicker* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnTimePicker* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnTimePicker* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnTimePicker* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnTimePicker* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnTimePicker* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnTimePicker* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnTimePicker* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnTimePicker* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnTimePicker* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnTimePicker* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnTimePicker* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTimePicker* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTimePicker* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnTimePicker* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnTimePicker* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnTimePicker* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnTimePicker* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_minute_increment)(IAvnTimePicker* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_minute_increment)(IAvnTimePicker* self, int32_t value); /* slot 112 */ - AvnHResult (AVN_CALL *get_second_increment)(IAvnTimePicker* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_second_increment)(IAvnTimePicker* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_clock_identifier)(IAvnTimePicker* self, uint16_t** value); /* slot 115 */ - AvnHResult (AVN_CALL *set_clock_identifier)(IAvnTimePicker* self, const uint16_t* value); /* slot 116 */ - AvnHResult (AVN_CALL *get_use_seconds)(IAvnTimePicker* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_use_seconds)(IAvnTimePicker* self, int32_t value); /* slot 118 */ - AvnHResult (AVN_CALL *get_selected_time)(IAvnTimePicker* self, uint16_t** value); /* slot 119 */ - AvnHResult (AVN_CALL *set_selected_time)(IAvnTimePicker* self, const uint16_t* value); /* slot 120 */ - AvnHResult (AVN_CALL *clear)(IAvnTimePicker* self); /* slot 121 */ - AvnHResult (AVN_CALL *advise_selected_time_changed)(IAvnTimePicker* self, IAvnTimePickerSelectedTimeChangedHandler* handler, int64_t* subscription_id); /* slot 122 */ - AvnHResult (AVN_CALL *unadvise_selected_time_changed)(IAvnTimePicker* self, int64_t subscription_id); /* slot 123 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnTimePicker* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnTimePicker* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnTimePicker* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnTimePicker* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnTimePicker* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnTimePicker* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnTimePicker* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnTimePicker* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnTimePicker* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnTimePicker* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnTimePicker* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnTimePicker* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnTimePicker* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnTimePicker* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnTimePicker* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnTimePicker* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnTimePicker* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnTimePicker* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnTimePicker* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnTimePicker* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTimePicker* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTimePicker* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTimePicker* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnTimePicker* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnTimePicker* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnTimePicker* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnTimePicker* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnTimePicker* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnTimePicker* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnTimePicker* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnTimePicker* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnTimePicker* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnTimePicker* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnTimePicker* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnTimePicker* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnTimePicker* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnTimePicker* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnTimePicker* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnTimePicker* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnTimePicker* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnTimePicker* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnTimePicker* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnTimePicker* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnTimePicker* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnTimePicker* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnTimePicker* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnTimePicker* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnTimePicker* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnTimePicker* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnTimePicker* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnTimePicker* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnTimePicker* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnTimePicker* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTimePicker* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTimePicker* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnTimePicker* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnTimePicker* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnTimePicker* self, int32_t* value); /* slot 112 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnTimePicker* self, int32_t value); /* slot 113 */ + AvnHResult (AVN_CALL *get_minute_increment)(IAvnTimePicker* self, int32_t* value); /* slot 114 */ + AvnHResult (AVN_CALL *set_minute_increment)(IAvnTimePicker* self, int32_t value); /* slot 115 */ + AvnHResult (AVN_CALL *get_second_increment)(IAvnTimePicker* self, int32_t* value); /* slot 116 */ + AvnHResult (AVN_CALL *set_second_increment)(IAvnTimePicker* self, int32_t value); /* slot 117 */ + AvnHResult (AVN_CALL *get_clock_identifier)(IAvnTimePicker* self, uint16_t** value); /* slot 118 */ + AvnHResult (AVN_CALL *set_clock_identifier)(IAvnTimePicker* self, const uint16_t* value); /* slot 119 */ + AvnHResult (AVN_CALL *get_use_seconds)(IAvnTimePicker* self, int32_t* value); /* slot 120 */ + AvnHResult (AVN_CALL *set_use_seconds)(IAvnTimePicker* self, int32_t value); /* slot 121 */ + AvnHResult (AVN_CALL *get_selected_time)(IAvnTimePicker* self, uint16_t** value); /* slot 122 */ + AvnHResult (AVN_CALL *set_selected_time)(IAvnTimePicker* self, const uint16_t* value); /* slot 123 */ + AvnHResult (AVN_CALL *clear)(IAvnTimePicker* self); /* slot 124 */ + AvnHResult (AVN_CALL *advise_selected_time_changed)(IAvnTimePicker* self, IAvnTimePickerSelectedTimeChangedHandler* handler, int64_t* subscription_id); /* slot 125 */ + AvnHResult (AVN_CALL *unadvise_selected_time_changed)(IAvnTimePicker* self, int64_t subscription_id); /* slot 126 */ }; struct IAvnTimePicker { const IAvnTimePickerVtbl* vtbl; }; -#define I_AVN_TIME_PICKER_VTABLE_SLOTS 124 +#define I_AVN_TIME_PICKER_VTABLE_SLOTS 127 static const AvnGuid I_AVN_TOGGLE_BUTTON_IID = { - 0x23A7F6FB, - 0xAFEF, - 0x5E4D, - { 0x8A, 0x9A, 0x94, 0xF4, 0xEF, 0xCF, 0x6B, 0x12 } + 0xAA447DC6, + 0x1470, + 0x599E, + { 0xB0, 0xF5, 0x27, 0xBF, 0x31, 0x3D, 0xC7, 0xE7 } }; -#define I_AVN_TOGGLE_BUTTON_ABI_VERSION 18 +#define I_AVN_TOGGLE_BUTTON_ABI_VERSION 19 struct IAvnToggleButtonVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnToggleButton* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnToggleButton* self); /* slot 1 */ @@ -14105,102 +14354,105 @@ struct IAvnToggleButtonVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnToggleButton* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnToggleButton* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnToggleButton* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnToggleButton* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnToggleButton* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnToggleButton* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnToggleButton* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnToggleButton* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnToggleButton* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnToggleButton* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnToggleButton* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnToggleButton* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnToggleButton* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnToggleButton* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnToggleButton* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnToggleButton* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnToggleButton* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnToggleButton* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnToggleButton* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnToggleButton* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnToggleButton* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnToggleButton* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnToggleButton* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnToggleButton* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnToggleButton* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnToggleButton* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnToggleButton* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnToggleButton* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnToggleButton* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnToggleButton* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnToggleButton* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnToggleButton* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnToggleButton* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnToggleButton* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnToggleButton* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnToggleButton* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnToggleButton* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnToggleButton* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnToggleButton* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnToggleButton* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnToggleButton* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnToggleButton* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnToggleButton* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnToggleButton* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnToggleButton* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnToggleButton* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnToggleButton* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnToggleButton* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnToggleButton* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnToggleButton* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnToggleButton* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnToggleButton* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnToggleButton* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnToggleButton* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnToggleButton* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnToggleButton* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnToggleButton* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_content)(IAvnToggleButton* self, IAvnControl** value); /* slot 109 */ - AvnHResult (AVN_CALL *set_content)(IAvnToggleButton* self, IAvnControl* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnToggleButton* self, IAvnDataTemplate** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnToggleButton* self, IAvnDataTemplate* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnToggleButton* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnToggleButton* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnToggleButton* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnToggleButton* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_click_mode)(IAvnToggleButton* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_click_mode)(IAvnToggleButton* self, int32_t value); /* slot 118 */ - AvnHResult (AVN_CALL *get_command)(IAvnToggleButton* self, IAvnCommand** value); /* slot 119 */ - AvnHResult (AVN_CALL *set_command)(IAvnToggleButton* self, IAvnCommand* value); /* slot 120 */ - AvnHResult (AVN_CALL *get_hot_key)(IAvnToggleButton* self, uint16_t** value); /* slot 121 */ - AvnHResult (AVN_CALL *set_hot_key)(IAvnToggleButton* self, const uint16_t* value); /* slot 122 */ - AvnHResult (AVN_CALL *get_command_parameter)(IAvnToggleButton* self, AvnVariant* value); /* slot 123 */ - AvnHResult (AVN_CALL *set_command_parameter)(IAvnToggleButton* self, AvnVariant value); /* slot 124 */ - AvnHResult (AVN_CALL *get_is_default)(IAvnToggleButton* self, int32_t* value); /* slot 125 */ - AvnHResult (AVN_CALL *set_is_default)(IAvnToggleButton* self, int32_t value); /* slot 126 */ - AvnHResult (AVN_CALL *get_is_cancel)(IAvnToggleButton* self, int32_t* value); /* slot 127 */ - AvnHResult (AVN_CALL *set_is_cancel)(IAvnToggleButton* self, int32_t value); /* slot 128 */ - AvnHResult (AVN_CALL *get_is_pressed)(IAvnToggleButton* self, int32_t* value); /* slot 129 */ - AvnHResult (AVN_CALL *get_flyout)(IAvnToggleButton* self, IAvnFlyoutBase** value); /* slot 130 */ - AvnHResult (AVN_CALL *set_flyout)(IAvnToggleButton* self, IAvnFlyoutBase* value); /* slot 131 */ - AvnHResult (AVN_CALL *advise_click)(IAvnToggleButton* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 132 */ - AvnHResult (AVN_CALL *unadvise_click)(IAvnToggleButton* self, int64_t subscription_id); /* slot 133 */ - AvnHResult (AVN_CALL *get_is_checked)(IAvnToggleButton* self, int32_t* value); /* slot 134 */ - AvnHResult (AVN_CALL *set_is_checked)(IAvnToggleButton* self, int32_t value); /* slot 135 */ - AvnHResult (AVN_CALL *get_is_three_state)(IAvnToggleButton* self, int32_t* value); /* slot 136 */ - AvnHResult (AVN_CALL *set_is_three_state)(IAvnToggleButton* self, int32_t value); /* slot 137 */ - AvnHResult (AVN_CALL *advise_is_checked_changed)(IAvnToggleButton* self, IAvnToggleButtonIsCheckedChangedHandler* handler, int64_t* subscription_id); /* slot 138 */ - AvnHResult (AVN_CALL *unadvise_is_checked_changed)(IAvnToggleButton* self, int64_t subscription_id); /* slot 139 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnToggleButton* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnToggleButton* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnToggleButton* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnToggleButton* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnToggleButton* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnToggleButton* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnToggleButton* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnToggleButton* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnToggleButton* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnToggleButton* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnToggleButton* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnToggleButton* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnToggleButton* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnToggleButton* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnToggleButton* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnToggleButton* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnToggleButton* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnToggleButton* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnToggleButton* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnToggleButton* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnToggleButton* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnToggleButton* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnToggleButton* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnToggleButton* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnToggleButton* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnToggleButton* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnToggleButton* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnToggleButton* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnToggleButton* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnToggleButton* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnToggleButton* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnToggleButton* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnToggleButton* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnToggleButton* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnToggleButton* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnToggleButton* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnToggleButton* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnToggleButton* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnToggleButton* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnToggleButton* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnToggleButton* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnToggleButton* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnToggleButton* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnToggleButton* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnToggleButton* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnToggleButton* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnToggleButton* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnToggleButton* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnToggleButton* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnToggleButton* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnToggleButton* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnToggleButton* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnToggleButton* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnToggleButton* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnToggleButton* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnToggleButton* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnToggleButton* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_content)(IAvnToggleButton* self, IAvnControl** value); /* slot 112 */ + AvnHResult (AVN_CALL *set_content)(IAvnToggleButton* self, IAvnControl* value); /* slot 113 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnToggleButton* self, IAvnDataTemplate** value); /* slot 114 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnToggleButton* self, IAvnDataTemplate* value); /* slot 115 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnToggleButton* self, int32_t* value); /* slot 116 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnToggleButton* self, int32_t value); /* slot 117 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnToggleButton* self, int32_t* value); /* slot 118 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnToggleButton* self, int32_t value); /* slot 119 */ + AvnHResult (AVN_CALL *get_click_mode)(IAvnToggleButton* self, int32_t* value); /* slot 120 */ + AvnHResult (AVN_CALL *set_click_mode)(IAvnToggleButton* self, int32_t value); /* slot 121 */ + AvnHResult (AVN_CALL *get_command)(IAvnToggleButton* self, IAvnCommand** value); /* slot 122 */ + AvnHResult (AVN_CALL *set_command)(IAvnToggleButton* self, IAvnCommand* value); /* slot 123 */ + AvnHResult (AVN_CALL *get_hot_key)(IAvnToggleButton* self, uint16_t** value); /* slot 124 */ + AvnHResult (AVN_CALL *set_hot_key)(IAvnToggleButton* self, const uint16_t* value); /* slot 125 */ + AvnHResult (AVN_CALL *get_command_parameter)(IAvnToggleButton* self, AvnVariant* value); /* slot 126 */ + AvnHResult (AVN_CALL *set_command_parameter)(IAvnToggleButton* self, AvnVariant value); /* slot 127 */ + AvnHResult (AVN_CALL *get_is_default)(IAvnToggleButton* self, int32_t* value); /* slot 128 */ + AvnHResult (AVN_CALL *set_is_default)(IAvnToggleButton* self, int32_t value); /* slot 129 */ + AvnHResult (AVN_CALL *get_is_cancel)(IAvnToggleButton* self, int32_t* value); /* slot 130 */ + AvnHResult (AVN_CALL *set_is_cancel)(IAvnToggleButton* self, int32_t value); /* slot 131 */ + AvnHResult (AVN_CALL *get_is_pressed)(IAvnToggleButton* self, int32_t* value); /* slot 132 */ + AvnHResult (AVN_CALL *get_flyout)(IAvnToggleButton* self, IAvnFlyoutBase** value); /* slot 133 */ + AvnHResult (AVN_CALL *set_flyout)(IAvnToggleButton* self, IAvnFlyoutBase* value); /* slot 134 */ + AvnHResult (AVN_CALL *advise_click)(IAvnToggleButton* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 135 */ + AvnHResult (AVN_CALL *unadvise_click)(IAvnToggleButton* self, int64_t subscription_id); /* slot 136 */ + AvnHResult (AVN_CALL *get_is_checked)(IAvnToggleButton* self, int32_t* value); /* slot 137 */ + AvnHResult (AVN_CALL *set_is_checked)(IAvnToggleButton* self, int32_t value); /* slot 138 */ + AvnHResult (AVN_CALL *get_is_three_state)(IAvnToggleButton* self, int32_t* value); /* slot 139 */ + AvnHResult (AVN_CALL *set_is_three_state)(IAvnToggleButton* self, int32_t value); /* slot 140 */ + AvnHResult (AVN_CALL *advise_is_checked_changed)(IAvnToggleButton* self, IAvnToggleButtonIsCheckedChangedHandler* handler, int64_t* subscription_id); /* slot 141 */ + AvnHResult (AVN_CALL *unadvise_is_checked_changed)(IAvnToggleButton* self, int64_t subscription_id); /* slot 142 */ }; struct IAvnToggleButton { const IAvnToggleButtonVtbl* vtbl; }; -#define I_AVN_TOGGLE_BUTTON_VTABLE_SLOTS 140 +#define I_AVN_TOGGLE_BUTTON_VTABLE_SLOTS 143 static const AvnGuid I_AVN_TOGGLE_SPLIT_BUTTON_IID = { - 0x0057E49B, - 0xBB54, - 0x516F, - { 0x8F, 0xDA, 0xB1, 0xE6, 0x46, 0xA1, 0xC8, 0x97 } + 0xA8024AE3, + 0x3329, + 0x57D6, + { 0xAE, 0x6C, 0x1E, 0x3B, 0xBA, 0xD7, 0xA7, 0xE6 } }; -#define I_AVN_TOGGLE_SPLIT_BUTTON_ABI_VERSION 14 +#define I_AVN_TOGGLE_SPLIT_BUTTON_ABI_VERSION 15 struct IAvnToggleSplitButtonVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnToggleSplitButton* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnToggleSplitButton* self); /* slot 1 */ @@ -14257,93 +14509,96 @@ struct IAvnToggleSplitButtonVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnToggleSplitButton* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnToggleSplitButton* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnToggleSplitButton* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnToggleSplitButton* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnToggleSplitButton* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnToggleSplitButton* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnToggleSplitButton* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnToggleSplitButton* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnToggleSplitButton* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnToggleSplitButton* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnToggleSplitButton* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnToggleSplitButton* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnToggleSplitButton* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnToggleSplitButton* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnToggleSplitButton* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnToggleSplitButton* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnToggleSplitButton* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnToggleSplitButton* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnToggleSplitButton* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnToggleSplitButton* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnToggleSplitButton* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnToggleSplitButton* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnToggleSplitButton* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnToggleSplitButton* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnToggleSplitButton* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnToggleSplitButton* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnToggleSplitButton* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnToggleSplitButton* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnToggleSplitButton* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnToggleSplitButton* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnToggleSplitButton* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnToggleSplitButton* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnToggleSplitButton* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnToggleSplitButton* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnToggleSplitButton* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnToggleSplitButton* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnToggleSplitButton* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnToggleSplitButton* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnToggleSplitButton* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnToggleSplitButton* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnToggleSplitButton* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnToggleSplitButton* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnToggleSplitButton* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnToggleSplitButton* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnToggleSplitButton* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnToggleSplitButton* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnToggleSplitButton* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnToggleSplitButton* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnToggleSplitButton* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnToggleSplitButton* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnToggleSplitButton* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnToggleSplitButton* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnToggleSplitButton* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnToggleSplitButton* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnToggleSplitButton* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnToggleSplitButton* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnToggleSplitButton* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_content)(IAvnToggleSplitButton* self, IAvnControl** value); /* slot 109 */ - AvnHResult (AVN_CALL *set_content)(IAvnToggleSplitButton* self, IAvnControl* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnToggleSplitButton* self, IAvnDataTemplate** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnToggleSplitButton* self, IAvnDataTemplate* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnToggleSplitButton* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnToggleSplitButton* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnToggleSplitButton* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnToggleSplitButton* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_command)(IAvnToggleSplitButton* self, IAvnCommand** value); /* slot 117 */ - AvnHResult (AVN_CALL *set_command)(IAvnToggleSplitButton* self, IAvnCommand* value); /* slot 118 */ - AvnHResult (AVN_CALL *get_command_parameter)(IAvnToggleSplitButton* self, AvnVariant* value); /* slot 119 */ - AvnHResult (AVN_CALL *set_command_parameter)(IAvnToggleSplitButton* self, AvnVariant value); /* slot 120 */ - AvnHResult (AVN_CALL *get_flyout)(IAvnToggleSplitButton* self, IAvnFlyoutBase** value); /* slot 121 */ - AvnHResult (AVN_CALL *set_flyout)(IAvnToggleSplitButton* self, IAvnFlyoutBase* value); /* slot 122 */ - AvnHResult (AVN_CALL *get_hot_key)(IAvnToggleSplitButton* self, uint16_t** value); /* slot 123 */ - AvnHResult (AVN_CALL *set_hot_key)(IAvnToggleSplitButton* self, const uint16_t* value); /* slot 124 */ - AvnHResult (AVN_CALL *advise_click)(IAvnToggleSplitButton* self, IAvnSplitButtonClickHandler* handler, int64_t* subscription_id); /* slot 125 */ - AvnHResult (AVN_CALL *unadvise_click)(IAvnToggleSplitButton* self, int64_t subscription_id); /* slot 126 */ - AvnHResult (AVN_CALL *get_is_checked)(IAvnToggleSplitButton* self, int32_t* value); /* slot 127 */ - AvnHResult (AVN_CALL *set_is_checked)(IAvnToggleSplitButton* self, int32_t value); /* slot 128 */ - AvnHResult (AVN_CALL *advise_is_checked_changed)(IAvnToggleSplitButton* self, IAvnToggleSplitButtonIsCheckedChangedHandler* handler, int64_t* subscription_id); /* slot 129 */ - AvnHResult (AVN_CALL *unadvise_is_checked_changed)(IAvnToggleSplitButton* self, int64_t subscription_id); /* slot 130 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnToggleSplitButton* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnToggleSplitButton* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnToggleSplitButton* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnToggleSplitButton* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnToggleSplitButton* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnToggleSplitButton* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnToggleSplitButton* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnToggleSplitButton* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnToggleSplitButton* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnToggleSplitButton* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnToggleSplitButton* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnToggleSplitButton* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnToggleSplitButton* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnToggleSplitButton* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnToggleSplitButton* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnToggleSplitButton* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnToggleSplitButton* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnToggleSplitButton* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnToggleSplitButton* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnToggleSplitButton* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnToggleSplitButton* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnToggleSplitButton* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnToggleSplitButton* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnToggleSplitButton* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnToggleSplitButton* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnToggleSplitButton* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnToggleSplitButton* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnToggleSplitButton* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnToggleSplitButton* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnToggleSplitButton* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnToggleSplitButton* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnToggleSplitButton* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnToggleSplitButton* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnToggleSplitButton* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnToggleSplitButton* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnToggleSplitButton* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnToggleSplitButton* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnToggleSplitButton* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnToggleSplitButton* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnToggleSplitButton* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnToggleSplitButton* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnToggleSplitButton* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnToggleSplitButton* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnToggleSplitButton* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnToggleSplitButton* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnToggleSplitButton* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnToggleSplitButton* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnToggleSplitButton* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnToggleSplitButton* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnToggleSplitButton* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnToggleSplitButton* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnToggleSplitButton* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnToggleSplitButton* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnToggleSplitButton* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnToggleSplitButton* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnToggleSplitButton* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnToggleSplitButton* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_content)(IAvnToggleSplitButton* self, IAvnControl** value); /* slot 112 */ + AvnHResult (AVN_CALL *set_content)(IAvnToggleSplitButton* self, IAvnControl* value); /* slot 113 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnToggleSplitButton* self, IAvnDataTemplate** value); /* slot 114 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnToggleSplitButton* self, IAvnDataTemplate* value); /* slot 115 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnToggleSplitButton* self, int32_t* value); /* slot 116 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnToggleSplitButton* self, int32_t value); /* slot 117 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnToggleSplitButton* self, int32_t* value); /* slot 118 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnToggleSplitButton* self, int32_t value); /* slot 119 */ + AvnHResult (AVN_CALL *get_command)(IAvnToggleSplitButton* self, IAvnCommand** value); /* slot 120 */ + AvnHResult (AVN_CALL *set_command)(IAvnToggleSplitButton* self, IAvnCommand* value); /* slot 121 */ + AvnHResult (AVN_CALL *get_command_parameter)(IAvnToggleSplitButton* self, AvnVariant* value); /* slot 122 */ + AvnHResult (AVN_CALL *set_command_parameter)(IAvnToggleSplitButton* self, AvnVariant value); /* slot 123 */ + AvnHResult (AVN_CALL *get_flyout)(IAvnToggleSplitButton* self, IAvnFlyoutBase** value); /* slot 124 */ + AvnHResult (AVN_CALL *set_flyout)(IAvnToggleSplitButton* self, IAvnFlyoutBase* value); /* slot 125 */ + AvnHResult (AVN_CALL *get_hot_key)(IAvnToggleSplitButton* self, uint16_t** value); /* slot 126 */ + AvnHResult (AVN_CALL *set_hot_key)(IAvnToggleSplitButton* self, const uint16_t* value); /* slot 127 */ + AvnHResult (AVN_CALL *advise_click)(IAvnToggleSplitButton* self, IAvnSplitButtonClickHandler* handler, int64_t* subscription_id); /* slot 128 */ + AvnHResult (AVN_CALL *unadvise_click)(IAvnToggleSplitButton* self, int64_t subscription_id); /* slot 129 */ + AvnHResult (AVN_CALL *get_is_checked)(IAvnToggleSplitButton* self, int32_t* value); /* slot 130 */ + AvnHResult (AVN_CALL *set_is_checked)(IAvnToggleSplitButton* self, int32_t value); /* slot 131 */ + AvnHResult (AVN_CALL *advise_is_checked_changed)(IAvnToggleSplitButton* self, IAvnToggleSplitButtonIsCheckedChangedHandler* handler, int64_t* subscription_id); /* slot 132 */ + AvnHResult (AVN_CALL *unadvise_is_checked_changed)(IAvnToggleSplitButton* self, int64_t subscription_id); /* slot 133 */ }; struct IAvnToggleSplitButton { const IAvnToggleSplitButtonVtbl* vtbl; }; -#define I_AVN_TOGGLE_SPLIT_BUTTON_VTABLE_SLOTS 131 +#define I_AVN_TOGGLE_SPLIT_BUTTON_VTABLE_SLOTS 134 static const AvnGuid I_AVN_TOGGLE_SWITCH_IID = { - 0xB022C6CE, - 0x8A5D, - 0x5700, - { 0xB3, 0x41, 0x11, 0x4A, 0x6A, 0x4F, 0xBC, 0xA0 } + 0xEB2E63C7, + 0x1C28, + 0x5754, + { 0xB2, 0x6B, 0x64, 0xBC, 0x0C, 0x26, 0x41, 0xBF } }; -#define I_AVN_TOGGLE_SWITCH_ABI_VERSION 18 +#define I_AVN_TOGGLE_SWITCH_ABI_VERSION 19 struct IAvnToggleSwitchVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnToggleSwitch* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnToggleSwitch* self); /* slot 1 */ @@ -14400,110 +14655,113 @@ struct IAvnToggleSwitchVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnToggleSwitch* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnToggleSwitch* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnToggleSwitch* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnToggleSwitch* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnToggleSwitch* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnToggleSwitch* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnToggleSwitch* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnToggleSwitch* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnToggleSwitch* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnToggleSwitch* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnToggleSwitch* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnToggleSwitch* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnToggleSwitch* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnToggleSwitch* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnToggleSwitch* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnToggleSwitch* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnToggleSwitch* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnToggleSwitch* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnToggleSwitch* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnToggleSwitch* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnToggleSwitch* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnToggleSwitch* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnToggleSwitch* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnToggleSwitch* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnToggleSwitch* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnToggleSwitch* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnToggleSwitch* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnToggleSwitch* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnToggleSwitch* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnToggleSwitch* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnToggleSwitch* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnToggleSwitch* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnToggleSwitch* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnToggleSwitch* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnToggleSwitch* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnToggleSwitch* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnToggleSwitch* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnToggleSwitch* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnToggleSwitch* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnToggleSwitch* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnToggleSwitch* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnToggleSwitch* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnToggleSwitch* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnToggleSwitch* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnToggleSwitch* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnToggleSwitch* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnToggleSwitch* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnToggleSwitch* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnToggleSwitch* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnToggleSwitch* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnToggleSwitch* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnToggleSwitch* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnToggleSwitch* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnToggleSwitch* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnToggleSwitch* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnToggleSwitch* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnToggleSwitch* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_content)(IAvnToggleSwitch* self, IAvnControl** value); /* slot 109 */ - AvnHResult (AVN_CALL *set_content)(IAvnToggleSwitch* self, IAvnControl* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnToggleSwitch* self, IAvnDataTemplate** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnToggleSwitch* self, IAvnDataTemplate* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnToggleSwitch* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnToggleSwitch* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnToggleSwitch* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnToggleSwitch* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_click_mode)(IAvnToggleSwitch* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_click_mode)(IAvnToggleSwitch* self, int32_t value); /* slot 118 */ - AvnHResult (AVN_CALL *get_command)(IAvnToggleSwitch* self, IAvnCommand** value); /* slot 119 */ - AvnHResult (AVN_CALL *set_command)(IAvnToggleSwitch* self, IAvnCommand* value); /* slot 120 */ - AvnHResult (AVN_CALL *get_hot_key)(IAvnToggleSwitch* self, uint16_t** value); /* slot 121 */ - AvnHResult (AVN_CALL *set_hot_key)(IAvnToggleSwitch* self, const uint16_t* value); /* slot 122 */ - AvnHResult (AVN_CALL *get_command_parameter)(IAvnToggleSwitch* self, AvnVariant* value); /* slot 123 */ - AvnHResult (AVN_CALL *set_command_parameter)(IAvnToggleSwitch* self, AvnVariant value); /* slot 124 */ - AvnHResult (AVN_CALL *get_is_default)(IAvnToggleSwitch* self, int32_t* value); /* slot 125 */ - AvnHResult (AVN_CALL *set_is_default)(IAvnToggleSwitch* self, int32_t value); /* slot 126 */ - AvnHResult (AVN_CALL *get_is_cancel)(IAvnToggleSwitch* self, int32_t* value); /* slot 127 */ - AvnHResult (AVN_CALL *set_is_cancel)(IAvnToggleSwitch* self, int32_t value); /* slot 128 */ - AvnHResult (AVN_CALL *get_is_pressed)(IAvnToggleSwitch* self, int32_t* value); /* slot 129 */ - AvnHResult (AVN_CALL *get_flyout)(IAvnToggleSwitch* self, IAvnFlyoutBase** value); /* slot 130 */ - AvnHResult (AVN_CALL *set_flyout)(IAvnToggleSwitch* self, IAvnFlyoutBase* value); /* slot 131 */ - AvnHResult (AVN_CALL *advise_click)(IAvnToggleSwitch* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 132 */ - AvnHResult (AVN_CALL *unadvise_click)(IAvnToggleSwitch* self, int64_t subscription_id); /* slot 133 */ - AvnHResult (AVN_CALL *get_is_checked)(IAvnToggleSwitch* self, int32_t* value); /* slot 134 */ - AvnHResult (AVN_CALL *set_is_checked)(IAvnToggleSwitch* self, int32_t value); /* slot 135 */ - AvnHResult (AVN_CALL *get_is_three_state)(IAvnToggleSwitch* self, int32_t* value); /* slot 136 */ - AvnHResult (AVN_CALL *set_is_three_state)(IAvnToggleSwitch* self, int32_t value); /* slot 137 */ - AvnHResult (AVN_CALL *advise_is_checked_changed)(IAvnToggleSwitch* self, IAvnToggleButtonIsCheckedChangedHandler* handler, int64_t* subscription_id); /* slot 138 */ - AvnHResult (AVN_CALL *unadvise_is_checked_changed)(IAvnToggleSwitch* self, int64_t subscription_id); /* slot 139 */ - AvnHResult (AVN_CALL *get_on_content)(IAvnToggleSwitch* self, IAvnControl** value); /* slot 140 */ - AvnHResult (AVN_CALL *set_on_content)(IAvnToggleSwitch* self, IAvnControl* value); /* slot 141 */ - AvnHResult (AVN_CALL *get_off_content)(IAvnToggleSwitch* self, IAvnControl** value); /* slot 142 */ - AvnHResult (AVN_CALL *set_off_content)(IAvnToggleSwitch* self, IAvnControl* value); /* slot 143 */ - AvnHResult (AVN_CALL *get_off_content_template)(IAvnToggleSwitch* self, IAvnDataTemplate** value); /* slot 144 */ - AvnHResult (AVN_CALL *set_off_content_template)(IAvnToggleSwitch* self, IAvnDataTemplate* value); /* slot 145 */ - AvnHResult (AVN_CALL *get_on_content_template)(IAvnToggleSwitch* self, IAvnDataTemplate** value); /* slot 146 */ - AvnHResult (AVN_CALL *set_on_content_template)(IAvnToggleSwitch* self, IAvnDataTemplate* value); /* slot 147 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnToggleSwitch* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnToggleSwitch* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnToggleSwitch* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnToggleSwitch* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnToggleSwitch* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnToggleSwitch* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnToggleSwitch* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnToggleSwitch* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnToggleSwitch* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnToggleSwitch* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnToggleSwitch* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnToggleSwitch* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnToggleSwitch* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnToggleSwitch* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnToggleSwitch* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnToggleSwitch* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnToggleSwitch* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnToggleSwitch* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnToggleSwitch* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnToggleSwitch* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnToggleSwitch* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnToggleSwitch* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnToggleSwitch* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnToggleSwitch* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnToggleSwitch* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnToggleSwitch* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnToggleSwitch* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnToggleSwitch* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnToggleSwitch* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnToggleSwitch* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnToggleSwitch* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnToggleSwitch* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnToggleSwitch* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnToggleSwitch* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnToggleSwitch* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnToggleSwitch* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnToggleSwitch* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnToggleSwitch* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnToggleSwitch* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnToggleSwitch* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnToggleSwitch* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnToggleSwitch* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnToggleSwitch* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnToggleSwitch* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnToggleSwitch* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnToggleSwitch* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnToggleSwitch* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnToggleSwitch* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnToggleSwitch* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnToggleSwitch* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnToggleSwitch* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnToggleSwitch* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnToggleSwitch* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnToggleSwitch* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnToggleSwitch* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnToggleSwitch* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnToggleSwitch* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_content)(IAvnToggleSwitch* self, IAvnControl** value); /* slot 112 */ + AvnHResult (AVN_CALL *set_content)(IAvnToggleSwitch* self, IAvnControl* value); /* slot 113 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnToggleSwitch* self, IAvnDataTemplate** value); /* slot 114 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnToggleSwitch* self, IAvnDataTemplate* value); /* slot 115 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnToggleSwitch* self, int32_t* value); /* slot 116 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnToggleSwitch* self, int32_t value); /* slot 117 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnToggleSwitch* self, int32_t* value); /* slot 118 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnToggleSwitch* self, int32_t value); /* slot 119 */ + AvnHResult (AVN_CALL *get_click_mode)(IAvnToggleSwitch* self, int32_t* value); /* slot 120 */ + AvnHResult (AVN_CALL *set_click_mode)(IAvnToggleSwitch* self, int32_t value); /* slot 121 */ + AvnHResult (AVN_CALL *get_command)(IAvnToggleSwitch* self, IAvnCommand** value); /* slot 122 */ + AvnHResult (AVN_CALL *set_command)(IAvnToggleSwitch* self, IAvnCommand* value); /* slot 123 */ + AvnHResult (AVN_CALL *get_hot_key)(IAvnToggleSwitch* self, uint16_t** value); /* slot 124 */ + AvnHResult (AVN_CALL *set_hot_key)(IAvnToggleSwitch* self, const uint16_t* value); /* slot 125 */ + AvnHResult (AVN_CALL *get_command_parameter)(IAvnToggleSwitch* self, AvnVariant* value); /* slot 126 */ + AvnHResult (AVN_CALL *set_command_parameter)(IAvnToggleSwitch* self, AvnVariant value); /* slot 127 */ + AvnHResult (AVN_CALL *get_is_default)(IAvnToggleSwitch* self, int32_t* value); /* slot 128 */ + AvnHResult (AVN_CALL *set_is_default)(IAvnToggleSwitch* self, int32_t value); /* slot 129 */ + AvnHResult (AVN_CALL *get_is_cancel)(IAvnToggleSwitch* self, int32_t* value); /* slot 130 */ + AvnHResult (AVN_CALL *set_is_cancel)(IAvnToggleSwitch* self, int32_t value); /* slot 131 */ + AvnHResult (AVN_CALL *get_is_pressed)(IAvnToggleSwitch* self, int32_t* value); /* slot 132 */ + AvnHResult (AVN_CALL *get_flyout)(IAvnToggleSwitch* self, IAvnFlyoutBase** value); /* slot 133 */ + AvnHResult (AVN_CALL *set_flyout)(IAvnToggleSwitch* self, IAvnFlyoutBase* value); /* slot 134 */ + AvnHResult (AVN_CALL *advise_click)(IAvnToggleSwitch* self, IAvnButtonClickHandler* handler, int64_t* subscription_id); /* slot 135 */ + AvnHResult (AVN_CALL *unadvise_click)(IAvnToggleSwitch* self, int64_t subscription_id); /* slot 136 */ + AvnHResult (AVN_CALL *get_is_checked)(IAvnToggleSwitch* self, int32_t* value); /* slot 137 */ + AvnHResult (AVN_CALL *set_is_checked)(IAvnToggleSwitch* self, int32_t value); /* slot 138 */ + AvnHResult (AVN_CALL *get_is_three_state)(IAvnToggleSwitch* self, int32_t* value); /* slot 139 */ + AvnHResult (AVN_CALL *set_is_three_state)(IAvnToggleSwitch* self, int32_t value); /* slot 140 */ + AvnHResult (AVN_CALL *advise_is_checked_changed)(IAvnToggleSwitch* self, IAvnToggleButtonIsCheckedChangedHandler* handler, int64_t* subscription_id); /* slot 141 */ + AvnHResult (AVN_CALL *unadvise_is_checked_changed)(IAvnToggleSwitch* self, int64_t subscription_id); /* slot 142 */ + AvnHResult (AVN_CALL *get_on_content)(IAvnToggleSwitch* self, IAvnControl** value); /* slot 143 */ + AvnHResult (AVN_CALL *set_on_content)(IAvnToggleSwitch* self, IAvnControl* value); /* slot 144 */ + AvnHResult (AVN_CALL *get_off_content)(IAvnToggleSwitch* self, IAvnControl** value); /* slot 145 */ + AvnHResult (AVN_CALL *set_off_content)(IAvnToggleSwitch* self, IAvnControl* value); /* slot 146 */ + AvnHResult (AVN_CALL *get_off_content_template)(IAvnToggleSwitch* self, IAvnDataTemplate** value); /* slot 147 */ + AvnHResult (AVN_CALL *set_off_content_template)(IAvnToggleSwitch* self, IAvnDataTemplate* value); /* slot 148 */ + AvnHResult (AVN_CALL *get_on_content_template)(IAvnToggleSwitch* self, IAvnDataTemplate** value); /* slot 149 */ + AvnHResult (AVN_CALL *set_on_content_template)(IAvnToggleSwitch* self, IAvnDataTemplate* value); /* slot 150 */ }; struct IAvnToggleSwitch { const IAvnToggleSwitchVtbl* vtbl; }; -#define I_AVN_TOGGLE_SWITCH_VTABLE_SLOTS 148 +#define I_AVN_TOGGLE_SWITCH_VTABLE_SLOTS 151 static const AvnGuid I_AVN_TOOL_TIP_IID = { - 0x2B78EA6B, - 0xFE62, - 0x5508, - { 0xAB, 0x5F, 0x58, 0x6C, 0x35, 0x23, 0xC5, 0xA1 } + 0x04F8776B, + 0x9CD2, + 0x58D3, + { 0x90, 0x04, 0xAA, 0x6B, 0x0C, 0x12, 0xE9, 0x02 } }; -#define I_AVN_TOOL_TIP_ABI_VERSION 11 +#define I_AVN_TOOL_TIP_ABI_VERSION 12 struct IAvnToolTipVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnToolTip* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnToolTip* self); /* slot 1 */ @@ -14560,79 +14818,82 @@ struct IAvnToolTipVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnToolTip* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnToolTip* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnToolTip* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnToolTip* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnToolTip* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnToolTip* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnToolTip* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnToolTip* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnToolTip* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnToolTip* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnToolTip* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnToolTip* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnToolTip* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnToolTip* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnToolTip* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnToolTip* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnToolTip* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnToolTip* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnToolTip* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnToolTip* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnToolTip* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnToolTip* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnToolTip* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnToolTip* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnToolTip* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnToolTip* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnToolTip* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnToolTip* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnToolTip* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnToolTip* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnToolTip* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnToolTip* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnToolTip* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnToolTip* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnToolTip* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnToolTip* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnToolTip* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnToolTip* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnToolTip* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnToolTip* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnToolTip* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnToolTip* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnToolTip* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnToolTip* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnToolTip* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnToolTip* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnToolTip* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnToolTip* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnToolTip* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnToolTip* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnToolTip* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnToolTip* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnToolTip* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnToolTip* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnToolTip* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnToolTip* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnToolTip* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_content)(IAvnToolTip* self, IAvnControl** value); /* slot 109 */ - AvnHResult (AVN_CALL *set_content)(IAvnToolTip* self, IAvnControl* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnToolTip* self, IAvnDataTemplate** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnToolTip* self, IAvnDataTemplate* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnToolTip* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnToolTip* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnToolTip* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnToolTip* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnToolTip* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnToolTip* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnToolTip* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnToolTip* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnToolTip* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnToolTip* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnToolTip* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnToolTip* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnToolTip* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnToolTip* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnToolTip* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnToolTip* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnToolTip* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnToolTip* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnToolTip* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnToolTip* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnToolTip* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnToolTip* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnToolTip* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnToolTip* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnToolTip* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnToolTip* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnToolTip* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnToolTip* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnToolTip* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnToolTip* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnToolTip* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnToolTip* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnToolTip* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnToolTip* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnToolTip* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnToolTip* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnToolTip* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnToolTip* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnToolTip* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnToolTip* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnToolTip* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnToolTip* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnToolTip* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnToolTip* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnToolTip* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnToolTip* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnToolTip* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnToolTip* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnToolTip* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnToolTip* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnToolTip* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnToolTip* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnToolTip* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnToolTip* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnToolTip* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnToolTip* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnToolTip* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnToolTip* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnToolTip* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnToolTip* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnToolTip* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_content)(IAvnToolTip* self, IAvnControl** value); /* slot 112 */ + AvnHResult (AVN_CALL *set_content)(IAvnToolTip* self, IAvnControl* value); /* slot 113 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnToolTip* self, IAvnDataTemplate** value); /* slot 114 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnToolTip* self, IAvnDataTemplate* value); /* slot 115 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnToolTip* self, int32_t* value); /* slot 116 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnToolTip* self, int32_t value); /* slot 117 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnToolTip* self, int32_t* value); /* slot 118 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnToolTip* self, int32_t value); /* slot 119 */ }; struct IAvnToolTip { const IAvnToolTipVtbl* vtbl; }; -#define I_AVN_TOOL_TIP_VTABLE_SLOTS 117 +#define I_AVN_TOOL_TIP_VTABLE_SLOTS 120 static const AvnGuid I_AVN_TRANSITIONING_CONTENT_CONTROL_IID = { - 0xFD0EB25C, - 0x585B, - 0x5EDA, - { 0xB1, 0xED, 0xF6, 0x29, 0xA7, 0x65, 0xB5, 0xA9 } + 0x2B88F131, + 0x4CA4, + 0x529F, + { 0xAA, 0x60, 0xED, 0x2B, 0xE7, 0x19, 0xBE, 0x10 } }; -#define I_AVN_TRANSITIONING_CONTENT_CONTROL_ABI_VERSION 12 +#define I_AVN_TRANSITIONING_CONTENT_CONTROL_ABI_VERSION 13 struct IAvnTransitioningContentControlVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnTransitioningContentControl* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnTransitioningContentControl* self); /* slot 1 */ @@ -14689,75 +14950,78 @@ struct IAvnTransitioningContentControlVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnTransitioningContentControl* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnTransitioningContentControl* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnTransitioningContentControl* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnTransitioningContentControl* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnTransitioningContentControl* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnTransitioningContentControl* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnTransitioningContentControl* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnTransitioningContentControl* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnTransitioningContentControl* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnTransitioningContentControl* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnTransitioningContentControl* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnTransitioningContentControl* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnTransitioningContentControl* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnTransitioningContentControl* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnTransitioningContentControl* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnTransitioningContentControl* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnTransitioningContentControl* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnTransitioningContentControl* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnTransitioningContentControl* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnTransitioningContentControl* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTransitioningContentControl* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTransitioningContentControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTransitioningContentControl* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnTransitioningContentControl* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnTransitioningContentControl* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnTransitioningContentControl* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnTransitioningContentControl* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnTransitioningContentControl* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnTransitioningContentControl* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnTransitioningContentControl* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnTransitioningContentControl* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnTransitioningContentControl* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnTransitioningContentControl* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnTransitioningContentControl* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnTransitioningContentControl* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnTransitioningContentControl* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnTransitioningContentControl* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnTransitioningContentControl* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnTransitioningContentControl* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnTransitioningContentControl* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnTransitioningContentControl* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnTransitioningContentControl* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnTransitioningContentControl* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnTransitioningContentControl* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnTransitioningContentControl* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnTransitioningContentControl* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnTransitioningContentControl* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnTransitioningContentControl* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnTransitioningContentControl* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnTransitioningContentControl* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnTransitioningContentControl* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnTransitioningContentControl* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnTransitioningContentControl* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTransitioningContentControl* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTransitioningContentControl* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnTransitioningContentControl* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnTransitioningContentControl* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_content)(IAvnTransitioningContentControl* self, IAvnControl** value); /* slot 109 */ - AvnHResult (AVN_CALL *set_content)(IAvnTransitioningContentControl* self, IAvnControl* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnTransitioningContentControl* self, IAvnDataTemplate** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnTransitioningContentControl* self, IAvnDataTemplate* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnTransitioningContentControl* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnTransitioningContentControl* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnTransitioningContentControl* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnTransitioningContentControl* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_is_transition_reversed)(IAvnTransitioningContentControl* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_is_transition_reversed)(IAvnTransitioningContentControl* self, int32_t value); /* slot 118 */ - AvnHResult (AVN_CALL *advise_transition_completed)(IAvnTransitioningContentControl* self, IAvnTransitioningContentControlTransitionCompletedHandler* handler, int64_t* subscription_id); /* slot 119 */ - AvnHResult (AVN_CALL *unadvise_transition_completed)(IAvnTransitioningContentControl* self, int64_t subscription_id); /* slot 120 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnTransitioningContentControl* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnTransitioningContentControl* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnTransitioningContentControl* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnTransitioningContentControl* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnTransitioningContentControl* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnTransitioningContentControl* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnTransitioningContentControl* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnTransitioningContentControl* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnTransitioningContentControl* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnTransitioningContentControl* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnTransitioningContentControl* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnTransitioningContentControl* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnTransitioningContentControl* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnTransitioningContentControl* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnTransitioningContentControl* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnTransitioningContentControl* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnTransitioningContentControl* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnTransitioningContentControl* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnTransitioningContentControl* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnTransitioningContentControl* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTransitioningContentControl* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTransitioningContentControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTransitioningContentControl* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnTransitioningContentControl* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnTransitioningContentControl* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnTransitioningContentControl* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnTransitioningContentControl* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnTransitioningContentControl* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnTransitioningContentControl* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnTransitioningContentControl* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnTransitioningContentControl* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnTransitioningContentControl* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnTransitioningContentControl* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnTransitioningContentControl* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnTransitioningContentControl* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnTransitioningContentControl* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnTransitioningContentControl* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnTransitioningContentControl* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnTransitioningContentControl* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnTransitioningContentControl* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnTransitioningContentControl* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnTransitioningContentControl* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnTransitioningContentControl* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnTransitioningContentControl* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnTransitioningContentControl* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnTransitioningContentControl* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnTransitioningContentControl* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnTransitioningContentControl* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnTransitioningContentControl* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnTransitioningContentControl* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnTransitioningContentControl* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnTransitioningContentControl* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnTransitioningContentControl* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTransitioningContentControl* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTransitioningContentControl* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnTransitioningContentControl* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnTransitioningContentControl* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_content)(IAvnTransitioningContentControl* self, IAvnControl** value); /* slot 112 */ + AvnHResult (AVN_CALL *set_content)(IAvnTransitioningContentControl* self, IAvnControl* value); /* slot 113 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnTransitioningContentControl* self, IAvnDataTemplate** value); /* slot 114 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnTransitioningContentControl* self, IAvnDataTemplate* value); /* slot 115 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnTransitioningContentControl* self, int32_t* value); /* slot 116 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnTransitioningContentControl* self, int32_t value); /* slot 117 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnTransitioningContentControl* self, int32_t* value); /* slot 118 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnTransitioningContentControl* self, int32_t value); /* slot 119 */ + AvnHResult (AVN_CALL *get_is_transition_reversed)(IAvnTransitioningContentControl* self, int32_t* value); /* slot 120 */ + AvnHResult (AVN_CALL *set_is_transition_reversed)(IAvnTransitioningContentControl* self, int32_t value); /* slot 121 */ + AvnHResult (AVN_CALL *advise_transition_completed)(IAvnTransitioningContentControl* self, IAvnTransitioningContentControlTransitionCompletedHandler* handler, int64_t* subscription_id); /* slot 122 */ + AvnHResult (AVN_CALL *unadvise_transition_completed)(IAvnTransitioningContentControl* self, int64_t subscription_id); /* slot 123 */ }; struct IAvnTransitioningContentControl { const IAvnTransitioningContentControlVtbl* vtbl; }; -#define I_AVN_TRANSITIONING_CONTENT_CONTROL_VTABLE_SLOTS 121 +#define I_AVN_TRANSITIONING_CONTENT_CONTROL_VTABLE_SLOTS 124 static const AvnGuid I_AVN_TRAY_ICON_IID = { 0xC05739ED, @@ -14789,12 +15053,12 @@ struct IAvnTrayIcon { const IAvnTrayIconVtbl* vtbl; }; #define I_AVN_TRAY_ICON_VTABLE_SLOTS 17 static const AvnGuid I_AVN_TREE_VIEW_IID = { - 0x0B60003F, - 0xEC3F, - 0x5F72, - { 0x97, 0x63, 0x04, 0xC3, 0xC4, 0xFF, 0xE8, 0xDD } + 0x51F6F3E1, + 0x06E8, + 0x563F, + { 0xA8, 0x34, 0xCA, 0x7D, 0x3C, 0x75, 0x1B, 0x4D } }; -#define I_AVN_TREE_VIEW_ABI_VERSION 14 +#define I_AVN_TREE_VIEW_ABI_VERSION 15 struct IAvnTreeViewVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnTreeView* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnTreeView* self); /* slot 1 */ @@ -14851,99 +15115,102 @@ struct IAvnTreeViewVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnTreeView* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnTreeView* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnTreeView* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnTreeView* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnTreeView* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnTreeView* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnTreeView* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnTreeView* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnTreeView* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnTreeView* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnTreeView* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnTreeView* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnTreeView* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnTreeView* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnTreeView* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnTreeView* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnTreeView* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnTreeView* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnTreeView* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnTreeView* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTreeView* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTreeView* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTreeView* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnTreeView* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnTreeView* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnTreeView* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnTreeView* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnTreeView* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnTreeView* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnTreeView* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnTreeView* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnTreeView* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnTreeView* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnTreeView* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnTreeView* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnTreeView* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnTreeView* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnTreeView* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnTreeView* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnTreeView* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnTreeView* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnTreeView* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnTreeView* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnTreeView* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnTreeView* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnTreeView* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnTreeView* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnTreeView* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnTreeView* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnTreeView* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnTreeView* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnTreeView* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnTreeView* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTreeView* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTreeView* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnTreeView* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnTreeView* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_items)(IAvnTreeView* self, IAvnItemList** value); /* slot 109 */ - AvnHResult (AVN_CALL *get_item_count)(IAvnTreeView* self, int32_t* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_items_source)(IAvnTreeView* self, IAvnVariantList** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_items_source)(IAvnTreeView* self, IAvnVariantList* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_item_template)(IAvnTreeView* self, IAvnDataTemplate** value); /* slot 113 */ - AvnHResult (AVN_CALL *set_item_template)(IAvnTreeView* self, IAvnDataTemplate* value); /* slot 114 */ - AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnTreeView* self, int32_t index, IAvnControl** value); /* slot 115 */ - AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnTreeView* self, AvnVariant item, IAvnControl** value); /* slot 116 */ - AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnTreeView* self, IAvnControl* container, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnTreeView* self, IAvnControl* container, AvnVariant* value); /* slot 118 */ - AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnTreeView* self, int32_t index); /* slot 119 */ - AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnTreeView* self, AvnVariant item); /* slot 120 */ - AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnTreeView* self, int32_t* value); /* slot 121 */ - AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnTreeView* self, int32_t value); /* slot 122 */ - AvnHResult (AVN_CALL *get_selection_mode)(IAvnTreeView* self, int32_t* value); /* slot 123 */ - AvnHResult (AVN_CALL *set_selection_mode)(IAvnTreeView* self, int32_t value); /* slot 124 */ - AvnHResult (AVN_CALL *get_selected_item)(IAvnTreeView* self, AvnVariant* value); /* slot 125 */ - AvnHResult (AVN_CALL *set_selected_item)(IAvnTreeView* self, AvnVariant value); /* slot 126 */ - AvnHResult (AVN_CALL *get_selected_items)(IAvnTreeView* self, IAvnSelectedVariantList** value); /* slot 127 */ - AvnHResult (AVN_CALL *set_selected_items)(IAvnTreeView* self, IAvnSelectedVariantList* value); /* slot 128 */ - AvnHResult (AVN_CALL *expand_sub_tree_with_tree_view_item)(IAvnTreeView* self, IAvnTreeViewItem* item); /* slot 129 */ - AvnHResult (AVN_CALL *collapse_sub_tree_with_tree_view_item)(IAvnTreeView* self, IAvnTreeViewItem* item); /* slot 130 */ - AvnHResult (AVN_CALL *select_all)(IAvnTreeView* self); /* slot 131 */ - AvnHResult (AVN_CALL *unselect_all)(IAvnTreeView* self); /* slot 132 */ - AvnHResult (AVN_CALL *tree_container_from_item_with_object)(IAvnTreeView* self, AvnVariant item, IAvnControl** value); /* slot 133 */ - AvnHResult (AVN_CALL *tree_item_from_container_with_control)(IAvnTreeView* self, IAvnControl* container, AvnVariant* value); /* slot 134 */ - AvnHResult (AVN_CALL *advise_selection_changed)(IAvnTreeView* self, IAvnTreeViewSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 135 */ - AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnTreeView* self, int64_t subscription_id); /* slot 136 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnTreeView* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnTreeView* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnTreeView* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnTreeView* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnTreeView* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnTreeView* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnTreeView* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnTreeView* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnTreeView* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnTreeView* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnTreeView* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnTreeView* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnTreeView* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnTreeView* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnTreeView* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnTreeView* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnTreeView* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnTreeView* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnTreeView* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnTreeView* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTreeView* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTreeView* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTreeView* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnTreeView* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnTreeView* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnTreeView* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnTreeView* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnTreeView* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnTreeView* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnTreeView* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnTreeView* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnTreeView* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnTreeView* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnTreeView* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnTreeView* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnTreeView* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnTreeView* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnTreeView* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnTreeView* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnTreeView* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnTreeView* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnTreeView* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnTreeView* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnTreeView* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnTreeView* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnTreeView* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnTreeView* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnTreeView* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnTreeView* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnTreeView* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnTreeView* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnTreeView* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnTreeView* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTreeView* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTreeView* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnTreeView* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnTreeView* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_items)(IAvnTreeView* self, IAvnItemList** value); /* slot 112 */ + AvnHResult (AVN_CALL *get_item_count)(IAvnTreeView* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *get_items_source)(IAvnTreeView* self, IAvnVariantList** value); /* slot 114 */ + AvnHResult (AVN_CALL *set_items_source)(IAvnTreeView* self, IAvnVariantList* value); /* slot 115 */ + AvnHResult (AVN_CALL *get_item_template)(IAvnTreeView* self, IAvnDataTemplate** value); /* slot 116 */ + AvnHResult (AVN_CALL *set_item_template)(IAvnTreeView* self, IAvnDataTemplate* value); /* slot 117 */ + AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnTreeView* self, int32_t index, IAvnControl** value); /* slot 118 */ + AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnTreeView* self, AvnVariant item, IAvnControl** value); /* slot 119 */ + AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnTreeView* self, IAvnControl* container, int32_t* value); /* slot 120 */ + AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnTreeView* self, IAvnControl* container, AvnVariant* value); /* slot 121 */ + AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnTreeView* self, int32_t index); /* slot 122 */ + AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnTreeView* self, AvnVariant item); /* slot 123 */ + AvnHResult (AVN_CALL *get_auto_scroll_to_selected_item)(IAvnTreeView* self, int32_t* value); /* slot 124 */ + AvnHResult (AVN_CALL *set_auto_scroll_to_selected_item)(IAvnTreeView* self, int32_t value); /* slot 125 */ + AvnHResult (AVN_CALL *get_selection_mode)(IAvnTreeView* self, int32_t* value); /* slot 126 */ + AvnHResult (AVN_CALL *set_selection_mode)(IAvnTreeView* self, int32_t value); /* slot 127 */ + AvnHResult (AVN_CALL *get_selected_item)(IAvnTreeView* self, AvnVariant* value); /* slot 128 */ + AvnHResult (AVN_CALL *set_selected_item)(IAvnTreeView* self, AvnVariant value); /* slot 129 */ + AvnHResult (AVN_CALL *get_selected_items)(IAvnTreeView* self, IAvnSelectedVariantList** value); /* slot 130 */ + AvnHResult (AVN_CALL *set_selected_items)(IAvnTreeView* self, IAvnSelectedVariantList* value); /* slot 131 */ + AvnHResult (AVN_CALL *expand_sub_tree_with_tree_view_item)(IAvnTreeView* self, IAvnTreeViewItem* item); /* slot 132 */ + AvnHResult (AVN_CALL *collapse_sub_tree_with_tree_view_item)(IAvnTreeView* self, IAvnTreeViewItem* item); /* slot 133 */ + AvnHResult (AVN_CALL *select_all)(IAvnTreeView* self); /* slot 134 */ + AvnHResult (AVN_CALL *unselect_all)(IAvnTreeView* self); /* slot 135 */ + AvnHResult (AVN_CALL *tree_container_from_item_with_object)(IAvnTreeView* self, AvnVariant item, IAvnControl** value); /* slot 136 */ + AvnHResult (AVN_CALL *tree_item_from_container_with_control)(IAvnTreeView* self, IAvnControl* container, AvnVariant* value); /* slot 137 */ + AvnHResult (AVN_CALL *advise_selection_changed)(IAvnTreeView* self, IAvnTreeViewSelectionChangedHandler* handler, int64_t* subscription_id); /* slot 138 */ + AvnHResult (AVN_CALL *unadvise_selection_changed)(IAvnTreeView* self, int64_t subscription_id); /* slot 139 */ }; struct IAvnTreeView { const IAvnTreeViewVtbl* vtbl; }; -#define I_AVN_TREE_VIEW_VTABLE_SLOTS 137 +#define I_AVN_TREE_VIEW_VTABLE_SLOTS 140 static const AvnGuid I_AVN_TREE_VIEW_ITEM_IID = { - 0xF173219D, - 0xC63C, - 0x5669, - { 0xBE, 0x7D, 0x98, 0xE9, 0x8B, 0xF1, 0xC5, 0x4B } + 0x489990A9, + 0x1ED5, + 0x5772, + { 0xAE, 0xE6, 0x25, 0xC4, 0xE8, 0xB8, 0x61, 0x2A } }; -#define I_AVN_TREE_VIEW_ITEM_ABI_VERSION 14 +#define I_AVN_TREE_VIEW_ITEM_ABI_VERSION 15 struct IAvnTreeViewItemVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnTreeViewItem* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnTreeViewItem* self); /* slot 1 */ @@ -15000,96 +15267,99 @@ struct IAvnTreeViewItemVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnTreeViewItem* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnTreeViewItem* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnTreeViewItem* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnTreeViewItem* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnTreeViewItem* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnTreeViewItem* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnTreeViewItem* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnTreeViewItem* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnTreeViewItem* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnTreeViewItem* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnTreeViewItem* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnTreeViewItem* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnTreeViewItem* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnTreeViewItem* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnTreeViewItem* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnTreeViewItem* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnTreeViewItem* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnTreeViewItem* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnTreeViewItem* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnTreeViewItem* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTreeViewItem* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTreeViewItem* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTreeViewItem* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnTreeViewItem* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnTreeViewItem* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnTreeViewItem* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnTreeViewItem* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnTreeViewItem* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnTreeViewItem* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnTreeViewItem* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnTreeViewItem* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnTreeViewItem* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnTreeViewItem* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnTreeViewItem* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnTreeViewItem* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnTreeViewItem* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnTreeViewItem* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnTreeViewItem* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnTreeViewItem* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnTreeViewItem* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnTreeViewItem* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnTreeViewItem* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnTreeViewItem* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnTreeViewItem* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnTreeViewItem* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnTreeViewItem* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnTreeViewItem* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnTreeViewItem* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnTreeViewItem* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnTreeViewItem* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnTreeViewItem* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnTreeViewItem* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnTreeViewItem* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTreeViewItem* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTreeViewItem* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnTreeViewItem* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnTreeViewItem* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_items)(IAvnTreeViewItem* self, IAvnItemList** value); /* slot 109 */ - AvnHResult (AVN_CALL *get_item_count)(IAvnTreeViewItem* self, int32_t* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_items_source)(IAvnTreeViewItem* self, IAvnVariantList** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_items_source)(IAvnTreeViewItem* self, IAvnVariantList* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_item_template)(IAvnTreeViewItem* self, IAvnDataTemplate** value); /* slot 113 */ - AvnHResult (AVN_CALL *set_item_template)(IAvnTreeViewItem* self, IAvnDataTemplate* value); /* slot 114 */ - AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnTreeViewItem* self, int32_t index, IAvnControl** value); /* slot 115 */ - AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnTreeViewItem* self, AvnVariant item, IAvnControl** value); /* slot 116 */ - AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnTreeViewItem* self, IAvnControl* container, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnTreeViewItem* self, IAvnControl* container, AvnVariant* value); /* slot 118 */ - AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnTreeViewItem* self, int32_t index); /* slot 119 */ - AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnTreeViewItem* self, AvnVariant item); /* slot 120 */ - AvnHResult (AVN_CALL *get_header)(IAvnTreeViewItem* self, IAvnControl** value); /* slot 121 */ - AvnHResult (AVN_CALL *set_header)(IAvnTreeViewItem* self, IAvnControl* value); /* slot 122 */ - AvnHResult (AVN_CALL *get_header_template)(IAvnTreeViewItem* self, IAvnDataTemplate** value); /* slot 123 */ - AvnHResult (AVN_CALL *set_header_template)(IAvnTreeViewItem* self, IAvnDataTemplate* value); /* slot 124 */ - AvnHResult (AVN_CALL *get_is_expanded)(IAvnTreeViewItem* self, int32_t* value); /* slot 125 */ - AvnHResult (AVN_CALL *set_is_expanded)(IAvnTreeViewItem* self, int32_t value); /* slot 126 */ - AvnHResult (AVN_CALL *get_is_selected)(IAvnTreeViewItem* self, int32_t* value); /* slot 127 */ - AvnHResult (AVN_CALL *set_is_selected)(IAvnTreeViewItem* self, int32_t value); /* slot 128 */ - AvnHResult (AVN_CALL *get_level)(IAvnTreeViewItem* self, int32_t* value); /* slot 129 */ - AvnHResult (AVN_CALL *advise_expanded)(IAvnTreeViewItem* self, IAvnTreeViewItemExpandedHandler* handler, int64_t* subscription_id); /* slot 130 */ - AvnHResult (AVN_CALL *unadvise_expanded)(IAvnTreeViewItem* self, int64_t subscription_id); /* slot 131 */ - AvnHResult (AVN_CALL *advise_collapsed)(IAvnTreeViewItem* self, IAvnTreeViewItemCollapsedHandler* handler, int64_t* subscription_id); /* slot 132 */ - AvnHResult (AVN_CALL *unadvise_collapsed)(IAvnTreeViewItem* self, int64_t subscription_id); /* slot 133 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnTreeViewItem* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnTreeViewItem* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnTreeViewItem* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnTreeViewItem* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnTreeViewItem* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnTreeViewItem* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnTreeViewItem* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnTreeViewItem* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnTreeViewItem* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnTreeViewItem* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnTreeViewItem* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnTreeViewItem* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnTreeViewItem* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnTreeViewItem* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnTreeViewItem* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnTreeViewItem* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnTreeViewItem* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnTreeViewItem* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnTreeViewItem* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnTreeViewItem* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnTreeViewItem* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnTreeViewItem* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnTreeViewItem* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnTreeViewItem* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnTreeViewItem* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnTreeViewItem* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnTreeViewItem* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnTreeViewItem* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnTreeViewItem* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnTreeViewItem* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnTreeViewItem* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnTreeViewItem* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnTreeViewItem* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnTreeViewItem* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnTreeViewItem* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnTreeViewItem* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnTreeViewItem* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnTreeViewItem* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnTreeViewItem* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnTreeViewItem* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnTreeViewItem* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnTreeViewItem* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnTreeViewItem* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnTreeViewItem* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnTreeViewItem* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnTreeViewItem* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnTreeViewItem* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnTreeViewItem* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnTreeViewItem* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnTreeViewItem* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnTreeViewItem* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnTreeViewItem* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnTreeViewItem* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnTreeViewItem* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnTreeViewItem* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnTreeViewItem* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnTreeViewItem* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_items)(IAvnTreeViewItem* self, IAvnItemList** value); /* slot 112 */ + AvnHResult (AVN_CALL *get_item_count)(IAvnTreeViewItem* self, int32_t* value); /* slot 113 */ + AvnHResult (AVN_CALL *get_items_source)(IAvnTreeViewItem* self, IAvnVariantList** value); /* slot 114 */ + AvnHResult (AVN_CALL *set_items_source)(IAvnTreeViewItem* self, IAvnVariantList* value); /* slot 115 */ + AvnHResult (AVN_CALL *get_item_template)(IAvnTreeViewItem* self, IAvnDataTemplate** value); /* slot 116 */ + AvnHResult (AVN_CALL *set_item_template)(IAvnTreeViewItem* self, IAvnDataTemplate* value); /* slot 117 */ + AvnHResult (AVN_CALL *container_from_index_with_int32)(IAvnTreeViewItem* self, int32_t index, IAvnControl** value); /* slot 118 */ + AvnHResult (AVN_CALL *container_from_item_with_object)(IAvnTreeViewItem* self, AvnVariant item, IAvnControl** value); /* slot 119 */ + AvnHResult (AVN_CALL *index_from_container_with_control)(IAvnTreeViewItem* self, IAvnControl* container, int32_t* value); /* slot 120 */ + AvnHResult (AVN_CALL *item_from_container_with_control)(IAvnTreeViewItem* self, IAvnControl* container, AvnVariant* value); /* slot 121 */ + AvnHResult (AVN_CALL *scroll_into_view_with_int32)(IAvnTreeViewItem* self, int32_t index); /* slot 122 */ + AvnHResult (AVN_CALL *scroll_into_view_with_object)(IAvnTreeViewItem* self, AvnVariant item); /* slot 123 */ + AvnHResult (AVN_CALL *get_header)(IAvnTreeViewItem* self, IAvnControl** value); /* slot 124 */ + AvnHResult (AVN_CALL *set_header)(IAvnTreeViewItem* self, IAvnControl* value); /* slot 125 */ + AvnHResult (AVN_CALL *get_header_template)(IAvnTreeViewItem* self, IAvnDataTemplate** value); /* slot 126 */ + AvnHResult (AVN_CALL *set_header_template)(IAvnTreeViewItem* self, IAvnDataTemplate* value); /* slot 127 */ + AvnHResult (AVN_CALL *get_is_expanded)(IAvnTreeViewItem* self, int32_t* value); /* slot 128 */ + AvnHResult (AVN_CALL *set_is_expanded)(IAvnTreeViewItem* self, int32_t value); /* slot 129 */ + AvnHResult (AVN_CALL *get_is_selected)(IAvnTreeViewItem* self, int32_t* value); /* slot 130 */ + AvnHResult (AVN_CALL *set_is_selected)(IAvnTreeViewItem* self, int32_t value); /* slot 131 */ + AvnHResult (AVN_CALL *get_level)(IAvnTreeViewItem* self, int32_t* value); /* slot 132 */ + AvnHResult (AVN_CALL *advise_expanded)(IAvnTreeViewItem* self, IAvnTreeViewItemExpandedHandler* handler, int64_t* subscription_id); /* slot 133 */ + AvnHResult (AVN_CALL *unadvise_expanded)(IAvnTreeViewItem* self, int64_t subscription_id); /* slot 134 */ + AvnHResult (AVN_CALL *advise_collapsed)(IAvnTreeViewItem* self, IAvnTreeViewItemCollapsedHandler* handler, int64_t* subscription_id); /* slot 135 */ + AvnHResult (AVN_CALL *unadvise_collapsed)(IAvnTreeViewItem* self, int64_t subscription_id); /* slot 136 */ }; struct IAvnTreeViewItem { const IAvnTreeViewItemVtbl* vtbl; }; -#define I_AVN_TREE_VIEW_ITEM_VTABLE_SLOTS 134 +#define I_AVN_TREE_VIEW_ITEM_VTABLE_SLOTS 137 static const AvnGuid I_AVN_UNIFORM_GRID_IID = { - 0x061A5BD1, - 0x9360, - 0x53D2, - { 0xBE, 0xF6, 0x7E, 0xB9, 0xEC, 0xAE, 0xA4, 0x93 } + 0x8B8511AD, + 0x3289, + 0x5415, + { 0xA0, 0x3D, 0xE0, 0x26, 0x55, 0x49, 0xA8, 0x76 } }; -#define I_AVN_UNIFORM_GRID_ABI_VERSION 10 +#define I_AVN_UNIFORM_GRID_ABI_VERSION 11 struct IAvnUniformGridVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnUniformGrid* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnUniformGrid* self); /* slot 1 */ @@ -15146,56 +15416,59 @@ struct IAvnUniformGridVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnUniformGrid* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnUniformGrid* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnUniformGrid* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnUniformGrid* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnUniformGrid* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnUniformGrid* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnUniformGrid* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnUniformGrid* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnUniformGrid* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnUniformGrid* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnUniformGrid* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnUniformGrid* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnUniformGrid* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnUniformGrid* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnUniformGrid* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnUniformGrid* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnUniformGrid* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnUniformGrid* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnUniformGrid* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnUniformGrid* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnUniformGrid* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnUniformGrid* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnUniformGrid* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnUniformGrid* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnUniformGrid* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnUniformGrid* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnUniformGrid* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnUniformGrid* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnUniformGrid* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_children)(IAvnUniformGrid* self, IAvnControlList** value); /* slot 81 */ - AvnHResult (AVN_CALL *get_background)(IAvnUniformGrid* self, IAvnBrush** value); /* slot 82 */ - AvnHResult (AVN_CALL *set_background)(IAvnUniformGrid* self, IAvnBrush* value); /* slot 83 */ - AvnHResult (AVN_CALL *get_rows)(IAvnUniformGrid* self, int32_t* value); /* slot 84 */ - AvnHResult (AVN_CALL *set_rows)(IAvnUniformGrid* self, int32_t value); /* slot 85 */ - AvnHResult (AVN_CALL *get_columns)(IAvnUniformGrid* self, int32_t* value); /* slot 86 */ - AvnHResult (AVN_CALL *set_columns)(IAvnUniformGrid* self, int32_t value); /* slot 87 */ - AvnHResult (AVN_CALL *get_first_column)(IAvnUniformGrid* self, int32_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *set_first_column)(IAvnUniformGrid* self, int32_t value); /* slot 89 */ - AvnHResult (AVN_CALL *get_row_spacing)(IAvnUniformGrid* self, double* value); /* slot 90 */ - AvnHResult (AVN_CALL *set_row_spacing)(IAvnUniformGrid* self, double value); /* slot 91 */ - AvnHResult (AVN_CALL *get_column_spacing)(IAvnUniformGrid* self, double* value); /* slot 92 */ - AvnHResult (AVN_CALL *set_column_spacing)(IAvnUniformGrid* self, double value); /* slot 93 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnUniformGrid* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnUniformGrid* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnUniformGrid* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnUniformGrid* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnUniformGrid* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnUniformGrid* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnUniformGrid* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnUniformGrid* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnUniformGrid* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnUniformGrid* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnUniformGrid* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnUniformGrid* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnUniformGrid* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnUniformGrid* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnUniformGrid* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnUniformGrid* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnUniformGrid* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnUniformGrid* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnUniformGrid* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnUniformGrid* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnUniformGrid* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnUniformGrid* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnUniformGrid* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnUniformGrid* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnUniformGrid* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnUniformGrid* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnUniformGrid* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnUniformGrid* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnUniformGrid* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_children)(IAvnUniformGrid* self, IAvnControlList** value); /* slot 84 */ + AvnHResult (AVN_CALL *get_background)(IAvnUniformGrid* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_background)(IAvnUniformGrid* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_rows)(IAvnUniformGrid* self, int32_t* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_rows)(IAvnUniformGrid* self, int32_t value); /* slot 88 */ + AvnHResult (AVN_CALL *get_columns)(IAvnUniformGrid* self, int32_t* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_columns)(IAvnUniformGrid* self, int32_t value); /* slot 90 */ + AvnHResult (AVN_CALL *get_first_column)(IAvnUniformGrid* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_first_column)(IAvnUniformGrid* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_row_spacing)(IAvnUniformGrid* self, double* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_row_spacing)(IAvnUniformGrid* self, double value); /* slot 94 */ + AvnHResult (AVN_CALL *get_column_spacing)(IAvnUniformGrid* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_column_spacing)(IAvnUniformGrid* self, double value); /* slot 96 */ }; struct IAvnUniformGrid { const IAvnUniformGridVtbl* vtbl; }; -#define I_AVN_UNIFORM_GRID_VTABLE_SLOTS 94 +#define I_AVN_UNIFORM_GRID_VTABLE_SLOTS 97 static const AvnGuid I_AVN_USER_CONTROL_IID = { - 0x0BFF79AB, - 0x0D63, - 0x5654, - { 0x8F, 0x44, 0xDB, 0xBD, 0xA6, 0x30, 0xFA, 0x30 } + 0x0529D537, + 0x1B91, + 0x5234, + { 0x84, 0x80, 0x85, 0x5B, 0x56, 0x08, 0x63, 0x22 } }; -#define I_AVN_USER_CONTROL_ABI_VERSION 11 +#define I_AVN_USER_CONTROL_ABI_VERSION 12 struct IAvnUserControlVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnUserControl* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnUserControl* self); /* slot 1 */ @@ -15252,79 +15525,82 @@ struct IAvnUserControlVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnUserControl* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnUserControl* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnUserControl* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnUserControl* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnUserControl* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnUserControl* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnUserControl* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnUserControl* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnUserControl* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnUserControl* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnUserControl* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnUserControl* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnUserControl* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnUserControl* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnUserControl* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnUserControl* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnUserControl* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnUserControl* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnUserControl* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnUserControl* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnUserControl* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnUserControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnUserControl* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnUserControl* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnUserControl* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnUserControl* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnUserControl* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnUserControl* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnUserControl* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnUserControl* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnUserControl* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnUserControl* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnUserControl* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnUserControl* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnUserControl* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnUserControl* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnUserControl* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnUserControl* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnUserControl* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnUserControl* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnUserControl* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnUserControl* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnUserControl* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnUserControl* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnUserControl* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnUserControl* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnUserControl* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnUserControl* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnUserControl* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnUserControl* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnUserControl* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnUserControl* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnUserControl* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnUserControl* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnUserControl* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnUserControl* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnUserControl* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_content)(IAvnUserControl* self, IAvnControl** value); /* slot 109 */ - AvnHResult (AVN_CALL *set_content)(IAvnUserControl* self, IAvnControl* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnUserControl* self, IAvnDataTemplate** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnUserControl* self, IAvnDataTemplate* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnUserControl* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnUserControl* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnUserControl* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnUserControl* self, int32_t value); /* slot 116 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnUserControl* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnUserControl* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnUserControl* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnUserControl* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnUserControl* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnUserControl* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnUserControl* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnUserControl* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnUserControl* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnUserControl* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnUserControl* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnUserControl* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnUserControl* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnUserControl* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnUserControl* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnUserControl* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnUserControl* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnUserControl* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnUserControl* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnUserControl* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnUserControl* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnUserControl* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnUserControl* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnUserControl* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnUserControl* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnUserControl* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnUserControl* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnUserControl* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnUserControl* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnUserControl* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnUserControl* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnUserControl* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnUserControl* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnUserControl* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnUserControl* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnUserControl* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnUserControl* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnUserControl* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnUserControl* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnUserControl* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnUserControl* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnUserControl* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnUserControl* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnUserControl* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnUserControl* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnUserControl* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnUserControl* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnUserControl* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnUserControl* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnUserControl* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnUserControl* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnUserControl* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnUserControl* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnUserControl* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnUserControl* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnUserControl* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnUserControl* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_content)(IAvnUserControl* self, IAvnControl** value); /* slot 112 */ + AvnHResult (AVN_CALL *set_content)(IAvnUserControl* self, IAvnControl* value); /* slot 113 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnUserControl* self, IAvnDataTemplate** value); /* slot 114 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnUserControl* self, IAvnDataTemplate* value); /* slot 115 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnUserControl* self, int32_t* value); /* slot 116 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnUserControl* self, int32_t value); /* slot 117 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnUserControl* self, int32_t* value); /* slot 118 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnUserControl* self, int32_t value); /* slot 119 */ }; struct IAvnUserControl { const IAvnUserControlVtbl* vtbl; }; -#define I_AVN_USER_CONTROL_VTABLE_SLOTS 117 +#define I_AVN_USER_CONTROL_VTABLE_SLOTS 120 static const AvnGuid I_AVN_VIEWBOX_IID = { - 0x159B2487, - 0x78B8, - 0x5C1A, - { 0x93, 0x2D, 0xA6, 0x7C, 0x6E, 0x2E, 0x74, 0x20 } + 0xEFA9084A, + 0x769B, + 0x55F4, + { 0x81, 0x01, 0x3B, 0x6D, 0x4C, 0xB5, 0x24, 0xD7 } }; -#define I_AVN_VIEWBOX_ABI_VERSION 10 +#define I_AVN_VIEWBOX_ABI_VERSION 11 struct IAvnViewboxVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnViewbox* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnViewbox* self); /* slot 1 */ @@ -15381,49 +15657,52 @@ struct IAvnViewboxVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnViewbox* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnViewbox* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnViewbox* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnViewbox* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnViewbox* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnViewbox* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnViewbox* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnViewbox* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnViewbox* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnViewbox* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnViewbox* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnViewbox* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnViewbox* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnViewbox* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnViewbox* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnViewbox* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnViewbox* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnViewbox* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnViewbox* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnViewbox* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnViewbox* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnViewbox* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnViewbox* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnViewbox* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnViewbox* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnViewbox* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnViewbox* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnViewbox* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnViewbox* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_stretch)(IAvnViewbox* self, int32_t* value); /* slot 81 */ - AvnHResult (AVN_CALL *set_stretch)(IAvnViewbox* self, int32_t value); /* slot 82 */ - AvnHResult (AVN_CALL *get_stretch_direction)(IAvnViewbox* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_stretch_direction)(IAvnViewbox* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_child)(IAvnViewbox* self, IAvnControl** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_child)(IAvnViewbox* self, IAvnControl* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnViewbox* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnViewbox* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnViewbox* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnViewbox* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnViewbox* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnViewbox* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnViewbox* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnViewbox* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnViewbox* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnViewbox* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnViewbox* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnViewbox* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnViewbox* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnViewbox* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnViewbox* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnViewbox* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnViewbox* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnViewbox* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnViewbox* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnViewbox* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnViewbox* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnViewbox* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnViewbox* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnViewbox* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnViewbox* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnViewbox* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnViewbox* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnViewbox* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnViewbox* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_stretch)(IAvnViewbox* self, int32_t* value); /* slot 84 */ + AvnHResult (AVN_CALL *set_stretch)(IAvnViewbox* self, int32_t value); /* slot 85 */ + AvnHResult (AVN_CALL *get_stretch_direction)(IAvnViewbox* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_stretch_direction)(IAvnViewbox* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_child)(IAvnViewbox* self, IAvnControl** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_child)(IAvnViewbox* self, IAvnControl* value); /* slot 89 */ }; struct IAvnViewbox { const IAvnViewboxVtbl* vtbl; }; -#define I_AVN_VIEWBOX_VTABLE_SLOTS 87 +#define I_AVN_VIEWBOX_VTABLE_SLOTS 90 static const AvnGuid I_AVN_WINDOW_IID = { - 0xBF221569, - 0x8214, - 0x5478, - { 0x95, 0x05, 0x0B, 0x21, 0xA2, 0x66, 0x35, 0x45 } + 0x9A01C107, + 0xBB12, + 0x5AFE, + { 0x9D, 0xAA, 0xC5, 0xAA, 0xCE, 0xF2, 0xD8, 0x79 } }; -#define I_AVN_WINDOW_ABI_VERSION 20 +#define I_AVN_WINDOW_ABI_VERSION 21 struct IAvnWindowVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnWindow* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnWindow* self); /* slot 1 */ @@ -15480,120 +15759,123 @@ struct IAvnWindowVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnWindow* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnWindow* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnWindow* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnWindow* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnWindow* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnWindow* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnWindow* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnWindow* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnWindow* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnWindow* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnWindow* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnWindow* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnWindow* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnWindow* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnWindow* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnWindow* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnWindow* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnWindow* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnWindow* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnWindow* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnWindow* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnWindow* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnWindow* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnWindow* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnWindow* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnWindow* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnWindow* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnWindow* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnWindow* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnWindow* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnWindow* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnWindow* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnWindow* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnWindow* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnWindow* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnWindow* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnWindow* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnWindow* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnWindow* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnWindow* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnWindow* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnWindow* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnWindow* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnWindow* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnWindow* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnWindow* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnWindow* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnWindow* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnWindow* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnWindow* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnWindow* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnWindow* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnWindow* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnWindow* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnWindow* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnWindow* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnWindow* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_content)(IAvnWindow* self, IAvnControl** value); /* slot 109 */ - AvnHResult (AVN_CALL *set_content)(IAvnWindow* self, IAvnControl* value); /* slot 110 */ - AvnHResult (AVN_CALL *get_content_template)(IAvnWindow* self, IAvnDataTemplate** value); /* slot 111 */ - AvnHResult (AVN_CALL *set_content_template)(IAvnWindow* self, IAvnDataTemplate* value); /* slot 112 */ - AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnWindow* self, int32_t* value); /* slot 113 */ - AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnWindow* self, int32_t value); /* slot 114 */ - AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnWindow* self, int32_t* value); /* slot 115 */ - AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnWindow* self, int32_t value); /* slot 116 */ - AvnHResult (AVN_CALL *get_size_to_content)(IAvnWindow* self, int32_t* value); /* slot 117 */ - AvnHResult (AVN_CALL *set_size_to_content)(IAvnWindow* self, int32_t value); /* slot 118 */ - AvnHResult (AVN_CALL *get_title)(IAvnWindow* self, uint16_t** value); /* slot 119 */ - AvnHResult (AVN_CALL *set_title)(IAvnWindow* self, const uint16_t* value); /* slot 120 */ - AvnHResult (AVN_CALL *get_extend_client_area_to_decorations_hint)(IAvnWindow* self, int32_t* value); /* slot 121 */ - AvnHResult (AVN_CALL *set_extend_client_area_to_decorations_hint)(IAvnWindow* self, int32_t value); /* slot 122 */ - AvnHResult (AVN_CALL *get_extend_client_area_title_bar_height_hint)(IAvnWindow* self, double* value); /* slot 123 */ - AvnHResult (AVN_CALL *set_extend_client_area_title_bar_height_hint)(IAvnWindow* self, double value); /* slot 124 */ - AvnHResult (AVN_CALL *get_is_extended_into_window_decorations)(IAvnWindow* self, int32_t* value); /* slot 125 */ - AvnHResult (AVN_CALL *get_window_decoration_margin)(IAvnWindow* self, AvnThickness* value); /* slot 126 */ - AvnHResult (AVN_CALL *get_off_screen_margin)(IAvnWindow* self, AvnThickness* value); /* slot 127 */ - AvnHResult (AVN_CALL *get_window_decorations)(IAvnWindow* self, int32_t* value); /* slot 128 */ - AvnHResult (AVN_CALL *set_window_decorations)(IAvnWindow* self, int32_t value); /* slot 129 */ - AvnHResult (AVN_CALL *get_show_activated)(IAvnWindow* self, int32_t* value); /* slot 130 */ - AvnHResult (AVN_CALL *set_show_activated)(IAvnWindow* self, int32_t value); /* slot 131 */ - AvnHResult (AVN_CALL *get_show_in_taskbar)(IAvnWindow* self, int32_t* value); /* slot 132 */ - AvnHResult (AVN_CALL *set_show_in_taskbar)(IAvnWindow* self, int32_t value); /* slot 133 */ - AvnHResult (AVN_CALL *get_closing_behavior)(IAvnWindow* self, int32_t* value); /* slot 134 */ - AvnHResult (AVN_CALL *set_closing_behavior)(IAvnWindow* self, int32_t value); /* slot 135 */ - AvnHResult (AVN_CALL *get_window_state)(IAvnWindow* self, int32_t* value); /* slot 136 */ - AvnHResult (AVN_CALL *set_window_state)(IAvnWindow* self, int32_t value); /* slot 137 */ - AvnHResult (AVN_CALL *get_can_resize)(IAvnWindow* self, int32_t* value); /* slot 138 */ - AvnHResult (AVN_CALL *set_can_resize)(IAvnWindow* self, int32_t value); /* slot 139 */ - AvnHResult (AVN_CALL *get_can_minimize)(IAvnWindow* self, int32_t* value); /* slot 140 */ - AvnHResult (AVN_CALL *set_can_minimize)(IAvnWindow* self, int32_t value); /* slot 141 */ - AvnHResult (AVN_CALL *get_can_maximize)(IAvnWindow* self, int32_t* value); /* slot 142 */ - AvnHResult (AVN_CALL *set_can_maximize)(IAvnWindow* self, int32_t value); /* slot 143 */ - AvnHResult (AVN_CALL *get_icon)(IAvnWindow* self, uint16_t** value); /* slot 144 */ - AvnHResult (AVN_CALL *set_icon)(IAvnWindow* self, const uint16_t* value); /* slot 145 */ - AvnHResult (AVN_CALL *get_window_startup_location)(IAvnWindow* self, int32_t* value); /* slot 146 */ - AvnHResult (AVN_CALL *set_window_startup_location)(IAvnWindow* self, int32_t value); /* slot 147 */ - AvnHResult (AVN_CALL *get_position)(IAvnWindow* self, AvnPixelPoint* value); /* slot 148 */ - AvnHResult (AVN_CALL *set_position)(IAvnWindow* self, AvnPixelPoint value); /* slot 149 */ - AvnHResult (AVN_CALL *get_is_dialog)(IAvnWindow* self, int32_t* value); /* slot 150 */ - AvnHResult (AVN_CALL *close)(IAvnWindow* self); /* slot 151 */ - AvnHResult (AVN_CALL *close_with_object)(IAvnWindow* self, AvnVariant dialog_result); /* slot 152 */ - AvnHResult (AVN_CALL *hide)(IAvnWindow* self); /* slot 153 */ - AvnHResult (AVN_CALL *show)(IAvnWindow* self); /* slot 154 */ - AvnHResult (AVN_CALL *show_with_window)(IAvnWindow* self, IAvnWindow* owner); /* slot 155 */ - AvnHResult (AVN_CALL *advise_closing)(IAvnWindow* self, IAvnWindowClosingHandler* handler, int64_t* subscription_id); /* slot 156 */ - AvnHResult (AVN_CALL *unadvise_closing)(IAvnWindow* self, int64_t subscription_id); /* slot 157 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnWindow* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnWindow* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnWindow* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnWindow* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnWindow* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnWindow* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnWindow* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnWindow* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnWindow* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnWindow* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnWindow* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnWindow* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnWindow* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnWindow* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnWindow* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnWindow* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnWindow* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnWindow* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnWindow* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnWindow* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnWindow* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnWindow* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnWindow* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnWindow* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnWindow* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnWindow* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnWindow* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnWindow* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnWindow* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnWindow* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnWindow* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnWindow* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnWindow* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnWindow* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnWindow* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnWindow* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnWindow* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnWindow* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnWindow* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnWindow* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnWindow* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnWindow* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnWindow* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnWindow* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnWindow* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnWindow* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnWindow* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnWindow* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnWindow* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnWindow* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnWindow* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnWindow* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnWindow* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnWindow* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnWindow* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnWindow* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnWindow* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_content)(IAvnWindow* self, IAvnControl** value); /* slot 112 */ + AvnHResult (AVN_CALL *set_content)(IAvnWindow* self, IAvnControl* value); /* slot 113 */ + AvnHResult (AVN_CALL *get_content_template)(IAvnWindow* self, IAvnDataTemplate** value); /* slot 114 */ + AvnHResult (AVN_CALL *set_content_template)(IAvnWindow* self, IAvnDataTemplate* value); /* slot 115 */ + AvnHResult (AVN_CALL *get_horizontal_content_alignment)(IAvnWindow* self, int32_t* value); /* slot 116 */ + AvnHResult (AVN_CALL *set_horizontal_content_alignment)(IAvnWindow* self, int32_t value); /* slot 117 */ + AvnHResult (AVN_CALL *get_vertical_content_alignment)(IAvnWindow* self, int32_t* value); /* slot 118 */ + AvnHResult (AVN_CALL *set_vertical_content_alignment)(IAvnWindow* self, int32_t value); /* slot 119 */ + AvnHResult (AVN_CALL *get_size_to_content)(IAvnWindow* self, int32_t* value); /* slot 120 */ + AvnHResult (AVN_CALL *set_size_to_content)(IAvnWindow* self, int32_t value); /* slot 121 */ + AvnHResult (AVN_CALL *get_title)(IAvnWindow* self, uint16_t** value); /* slot 122 */ + AvnHResult (AVN_CALL *set_title)(IAvnWindow* self, const uint16_t* value); /* slot 123 */ + AvnHResult (AVN_CALL *get_extend_client_area_to_decorations_hint)(IAvnWindow* self, int32_t* value); /* slot 124 */ + AvnHResult (AVN_CALL *set_extend_client_area_to_decorations_hint)(IAvnWindow* self, int32_t value); /* slot 125 */ + AvnHResult (AVN_CALL *get_extend_client_area_title_bar_height_hint)(IAvnWindow* self, double* value); /* slot 126 */ + AvnHResult (AVN_CALL *set_extend_client_area_title_bar_height_hint)(IAvnWindow* self, double value); /* slot 127 */ + AvnHResult (AVN_CALL *get_is_extended_into_window_decorations)(IAvnWindow* self, int32_t* value); /* slot 128 */ + AvnHResult (AVN_CALL *get_window_decoration_margin)(IAvnWindow* self, AvnThickness* value); /* slot 129 */ + AvnHResult (AVN_CALL *get_off_screen_margin)(IAvnWindow* self, AvnThickness* value); /* slot 130 */ + AvnHResult (AVN_CALL *get_window_decorations)(IAvnWindow* self, int32_t* value); /* slot 131 */ + AvnHResult (AVN_CALL *set_window_decorations)(IAvnWindow* self, int32_t value); /* slot 132 */ + AvnHResult (AVN_CALL *get_show_activated)(IAvnWindow* self, int32_t* value); /* slot 133 */ + AvnHResult (AVN_CALL *set_show_activated)(IAvnWindow* self, int32_t value); /* slot 134 */ + AvnHResult (AVN_CALL *get_show_in_taskbar)(IAvnWindow* self, int32_t* value); /* slot 135 */ + AvnHResult (AVN_CALL *set_show_in_taskbar)(IAvnWindow* self, int32_t value); /* slot 136 */ + AvnHResult (AVN_CALL *get_closing_behavior)(IAvnWindow* self, int32_t* value); /* slot 137 */ + AvnHResult (AVN_CALL *set_closing_behavior)(IAvnWindow* self, int32_t value); /* slot 138 */ + AvnHResult (AVN_CALL *get_window_state)(IAvnWindow* self, int32_t* value); /* slot 139 */ + AvnHResult (AVN_CALL *set_window_state)(IAvnWindow* self, int32_t value); /* slot 140 */ + AvnHResult (AVN_CALL *get_can_resize)(IAvnWindow* self, int32_t* value); /* slot 141 */ + AvnHResult (AVN_CALL *set_can_resize)(IAvnWindow* self, int32_t value); /* slot 142 */ + AvnHResult (AVN_CALL *get_can_minimize)(IAvnWindow* self, int32_t* value); /* slot 143 */ + AvnHResult (AVN_CALL *set_can_minimize)(IAvnWindow* self, int32_t value); /* slot 144 */ + AvnHResult (AVN_CALL *get_can_maximize)(IAvnWindow* self, int32_t* value); /* slot 145 */ + AvnHResult (AVN_CALL *set_can_maximize)(IAvnWindow* self, int32_t value); /* slot 146 */ + AvnHResult (AVN_CALL *get_icon)(IAvnWindow* self, uint16_t** value); /* slot 147 */ + AvnHResult (AVN_CALL *set_icon)(IAvnWindow* self, const uint16_t* value); /* slot 148 */ + AvnHResult (AVN_CALL *get_window_startup_location)(IAvnWindow* self, int32_t* value); /* slot 149 */ + AvnHResult (AVN_CALL *set_window_startup_location)(IAvnWindow* self, int32_t value); /* slot 150 */ + AvnHResult (AVN_CALL *get_position)(IAvnWindow* self, AvnPixelPoint* value); /* slot 151 */ + AvnHResult (AVN_CALL *set_position)(IAvnWindow* self, AvnPixelPoint value); /* slot 152 */ + AvnHResult (AVN_CALL *get_is_dialog)(IAvnWindow* self, int32_t* value); /* slot 153 */ + AvnHResult (AVN_CALL *close)(IAvnWindow* self); /* slot 154 */ + AvnHResult (AVN_CALL *close_with_object)(IAvnWindow* self, AvnVariant dialog_result); /* slot 155 */ + AvnHResult (AVN_CALL *hide)(IAvnWindow* self); /* slot 156 */ + AvnHResult (AVN_CALL *show)(IAvnWindow* self); /* slot 157 */ + AvnHResult (AVN_CALL *show_with_window)(IAvnWindow* self, IAvnWindow* owner); /* slot 158 */ + AvnHResult (AVN_CALL *advise_closing)(IAvnWindow* self, IAvnWindowClosingHandler* handler, int64_t* subscription_id); /* slot 159 */ + AvnHResult (AVN_CALL *unadvise_closing)(IAvnWindow* self, int64_t subscription_id); /* slot 160 */ }; struct IAvnWindow { const IAvnWindowVtbl* vtbl; }; -#define I_AVN_WINDOW_VTABLE_SLOTS 158 +#define I_AVN_WINDOW_VTABLE_SLOTS 161 static const AvnGuid I_AVN_WINDOW_NOTIFICATION_MANAGER_IID = { - 0x2EECEA93, - 0x798A, - 0x57D8, - { 0x9E, 0xD9, 0x91, 0xC4, 0xEA, 0x6D, 0x28, 0x2F } + 0xC159F361, + 0xBE6C, + 0x5268, + { 0x8A, 0x0B, 0xE1, 0x2F, 0x63, 0x3F, 0x39, 0x5C } }; -#define I_AVN_WINDOW_NOTIFICATION_MANAGER_ABI_VERSION 12 +#define I_AVN_WINDOW_NOTIFICATION_MANAGER_ABI_VERSION 13 struct IAvnWindowNotificationManagerVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnWindowNotificationManager* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnWindowNotificationManager* self); /* slot 1 */ @@ -15650,80 +15932,83 @@ struct IAvnWindowNotificationManagerVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnWindowNotificationManager* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnWindowNotificationManager* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnWindowNotificationManager* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnWindowNotificationManager* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnWindowNotificationManager* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnWindowNotificationManager* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnWindowNotificationManager* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnWindowNotificationManager* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnWindowNotificationManager* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnWindowNotificationManager* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnWindowNotificationManager* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnWindowNotificationManager* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnWindowNotificationManager* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnWindowNotificationManager* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnWindowNotificationManager* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnWindowNotificationManager* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnWindowNotificationManager* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnWindowNotificationManager* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnWindowNotificationManager* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnWindowNotificationManager* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnWindowNotificationManager* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnWindowNotificationManager* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnWindowNotificationManager* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnWindowNotificationManager* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnWindowNotificationManager* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnWindowNotificationManager* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnWindowNotificationManager* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnWindowNotificationManager* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnWindowNotificationManager* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_background)(IAvnWindowNotificationManager* self, IAvnBrush** value); /* slot 81 */ - AvnHResult (AVN_CALL *set_background)(IAvnWindowNotificationManager* self, IAvnBrush* value); /* slot 82 */ - AvnHResult (AVN_CALL *get_background_sizing)(IAvnWindowNotificationManager* self, int32_t* value); /* slot 83 */ - AvnHResult (AVN_CALL *set_background_sizing)(IAvnWindowNotificationManager* self, int32_t value); /* slot 84 */ - AvnHResult (AVN_CALL *get_border_brush)(IAvnWindowNotificationManager* self, IAvnBrush** value); /* slot 85 */ - AvnHResult (AVN_CALL *set_border_brush)(IAvnWindowNotificationManager* self, IAvnBrush* value); /* slot 86 */ - AvnHResult (AVN_CALL *get_border_thickness)(IAvnWindowNotificationManager* self, AvnThickness* value); /* slot 87 */ - AvnHResult (AVN_CALL *set_border_thickness)(IAvnWindowNotificationManager* self, AvnThickness value); /* slot 88 */ - AvnHResult (AVN_CALL *get_corner_radius)(IAvnWindowNotificationManager* self, AvnCornerRadius* value); /* slot 89 */ - AvnHResult (AVN_CALL *set_corner_radius)(IAvnWindowNotificationManager* self, AvnCornerRadius value); /* slot 90 */ - AvnHResult (AVN_CALL *get_font_family)(IAvnWindowNotificationManager* self, uint16_t** value); /* slot 91 */ - AvnHResult (AVN_CALL *set_font_family)(IAvnWindowNotificationManager* self, const uint16_t* value); /* slot 92 */ - AvnHResult (AVN_CALL *get_font_features)(IAvnWindowNotificationManager* self, uint16_t** value); /* slot 93 */ - AvnHResult (AVN_CALL *set_font_features)(IAvnWindowNotificationManager* self, const uint16_t* value); /* slot 94 */ - AvnHResult (AVN_CALL *get_font_size)(IAvnWindowNotificationManager* self, double* value); /* slot 95 */ - AvnHResult (AVN_CALL *set_font_size)(IAvnWindowNotificationManager* self, double value); /* slot 96 */ - AvnHResult (AVN_CALL *get_font_style)(IAvnWindowNotificationManager* self, int32_t* value); /* slot 97 */ - AvnHResult (AVN_CALL *set_font_style)(IAvnWindowNotificationManager* self, int32_t value); /* slot 98 */ - AvnHResult (AVN_CALL *get_font_weight)(IAvnWindowNotificationManager* self, int32_t* value); /* slot 99 */ - AvnHResult (AVN_CALL *set_font_weight)(IAvnWindowNotificationManager* self, int32_t value); /* slot 100 */ - AvnHResult (AVN_CALL *get_font_stretch)(IAvnWindowNotificationManager* self, int32_t* value); /* slot 101 */ - AvnHResult (AVN_CALL *set_font_stretch)(IAvnWindowNotificationManager* self, int32_t value); /* slot 102 */ - AvnHResult (AVN_CALL *get_foreground)(IAvnWindowNotificationManager* self, IAvnBrush** value); /* slot 103 */ - AvnHResult (AVN_CALL *set_foreground)(IAvnWindowNotificationManager* self, IAvnBrush* value); /* slot 104 */ - AvnHResult (AVN_CALL *get_letter_spacing)(IAvnWindowNotificationManager* self, double* value); /* slot 105 */ - AvnHResult (AVN_CALL *set_letter_spacing)(IAvnWindowNotificationManager* self, double value); /* slot 106 */ - AvnHResult (AVN_CALL *get_padding)(IAvnWindowNotificationManager* self, AvnThickness* value); /* slot 107 */ - AvnHResult (AVN_CALL *set_padding)(IAvnWindowNotificationManager* self, AvnThickness value); /* slot 108 */ - AvnHResult (AVN_CALL *get_position)(IAvnWindowNotificationManager* self, int32_t* value); /* slot 109 */ - AvnHResult (AVN_CALL *set_position)(IAvnWindowNotificationManager* self, int32_t value); /* slot 110 */ - AvnHResult (AVN_CALL *get_max_items)(IAvnWindowNotificationManager* self, int32_t* value); /* slot 111 */ - AvnHResult (AVN_CALL *set_max_items)(IAvnWindowNotificationManager* self, int32_t value); /* slot 112 */ - AvnHResult (AVN_CALL *show_with_i_notification)(IAvnWindowNotificationManager* self, IAvnNotification* content); /* slot 113 */ - AvnHResult (AVN_CALL *show_with_object)(IAvnWindowNotificationManager* self, AvnVariant content); /* slot 114 */ - AvnHResult (AVN_CALL *close_with_i_notification)(IAvnWindowNotificationManager* self, IAvnNotification* notification); /* slot 115 */ - AvnHResult (AVN_CALL *close_with_object)(IAvnWindowNotificationManager* self, AvnVariant content); /* slot 116 */ - AvnHResult (AVN_CALL *close_all)(IAvnWindowNotificationManager* self); /* slot 117 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnWindowNotificationManager* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnWindowNotificationManager* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnWindowNotificationManager* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnWindowNotificationManager* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnWindowNotificationManager* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnWindowNotificationManager* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnWindowNotificationManager* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnWindowNotificationManager* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnWindowNotificationManager* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnWindowNotificationManager* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnWindowNotificationManager* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnWindowNotificationManager* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnWindowNotificationManager* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnWindowNotificationManager* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnWindowNotificationManager* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnWindowNotificationManager* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnWindowNotificationManager* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnWindowNotificationManager* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnWindowNotificationManager* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnWindowNotificationManager* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnWindowNotificationManager* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnWindowNotificationManager* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnWindowNotificationManager* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnWindowNotificationManager* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnWindowNotificationManager* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnWindowNotificationManager* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnWindowNotificationManager* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnWindowNotificationManager* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnWindowNotificationManager* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_background)(IAvnWindowNotificationManager* self, IAvnBrush** value); /* slot 84 */ + AvnHResult (AVN_CALL *set_background)(IAvnWindowNotificationManager* self, IAvnBrush* value); /* slot 85 */ + AvnHResult (AVN_CALL *get_background_sizing)(IAvnWindowNotificationManager* self, int32_t* value); /* slot 86 */ + AvnHResult (AVN_CALL *set_background_sizing)(IAvnWindowNotificationManager* self, int32_t value); /* slot 87 */ + AvnHResult (AVN_CALL *get_border_brush)(IAvnWindowNotificationManager* self, IAvnBrush** value); /* slot 88 */ + AvnHResult (AVN_CALL *set_border_brush)(IAvnWindowNotificationManager* self, IAvnBrush* value); /* slot 89 */ + AvnHResult (AVN_CALL *get_border_thickness)(IAvnWindowNotificationManager* self, AvnThickness* value); /* slot 90 */ + AvnHResult (AVN_CALL *set_border_thickness)(IAvnWindowNotificationManager* self, AvnThickness value); /* slot 91 */ + AvnHResult (AVN_CALL *get_corner_radius)(IAvnWindowNotificationManager* self, AvnCornerRadius* value); /* slot 92 */ + AvnHResult (AVN_CALL *set_corner_radius)(IAvnWindowNotificationManager* self, AvnCornerRadius value); /* slot 93 */ + AvnHResult (AVN_CALL *get_font_family)(IAvnWindowNotificationManager* self, uint16_t** value); /* slot 94 */ + AvnHResult (AVN_CALL *set_font_family)(IAvnWindowNotificationManager* self, const uint16_t* value); /* slot 95 */ + AvnHResult (AVN_CALL *get_font_features)(IAvnWindowNotificationManager* self, uint16_t** value); /* slot 96 */ + AvnHResult (AVN_CALL *set_font_features)(IAvnWindowNotificationManager* self, const uint16_t* value); /* slot 97 */ + AvnHResult (AVN_CALL *get_font_size)(IAvnWindowNotificationManager* self, double* value); /* slot 98 */ + AvnHResult (AVN_CALL *set_font_size)(IAvnWindowNotificationManager* self, double value); /* slot 99 */ + AvnHResult (AVN_CALL *get_font_style)(IAvnWindowNotificationManager* self, int32_t* value); /* slot 100 */ + AvnHResult (AVN_CALL *set_font_style)(IAvnWindowNotificationManager* self, int32_t value); /* slot 101 */ + AvnHResult (AVN_CALL *get_font_weight)(IAvnWindowNotificationManager* self, int32_t* value); /* slot 102 */ + AvnHResult (AVN_CALL *set_font_weight)(IAvnWindowNotificationManager* self, int32_t value); /* slot 103 */ + AvnHResult (AVN_CALL *get_font_stretch)(IAvnWindowNotificationManager* self, int32_t* value); /* slot 104 */ + AvnHResult (AVN_CALL *set_font_stretch)(IAvnWindowNotificationManager* self, int32_t value); /* slot 105 */ + AvnHResult (AVN_CALL *get_foreground)(IAvnWindowNotificationManager* self, IAvnBrush** value); /* slot 106 */ + AvnHResult (AVN_CALL *set_foreground)(IAvnWindowNotificationManager* self, IAvnBrush* value); /* slot 107 */ + AvnHResult (AVN_CALL *get_letter_spacing)(IAvnWindowNotificationManager* self, double* value); /* slot 108 */ + AvnHResult (AVN_CALL *set_letter_spacing)(IAvnWindowNotificationManager* self, double value); /* slot 109 */ + AvnHResult (AVN_CALL *get_padding)(IAvnWindowNotificationManager* self, AvnThickness* value); /* slot 110 */ + AvnHResult (AVN_CALL *set_padding)(IAvnWindowNotificationManager* self, AvnThickness value); /* slot 111 */ + AvnHResult (AVN_CALL *get_position)(IAvnWindowNotificationManager* self, int32_t* value); /* slot 112 */ + AvnHResult (AVN_CALL *set_position)(IAvnWindowNotificationManager* self, int32_t value); /* slot 113 */ + AvnHResult (AVN_CALL *get_max_items)(IAvnWindowNotificationManager* self, int32_t* value); /* slot 114 */ + AvnHResult (AVN_CALL *set_max_items)(IAvnWindowNotificationManager* self, int32_t value); /* slot 115 */ + AvnHResult (AVN_CALL *show_with_i_notification)(IAvnWindowNotificationManager* self, IAvnNotification* content); /* slot 116 */ + AvnHResult (AVN_CALL *show_with_object)(IAvnWindowNotificationManager* self, AvnVariant content); /* slot 117 */ + AvnHResult (AVN_CALL *close_with_i_notification)(IAvnWindowNotificationManager* self, IAvnNotification* notification); /* slot 118 */ + AvnHResult (AVN_CALL *close_with_object)(IAvnWindowNotificationManager* self, AvnVariant content); /* slot 119 */ + AvnHResult (AVN_CALL *close_all)(IAvnWindowNotificationManager* self); /* slot 120 */ }; struct IAvnWindowNotificationManager { const IAvnWindowNotificationManagerVtbl* vtbl; }; -#define I_AVN_WINDOW_NOTIFICATION_MANAGER_VTABLE_SLOTS 118 +#define I_AVN_WINDOW_NOTIFICATION_MANAGER_VTABLE_SLOTS 121 static const AvnGuid I_AVN_WRAP_PANEL_IID = { - 0xFE3C3653, - 0x52AA, - 0x529D, - { 0x8A, 0xCE, 0x7F, 0x54, 0xE7, 0xD7, 0x43, 0x87 } + 0x71831219, + 0xF14C, + 0x5D2F, + { 0xA2, 0xF1, 0x49, 0xFB, 0x97, 0x96, 0x05, 0xD4 } }; -#define I_AVN_WRAP_PANEL_ABI_VERSION 10 +#define I_AVN_WRAP_PANEL_ABI_VERSION 11 struct IAvnWrapPanelVtbl { AvnHResult (AVN_CALL *query_interface)(IAvnWrapPanel* self, const AvnGuid* iid, void** result); /* slot 0 */ uint32_t (AVN_CALL *add_ref)(IAvnWrapPanel* self); /* slot 1 */ @@ -15780,50 +16065,53 @@ struct IAvnWrapPanelVtbl { AvnHResult (AVN_CALL *set_horizontal_alignment)(IAvnWrapPanel* self, int32_t value); /* slot 52 */ AvnHResult (AVN_CALL *get_vertical_alignment)(IAvnWrapPanel* self, int32_t* value); /* slot 53 */ AvnHResult (AVN_CALL *set_vertical_alignment)(IAvnWrapPanel* self, int32_t value); /* slot 54 */ - AvnHResult (AVN_CALL *get_is_enabled)(IAvnWrapPanel* self, int32_t* value); /* slot 55 */ - AvnHResult (AVN_CALL *set_is_enabled)(IAvnWrapPanel* self, int32_t value); /* slot 56 */ - AvnHResult (AVN_CALL *advise_loaded)(IAvnWrapPanel* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 57 */ - AvnHResult (AVN_CALL *unadvise_loaded)(IAvnWrapPanel* self, int64_t subscription_id); /* slot 58 */ - AvnHResult (AVN_CALL *advise_unloaded)(IAvnWrapPanel* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 59 */ - AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnWrapPanel* self, int64_t subscription_id); /* slot 60 */ - AvnHResult (AVN_CALL *advise_size_changed)(IAvnWrapPanel* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 61 */ - AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnWrapPanel* self, int64_t subscription_id); /* slot 62 */ - AvnHResult (AVN_CALL *advise_got_focus)(IAvnWrapPanel* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 63 */ - AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnWrapPanel* self, int64_t subscription_id); /* slot 64 */ - AvnHResult (AVN_CALL *advise_lost_focus)(IAvnWrapPanel* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 65 */ - AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnWrapPanel* self, int64_t subscription_id); /* slot 66 */ - AvnHResult (AVN_CALL *advise_key_down)(IAvnWrapPanel* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 67 */ - AvnHResult (AVN_CALL *unadvise_key_down)(IAvnWrapPanel* self, int64_t subscription_id); /* slot 68 */ - AvnHResult (AVN_CALL *advise_key_up)(IAvnWrapPanel* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 69 */ - AvnHResult (AVN_CALL *unadvise_key_up)(IAvnWrapPanel* self, int64_t subscription_id); /* slot 70 */ - AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnWrapPanel* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 71 */ - AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnWrapPanel* self, int64_t subscription_id); /* slot 72 */ - AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnWrapPanel* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 73 */ - AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnWrapPanel* self, int64_t subscription_id); /* slot 74 */ - AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnWrapPanel* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 75 */ - AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnWrapPanel* self, int64_t subscription_id); /* slot 76 */ - AvnHResult (AVN_CALL *advise_tapped)(IAvnWrapPanel* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 77 */ - AvnHResult (AVN_CALL *unadvise_tapped)(IAvnWrapPanel* self, int64_t subscription_id); /* slot 78 */ - AvnHResult (AVN_CALL *advise_double_tapped)(IAvnWrapPanel* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 79 */ - AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnWrapPanel* self, int64_t subscription_id); /* slot 80 */ - AvnHResult (AVN_CALL *get_children)(IAvnWrapPanel* self, IAvnControlList** value); /* slot 81 */ - AvnHResult (AVN_CALL *get_background)(IAvnWrapPanel* self, IAvnBrush** value); /* slot 82 */ - AvnHResult (AVN_CALL *set_background)(IAvnWrapPanel* self, IAvnBrush* value); /* slot 83 */ - AvnHResult (AVN_CALL *get_item_spacing)(IAvnWrapPanel* self, double* value); /* slot 84 */ - AvnHResult (AVN_CALL *set_item_spacing)(IAvnWrapPanel* self, double value); /* slot 85 */ - AvnHResult (AVN_CALL *get_line_spacing)(IAvnWrapPanel* self, double* value); /* slot 86 */ - AvnHResult (AVN_CALL *set_line_spacing)(IAvnWrapPanel* self, double value); /* slot 87 */ - AvnHResult (AVN_CALL *get_orientation)(IAvnWrapPanel* self, int32_t* value); /* slot 88 */ - AvnHResult (AVN_CALL *set_orientation)(IAvnWrapPanel* self, int32_t value); /* slot 89 */ - AvnHResult (AVN_CALL *get_items_alignment)(IAvnWrapPanel* self, int32_t* value); /* slot 90 */ - AvnHResult (AVN_CALL *set_items_alignment)(IAvnWrapPanel* self, int32_t value); /* slot 91 */ - AvnHResult (AVN_CALL *get_item_width)(IAvnWrapPanel* self, double* value); /* slot 92 */ - AvnHResult (AVN_CALL *set_item_width)(IAvnWrapPanel* self, double value); /* slot 93 */ - AvnHResult (AVN_CALL *get_item_height)(IAvnWrapPanel* self, double* value); /* slot 94 */ - AvnHResult (AVN_CALL *set_item_height)(IAvnWrapPanel* self, double value); /* slot 95 */ + AvnHResult (AVN_CALL *get_focusable)(IAvnWrapPanel* self, int32_t* value); /* slot 55 */ + AvnHResult (AVN_CALL *set_focusable)(IAvnWrapPanel* self, int32_t value); /* slot 56 */ + AvnHResult (AVN_CALL *get_is_enabled)(IAvnWrapPanel* self, int32_t* value); /* slot 57 */ + AvnHResult (AVN_CALL *set_is_enabled)(IAvnWrapPanel* self, int32_t value); /* slot 58 */ + AvnHResult (AVN_CALL *focus_with_navigation_method_and_key_modifiers)(IAvnWrapPanel* self, int32_t method, int32_t key_modifiers, int32_t* value); /* slot 59 */ + AvnHResult (AVN_CALL *advise_loaded)(IAvnWrapPanel* self, IAvnControlLoadedHandler* handler, int64_t* subscription_id); /* slot 60 */ + AvnHResult (AVN_CALL *unadvise_loaded)(IAvnWrapPanel* self, int64_t subscription_id); /* slot 61 */ + AvnHResult (AVN_CALL *advise_unloaded)(IAvnWrapPanel* self, IAvnControlUnloadedHandler* handler, int64_t* subscription_id); /* slot 62 */ + AvnHResult (AVN_CALL *unadvise_unloaded)(IAvnWrapPanel* self, int64_t subscription_id); /* slot 63 */ + AvnHResult (AVN_CALL *advise_size_changed)(IAvnWrapPanel* self, IAvnControlSizeChangedHandler* handler, int64_t* subscription_id); /* slot 64 */ + AvnHResult (AVN_CALL *unadvise_size_changed)(IAvnWrapPanel* self, int64_t subscription_id); /* slot 65 */ + AvnHResult (AVN_CALL *advise_got_focus)(IAvnWrapPanel* self, IAvnControlGotFocusHandler* handler, int64_t* subscription_id); /* slot 66 */ + AvnHResult (AVN_CALL *unadvise_got_focus)(IAvnWrapPanel* self, int64_t subscription_id); /* slot 67 */ + AvnHResult (AVN_CALL *advise_lost_focus)(IAvnWrapPanel* self, IAvnControlLostFocusHandler* handler, int64_t* subscription_id); /* slot 68 */ + AvnHResult (AVN_CALL *unadvise_lost_focus)(IAvnWrapPanel* self, int64_t subscription_id); /* slot 69 */ + AvnHResult (AVN_CALL *advise_key_down)(IAvnWrapPanel* self, IAvnControlKeyDownHandler* handler, int64_t* subscription_id); /* slot 70 */ + AvnHResult (AVN_CALL *unadvise_key_down)(IAvnWrapPanel* self, int64_t subscription_id); /* slot 71 */ + AvnHResult (AVN_CALL *advise_key_up)(IAvnWrapPanel* self, IAvnControlKeyUpHandler* handler, int64_t* subscription_id); /* slot 72 */ + AvnHResult (AVN_CALL *unadvise_key_up)(IAvnWrapPanel* self, int64_t subscription_id); /* slot 73 */ + AvnHResult (AVN_CALL *advise_pointer_entered)(IAvnWrapPanel* self, IAvnControlPointerEnteredHandler* handler, int64_t* subscription_id); /* slot 74 */ + AvnHResult (AVN_CALL *unadvise_pointer_entered)(IAvnWrapPanel* self, int64_t subscription_id); /* slot 75 */ + AvnHResult (AVN_CALL *advise_pointer_exited)(IAvnWrapPanel* self, IAvnControlPointerExitedHandler* handler, int64_t* subscription_id); /* slot 76 */ + AvnHResult (AVN_CALL *unadvise_pointer_exited)(IAvnWrapPanel* self, int64_t subscription_id); /* slot 77 */ + AvnHResult (AVN_CALL *advise_pointer_wheel_changed)(IAvnWrapPanel* self, IAvnControlPointerWheelChangedHandler* handler, int64_t* subscription_id); /* slot 78 */ + AvnHResult (AVN_CALL *unadvise_pointer_wheel_changed)(IAvnWrapPanel* self, int64_t subscription_id); /* slot 79 */ + AvnHResult (AVN_CALL *advise_tapped)(IAvnWrapPanel* self, IAvnControlTappedHandler* handler, int64_t* subscription_id); /* slot 80 */ + AvnHResult (AVN_CALL *unadvise_tapped)(IAvnWrapPanel* self, int64_t subscription_id); /* slot 81 */ + AvnHResult (AVN_CALL *advise_double_tapped)(IAvnWrapPanel* self, IAvnControlDoubleTappedHandler* handler, int64_t* subscription_id); /* slot 82 */ + AvnHResult (AVN_CALL *unadvise_double_tapped)(IAvnWrapPanel* self, int64_t subscription_id); /* slot 83 */ + AvnHResult (AVN_CALL *get_children)(IAvnWrapPanel* self, IAvnControlList** value); /* slot 84 */ + AvnHResult (AVN_CALL *get_background)(IAvnWrapPanel* self, IAvnBrush** value); /* slot 85 */ + AvnHResult (AVN_CALL *set_background)(IAvnWrapPanel* self, IAvnBrush* value); /* slot 86 */ + AvnHResult (AVN_CALL *get_item_spacing)(IAvnWrapPanel* self, double* value); /* slot 87 */ + AvnHResult (AVN_CALL *set_item_spacing)(IAvnWrapPanel* self, double value); /* slot 88 */ + AvnHResult (AVN_CALL *get_line_spacing)(IAvnWrapPanel* self, double* value); /* slot 89 */ + AvnHResult (AVN_CALL *set_line_spacing)(IAvnWrapPanel* self, double value); /* slot 90 */ + AvnHResult (AVN_CALL *get_orientation)(IAvnWrapPanel* self, int32_t* value); /* slot 91 */ + AvnHResult (AVN_CALL *set_orientation)(IAvnWrapPanel* self, int32_t value); /* slot 92 */ + AvnHResult (AVN_CALL *get_items_alignment)(IAvnWrapPanel* self, int32_t* value); /* slot 93 */ + AvnHResult (AVN_CALL *set_items_alignment)(IAvnWrapPanel* self, int32_t value); /* slot 94 */ + AvnHResult (AVN_CALL *get_item_width)(IAvnWrapPanel* self, double* value); /* slot 95 */ + AvnHResult (AVN_CALL *set_item_width)(IAvnWrapPanel* self, double value); /* slot 96 */ + AvnHResult (AVN_CALL *get_item_height)(IAvnWrapPanel* self, double* value); /* slot 97 */ + AvnHResult (AVN_CALL *set_item_height)(IAvnWrapPanel* self, double value); /* slot 98 */ }; struct IAvnWrapPanel { const IAvnWrapPanelVtbl* vtbl; }; -#define I_AVN_WRAP_PANEL_VTABLE_SLOTS 96 +#define I_AVN_WRAP_PANEL_VTABLE_SLOTS 99 static const AvnGuid I_AVN_CANVAS_STATICS_IID = { 0x5F4ABE7B, diff --git a/rust/avalonia-sys/src/.avalonia-bindgen.owned.json b/rust/avalonia-sys/src/.avalonia-bindgen.owned.json index 9e33648..43f893d 100644 --- a/rust/avalonia-sys/src/.avalonia-bindgen.owned.json +++ b/rust/avalonia-sys/src/.avalonia-bindgen.owned.json @@ -3,7 +3,7 @@ "files": [ { "path": "generated.rs", - "sha256": "e0f5a050a17e3a5cbf1a44465a3a31a583be51e24acb0ae761430b9343a69279" + "sha256": "268263810f8f0b26523e9b1991e9e47e9001c05007b04a0373fe2a44811a844a" } ] } diff --git a/rust/avalonia-sys/src/generated.rs b/rust/avalonia-sys/src/generated.rs index 0a5bdc8..ffd2337 100644 --- a/rust/avalonia-sys/src/generated.rs +++ b/rust/avalonia-sys/src/generated.rs @@ -6307,7 +6307,7 @@ impl ComPtr { } } -pub const I_AVN_AUTO_COMPLETE_BOX_IID: Guid = Guid { data1: 0x26FFE15E, data2: 0x6149, data3: 0x5898, data4: [0x93, 0xEB, 0x55, 0x90, 0x93, 0x38, 0xDC, 0x9A] }; +pub const I_AVN_AUTO_COMPLETE_BOX_IID: Guid = Guid { data1: 0x6D1670C7, data2: 0x0D52, data3: 0x5BB1, data4: [0x82, 0x89, 0x6C, 0x26, 0x17, 0xB7, 0x4A, 0x6C] }; #[repr(C)] struct IAvnAutoCompleteBoxVtbl { @@ -6366,8 +6366,11 @@ struct IAvnAutoCompleteBoxVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnAutoCompleteBox, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnAutoCompleteBox, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnAutoCompleteBox, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnAutoCompleteBox, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnAutoCompleteBox, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnAutoCompleteBox, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnAutoCompleteBox, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnAutoCompleteBox, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnAutoCompleteBox, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnAutoCompleteBox, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnAutoCompleteBox, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -6859,6 +6862,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -6873,6 +6890,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -7657,7 +7681,7 @@ impl ComPtr { } } -pub const I_AVN_BORDER_IID: Guid = Guid { data1: 0xDF677487, data2: 0xF79D, data3: 0x50DF, data4: [0xA4, 0x74, 0x0A, 0xF6, 0x9F, 0x6A, 0x6C, 0x5B] }; +pub const I_AVN_BORDER_IID: Guid = Guid { data1: 0x430F4A36, data2: 0x8B46, data3: 0x5F3C, data4: [0x8E, 0x4D, 0xBD, 0x11, 0xAA, 0x52, 0x29, 0x69] }; #[repr(C)] struct IAvnBorderVtbl { @@ -7716,8 +7740,11 @@ struct IAvnBorderVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnBorder, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnBorder, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnBorder, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnBorder, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnBorder, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnBorder, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnBorder, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnBorder, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnBorder, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnBorder, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnBorder, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -8136,6 +8163,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -8150,6 +8191,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -8429,7 +8477,7 @@ impl ComPtr { } } -pub const I_AVN_BUTTON_IID: Guid = Guid { data1: 0xE66D2CD1, data2: 0xA3CD, data3: 0x538E, data4: [0x96, 0x07, 0xB5, 0xE7, 0x84, 0x66, 0x9C, 0x89] }; +pub const I_AVN_BUTTON_IID: Guid = Guid { data1: 0x085861C8, data2: 0xF91D, data3: 0x5AFE, data4: [0xB5, 0x7A, 0xE6, 0x01, 0x47, 0x7F, 0xC2, 0xD2] }; #[repr(C)] struct IAvnButtonVtbl { @@ -8488,8 +8536,11 @@ struct IAvnButtonVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnButton, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnButton, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnButton, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnButton, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnButton, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnButton, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnButton, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnButton, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnButton, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnButton, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnButton, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -8944,6 +8995,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -8958,6 +9023,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -9490,7 +9562,7 @@ impl ComPtr { } } -pub const I_AVN_BUTTON_SPINNER_IID: Guid = Guid { data1: 0xBD9E8536, data2: 0xAD5B, data3: 0x51C7, data4: [0xB3, 0xE0, 0x2D, 0xB5, 0x21, 0x85, 0x2F, 0x7C] }; +pub const I_AVN_BUTTON_SPINNER_IID: Guid = Guid { data1: 0x907404D5, data2: 0x1DE4, data3: 0x574D, data4: [0x99, 0x0E, 0x2D, 0x8A, 0x79, 0x37, 0x3D, 0x6D] }; #[repr(C)] struct IAvnButtonSpinnerVtbl { @@ -9549,8 +9621,11 @@ struct IAvnButtonSpinnerVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnButtonSpinner, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnButtonSpinner, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnButtonSpinner, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnButtonSpinner, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnButtonSpinner, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnButtonSpinner, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnButtonSpinner, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnButtonSpinner, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnButtonSpinner, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnButtonSpinner, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnButtonSpinner, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -9998,6 +10073,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -10012,6 +10101,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -10493,7 +10589,7 @@ impl ComPtr { } } -pub const I_AVN_CALENDAR_IID: Guid = Guid { data1: 0x9FF3FEBD, data2: 0x5CC5, data3: 0x5DB1, data4: [0x94, 0xDA, 0xE0, 0x3D, 0x3D, 0x41, 0xD9, 0x47] }; +pub const I_AVN_CALENDAR_IID: Guid = Guid { data1: 0x2ECA7A03, data2: 0x1AA5, data3: 0x5FC5, data4: [0xB1, 0xCC, 0x7E, 0xCD, 0xDC, 0xF2, 0x00, 0xD1] }; #[repr(C)] struct IAvnCalendarVtbl { @@ -10552,8 +10648,11 @@ struct IAvnCalendarVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnCalendar, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnCalendar, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnCalendar, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnCalendar, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnCalendar, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnCalendar, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnCalendar, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnCalendar, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnCalendar, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnCalendar, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnCalendar, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -11015,6 +11114,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -11029,6 +11142,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -11612,7 +11732,7 @@ impl ComPtr { } } -pub const I_AVN_CALENDAR_DATE_PICKER_IID: Guid = Guid { data1: 0x57923347, data2: 0x6143, data3: 0x59E6, data4: [0xBA, 0xFC, 0xC7, 0x45, 0xA8, 0x98, 0x21, 0x64] }; +pub const I_AVN_CALENDAR_DATE_PICKER_IID: Guid = Guid { data1: 0x3CB1E562, data2: 0x6FEB, data3: 0x5E8B, data4: [0xA7, 0x9A, 0x9C, 0x1B, 0x3D, 0xB4, 0xAE, 0x62] }; #[repr(C)] struct IAvnCalendarDatePickerVtbl { @@ -11671,8 +11791,11 @@ struct IAvnCalendarDatePickerVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnCalendarDatePicker, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnCalendarDatePicker, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnCalendarDatePicker, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnCalendarDatePicker, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnCalendarDatePicker, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnCalendarDatePicker, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnCalendarDatePicker, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnCalendarDatePicker, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnCalendarDatePicker, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnCalendarDatePicker, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnCalendarDatePicker, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -12146,6 +12269,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -12160,6 +12297,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -12827,7 +12971,7 @@ impl ComPtr { } } -pub const I_AVN_CANVAS_IID: Guid = Guid { data1: 0xC16EF1BD, data2: 0x5F4F, data3: 0x5C2C, data4: [0xA3, 0xEA, 0x50, 0x8C, 0x4B, 0x05, 0xBA, 0x3C] }; +pub const I_AVN_CANVAS_IID: Guid = Guid { data1: 0xDB97347A, data2: 0xFE7E, data3: 0x5006, data4: [0x93, 0xB7, 0xE4, 0xB5, 0x55, 0xA2, 0x61, 0xA9] }; #[repr(C)] struct IAvnCanvasVtbl { @@ -12886,8 +13030,11 @@ struct IAvnCanvasVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnCanvas, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnCanvas, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnCanvas, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnCanvas, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnCanvas, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnCanvas, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnCanvas, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnCanvas, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnCanvas, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnCanvas, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnCanvas, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -13292,6 +13439,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -13306,6 +13467,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -13486,7 +13654,7 @@ impl ComPtr { } } -pub const I_AVN_CAROUSEL_IID: Guid = Guid { data1: 0x78C353C4, data2: 0x749B, data3: 0x55FC, data4: [0xA9, 0xEF, 0x66, 0x60, 0x81, 0x55, 0xB0, 0xDB] }; +pub const I_AVN_CAROUSEL_IID: Guid = Guid { data1: 0x062C586F, data2: 0xDB97, data3: 0x53CF, data4: [0x8D, 0xC3, 0xA2, 0xF1, 0x59, 0xE0, 0xBD, 0x23] }; #[repr(C)] struct IAvnCarouselVtbl { @@ -13545,8 +13713,11 @@ struct IAvnCarouselVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnCarousel, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnCarousel, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnCarousel, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnCarousel, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnCarousel, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnCarousel, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnCarousel, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnCarousel, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnCarousel, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnCarousel, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnCarousel, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -14009,6 +14180,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -14023,6 +14208,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -14608,7 +14800,7 @@ impl ComPtr { } } -pub const I_AVN_CHECK_BOX_IID: Guid = Guid { data1: 0xC4E191D8, data2: 0x29FB, data3: 0x5623, data4: [0xAF, 0x97, 0xE3, 0xAA, 0xD9, 0x50, 0xE2, 0x7B] }; +pub const I_AVN_CHECK_BOX_IID: Guid = Guid { data1: 0x7A084E79, data2: 0xBA86, data3: 0x55BF, data4: [0xA9, 0xE8, 0xE7, 0x78, 0x6F, 0x3D, 0x42, 0x42] }; #[repr(C)] struct IAvnCheckBoxVtbl { @@ -14667,8 +14859,11 @@ struct IAvnCheckBoxVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnCheckBox, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnCheckBox, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnCheckBox, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnCheckBox, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnCheckBox, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnCheckBox, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnCheckBox, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnCheckBox, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnCheckBox, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnCheckBox, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnCheckBox, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -15129,6 +15324,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -15143,6 +15352,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -15716,7 +15932,7 @@ impl ComPtr { } } -pub const I_AVN_COMBO_BOX_IID: Guid = Guid { data1: 0xEEBBD41C, data2: 0x3704, data3: 0x5BC1, data4: [0xBB, 0x31, 0xE8, 0x7E, 0xF4, 0x07, 0xCB, 0x79] }; +pub const I_AVN_COMBO_BOX_IID: Guid = Guid { data1: 0x1DA7FC0F, data2: 0x6D3F, data3: 0x5669, data4: [0x86, 0x44, 0x03, 0x06, 0x86, 0xAD, 0x4F, 0xD3] }; #[repr(C)] struct IAvnComboBoxVtbl { @@ -15775,8 +15991,11 @@ struct IAvnComboBoxVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnComboBox, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnComboBox, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnComboBox, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnComboBox, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnComboBox, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnComboBox, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnComboBox, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnComboBox, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnComboBox, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnComboBox, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnComboBox, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -16252,6 +16471,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -16266,6 +16499,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -16943,7 +17183,7 @@ impl ComPtr { } } -pub const I_AVN_COMBO_BOX_ITEM_IID: Guid = Guid { data1: 0x66D70CA8, data2: 0x4E9B, data3: 0x5BD6, data4: [0x95, 0x83, 0x82, 0x59, 0x51, 0x61, 0xCB, 0x34] }; +pub const I_AVN_COMBO_BOX_ITEM_IID: Guid = Guid { data1: 0x2D2F584F, data2: 0x6CD6, data3: 0x59C9, data4: [0xB5, 0x36, 0x46, 0x3E, 0x6C, 0xC2, 0x1B, 0x72] }; #[repr(C)] struct IAvnComboBoxItemVtbl { @@ -17002,8 +17242,11 @@ struct IAvnComboBoxItemVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnComboBoxItem, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnComboBoxItem, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnComboBoxItem, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnComboBoxItem, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnComboBoxItem, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnComboBoxItem, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnComboBoxItem, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnComboBoxItem, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnComboBoxItem, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnComboBoxItem, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnComboBoxItem, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -17443,6 +17686,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -17457,6 +17714,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -17883,7 +18147,7 @@ impl ComPtr { } } -pub const I_AVN_COMMAND_BAR_IID: Guid = Guid { data1: 0x180E1033, data2: 0xDD01, data3: 0x5433, data4: [0xA4, 0x91, 0xB2, 0x04, 0x9D, 0x71, 0x94, 0x49] }; +pub const I_AVN_COMMAND_BAR_IID: Guid = Guid { data1: 0x19280D2B, data2: 0x7145, data3: 0x59DC, data4: [0xAD, 0x55, 0x55, 0x75, 0x41, 0xEC, 0x01, 0x47] }; #[repr(C)] struct IAvnCommandBarVtbl { @@ -17942,8 +18206,11 @@ struct IAvnCommandBarVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnCommandBar, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnCommandBar, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnCommandBar, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnCommandBar, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnCommandBar, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnCommandBar, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnCommandBar, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnCommandBar, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnCommandBar, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnCommandBar, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnCommandBar, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -18407,6 +18674,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -18421,6 +18702,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -19015,7 +19303,7 @@ impl ComPtr { } } -pub const I_AVN_COMMAND_BAR_BUTTON_IID: Guid = Guid { data1: 0x259356D2, data2: 0x8840, data3: 0x5531, data4: [0x94, 0x27, 0x7F, 0xD0, 0xB9, 0x70, 0x7A, 0xC7] }; +pub const I_AVN_COMMAND_BAR_BUTTON_IID: Guid = Guid { data1: 0x45F67F66, data2: 0xADC9, data3: 0x5D8D, data4: [0x9D, 0x41, 0x87, 0x49, 0xF5, 0x37, 0x02, 0x5E] }; #[repr(C)] struct IAvnCommandBarButtonVtbl { @@ -19074,8 +19362,11 @@ struct IAvnCommandBarButtonVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnCommandBarButton, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnCommandBarButton, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnCommandBarButton, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnCommandBarButton, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnCommandBarButton, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnCommandBarButton, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnCommandBarButton, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnCommandBarButton, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnCommandBarButton, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnCommandBarButton, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnCommandBarButton, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -19542,6 +19833,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -19556,6 +19861,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -20173,7 +20485,7 @@ impl ComPtr { } } -pub const I_AVN_COMMAND_BAR_SEPARATOR_IID: Guid = Guid { data1: 0x3438DF70, data2: 0xF2D1, data3: 0x5474, data4: [0xA2, 0x88, 0xD9, 0x7C, 0xCE, 0xAC, 0xC9, 0xF9] }; +pub const I_AVN_COMMAND_BAR_SEPARATOR_IID: Guid = Guid { data1: 0x7A5D6F68, data2: 0x43D8, data3: 0x5F3C, data4: [0xB7, 0xA3, 0x09, 0xC4, 0x44, 0x0A, 0x3E, 0xF7] }; #[repr(C)] struct IAvnCommandBarSeparatorVtbl { @@ -20232,8 +20544,11 @@ struct IAvnCommandBarSeparatorVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnCommandBarSeparator, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnCommandBarSeparator, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnCommandBarSeparator, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnCommandBarSeparator, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnCommandBarSeparator, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnCommandBarSeparator, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnCommandBarSeparator, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnCommandBarSeparator, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnCommandBarSeparator, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnCommandBarSeparator, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnCommandBarSeparator, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -20667,6 +20982,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -20681,6 +21010,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -21065,7 +21401,7 @@ impl ComPtr { } } -pub const I_AVN_COMMAND_BAR_TOGGLE_BUTTON_IID: Guid = Guid { data1: 0x97BD5478, data2: 0x2731, data3: 0x5994, data4: [0x94, 0x27, 0x4A, 0x6E, 0xCB, 0x9E, 0xE0, 0x4B] }; +pub const I_AVN_COMMAND_BAR_TOGGLE_BUTTON_IID: Guid = Guid { data1: 0x3E3D29A6, data2: 0x520A, data3: 0x5B09, data4: [0x81, 0xE3, 0x63, 0x95, 0x78, 0x4D, 0x2C, 0x55] }; #[repr(C)] struct IAvnCommandBarToggleButtonVtbl { @@ -21124,8 +21460,11 @@ struct IAvnCommandBarToggleButtonVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnCommandBarToggleButton, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnCommandBarToggleButton, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnCommandBarToggleButton, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnCommandBarToggleButton, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnCommandBarToggleButton, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnCommandBarToggleButton, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnCommandBarToggleButton, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnCommandBarToggleButton, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnCommandBarToggleButton, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnCommandBarToggleButton, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnCommandBarToggleButton, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -21598,6 +21937,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -21612,6 +21965,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -22270,7 +22630,7 @@ impl ComPtr { } } -pub const I_AVN_CONTENT_CONTROL_IID: Guid = Guid { data1: 0x611A61DE, data2: 0x9AD0, data3: 0x5456, data4: [0x97, 0x9A, 0xEE, 0x52, 0x5E, 0x51, 0x32, 0xCE] }; +pub const I_AVN_CONTENT_CONTROL_IID: Guid = Guid { data1: 0x7312A513, data2: 0x1E46, data3: 0x5A98, data4: [0x95, 0x07, 0x85, 0x12, 0x20, 0xC7, 0xA4, 0x65] }; #[repr(C)] struct IAvnContentControlVtbl { @@ -22329,8 +22689,11 @@ struct IAvnContentControlVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnContentControl, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnContentControl, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnContentControl, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnContentControl, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnContentControl, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnContentControl, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnContentControl, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnContentControl, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnContentControl, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnContentControl, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnContentControl, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -22768,6 +23131,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -22782,6 +23159,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -23194,7 +23578,7 @@ impl ComPtr { } } -pub const I_AVN_CONTEXT_MENU_IID: Guid = Guid { data1: 0xF63FBE8E, data2: 0x277B, data3: 0x531C, data4: [0xB3, 0xF5, 0xE9, 0xA2, 0xCC, 0xEF, 0x11, 0xA8] }; +pub const I_AVN_CONTEXT_MENU_IID: Guid = Guid { data1: 0x58A98293, data2: 0x5AA3, data3: 0x59E4, data4: [0xAB, 0x2B, 0xCE, 0x02, 0x1C, 0x5A, 0x5C, 0xCA] }; #[repr(C)] struct IAvnContextMenuVtbl { @@ -23253,8 +23637,11 @@ struct IAvnContextMenuVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnContextMenu, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnContextMenu, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnContextMenu, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnContextMenu, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnContextMenu, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnContextMenu, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnContextMenu, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnContextMenu, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnContextMenu, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnContextMenu, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnContextMenu, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -23742,6 +24129,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -23756,6 +24157,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -24511,7 +24919,7 @@ impl ComPtr { } } -pub const I_AVN_CONTROL_IID: Guid = Guid { data1: 0xE2F44292, data2: 0x89FA, data3: 0x5AFA, data4: [0x92, 0x94, 0xFF, 0x2F, 0x26, 0xDB, 0x68, 0xCE] }; +pub const I_AVN_CONTROL_IID: Guid = Guid { data1: 0x8B272500, data2: 0x09E4, data3: 0x535F, data4: [0xAB, 0xF1, 0x14, 0x99, 0x2E, 0x90, 0xE7, 0x78] }; #[repr(C)] struct IAvnControlVtbl { @@ -24570,8 +24978,11 @@ struct IAvnControlVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnControl, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnControl, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnControl, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnControl, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnControl, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnControl, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnControl, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnControl, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnControl, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnControl, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnControl, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -24973,6 +25384,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -24987,6 +25412,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -25145,7 +25577,7 @@ impl ComPtr { } } -pub const I_AVN_DATE_PICKER_IID: Guid = Guid { data1: 0xDF809CB0, data2: 0x67FA, data3: 0x58E8, data4: [0x92, 0x0C, 0x1B, 0x95, 0x74, 0xA7, 0xB3, 0x69] }; +pub const I_AVN_DATE_PICKER_IID: Guid = Guid { data1: 0x2AAFC151, data2: 0x688F, data3: 0x5326, data4: [0xB6, 0x51, 0xD0, 0x22, 0xBD, 0x55, 0x48, 0x7D] }; #[repr(C)] struct IAvnDatePickerVtbl { @@ -25204,8 +25636,11 @@ struct IAvnDatePickerVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnDatePicker, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnDatePicker, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnDatePicker, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnDatePicker, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnDatePicker, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnDatePicker, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnDatePicker, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnDatePicker, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnDatePicker, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnDatePicker, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnDatePicker, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -25658,6 +26093,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -25672,6 +26121,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -26193,7 +26649,7 @@ impl ComPtr { } } -pub const I_AVN_DECORATOR_IID: Guid = Guid { data1: 0xC3E4D085, data2: 0x4977, data3: 0x566E, data4: [0xB8, 0x43, 0x75, 0xD8, 0x6B, 0x43, 0xC2, 0xC9] }; +pub const I_AVN_DECORATOR_IID: Guid = Guid { data1: 0xF8530439, data2: 0xABA5, data3: 0x5B16, data4: [0x9C, 0x0B, 0x21, 0x32, 0xD4, 0xEF, 0xD2, 0x05] }; #[repr(C)] struct IAvnDecoratorVtbl { @@ -26252,8 +26708,11 @@ struct IAvnDecoratorVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnDecorator, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnDecorator, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnDecorator, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnDecorator, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnDecorator, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnDecorator, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnDecorator, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnDecorator, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnDecorator, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnDecorator, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnDecorator, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -26659,6 +27118,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -26673,6 +27146,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -26859,7 +27339,7 @@ impl ComPtr { } } -pub const I_AVN_DOCK_PANEL_IID: Guid = Guid { data1: 0x8D7E3210, data2: 0x853F, data3: 0x5D42, data4: [0xAE, 0x5B, 0xA5, 0x91, 0x5B, 0xD5, 0x39, 0x28] }; +pub const I_AVN_DOCK_PANEL_IID: Guid = Guid { data1: 0x63D1EF80, data2: 0xEEE5, data3: 0x50CA, data4: [0xB1, 0xA7, 0xC6, 0x00, 0x85, 0x60, 0xBF, 0xD3] }; #[repr(C)] struct IAvnDockPanelVtbl { @@ -26918,8 +27398,11 @@ struct IAvnDockPanelVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnDockPanel, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnDockPanel, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnDockPanel, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnDockPanel, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnDockPanel, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnDockPanel, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnDockPanel, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnDockPanel, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnDockPanel, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnDockPanel, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnDockPanel, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -27330,6 +27813,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -27344,6 +27841,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -27566,7 +28070,7 @@ impl ComPtr { } } -pub const I_AVN_DROP_DOWN_BUTTON_IID: Guid = Guid { data1: 0xBCBBD462, data2: 0xBE4D, data3: 0x517B, data4: [0x96, 0xB1, 0xBD, 0xF7, 0x62, 0xCA, 0x9B, 0x4B] }; +pub const I_AVN_DROP_DOWN_BUTTON_IID: Guid = Guid { data1: 0x99F4E9B6, data2: 0xDAAC, data3: 0x55B1, data4: [0xAF, 0xDE, 0x75, 0xD3, 0x8A, 0x5C, 0x24, 0x91] }; #[repr(C)] struct IAvnDropDownButtonVtbl { @@ -27625,8 +28129,11 @@ struct IAvnDropDownButtonVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnDropDownButton, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnDropDownButton, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnDropDownButton, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnDropDownButton, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnDropDownButton, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnDropDownButton, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnDropDownButton, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnDropDownButton, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnDropDownButton, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnDropDownButton, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnDropDownButton, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -28081,6 +28588,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -28095,6 +28616,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -28627,7 +29155,7 @@ impl ComPtr { } } -pub const I_AVN_EXPANDER_IID: Guid = Guid { data1: 0xDFCCCA83, data2: 0x1ADA, data3: 0x5620, data4: [0x82, 0x30, 0x0C, 0x1D, 0x66, 0x50, 0x7F, 0x12] }; +pub const I_AVN_EXPANDER_IID: Guid = Guid { data1: 0x014D8342, data2: 0x03F6, data3: 0x590B, data4: [0xAF, 0xF5, 0xA8, 0x2C, 0x0E, 0xB3, 0x76, 0xBB] }; #[repr(C)] struct IAvnExpanderVtbl { @@ -28686,8 +29214,11 @@ struct IAvnExpanderVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnExpander, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnExpander, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnExpander, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnExpander, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnExpander, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnExpander, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnExpander, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnExpander, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnExpander, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnExpander, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnExpander, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -29141,6 +29672,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -29155,6 +29700,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -29675,7 +30227,7 @@ impl ComPtr { } } -pub const I_AVN_FLEX_PANEL_IID: Guid = Guid { data1: 0x1CC87ECC, data2: 0x363C, data3: 0x5A07, data4: [0x90, 0x23, 0xAE, 0xA8, 0x0D, 0xBE, 0xF8, 0xB0] }; +pub const I_AVN_FLEX_PANEL_IID: Guid = Guid { data1: 0x82049C23, data2: 0xF315, data3: 0x5A82, data4: [0x86, 0xD9, 0x84, 0x5D, 0x8B, 0x82, 0xBA, 0x59] }; #[repr(C)] struct IAvnFlexPanelVtbl { @@ -29734,8 +30286,11 @@ struct IAvnFlexPanelVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnFlexPanel, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnFlexPanel, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnFlexPanel, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnFlexPanel, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnFlexPanel, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnFlexPanel, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnFlexPanel, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnFlexPanel, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnFlexPanel, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnFlexPanel, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnFlexPanel, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -30154,6 +30709,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -30168,6 +30737,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -30790,7 +31366,7 @@ impl ComPtr { } } -pub const I_AVN_GRID_IID: Guid = Guid { data1: 0x887286EA, data2: 0x8097, data3: 0x52EB, data4: [0x9C, 0xEF, 0xFA, 0x1D, 0xA7, 0x82, 0x8D, 0x0F] }; +pub const I_AVN_GRID_IID: Guid = Guid { data1: 0x028C589C, data2: 0x2C52, data3: 0x5505, data4: [0x9C, 0xD2, 0x36, 0xA2, 0x5B, 0x4F, 0x43, 0xA6] }; #[repr(C)] struct IAvnGridVtbl { @@ -30849,8 +31425,11 @@ struct IAvnGridVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnGrid, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnGrid, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnGrid, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnGrid, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnGrid, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnGrid, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnGrid, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnGrid, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnGrid, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnGrid, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnGrid, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -31265,6 +31844,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -31279,6 +31872,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -31531,7 +32131,7 @@ impl ComPtr { } } -pub const I_AVN_GRID_SPLITTER_IID: Guid = Guid { data1: 0x9D81E579, data2: 0x275C, data3: 0x53A1, data4: [0x8C, 0x3B, 0x91, 0xF1, 0x0E, 0x2D, 0x84, 0x03] }; +pub const I_AVN_GRID_SPLITTER_IID: Guid = Guid { data1: 0x135352FD, data2: 0x917A, data3: 0x577E, data4: [0xA4, 0x28, 0xD1, 0xB6, 0x08, 0x27, 0x44, 0x11] }; #[repr(C)] struct IAvnGridSplitterVtbl { @@ -31590,8 +32190,11 @@ struct IAvnGridSplitterVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnGridSplitter, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnGridSplitter, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnGridSplitter, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnGridSplitter, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnGridSplitter, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnGridSplitter, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnGridSplitter, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnGridSplitter, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnGridSplitter, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnGridSplitter, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnGridSplitter, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -32037,6 +32640,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -32051,6 +32668,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -32516,7 +33140,7 @@ impl ComPtr { } } -pub const I_AVN_GROUP_BOX_IID: Guid = Guid { data1: 0xF8356E2B, data2: 0x46EA, data3: 0x58CC, data4: [0x80, 0x74, 0x78, 0x9B, 0xA4, 0x2F, 0x0C, 0x79] }; +pub const I_AVN_GROUP_BOX_IID: Guid = Guid { data1: 0x83F8FB71, data2: 0x5FB5, data3: 0x5C67, data4: [0x9E, 0xDA, 0x9B, 0x19, 0x48, 0x17, 0x2B, 0x9E] }; #[repr(C)] struct IAvnGroupBoxVtbl { @@ -32575,8 +33199,11 @@ struct IAvnGroupBoxVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnGroupBox, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnGroupBox, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnGroupBox, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnGroupBox, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnGroupBox, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnGroupBox, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnGroupBox, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnGroupBox, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnGroupBox, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnGroupBox, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnGroupBox, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -33018,6 +33645,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -33032,6 +33673,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -33472,7 +34120,7 @@ impl ComPtr { } } -pub const I_AVN_HYPERLINK_BUTTON_IID: Guid = Guid { data1: 0x59F93515, data2: 0x012E, data3: 0x5F89, data4: [0x99, 0x98, 0x87, 0xE5, 0x94, 0x70, 0x34, 0xC1] }; +pub const I_AVN_HYPERLINK_BUTTON_IID: Guid = Guid { data1: 0x8130735B, data2: 0x8051, data3: 0x5246, data4: [0x99, 0x14, 0x24, 0x89, 0xE9, 0xC8, 0xBE, 0xA6] }; #[repr(C)] struct IAvnHyperlinkButtonVtbl { @@ -33531,8 +34179,11 @@ struct IAvnHyperlinkButtonVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnHyperlinkButton, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnHyperlinkButton, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnHyperlinkButton, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnHyperlinkButton, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnHyperlinkButton, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnHyperlinkButton, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnHyperlinkButton, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnHyperlinkButton, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnHyperlinkButton, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnHyperlinkButton, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnHyperlinkButton, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -33991,6 +34642,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -34005,6 +34670,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -34566,7 +35238,7 @@ impl ComPtr { } } -pub const I_AVN_ICON_ELEMENT_IID: Guid = Guid { data1: 0x21137537, data2: 0x05A7, data3: 0x5CD9, data4: [0x8F, 0xED, 0x59, 0xDA, 0xCA, 0x08, 0x64, 0x07] }; +pub const I_AVN_ICON_ELEMENT_IID: Guid = Guid { data1: 0x32A49476, data2: 0xDB0C, data3: 0x5038, data4: [0xB8, 0x88, 0xA6, 0x6D, 0x12, 0x2E, 0xC5, 0x57] }; #[repr(C)] struct IAvnIconElementVtbl { @@ -34625,8 +35297,11 @@ struct IAvnIconElementVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnIconElement, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnIconElement, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnIconElement, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnIconElement, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnIconElement, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnIconElement, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnIconElement, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnIconElement, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnIconElement, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnIconElement, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnIconElement, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -35056,6 +35731,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -35070,6 +35759,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -35426,7 +36122,7 @@ impl ComPtr { } } -pub const I_AVN_IMAGE_IID: Guid = Guid { data1: 0x9CBC9E3A, data2: 0x098A, data3: 0x51D7, data4: [0x96, 0x47, 0xE2, 0x06, 0x15, 0x05, 0x82, 0x87] }; +pub const I_AVN_IMAGE_IID: Guid = Guid { data1: 0x3BE59E46, data2: 0x0ECC, data3: 0x595F, data4: [0x85, 0xC0, 0x3C, 0xD4, 0x6F, 0x76, 0xD9, 0xB7] }; #[repr(C)] struct IAvnImageVtbl { @@ -35485,8 +36181,11 @@ struct IAvnImageVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnImage, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnImage, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnImage, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnImage, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnImage, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnImage, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnImage, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnImage, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnImage, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnImage, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnImage, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -35896,6 +36595,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -35910,6 +36623,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -36125,7 +36845,7 @@ impl ComPtr { } } -pub const I_AVN_ITEMS_CONTROL_IID: Guid = Guid { data1: 0x45705E13, data2: 0xA906, data3: 0x50E2, data4: [0xA0, 0xD8, 0xDC, 0xC2, 0x05, 0x85, 0xFD, 0xA6] }; +pub const I_AVN_ITEMS_CONTROL_IID: Guid = Guid { data1: 0xC6061984, data2: 0x593E, data3: 0x5875, data4: [0x89, 0x56, 0x4B, 0x5C, 0x4B, 0x6D, 0x88, 0x6C] }; #[repr(C)] struct IAvnItemsControlVtbl { @@ -36184,8 +36904,11 @@ struct IAvnItemsControlVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnItemsControl, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnItemsControl, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnItemsControl, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnItemsControl, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnItemsControl, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnItemsControl, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnItemsControl, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnItemsControl, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnItemsControl, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnItemsControl, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnItemsControl, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -36627,6 +37350,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -36641,6 +37378,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -37081,7 +37825,7 @@ impl ComPtr { } } -pub const I_AVN_LABEL_IID: Guid = Guid { data1: 0x73C1CCE5, data2: 0x8DB6, data3: 0x5A69, data4: [0xB8, 0xFB, 0xAC, 0x63, 0x95, 0x28, 0xAE, 0x72] }; +pub const I_AVN_LABEL_IID: Guid = Guid { data1: 0xC85D82E9, data2: 0x5381, data3: 0x5B73, data4: [0xBB, 0x11, 0xC5, 0x47, 0xCE, 0xFA, 0x8A, 0x19] }; #[repr(C)] struct IAvnLabelVtbl { @@ -37140,8 +37884,11 @@ struct IAvnLabelVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnLabel, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnLabel, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnLabel, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnLabel, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnLabel, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnLabel, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnLabel, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnLabel, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnLabel, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnLabel, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnLabel, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -37581,6 +38328,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -37595,6 +38356,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -38021,7 +38789,7 @@ impl ComPtr { } } -pub const I_AVN_LAYOUT_TRANSFORM_CONTROL_IID: Guid = Guid { data1: 0x4CF77BF7, data2: 0x4ED9, data3: 0x59F6, data4: [0x98, 0xC0, 0xAE, 0x96, 0x82, 0xB3, 0xAD, 0xFE] }; +pub const I_AVN_LAYOUT_TRANSFORM_CONTROL_IID: Guid = Guid { data1: 0xD19B8CD6, data2: 0x21FB, data3: 0x5F7C, data4: [0x98, 0x5B, 0xA4, 0x86, 0x53, 0x24, 0x61, 0xA7] }; #[repr(C)] struct IAvnLayoutTransformControlVtbl { @@ -38080,8 +38848,11 @@ struct IAvnLayoutTransformControlVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnLayoutTransformControl, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnLayoutTransformControl, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnLayoutTransformControl, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnLayoutTransformControl, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnLayoutTransformControl, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnLayoutTransformControl, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnLayoutTransformControl, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnLayoutTransformControl, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnLayoutTransformControl, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnLayoutTransformControl, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnLayoutTransformControl, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -38489,6 +39260,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -38503,6 +39288,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -38703,7 +39495,7 @@ impl ComPtr { } } -pub const I_AVN_LIST_BOX_IID: Guid = Guid { data1: 0xC45989AF, data2: 0x4038, data3: 0x524F, data4: [0x88, 0x5B, 0xE5, 0x71, 0x85, 0xB2, 0x21, 0x59] }; +pub const I_AVN_LIST_BOX_IID: Guid = Guid { data1: 0xFD704B9F, data2: 0x4E33, data3: 0x516E, data4: [0xB4, 0x8D, 0xB1, 0xDC, 0x9A, 0xA4, 0x4D, 0xCA] }; #[repr(C)] struct IAvnListBoxVtbl { @@ -38762,8 +39554,11 @@ struct IAvnListBoxVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnListBox, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnListBox, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnListBox, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnListBox, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnListBox, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnListBox, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnListBox, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnListBox, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnListBox, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnListBox, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnListBox, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -39223,6 +40018,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -39237,6 +40046,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -39800,7 +40616,7 @@ impl ComPtr { } } -pub const I_AVN_LIST_BOX_ITEM_IID: Guid = Guid { data1: 0xD51DAD4D, data2: 0xC109, data3: 0x5ABD, data4: [0x84, 0xB4, 0xF3, 0xC6, 0x00, 0x7F, 0x61, 0x33] }; +pub const I_AVN_LIST_BOX_ITEM_IID: Guid = Guid { data1: 0xD177A044, data2: 0x40A9, data3: 0x5BD2, data4: [0xB9, 0xD5, 0xBC, 0x3B, 0x24, 0xF6, 0xF8, 0x7E] }; #[repr(C)] struct IAvnListBoxItemVtbl { @@ -39859,8 +40675,11 @@ struct IAvnListBoxItemVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnListBoxItem, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnListBoxItem, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnListBoxItem, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnListBoxItem, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnListBoxItem, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnListBoxItem, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnListBoxItem, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnListBoxItem, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnListBoxItem, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnListBoxItem, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnListBoxItem, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -40300,6 +41119,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -40314,6 +41147,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -40740,7 +41580,7 @@ impl ComPtr { } } -pub const I_AVN_MASKED_TEXT_BOX_IID: Guid = Guid { data1: 0xACF377B4, data2: 0xD865, data3: 0x5245, data4: [0x8C, 0xFE, 0xAE, 0x04, 0x61, 0xEF, 0x95, 0xFB] }; +pub const I_AVN_MASKED_TEXT_BOX_IID: Guid = Guid { data1: 0x1C1A91B2, data2: 0x4417, data3: 0x5AB6, data4: [0xA2, 0x5A, 0xAF, 0x72, 0xF5, 0x7B, 0x56, 0x40] }; #[repr(C)] struct IAvnMaskedTextBoxVtbl { @@ -40799,8 +41639,11 @@ struct IAvnMaskedTextBoxVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnMaskedTextBox, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnMaskedTextBox, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnMaskedTextBox, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnMaskedTextBox, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnMaskedTextBox, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnMaskedTextBox, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnMaskedTextBox, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnMaskedTextBox, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnMaskedTextBox, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnMaskedTextBox, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnMaskedTextBox, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -41333,6 +42176,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -41347,6 +42204,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -42422,7 +43286,7 @@ impl ComPtr { } } -pub const I_AVN_MENU_IID: Guid = Guid { data1: 0x71FC2F34, data2: 0x4C1D, data3: 0x591E, data4: [0xA5, 0x67, 0xAB, 0x31, 0x51, 0xC7, 0x77, 0x85] }; +pub const I_AVN_MENU_IID: Guid = Guid { data1: 0x7494D34A, data2: 0x1A50, data3: 0x5EB7, data4: [0x85, 0x32, 0xD5, 0xA9, 0xCA, 0x39, 0x92, 0xB5] }; #[repr(C)] struct IAvnMenuVtbl { @@ -42481,8 +43345,11 @@ struct IAvnMenuVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnMenu, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnMenu, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnMenu, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnMenu, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnMenu, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnMenu, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnMenu, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnMenu, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnMenu, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnMenu, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnMenu, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -42945,6 +43812,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -42959,6 +43840,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -43542,7 +44430,7 @@ impl ComPtr { } } -pub const I_AVN_MENU_BASE_IID: Guid = Guid { data1: 0x1E92B6FA, data2: 0x9790, data3: 0x5135, data4: [0x8A, 0xC6, 0xA5, 0x66, 0xA0, 0xEA, 0xD4, 0x14] }; +pub const I_AVN_MENU_BASE_IID: Guid = Guid { data1: 0xA5A9B117, data2: 0xB812, data3: 0x50DC, data4: [0xBE, 0xAA, 0xD8, 0x1C, 0xDA, 0xE4, 0x07, 0x0D] }; #[repr(C)] struct IAvnMenuBaseVtbl { @@ -43601,8 +44489,11 @@ struct IAvnMenuBaseVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnMenuBase, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnMenuBase, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnMenuBase, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnMenuBase, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnMenuBase, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnMenuBase, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnMenuBase, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnMenuBase, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnMenuBase, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnMenuBase, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnMenuBase, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -44065,6 +44956,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -44079,6 +44984,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -45015,7 +45927,7 @@ impl ComPtr { } } -pub const I_AVN_MENU_ITEM_IID: Guid = Guid { data1: 0x15CE4E5D, data2: 0xE0E7, data3: 0x5356, data4: [0xAC, 0xFF, 0xD7, 0x42, 0xB7, 0x28, 0x0B, 0x97] }; +pub const I_AVN_MENU_ITEM_IID: Guid = Guid { data1: 0x1863F45C, data2: 0x1039, data3: 0x5C4E, data4: [0x96, 0x68, 0x43, 0x36, 0x06, 0xE9, 0x1A, 0xB9] }; #[repr(C)] struct IAvnMenuItemVtbl { @@ -45074,8 +45986,11 @@ struct IAvnMenuItemVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnMenuItem, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnMenuItem, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnMenuItem, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnMenuItem, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnMenuItem, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnMenuItem, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnMenuItem, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnMenuItem, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnMenuItem, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnMenuItem, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnMenuItem, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -45565,6 +46480,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -45579,6 +46508,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -46355,7 +47291,7 @@ impl ComPtr { } } -pub const I_AVN_NOTIFICATION_CARD_IID: Guid = Guid { data1: 0xDB52E2D8, data2: 0xCC48, data3: 0x5F72, data4: [0xB2, 0x20, 0x52, 0xBD, 0xF1, 0x6B, 0xC0, 0x55] }; +pub const I_AVN_NOTIFICATION_CARD_IID: Guid = Guid { data1: 0x9E79955D, data2: 0x2569, data3: 0x59C2, data4: [0x9A, 0x3A, 0x25, 0xFE, 0x0A, 0xE5, 0x60, 0x26] }; #[repr(C)] struct IAvnNotificationCardVtbl { @@ -46414,8 +47350,11 @@ struct IAvnNotificationCardVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnNotificationCard, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnNotificationCard, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnNotificationCard, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnNotificationCard, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnNotificationCard, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnNotificationCard, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnNotificationCard, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnNotificationCard, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnNotificationCard, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnNotificationCard, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnNotificationCard, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -46861,6 +47800,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -46875,6 +47828,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -47342,7 +48302,7 @@ impl ComPtr { } } -pub const I_AVN_WINDOW_NOTIFICATION_MANAGER_IID: Guid = Guid { data1: 0x2EECEA93, data2: 0x798A, data3: 0x57D8, data4: [0x9E, 0xD9, 0x91, 0xC4, 0xEA, 0x6D, 0x28, 0x2F] }; +pub const I_AVN_WINDOW_NOTIFICATION_MANAGER_IID: Guid = Guid { data1: 0xC159F361, data2: 0xBE6C, data3: 0x5268, data4: [0x8A, 0x0B, 0xE1, 0x2F, 0x63, 0x3F, 0x39, 0x5C] }; #[repr(C)] struct IAvnWindowNotificationManagerVtbl { @@ -47401,8 +48361,11 @@ struct IAvnWindowNotificationManagerVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnWindowNotificationManager, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnWindowNotificationManager, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnWindowNotificationManager, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnWindowNotificationManager, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnWindowNotificationManager, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnWindowNotificationManager, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnWindowNotificationManager, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnWindowNotificationManager, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnWindowNotificationManager, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnWindowNotificationManager, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnWindowNotificationManager, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -47841,6 +48804,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -47855,6 +48832,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -48269,7 +49253,7 @@ impl ComPtr { } } -pub const I_AVN_NUMERIC_UP_DOWN_IID: Guid = Guid { data1: 0x1082FB46, data2: 0x8635, data3: 0x515E, data4: [0x82, 0x2C, 0x12, 0x62, 0x9B, 0x6D, 0x25, 0xF8] }; +pub const I_AVN_NUMERIC_UP_DOWN_IID: Guid = Guid { data1: 0x5B2AA4AD, data2: 0xE367, data3: 0x58A1, data4: [0x99, 0xED, 0x81, 0x22, 0xD7, 0xC9, 0xB2, 0x09] }; #[repr(C)] struct IAvnNumericUpDownVtbl { @@ -48328,8 +49312,11 @@ struct IAvnNumericUpDownVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnNumericUpDown, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnNumericUpDown, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnNumericUpDown, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnNumericUpDown, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnNumericUpDown, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnNumericUpDown, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnNumericUpDown, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnNumericUpDown, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnNumericUpDown, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnNumericUpDown, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnNumericUpDown, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -48799,6 +49786,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -48813,6 +49814,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -49454,7 +50462,7 @@ impl ComPtr { } } -pub const I_AVN_PANEL_IID: Guid = Guid { data1: 0xE6C6B17E, data2: 0x9747, data3: 0x5739, data4: [0xB2, 0x55, 0x52, 0xE7, 0x37, 0xA7, 0xA2, 0xA2] }; +pub const I_AVN_PANEL_IID: Guid = Guid { data1: 0xFE37643D, data2: 0xBDE5, data3: 0x511B, data4: [0xAB, 0x66, 0xCB, 0x66, 0xB7, 0x3F, 0x68, 0x5F] }; #[repr(C)] struct IAvnPanelVtbl { @@ -49513,8 +50521,11 @@ struct IAvnPanelVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnPanel, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnPanel, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnPanel, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnPanel, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnPanel, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnPanel, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnPanel, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnPanel, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnPanel, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnPanel, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnPanel, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -49919,6 +50930,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -49933,6 +50958,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -50113,7 +51145,7 @@ impl ComPtr { } } -pub const I_AVN_PATH_ICON_IID: Guid = Guid { data1: 0x6D274452, data2: 0x1819, data3: 0x559D, data4: [0xBB, 0x43, 0x52, 0xE6, 0x8A, 0xB6, 0x4E, 0x10] }; +pub const I_AVN_PATH_ICON_IID: Guid = Guid { data1: 0x9C821A9C, data2: 0x6A11, data3: 0x5E74, data4: [0x8D, 0x69, 0xA6, 0x37, 0x66, 0x2C, 0xD2, 0x92] }; #[repr(C)] struct IAvnPathIconVtbl { @@ -50172,8 +51204,11 @@ struct IAvnPathIconVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnPathIcon, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnPathIcon, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnPathIcon, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnPathIcon, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnPathIcon, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnPathIcon, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnPathIcon, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnPathIcon, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnPathIcon, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnPathIcon, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnPathIcon, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -50605,6 +51640,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -50619,6 +51668,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -50990,7 +52046,7 @@ impl ComPtr { } } -pub const I_AVN_PIPS_PAGER_IID: Guid = Guid { data1: 0xFBFAC5E1, data2: 0xFD39, data3: 0x56C8, data4: [0x82, 0x08, 0x7C, 0x0E, 0x0A, 0xFA, 0x68, 0xCD] }; +pub const I_AVN_PIPS_PAGER_IID: Guid = Guid { data1: 0xB23699D7, data2: 0xACE9, data3: 0x5D8F, data4: [0x85, 0xED, 0x21, 0x6C, 0x49, 0xDE, 0xBE, 0x3E] }; #[repr(C)] struct IAvnPipsPagerVtbl { @@ -51049,8 +52105,11 @@ struct IAvnPipsPagerVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnPipsPager, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnPipsPager, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnPipsPager, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnPipsPager, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnPipsPager, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnPipsPager, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnPipsPager, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnPipsPager, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnPipsPager, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnPipsPager, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnPipsPager, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -51494,6 +52553,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -51508,6 +52581,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -52067,7 +53147,7 @@ impl ComPtr { } } -pub const I_AVN_HEADERED_CONTENT_CONTROL_IID: Guid = Guid { data1: 0xD8948145, data2: 0x837B, data3: 0x5DC3, data4: [0xA6, 0x85, 0x14, 0xDF, 0x38, 0x16, 0x7A, 0x93] }; +pub const I_AVN_HEADERED_CONTENT_CONTROL_IID: Guid = Guid { data1: 0x0408F0EA, data2: 0x5BA0, data3: 0x54C6, data4: [0xA8, 0xE6, 0x97, 0x93, 0x28, 0xFB, 0xE8, 0x8C] }; #[repr(C)] struct IAvnHeaderedContentControlVtbl { @@ -52126,8 +53206,11 @@ struct IAvnHeaderedContentControlVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnHeaderedContentControl, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnHeaderedContentControl, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnHeaderedContentControl, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnHeaderedContentControl, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnHeaderedContentControl, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnHeaderedContentControl, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnHeaderedContentControl, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnHeaderedContentControl, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnHeaderedContentControl, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnHeaderedContentControl, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnHeaderedContentControl, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -52569,6 +53652,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -52583,6 +53680,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -53023,7 +54127,7 @@ impl ComPtr { } } -pub const I_AVN_HEADERED_ITEMS_CONTROL_IID: Guid = Guid { data1: 0xD25B235E, data2: 0xD49F, data3: 0x55B2, data4: [0xAD, 0xF8, 0x90, 0xA2, 0xBF, 0xCB, 0x96, 0xAB] }; +pub const I_AVN_HEADERED_ITEMS_CONTROL_IID: Guid = Guid { data1: 0x2E4EBFCB, data2: 0xEA24, data3: 0x5842, data4: [0xAB, 0xC1, 0x0D, 0xC1, 0x37, 0xED, 0x31, 0xDA] }; #[repr(C)] struct IAvnHeaderedItemsControlVtbl { @@ -53082,8 +54186,11 @@ struct IAvnHeaderedItemsControlVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnHeaderedItemsControl, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnHeaderedItemsControl, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnHeaderedItemsControl, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnHeaderedItemsControl, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnHeaderedItemsControl, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnHeaderedItemsControl, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnHeaderedItemsControl, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnHeaderedItemsControl, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnHeaderedItemsControl, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnHeaderedItemsControl, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnHeaderedItemsControl, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -53529,6 +54636,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -53543,6 +54664,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -54011,7 +55139,7 @@ impl ComPtr { } } -pub const I_AVN_HEADERED_SELECTING_ITEMS_CONTROL_IID: Guid = Guid { data1: 0xBA5CD52E, data2: 0xECDF, data3: 0x5379, data4: [0xAC, 0x86, 0x58, 0x97, 0xFA, 0x85, 0x3C, 0x60] }; +pub const I_AVN_HEADERED_SELECTING_ITEMS_CONTROL_IID: Guid = Guid { data1: 0x723DA9D6, data2: 0x8356, data3: 0x5967, data4: [0x83, 0xE1, 0x0E, 0x0A, 0x4B, 0x1C, 0x1B, 0x2C] }; #[repr(C)] struct IAvnHeaderedSelectingItemsControlVtbl { @@ -54070,8 +55198,11 @@ struct IAvnHeaderedSelectingItemsControlVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnHeaderedSelectingItemsControl, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnHeaderedSelectingItemsControl, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnHeaderedSelectingItemsControl, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnHeaderedSelectingItemsControl, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnHeaderedSelectingItemsControl, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnHeaderedSelectingItemsControl, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnHeaderedSelectingItemsControl, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnHeaderedSelectingItemsControl, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnHeaderedSelectingItemsControl, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnHeaderedSelectingItemsControl, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnHeaderedSelectingItemsControl, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -54531,6 +55662,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -54545,6 +55690,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -55110,7 +56262,7 @@ impl ComPtr { } } -pub const I_AVN_POPUP_IID: Guid = Guid { data1: 0x30B75D6F, data2: 0x4E12, data3: 0x505C, data4: [0x8C, 0x73, 0xE0, 0x2A, 0x5F, 0xCD, 0xB3, 0x56] }; +pub const I_AVN_POPUP_IID: Guid = Guid { data1: 0xC8FAC379, data2: 0xF367, data3: 0x5D83, data4: [0x9A, 0xBF, 0x46, 0xEF, 0x6F, 0xCB, 0x77, 0x8B] }; #[repr(C)] struct IAvnPopupVtbl { @@ -55169,8 +56321,11 @@ struct IAvnPopupVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnPopup, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnPopup, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnPopup, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnPopup, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnPopup, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnPopup, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnPopup, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnPopup, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnPopup, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnPopup, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnPopup, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -55618,6 +56773,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -55632,6 +56801,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -56422,7 +57598,7 @@ impl ComPtr { } } -pub const I_AVN_RANGE_BASE_IID: Guid = Guid { data1: 0xD910F3E2, data2: 0xCD14, data3: 0x547A, data4: [0x8E, 0x8C, 0xBF, 0xEC, 0x9F, 0x4C, 0x92, 0x6F] }; +pub const I_AVN_RANGE_BASE_IID: Guid = Guid { data1: 0x4B50BE51, data2: 0x3AF1, data3: 0x5ED3, data4: [0xB2, 0x9F, 0x61, 0xE8, 0x72, 0x8F, 0x05, 0xC9] }; #[repr(C)] struct IAvnRangeBaseVtbl { @@ -56481,8 +57657,11 @@ struct IAvnRangeBaseVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnRangeBase, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnRangeBase, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnRangeBase, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnRangeBase, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnRangeBase, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnRangeBase, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnRangeBase, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnRangeBase, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnRangeBase, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnRangeBase, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnRangeBase, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -56924,6 +58103,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -56938,6 +58131,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -57377,7 +58577,7 @@ impl ComPtr { } } -pub const I_AVN_SELECTING_ITEMS_CONTROL_IID: Guid = Guid { data1: 0x18B99B99, data2: 0x03A3, data3: 0x5C68, data4: [0x84, 0x71, 0xD4, 0x63, 0xC4, 0xED, 0x17, 0x78] }; +pub const I_AVN_SELECTING_ITEMS_CONTROL_IID: Guid = Guid { data1: 0xBF3CA6E3, data2: 0xC054, data3: 0x5059, data4: [0xAF, 0xE7, 0x20, 0xE3, 0x8D, 0x9B, 0x9D, 0xE8] }; #[repr(C)] struct IAvnSelectingItemsControlVtbl { @@ -57436,8 +58636,11 @@ struct IAvnSelectingItemsControlVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnSelectingItemsControl, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnSelectingItemsControl, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnSelectingItemsControl, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnSelectingItemsControl, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnSelectingItemsControl, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnSelectingItemsControl, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnSelectingItemsControl, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnSelectingItemsControl, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnSelectingItemsControl, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnSelectingItemsControl, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnSelectingItemsControl, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -57893,6 +59096,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -57907,6 +59124,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -58444,7 +59668,7 @@ impl ComPtr { } } -pub const I_AVN_TEMPLATED_CONTROL_IID: Guid = Guid { data1: 0x6E80826C, data2: 0xF337, data3: 0x5A4D, data4: [0xA5, 0xBB, 0x1C, 0x0D, 0xF4, 0x36, 0xB6, 0xD0] }; +pub const I_AVN_TEMPLATED_CONTROL_IID: Guid = Guid { data1: 0x1863F34C, data2: 0xF21F, data3: 0x5977, data4: [0xA3, 0x05, 0x59, 0x39, 0xD8, 0x0C, 0xB8, 0xC5] }; #[repr(C)] struct IAvnTemplatedControlVtbl { @@ -58503,8 +59727,11 @@ struct IAvnTemplatedControlVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnTemplatedControl, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnTemplatedControl, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnTemplatedControl, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnTemplatedControl, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnTemplatedControl, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnTemplatedControl, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnTemplatedControl, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnTemplatedControl, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnTemplatedControl, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnTemplatedControl, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnTemplatedControl, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -58934,6 +60161,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -58948,6 +60189,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -59304,7 +60552,7 @@ impl ComPtr { } } -pub const I_AVN_THUMB_IID: Guid = Guid { data1: 0xA9A96FDF, data2: 0xBFCF, data3: 0x5E37, data4: [0xA1, 0x1E, 0x4B, 0x65, 0x3C, 0xE3, 0x6C, 0x00] }; +pub const I_AVN_THUMB_IID: Guid = Guid { data1: 0xE465D453, data2: 0x88D0, data3: 0x5CD1, data4: [0xAF, 0x2C, 0x38, 0x9B, 0x5D, 0x80, 0xBE, 0x4D] }; #[repr(C)] struct IAvnThumbVtbl { @@ -59363,8 +60611,11 @@ struct IAvnThumbVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnThumb, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnThumb, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnThumb, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnThumb, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnThumb, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnThumb, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnThumb, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnThumb, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnThumb, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnThumb, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnThumb, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -59800,6 +61051,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -59814,6 +61079,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -60209,7 +61481,7 @@ impl ComPtr { } } -pub const I_AVN_TOGGLE_BUTTON_IID: Guid = Guid { data1: 0x23A7F6FB, data2: 0xAFEF, data3: 0x5E4D, data4: [0x8A, 0x9A, 0x94, 0xF4, 0xEF, 0xCF, 0x6B, 0x12] }; +pub const I_AVN_TOGGLE_BUTTON_IID: Guid = Guid { data1: 0xAA447DC6, data2: 0x1470, data3: 0x599E, data4: [0xB0, 0xF5, 0x27, 0xBF, 0x31, 0x3D, 0xC7, 0xE7] }; #[repr(C)] struct IAvnToggleButtonVtbl { @@ -60268,8 +61540,11 @@ struct IAvnToggleButtonVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnToggleButton, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnToggleButton, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnToggleButton, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnToggleButton, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnToggleButton, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnToggleButton, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnToggleButton, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnToggleButton, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnToggleButton, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnToggleButton, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnToggleButton, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -60730,6 +62005,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -60744,6 +62033,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -61317,7 +62613,7 @@ impl ComPtr { } } -pub const I_AVN_UNIFORM_GRID_IID: Guid = Guid { data1: 0x061A5BD1, data2: 0x9360, data3: 0x53D2, data4: [0xBE, 0xF6, 0x7E, 0xB9, 0xEC, 0xAE, 0xA4, 0x93] }; +pub const I_AVN_UNIFORM_GRID_IID: Guid = Guid { data1: 0x8B8511AD, data2: 0x3289, data3: 0x5415, data4: [0xA0, 0x3D, 0xE0, 0x26, 0x55, 0x49, 0xA8, 0x76] }; #[repr(C)] struct IAvnUniformGridVtbl { @@ -61376,8 +62672,11 @@ struct IAvnUniformGridVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnUniformGrid, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnUniformGrid, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnUniformGrid, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnUniformGrid, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnUniformGrid, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnUniformGrid, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnUniformGrid, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnUniformGrid, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnUniformGrid, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnUniformGrid, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnUniformGrid, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -61792,6 +63091,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -61806,6 +63119,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -62056,7 +63376,7 @@ impl ComPtr { } } -pub const I_AVN_PROGRESS_BAR_IID: Guid = Guid { data1: 0x5AD47222, data2: 0x012D, data3: 0x56C8, data4: [0x84, 0x59, 0x42, 0xDD, 0x29, 0x5B, 0x9D, 0xAF] }; +pub const I_AVN_PROGRESS_BAR_IID: Guid = Guid { data1: 0x5B810486, data2: 0x98CC, data3: 0x51F9, data4: [0x8F, 0x12, 0x46, 0xA0, 0x95, 0x59, 0x5B, 0xB4] }; #[repr(C)] struct IAvnProgressBarVtbl { @@ -62115,8 +63435,11 @@ struct IAvnProgressBarVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnProgressBar, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnProgressBar, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnProgressBar, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnProgressBar, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnProgressBar, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnProgressBar, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnProgressBar, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnProgressBar, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnProgressBar, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnProgressBar, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnProgressBar, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -62567,6 +63890,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -62581,6 +63918,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -63085,7 +64429,7 @@ impl ComPtr { } } -pub const I_AVN_RADIO_BUTTON_IID: Guid = Guid { data1: 0xA2E6518A, data2: 0x5B2E, data3: 0x5424, data4: [0x84, 0xFE, 0xCF, 0xA3, 0x25, 0xD9, 0x32, 0x88] }; +pub const I_AVN_RADIO_BUTTON_IID: Guid = Guid { data1: 0xFBEA357A, data2: 0x8E1A, data3: 0x5579, data4: [0xA0, 0xCF, 0x4F, 0xD4, 0x88, 0x95, 0xDA, 0xDB] }; #[repr(C)] struct IAvnRadioButtonVtbl { @@ -63144,8 +64488,11 @@ struct IAvnRadioButtonVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnRadioButton, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnRadioButton, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnRadioButton, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnRadioButton, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnRadioButton, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnRadioButton, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnRadioButton, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnRadioButton, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnRadioButton, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnRadioButton, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnRadioButton, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -63608,6 +64955,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -63622,6 +64983,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -64210,7 +65578,7 @@ impl ComPtr { } } -pub const I_AVN_REFRESH_CONTAINER_IID: Guid = Guid { data1: 0x95707491, data2: 0x9943, data3: 0x5B6C, data4: [0xBF, 0x2E, 0x1A, 0x68, 0xA7, 0x97, 0xA8, 0x42] }; +pub const I_AVN_REFRESH_CONTAINER_IID: Guid = Guid { data1: 0x8A61432D, data2: 0xC34F, data3: 0x51D2, data4: [0x8A, 0xCC, 0xE3, 0x6D, 0x3D, 0x63, 0x9D, 0xC7] }; #[repr(C)] struct IAvnRefreshContainerVtbl { @@ -64269,8 +65637,11 @@ struct IAvnRefreshContainerVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnRefreshContainer, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnRefreshContainer, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnRefreshContainer, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnRefreshContainer, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnRefreshContainer, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnRefreshContainer, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnRefreshContainer, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnRefreshContainer, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnRefreshContainer, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnRefreshContainer, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnRefreshContainer, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -64715,6 +66086,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -64729,6 +66114,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -65188,7 +66580,7 @@ impl ComPtr { } } -pub const I_AVN_RELATIVE_PANEL_IID: Guid = Guid { data1: 0xA52468AD, data2: 0xE31F, data3: 0x58F2, data4: [0x8A, 0x74, 0x1A, 0xB7, 0xE7, 0x3D, 0x66, 0xE6] }; +pub const I_AVN_RELATIVE_PANEL_IID: Guid = Guid { data1: 0x65247A43, data2: 0x88C6, data3: 0x51B3, data4: [0x91, 0xA5, 0x4D, 0xD6, 0x46, 0x41, 0x01, 0x56] }; #[repr(C)] struct IAvnRelativePanelVtbl { @@ -65247,8 +66639,11 @@ struct IAvnRelativePanelVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnRelativePanel, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnRelativePanel, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnRelativePanel, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnRelativePanel, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnRelativePanel, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnRelativePanel, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnRelativePanel, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnRelativePanel, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnRelativePanel, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnRelativePanel, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnRelativePanel, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -65653,6 +67048,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -65667,6 +67076,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -65847,7 +67263,7 @@ impl ComPtr { } } -pub const I_AVN_REPEAT_BUTTON_IID: Guid = Guid { data1: 0xDF355462, data2: 0x7926, data3: 0x5F77, data4: [0xB4, 0x63, 0x22, 0xB1, 0x64, 0xC7, 0xA4, 0x02] }; +pub const I_AVN_REPEAT_BUTTON_IID: Guid = Guid { data1: 0x4F04D781, data2: 0x4A77, data3: 0x5C93, data4: [0x81, 0x2D, 0x3D, 0x1D, 0xFC, 0x10, 0x62, 0x7C] }; #[repr(C)] struct IAvnRepeatButtonVtbl { @@ -65906,8 +67322,11 @@ struct IAvnRepeatButtonVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnRepeatButton, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnRepeatButton, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnRepeatButton, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnRepeatButton, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnRepeatButton, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnRepeatButton, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnRepeatButton, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnRepeatButton, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnRepeatButton, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnRepeatButton, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnRepeatButton, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -66366,6 +67785,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -66380,6 +67813,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -66940,7 +68380,7 @@ impl ComPtr { } } -pub const I_AVN_SCROLL_VIEWER_IID: Guid = Guid { data1: 0x4CCB656E, data2: 0x34E8, data3: 0x5621, data4: [0xAF, 0x96, 0x1C, 0x2A, 0xF4, 0xF1, 0xDA, 0xAE] }; +pub const I_AVN_SCROLL_VIEWER_IID: Guid = Guid { data1: 0x1D6C37FA, data2: 0x326B, data3: 0x57A1, data4: [0xA0, 0x84, 0x77, 0x90, 0xE0, 0xCE, 0x29, 0x73] }; #[repr(C)] struct IAvnScrollViewerVtbl { @@ -66999,8 +68439,11 @@ struct IAvnScrollViewerVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnScrollViewer, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnScrollViewer, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnScrollViewer, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnScrollViewer, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnScrollViewer, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnScrollViewer, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnScrollViewer, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnScrollViewer, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnScrollViewer, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnScrollViewer, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnScrollViewer, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -67483,6 +68926,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -67497,6 +68954,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -68218,7 +69682,7 @@ impl ComPtr { } } -pub const I_AVN_SELECTABLE_TEXT_BLOCK_IID: Guid = Guid { data1: 0x8E36E51E, data2: 0x30AC, data3: 0x563D, data4: [0xA2, 0xD7, 0x79, 0x33, 0x5F, 0x5F, 0xAD, 0x8C] }; +pub const I_AVN_SELECTABLE_TEXT_BLOCK_IID: Guid = Guid { data1: 0x11DADAD8, data2: 0x19AB, data3: 0x5C0C, data4: [0x96, 0x14, 0x00, 0xDD, 0x41, 0x25, 0x70, 0xF8] }; #[repr(C)] struct IAvnSelectableTextBlockVtbl { @@ -68277,8 +69741,11 @@ struct IAvnSelectableTextBlockVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnSelectableTextBlock, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnSelectableTextBlock, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnSelectableTextBlock, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnSelectableTextBlock, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnSelectableTextBlock, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnSelectableTextBlock, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnSelectableTextBlock, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnSelectableTextBlock, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnSelectableTextBlock, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnSelectableTextBlock, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnSelectableTextBlock, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -68731,6 +70198,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -68745,6 +70226,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -69262,7 +70750,7 @@ impl ComPtr { } } -pub const I_AVN_SEPARATOR_IID: Guid = Guid { data1: 0xC97E1335, data2: 0x936C, data3: 0x5319, data4: [0x91, 0xB3, 0x09, 0xE2, 0xE1, 0x60, 0x7D, 0x5A] }; +pub const I_AVN_SEPARATOR_IID: Guid = Guid { data1: 0x81DB67FE, data2: 0xE07A, data3: 0x5DD4, data4: [0xB1, 0x6C, 0x1E, 0x09, 0x9F, 0xC0, 0x59, 0xFB] }; #[repr(C)] struct IAvnSeparatorVtbl { @@ -69321,8 +70809,11 @@ struct IAvnSeparatorVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnSeparator, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnSeparator, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnSeparator, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnSeparator, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnSeparator, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnSeparator, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnSeparator, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnSeparator, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnSeparator, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnSeparator, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnSeparator, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -69752,6 +71243,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -69766,6 +71271,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -70122,7 +71634,7 @@ impl ComPtr { } } -pub const I_AVN_ARC_IID: Guid = Guid { data1: 0xD707907F, data2: 0xAF00, data3: 0x561A, data4: [0x93, 0x74, 0x03, 0xA9, 0x0D, 0xF5, 0x5B, 0x83] }; +pub const I_AVN_ARC_IID: Guid = Guid { data1: 0x2DACA1F8, data2: 0x5364, data3: 0x5CB5, data4: [0xB4, 0x71, 0x81, 0x68, 0x2B, 0x00, 0xE3, 0x89] }; #[repr(C)] struct IAvnArcVtbl { @@ -70181,8 +71693,11 @@ struct IAvnArcVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnArc, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnArc, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnArc, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnArc, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnArc, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnArc, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnArc, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnArc, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnArc, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnArc, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnArc, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -70606,6 +72121,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -70620,6 +72149,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -70933,7 +72469,7 @@ impl ComPtr { } } -pub const I_AVN_ELLIPSE_IID: Guid = Guid { data1: 0xECCCD4F8, data2: 0x7656, data3: 0x5346, data4: [0xB5, 0x62, 0xE8, 0x26, 0xC2, 0x7E, 0x03, 0x9E] }; +pub const I_AVN_ELLIPSE_IID: Guid = Guid { data1: 0x71442BCB, data2: 0x5E0D, data3: 0x53BF, data4: [0xB4, 0xC8, 0x4B, 0xE3, 0x9A, 0x9E, 0x19, 0x10] }; #[repr(C)] struct IAvnEllipseVtbl { @@ -70992,8 +72528,11 @@ struct IAvnEllipseVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnEllipse, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnEllipse, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnEllipse, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnEllipse, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnEllipse, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnEllipse, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnEllipse, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnEllipse, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnEllipse, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnEllipse, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnEllipse, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -71413,6 +72952,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -71427,6 +72980,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -71712,7 +73272,7 @@ impl ComPtr { } } -pub const I_AVN_LINE_IID: Guid = Guid { data1: 0xC3F76A13, data2: 0x4998, data3: 0x5B6B, data4: [0xAD, 0x06, 0xEF, 0xB5, 0xE4, 0xB9, 0xEC, 0x61] }; +pub const I_AVN_LINE_IID: Guid = Guid { data1: 0xE432CA0E, data2: 0x417D, data3: 0x584A, data4: [0xA0, 0xAB, 0x88, 0x4A, 0xCB, 0x73, 0xA6, 0xF6] }; #[repr(C)] struct IAvnLineVtbl { @@ -71771,8 +73331,11 @@ struct IAvnLineVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnLine, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnLine, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnLine, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnLine, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnLine, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnLine, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnLine, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnLine, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnLine, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnLine, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnLine, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -72196,6 +73759,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -72210,6 +73787,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -72523,7 +74107,7 @@ impl ComPtr { } } -pub const I_AVN_PATH_IID: Guid = Guid { data1: 0x708CD7FD, data2: 0x817B, data3: 0x56CB, data4: [0xAE, 0x5C, 0xC7, 0x4F, 0x67, 0xCA, 0xD4, 0xF6] }; +pub const I_AVN_PATH_IID: Guid = Guid { data1: 0xE663EA07, data2: 0xD965, data3: 0x5E67, data4: [0x92, 0x2A, 0xCA, 0x93, 0x2B, 0x48, 0x83, 0xEF] }; #[repr(C)] struct IAvnPathVtbl { @@ -72582,8 +74166,11 @@ struct IAvnPathVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnPath, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnPath, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnPath, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnPath, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnPath, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnPath, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnPath, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnPath, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnPath, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnPath, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnPath, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -73005,6 +74592,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -73019,6 +74620,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -73319,7 +74927,7 @@ impl ComPtr { } } -pub const I_AVN_POLYGON_IID: Guid = Guid { data1: 0x4F93F9D8, data2: 0x08E6, data3: 0x56F7, data4: [0xA5, 0x1B, 0x07, 0x39, 0x28, 0x79, 0x5D, 0x7D] }; +pub const I_AVN_POLYGON_IID: Guid = Guid { data1: 0x0AAD3814, data2: 0xFD24, data3: 0x5051, data4: [0xAE, 0xD3, 0xFB, 0x09, 0x0E, 0x1C, 0x0A, 0x3F] }; #[repr(C)] struct IAvnPolygonVtbl { @@ -73378,8 +74986,11 @@ struct IAvnPolygonVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnPolygon, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnPolygon, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnPolygon, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnPolygon, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnPolygon, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnPolygon, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnPolygon, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnPolygon, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnPolygon, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnPolygon, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnPolygon, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -73803,6 +75414,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -73817,6 +75442,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -74131,7 +75763,7 @@ impl ComPtr { } } -pub const I_AVN_POLYLINE_IID: Guid = Guid { data1: 0x2DBA0D61, data2: 0xC35B, data3: 0x5D12, data4: [0x82, 0xA7, 0x55, 0x5E, 0xDA, 0x62, 0x0B, 0xC5] }; +pub const I_AVN_POLYLINE_IID: Guid = Guid { data1: 0x5CBDF633, data2: 0x9B36, data3: 0x5DDE, data4: [0xBF, 0xBE, 0x48, 0xFD, 0x2F, 0xA5, 0x4C, 0x99] }; #[repr(C)] struct IAvnPolylineVtbl { @@ -74190,8 +75822,11 @@ struct IAvnPolylineVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnPolyline, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnPolyline, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnPolyline, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnPolyline, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnPolyline, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnPolyline, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnPolyline, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnPolyline, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnPolyline, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnPolyline, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnPolyline, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -74615,6 +76250,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -74629,6 +76278,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -74943,7 +76599,7 @@ impl ComPtr { } } -pub const I_AVN_RECTANGLE_IID: Guid = Guid { data1: 0x95D3D828, data2: 0x9CB6, data3: 0x536E, data4: [0x96, 0xD5, 0x2D, 0x5D, 0x67, 0xC3, 0x46, 0x3F] }; +pub const I_AVN_RECTANGLE_IID: Guid = Guid { data1: 0x18F60995, data2: 0x254F, data3: 0x5AC8, data4: [0x81, 0x01, 0x5D, 0xF9, 0xA4, 0x4E, 0xE4, 0x88] }; #[repr(C)] struct IAvnRectangleVtbl { @@ -75002,8 +76658,11 @@ struct IAvnRectangleVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnRectangle, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnRectangle, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnRectangle, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnRectangle, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnRectangle, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnRectangle, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnRectangle, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnRectangle, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnRectangle, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnRectangle, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnRectangle, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -75427,6 +77086,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -75441,6 +77114,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -75754,7 +77434,7 @@ impl ComPtr { } } -pub const I_AVN_SECTOR_IID: Guid = Guid { data1: 0xA6E3E187, data2: 0x67DD, data3: 0x5603, data4: [0x93, 0xD8, 0x74, 0x31, 0xB6, 0x44, 0x9C, 0xD7] }; +pub const I_AVN_SECTOR_IID: Guid = Guid { data1: 0xB5A66A03, data2: 0x1739, data3: 0x5B83, data4: [0xB5, 0xBB, 0x74, 0x8E, 0x76, 0xAF, 0x1B, 0x27] }; #[repr(C)] struct IAvnSectorVtbl { @@ -75813,8 +77493,11 @@ struct IAvnSectorVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnSector, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnSector, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnSector, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnSector, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnSector, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnSector, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnSector, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnSector, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnSector, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnSector, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnSector, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -76238,6 +77921,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -76252,6 +77949,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -76565,7 +78269,7 @@ impl ComPtr { } } -pub const I_AVN_SHAPE_IID: Guid = Guid { data1: 0x8C49AE37, data2: 0x0535, data3: 0x5DEF, data4: [0x92, 0x6C, 0xD0, 0xD6, 0x85, 0x7C, 0xC2, 0x16] }; +pub const I_AVN_SHAPE_IID: Guid = Guid { data1: 0x9B09B01F, data2: 0xE387, data3: 0x5C6F, data4: [0xBB, 0x9B, 0x60, 0x5F, 0xC4, 0x3B, 0xA2, 0x33] }; #[repr(C)] struct IAvnShapeVtbl { @@ -76624,8 +78328,11 @@ struct IAvnShapeVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnShape, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnShape, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnShape, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnShape, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnShape, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnShape, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnShape, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnShape, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnShape, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnShape, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnShape, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -77045,6 +78752,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -77059,6 +78780,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -77344,7 +79072,7 @@ impl ComPtr { } } -pub const I_AVN_SLIDER_IID: Guid = Guid { data1: 0x8F19D970, data2: 0x60A0, data3: 0x5AA7, data4: [0xA9, 0xCF, 0xDF, 0x78, 0x82, 0xB1, 0x1E, 0x7A] }; +pub const I_AVN_SLIDER_IID: Guid = Guid { data1: 0x87C098D1, data2: 0xE3D8, data3: 0x5297, data4: [0x8E, 0xFB, 0xB0, 0x39, 0xEF, 0x2C, 0x9C, 0xB5] }; #[repr(C)] struct IAvnSliderVtbl { @@ -77403,8 +79131,11 @@ struct IAvnSliderVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnSlider, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnSlider, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnSlider, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnSlider, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnSlider, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnSlider, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnSlider, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnSlider, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnSlider, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnSlider, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnSlider, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -77858,6 +79589,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -77872,6 +79617,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -78396,7 +80148,7 @@ impl ComPtr { } } -pub const I_AVN_SPINNER_IID: Guid = Guid { data1: 0xCF93246B, data2: 0xDA27, data3: 0x5FC8, data4: [0x83, 0x82, 0xFE, 0x60, 0x00, 0xF8, 0x3F, 0xA4] }; +pub const I_AVN_SPINNER_IID: Guid = Guid { data1: 0xB3D288E3, data2: 0x9138, data3: 0x530A, data4: [0x96, 0xBE, 0x4B, 0x27, 0x4D, 0xF1, 0x15, 0xF2] }; #[repr(C)] struct IAvnSpinnerVtbl { @@ -78455,8 +80207,11 @@ struct IAvnSpinnerVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnSpinner, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnSpinner, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnSpinner, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnSpinner, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnSpinner, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnSpinner, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnSpinner, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnSpinner, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnSpinner, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnSpinner, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnSpinner, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -78898,6 +80653,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -78912,6 +80681,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -79351,7 +81127,7 @@ impl ComPtr { } } -pub const I_AVN_SPLIT_BUTTON_IID: Guid = Guid { data1: 0x88415351, data2: 0x1718, data3: 0x57DE, data4: [0x98, 0xD6, 0x5D, 0xEE, 0x17, 0x94, 0x02, 0x9C] }; +pub const I_AVN_SPLIT_BUTTON_IID: Guid = Guid { data1: 0xE162F1F5, data2: 0x7BC8, data3: 0x59CB, data4: [0x82, 0xD6, 0x9A, 0x2A, 0x47, 0xF6, 0x88, 0x84] }; #[repr(C)] struct IAvnSplitButtonVtbl { @@ -79410,8 +81186,11 @@ struct IAvnSplitButtonVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnSplitButton, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnSplitButton, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnSplitButton, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnSplitButton, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnSplitButton, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnSplitButton, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnSplitButton, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnSplitButton, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnSplitButton, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnSplitButton, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnSplitButton, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -79859,6 +81638,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -79873,6 +81666,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -80355,7 +82155,7 @@ impl ComPtr { } } -pub const I_AVN_SPLIT_VIEW_IID: Guid = Guid { data1: 0xCF2AF228, data2: 0xF18D, data3: 0x57E1, data4: [0xB3, 0x62, 0x6A, 0x69, 0x2F, 0xEB, 0x7A, 0xC4] }; +pub const I_AVN_SPLIT_VIEW_IID: Guid = Guid { data1: 0x5AA9070F, data2: 0xD947, data3: 0x566B, data4: [0x93, 0x1C, 0xEF, 0x80, 0x55, 0x0E, 0xE6, 0x3E] }; #[repr(C)] struct IAvnSplitViewVtbl { @@ -80414,8 +82214,11 @@ struct IAvnSplitViewVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnSplitView, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnSplitView, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnSplitView, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnSplitView, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnSplitView, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnSplitView, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnSplitView, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnSplitView, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnSplitView, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnSplitView, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnSplitView, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -80879,6 +82682,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -80893,6 +82710,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -81483,7 +83307,7 @@ impl ComPtr { } } -pub const I_AVN_STACK_PANEL_IID: Guid = Guid { data1: 0x41C138FB, data2: 0xC0C9, data3: 0x579F, data4: [0xA3, 0xB9, 0x76, 0x08, 0x07, 0x32, 0xA9, 0x4C] }; +pub const I_AVN_STACK_PANEL_IID: Guid = Guid { data1: 0x6CBE349A, data2: 0xE815, data3: 0x55A1, data4: [0xBB, 0xD8, 0xB4, 0x39, 0x51, 0x56, 0x7D, 0xC1] }; #[repr(C)] struct IAvnStackPanelVtbl { @@ -81542,8 +83366,11 @@ struct IAvnStackPanelVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnStackPanel, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnStackPanel, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnStackPanel, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnStackPanel, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnStackPanel, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnStackPanel, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnStackPanel, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnStackPanel, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnStackPanel, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnStackPanel, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnStackPanel, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -81956,6 +83783,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -81970,6 +83811,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -82206,7 +84054,7 @@ impl ComPtr { } } -pub const I_AVN_TAB_CONTROL_IID: Guid = Guid { data1: 0x27DF6FA4, data2: 0x888C, data3: 0x53C3, data4: [0x86, 0x12, 0x18, 0x67, 0x47, 0xFD, 0x07, 0xBF] }; +pub const I_AVN_TAB_CONTROL_IID: Guid = Guid { data1: 0x08959EF6, data2: 0x348B, data3: 0x51EC, data4: [0x8B, 0xE3, 0xD3, 0xAE, 0x47, 0xB8, 0x61, 0xBF] }; #[repr(C)] struct IAvnTabControlVtbl { @@ -82265,8 +84113,11 @@ struct IAvnTabControlVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnTabControl, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnTabControl, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnTabControl, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnTabControl, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnTabControl, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnTabControl, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnTabControl, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnTabControl, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnTabControl, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnTabControl, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnTabControl, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -82734,6 +84585,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -82748,6 +84613,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -83371,7 +85243,7 @@ impl ComPtr { } } -pub const I_AVN_TAB_ITEM_IID: Guid = Guid { data1: 0xDED2B477, data2: 0xBC45, data3: 0x5613, data4: [0xBA, 0x24, 0xCD, 0xBA, 0xB6, 0x35, 0xD7, 0x85] }; +pub const I_AVN_TAB_ITEM_IID: Guid = Guid { data1: 0x7FFA8FBC, data2: 0x579E, data3: 0x5152, data4: [0xA5, 0xD1, 0xAF, 0xE1, 0x28, 0xCC, 0xB4, 0x70] }; #[repr(C)] struct IAvnTabItemVtbl { @@ -83430,8 +85302,11 @@ struct IAvnTabItemVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnTabItem, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnTabItem, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnTabItem, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnTabItem, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnTabItem, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnTabItem, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnTabItem, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnTabItem, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnTabItem, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnTabItem, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnTabItem, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -83882,6 +85757,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -83896,6 +85785,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -84400,7 +86296,7 @@ impl ComPtr { } } -pub const I_AVN_TABLE_VIEW_IID: Guid = Guid { data1: 0xBA62A21B, data2: 0xC26D, data3: 0x587F, data4: [0xA4, 0x1F, 0x35, 0xE6, 0x7E, 0x20, 0x0B, 0x69] }; +pub const I_AVN_TABLE_VIEW_IID: Guid = Guid { data1: 0x8653BEA5, data2: 0x66FE, data3: 0x5479, data4: [0x87, 0xD0, 0x45, 0xC9, 0xD8, 0xFD, 0xC7, 0xEC] }; #[repr(C)] struct IAvnTableViewVtbl { @@ -84459,8 +86355,11 @@ struct IAvnTableViewVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnTableView, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnTableView, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnTableView, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnTableView, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnTableView, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnTableView, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnTableView, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnTableView, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnTableView, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnTableView, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnTableView, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -84924,6 +86823,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -84938,6 +86851,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -85529,7 +87449,7 @@ impl ComPtr { } } -pub const I_AVN_TABLE_VIEW_CELL_IID: Guid = Guid { data1: 0x2B1B1C38, data2: 0x97FD, data3: 0x59A3, data4: [0x8B, 0xCD, 0x59, 0xAC, 0xBD, 0xC0, 0x33, 0x68] }; +pub const I_AVN_TABLE_VIEW_CELL_IID: Guid = Guid { data1: 0xFB82C6E3, data2: 0x9041, data3: 0x5212, data4: [0xB8, 0x97, 0xE3, 0xDE, 0xC7, 0xEA, 0x63, 0x60] }; #[repr(C)] struct IAvnTableViewCellVtbl { @@ -85588,8 +87508,11 @@ struct IAvnTableViewCellVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnTableViewCell, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnTableViewCell, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnTableViewCell, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnTableViewCell, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnTableViewCell, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnTableViewCell, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnTableViewCell, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnTableViewCell, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnTableViewCell, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnTableViewCell, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnTableViewCell, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -86027,6 +87950,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -86041,6 +87978,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -86805,7 +88749,7 @@ impl ComPtr { } } -pub const I_AVN_TABLE_VIEW_ROW_IID: Guid = Guid { data1: 0x8E3BA93D, data2: 0xD0BE, data3: 0x51D9, data4: [0xA0, 0x07, 0x2A, 0xF6, 0x14, 0xAC, 0x6A, 0xDB] }; +pub const I_AVN_TABLE_VIEW_ROW_IID: Guid = Guid { data1: 0x25F888AF, data2: 0x361C, data3: 0x5B20, data4: [0xAC, 0xB7, 0xCC, 0x9D, 0x17, 0x70, 0xD8, 0x98] }; #[repr(C)] struct IAvnTableViewRowVtbl { @@ -86864,8 +88808,11 @@ struct IAvnTableViewRowVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnTableViewRow, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnTableViewRow, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnTableViewRow, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnTableViewRow, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnTableViewRow, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnTableViewRow, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnTableViewRow, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnTableViewRow, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnTableViewRow, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnTableViewRow, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnTableViewRow, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -87305,6 +89252,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -87319,6 +89280,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -87745,7 +89713,7 @@ impl ComPtr { } } -pub const I_AVN_TEXT_BLOCK_IID: Guid = Guid { data1: 0x199AE412, data2: 0xEE08, data3: 0x5BDE, data4: [0xA4, 0x98, 0x66, 0xAE, 0x02, 0x31, 0xAA, 0x3F] }; +pub const I_AVN_TEXT_BLOCK_IID: Guid = Guid { data1: 0x47E06BD1, data2: 0x10DC, data3: 0x5267, data4: [0xA5, 0x5F, 0xA5, 0xC3, 0xBB, 0x53, 0x62, 0x85] }; #[repr(C)] struct IAvnTextBlockVtbl { @@ -87804,8 +89772,11 @@ struct IAvnTextBlockVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnTextBlock, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnTextBlock, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnTextBlock, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnTextBlock, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnTextBlock, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnTextBlock, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnTextBlock, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnTextBlock, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnTextBlock, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnTextBlock, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnTextBlock, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -88243,6 +90214,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -88257,6 +90242,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -88671,7 +90663,7 @@ impl ComPtr { } } -pub const I_AVN_TEXT_BOX_IID: Guid = Guid { data1: 0x55D76247, data2: 0x3F6A, data3: 0x5F45, data4: [0xAC, 0x3C, 0x33, 0xB3, 0x4A, 0x38, 0x32, 0x9A] }; +pub const I_AVN_TEXT_BOX_IID: Guid = Guid { data1: 0x2CECBBEF, data2: 0x9113, data3: 0x5262, data4: [0xB4, 0x4C, 0x4C, 0xFD, 0x61, 0x37, 0x32, 0x81] }; #[repr(C)] struct IAvnTextBoxVtbl { @@ -88730,8 +90722,11 @@ struct IAvnTextBoxVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnTextBox, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnTextBox, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnTextBox, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnTextBox, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnTextBox, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnTextBox, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnTextBox, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnTextBox, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnTextBox, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnTextBox, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnTextBox, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -89250,6 +91245,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -89264,6 +91273,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -90238,7 +92254,7 @@ impl ComPtr { } } -pub const I_AVN_THEME_VARIANT_SCOPE_IID: Guid = Guid { data1: 0xFF6B43AB, data2: 0xB89D, data3: 0x5574, data4: [0xBB, 0xDE, 0x9A, 0xCA, 0xCD, 0x23, 0xDB, 0xA4] }; +pub const I_AVN_THEME_VARIANT_SCOPE_IID: Guid = Guid { data1: 0x0C7665EE, data2: 0x7E88, data3: 0x5B31, data4: [0xAA, 0x6C, 0x0B, 0x7B, 0xE8, 0x8E, 0xA1, 0x4B] }; #[repr(C)] struct IAvnThemeVariantScopeVtbl { @@ -90297,8 +92313,11 @@ struct IAvnThemeVariantScopeVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnThemeVariantScope, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnThemeVariantScope, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnThemeVariantScope, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnThemeVariantScope, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnThemeVariantScope, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnThemeVariantScope, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnThemeVariantScope, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnThemeVariantScope, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnThemeVariantScope, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnThemeVariantScope, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnThemeVariantScope, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -90706,6 +92725,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -90720,6 +92753,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -90921,7 +92961,7 @@ impl ComPtr { } } -pub const I_AVN_TIME_PICKER_IID: Guid = Guid { data1: 0x5E7CE65A, data2: 0xFE53, data3: 0x551C, data4: [0x9F, 0x5A, 0x23, 0x44, 0xEE, 0x09, 0xE0, 0x02] }; +pub const I_AVN_TIME_PICKER_IID: Guid = Guid { data1: 0xB5A38C06, data2: 0x2DB2, data3: 0x5199, data4: [0x83, 0xDC, 0x05, 0xC2, 0x8A, 0x15, 0xDA, 0x69] }; #[repr(C)] struct IAvnTimePickerVtbl { @@ -90980,8 +93020,11 @@ struct IAvnTimePickerVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnTimePicker, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnTimePicker, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnTimePicker, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnTimePicker, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnTimePicker, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnTimePicker, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnTimePicker, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnTimePicker, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnTimePicker, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnTimePicker, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnTimePicker, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -91426,6 +93469,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -91440,6 +93497,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -91901,7 +93965,7 @@ impl ComPtr { } } -pub const I_AVN_TOGGLE_SPLIT_BUTTON_IID: Guid = Guid { data1: 0x0057E49B, data2: 0xBB54, data3: 0x516F, data4: [0x8F, 0xDA, 0xB1, 0xE6, 0x46, 0xA1, 0xC8, 0x97] }; +pub const I_AVN_TOGGLE_SPLIT_BUTTON_IID: Guid = Guid { data1: 0xA8024AE3, data2: 0x3329, data3: 0x57D6, data4: [0xAE, 0x6C, 0x1E, 0x3B, 0xBA, 0xD7, 0xA7, 0xE6] }; #[repr(C)] struct IAvnToggleSplitButtonVtbl { @@ -91960,8 +94024,11 @@ struct IAvnToggleSplitButtonVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnToggleSplitButton, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnToggleSplitButton, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnToggleSplitButton, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnToggleSplitButton, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnToggleSplitButton, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnToggleSplitButton, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnToggleSplitButton, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnToggleSplitButton, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnToggleSplitButton, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnToggleSplitButton, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnToggleSplitButton, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -92413,6 +94480,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -92427,6 +94508,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -92936,7 +95024,7 @@ impl ComPtr { } } -pub const I_AVN_TOGGLE_SWITCH_IID: Guid = Guid { data1: 0xB022C6CE, data2: 0x8A5D, data3: 0x5700, data4: [0xB3, 0x41, 0x11, 0x4A, 0x6A, 0x4F, 0xBC, 0xA0] }; +pub const I_AVN_TOGGLE_SWITCH_IID: Guid = Guid { data1: 0xEB2E63C7, data2: 0x1C28, data3: 0x5754, data4: [0xB2, 0x6B, 0x64, 0xBC, 0x0C, 0x26, 0x41, 0xBF] }; #[repr(C)] struct IAvnToggleSwitchVtbl { @@ -92995,8 +95083,11 @@ struct IAvnToggleSwitchVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnToggleSwitch, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnToggleSwitch, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnToggleSwitch, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnToggleSwitch, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnToggleSwitch, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnToggleSwitch, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnToggleSwitch, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnToggleSwitch, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnToggleSwitch, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnToggleSwitch, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnToggleSwitch, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -93465,6 +95556,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -93479,6 +95584,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -94108,7 +96220,7 @@ impl ComPtr { } } -pub const I_AVN_TOOL_TIP_IID: Guid = Guid { data1: 0x2B78EA6B, data2: 0xFE62, data3: 0x5508, data4: [0xAB, 0x5F, 0x58, 0x6C, 0x35, 0x23, 0xC5, 0xA1] }; +pub const I_AVN_TOOL_TIP_IID: Guid = Guid { data1: 0x04F8776B, data2: 0x9CD2, data3: 0x58D3, data4: [0x90, 0x04, 0xAA, 0x6B, 0x0C, 0x12, 0xE9, 0x02] }; #[repr(C)] struct IAvnToolTipVtbl { @@ -94167,8 +96279,11 @@ struct IAvnToolTipVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnToolTip, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnToolTip, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnToolTip, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnToolTip, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnToolTip, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnToolTip, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnToolTip, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnToolTip, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnToolTip, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnToolTip, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnToolTip, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -94606,6 +96721,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -94620,6 +96749,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -95032,7 +97168,7 @@ impl ComPtr { } } -pub const I_AVN_TRANSITIONING_CONTENT_CONTROL_IID: Guid = Guid { data1: 0xFD0EB25C, data2: 0x585B, data3: 0x5EDA, data4: [0xB1, 0xED, 0xF6, 0x29, 0xA7, 0x65, 0xB5, 0xA9] }; +pub const I_AVN_TRANSITIONING_CONTENT_CONTROL_IID: Guid = Guid { data1: 0x2B88F131, data2: 0x4CA4, data3: 0x529F, data4: [0xAA, 0x60, 0xED, 0x2B, 0xE7, 0x19, 0xBE, 0x10] }; #[repr(C)] struct IAvnTransitioningContentControlVtbl { @@ -95091,8 +97227,11 @@ struct IAvnTransitioningContentControlVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnTransitioningContentControl, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnTransitioningContentControl, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnTransitioningContentControl, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnTransitioningContentControl, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnTransitioningContentControl, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnTransitioningContentControl, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnTransitioningContentControl, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnTransitioningContentControl, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnTransitioningContentControl, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnTransitioningContentControl, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnTransitioningContentControl, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -95534,6 +97673,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -95548,6 +97701,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -96121,7 +98281,7 @@ impl ComPtr { } } -pub const I_AVN_TREE_VIEW_IID: Guid = Guid { data1: 0x0B60003F, data2: 0xEC3F, data3: 0x5F72, data4: [0x97, 0x63, 0x04, 0xC3, 0xC4, 0xFF, 0xE8, 0xDD] }; +pub const I_AVN_TREE_VIEW_IID: Guid = Guid { data1: 0x51F6F3E1, data2: 0x06E8, data3: 0x563F, data4: [0xA8, 0x34, 0xCA, 0x7D, 0x3C, 0x75, 0x1B, 0x4D] }; #[repr(C)] struct IAvnTreeViewVtbl { @@ -96180,8 +98340,11 @@ struct IAvnTreeViewVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnTreeView, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnTreeView, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnTreeView, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnTreeView, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnTreeView, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnTreeView, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnTreeView, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnTreeView, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnTreeView, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnTreeView, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnTreeView, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -96639,6 +98802,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -96653,6 +98830,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -97200,7 +99384,7 @@ impl ComPtr { } } -pub const I_AVN_TREE_VIEW_ITEM_IID: Guid = Guid { data1: 0xF173219D, data2: 0xC63C, data3: 0x5669, data4: [0xBE, 0x7D, 0x98, 0xE9, 0x8B, 0xF1, 0xC5, 0x4B] }; +pub const I_AVN_TREE_VIEW_ITEM_IID: Guid = Guid { data1: 0x489990A9, data2: 0x1ED5, data3: 0x5772, data4: [0xAE, 0xE6, 0x25, 0xC4, 0xE8, 0xB8, 0x61, 0x2A] }; #[repr(C)] struct IAvnTreeViewItemVtbl { @@ -97259,8 +99443,11 @@ struct IAvnTreeViewItemVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnTreeViewItem, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnTreeViewItem, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnTreeViewItem, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnTreeViewItem, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnTreeViewItem, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnTreeViewItem, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnTreeViewItem, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnTreeViewItem, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnTreeViewItem, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnTreeViewItem, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnTreeViewItem, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -97715,6 +99902,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -97729,6 +99930,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -98259,7 +100467,7 @@ impl ComPtr { } } -pub const I_AVN_USER_CONTROL_IID: Guid = Guid { data1: 0x0BFF79AB, data2: 0x0D63, data3: 0x5654, data4: [0x8F, 0x44, 0xDB, 0xBD, 0xA6, 0x30, 0xFA, 0x30] }; +pub const I_AVN_USER_CONTROL_IID: Guid = Guid { data1: 0x0529D537, data2: 0x1B91, data3: 0x5234, data4: [0x84, 0x80, 0x85, 0x5B, 0x56, 0x08, 0x63, 0x22] }; #[repr(C)] struct IAvnUserControlVtbl { @@ -98318,8 +100526,11 @@ struct IAvnUserControlVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnUserControl, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnUserControl, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnUserControl, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnUserControl, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnUserControl, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnUserControl, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnUserControl, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnUserControl, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnUserControl, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnUserControl, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnUserControl, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -98757,6 +100968,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -98771,6 +100996,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -99183,7 +101415,7 @@ impl ComPtr { } } -pub const I_AVN_VIEWBOX_IID: Guid = Guid { data1: 0x159B2487, data2: 0x78B8, data3: 0x5C1A, data4: [0x93, 0x2D, 0xA6, 0x7C, 0x6E, 0x2E, 0x74, 0x20] }; +pub const I_AVN_VIEWBOX_IID: Guid = Guid { data1: 0xEFA9084A, data2: 0x769B, data3: 0x55F4, data4: [0x81, 0x01, 0x3B, 0x6D, 0x4C, 0xB5, 0x24, 0xD7] }; #[repr(C)] struct IAvnViewboxVtbl { @@ -99242,8 +101474,11 @@ struct IAvnViewboxVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnViewbox, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnViewbox, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnViewbox, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnViewbox, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnViewbox, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnViewbox, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnViewbox, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnViewbox, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnViewbox, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnViewbox, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnViewbox, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -99651,6 +101886,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -99665,6 +101914,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -99865,7 +102121,7 @@ impl ComPtr { } } -pub const I_AVN_WINDOW_IID: Guid = Guid { data1: 0xBF221569, data2: 0x8214, data3: 0x5478, data4: [0x95, 0x05, 0x0B, 0x21, 0xA2, 0x66, 0x35, 0x45] }; +pub const I_AVN_WINDOW_IID: Guid = Guid { data1: 0x9A01C107, data2: 0xBB12, data3: 0x5AFE, data4: [0x9D, 0xAA, 0xC5, 0xAA, 0xCE, 0xF2, 0xD8, 0x79] }; #[repr(C)] struct IAvnWindowVtbl { @@ -99924,8 +102180,11 @@ struct IAvnWindowVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnWindow, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnWindow, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnWindow, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnWindow, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnWindow, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnWindow, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnWindow, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnWindow, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnWindow, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnWindow, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnWindow, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -100404,6 +102663,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -100418,6 +102691,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; @@ -101117,7 +103397,7 @@ impl ComPtr { } } -pub const I_AVN_WRAP_PANEL_IID: Guid = Guid { data1: 0xFE3C3653, data2: 0x52AA, data3: 0x529D, data4: [0x8A, 0xCE, 0x7F, 0x54, 0xE7, 0xD7, 0x43, 0x87] }; +pub const I_AVN_WRAP_PANEL_IID: Guid = Guid { data1: 0x71831219, data2: 0xF14C, data3: 0x5D2F, data4: [0xA2, 0xF1, 0x49, 0xFB, 0x97, 0x96, 0x05, 0xD4] }; #[repr(C)] struct IAvnWrapPanelVtbl { @@ -101176,8 +103456,11 @@ struct IAvnWrapPanelVtbl { set_horizontal_alignment: unsafe extern "system" fn(*mut IAvnWrapPanel, i32) -> i32, get_vertical_alignment: unsafe extern "system" fn(*mut IAvnWrapPanel, *mut i32) -> i32, set_vertical_alignment: unsafe extern "system" fn(*mut IAvnWrapPanel, i32) -> i32, + get_focusable: unsafe extern "system" fn(*mut IAvnWrapPanel, *mut i32) -> i32, + set_focusable: unsafe extern "system" fn(*mut IAvnWrapPanel, i32) -> i32, get_is_enabled: unsafe extern "system" fn(*mut IAvnWrapPanel, *mut i32) -> i32, set_is_enabled: unsafe extern "system" fn(*mut IAvnWrapPanel, i32) -> i32, + focus_with_navigation_method_and_key_modifiers: unsafe extern "system" fn(*mut IAvnWrapPanel, i32, i32, *mut i32) -> i32, advise_loaded: unsafe extern "system" fn(*mut IAvnWrapPanel, *mut IAvnControlLoadedHandler, *mut i64) -> i32, unadvise_loaded: unsafe extern "system" fn(*mut IAvnWrapPanel, i64) -> i32, advise_unloaded: unsafe extern "system" fn(*mut IAvnWrapPanel, *mut IAvnControlUnloadedHandler, *mut i64) -> i32, @@ -101594,6 +103877,20 @@ impl ComPtr { hresult::check(hr) } } + pub fn get_focusable(&self) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().get_focusable)(self.as_raw(), &mut value); + hresult::check(hr)?; + Ok(value != 0) + } + } + pub fn set_focusable(&self, value: bool) -> Result<()> { + unsafe { + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().set_focusable)(self.as_raw(), i32::from(value)); + hresult::check(hr) + } + } pub fn get_is_enabled(&self) -> Result { unsafe { let mut value: i32 = 0; @@ -101608,6 +103905,13 @@ impl ComPtr { hresult::check(hr) } } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { + unsafe { + let mut value: i32 = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().focus_with_navigation_method_and_key_modifiers)(self.as_raw(), method, key_modifiers, &mut value); + hresult::check(hr).map(|_| value) + } + } pub fn advise_loaded(&self, handler: &ComPtr) -> Result { unsafe { let mut subscription_id = 0; diff --git a/rust/avalonia-sys/tests/brush_abi.rs b/rust/avalonia-sys/tests/brush_abi.rs index 02dcb12..0df4998 100644 --- a/rust/avalonia-sys/tests/brush_abi.rs +++ b/rust/avalonia-sys/tests/brush_abi.rs @@ -73,18 +73,18 @@ fn chrome_members_publish_brush_pointers_and_geometry_by_value() { #[test] fn chrome_wave_interfaces_publish_abi_version_four() { for expected in [ - "#define I_AVN_BORDER_ABI_VERSION 14", - "#define I_AVN_PANEL_ABI_VERSION 13", - "#define I_AVN_TEMPLATED_CONTROL_ABI_VERSION 14", - "#define I_AVN_TEXT_BLOCK_ABI_VERSION 16", + "#define I_AVN_BORDER_ABI_VERSION 15", + "#define I_AVN_PANEL_ABI_VERSION 14", + "#define I_AVN_TEMPLATED_CONTROL_ABI_VERSION 15", + "#define I_AVN_TEXT_BLOCK_ABI_VERSION 17", // The factory grew create_solid_color_brush at version 2, a creator per wave A control // at version 3, and a creator per constructible wave B type at version 4. "#define I_AVN_CONTROL_FACTORY_ABI_VERSION 13", // Nothing was added to StyledElement, Control or Decorator, and none of their bases // moved, so their flattened vtables are byte-identical to version 3. "#define I_AVN_STYLED_ELEMENT_ABI_VERSION 6", - "#define I_AVN_CONTROL_ABI_VERSION 10", - "#define I_AVN_DECORATOR_ABI_VERSION 12", + "#define I_AVN_CONTROL_ABI_VERSION 11", + "#define I_AVN_DECORATOR_ABI_VERSION 13", "#define I_AVN_AVALONIA_OBJECT_ABI_VERSION 2", ] { assert!(HEADER.contains(expected), "header is missing `{expected}`"); @@ -133,11 +133,11 @@ fn widened_interfaces_republish_under_fresh_iids() { // republished under fresh IIDs. assert_eq!( format_iid(&I_AVN_CONTROL_IID), - "E2F44292-89FA-5AFA-9294-FF2F26DB68CE" + "8B272500-09E4-535F-ABF1-14992E90E778" ); assert_eq!( format_iid(&I_AVN_DECORATOR_IID), - "C3E4D085-4977-566E-B843-75D86B43C2C9" + "F8530439-ABA5-5B16-9C0B-2132D4EFD205" ); // The brush is a brand new interface, so it starts at version 1 with its own IID. diff --git a/rust/avalonia-sys/tests/control_abi.rs b/rust/avalonia-sys/tests/control_abi.rs index 47bd962..550b85a 100644 --- a/rust/avalonia-sys/tests/control_abi.rs +++ b/rust/avalonia-sys/tests/control_abi.rs @@ -91,28 +91,28 @@ fn completeness_members_are_published_on_the_type_that_declares_them() { #[test] fn widened_interfaces_publish_abi_version_five() { for expected in [ - "#define I_AVN_CONTENT_CONTROL_ABI_VERSION 15", - "#define I_AVN_HEADERED_CONTENT_CONTROL_ABI_VERSION 15", - "#define I_AVN_EXPANDER_ABI_VERSION 15", - "#define I_AVN_BUTTON_ABI_VERSION 18", - "#define I_AVN_TOGGLE_BUTTON_ABI_VERSION 18", - "#define I_AVN_CHECK_BOX_ABI_VERSION 18", - "#define I_AVN_RADIO_BUTTON_ABI_VERSION 18", - "#define I_AVN_TOGGLE_SWITCH_ABI_VERSION 18", - "#define I_AVN_LIST_BOX_ABI_VERSION 18", - "#define I_AVN_LIST_BOX_ITEM_ABI_VERSION 17", - "#define I_AVN_COMBO_BOX_ABI_VERSION 19", - "#define I_AVN_COMBO_BOX_ITEM_ABI_VERSION 17", - "#define I_AVN_SCROLL_VIEWER_ABI_VERSION 17", - "#define I_AVN_WINDOW_ABI_VERSION 20", - "#define I_AVN_TEMPLATED_CONTROL_ABI_VERSION 14", - "#define I_AVN_TEXT_BLOCK_ABI_VERSION 16", - "#define I_AVN_TEXT_BOX_ABI_VERSION 20", - "#define I_AVN_ITEMS_CONTROL_ABI_VERSION 17", - "#define I_AVN_SELECTING_ITEMS_CONTROL_ABI_VERSION 17", - "#define I_AVN_BORDER_ABI_VERSION 14", - "#define I_AVN_PANEL_ABI_VERSION 13", - "#define I_AVN_CONTROL_ABI_VERSION 10", + "#define I_AVN_CONTENT_CONTROL_ABI_VERSION 16", + "#define I_AVN_HEADERED_CONTENT_CONTROL_ABI_VERSION 16", + "#define I_AVN_EXPANDER_ABI_VERSION 16", + "#define I_AVN_BUTTON_ABI_VERSION 19", + "#define I_AVN_TOGGLE_BUTTON_ABI_VERSION 19", + "#define I_AVN_CHECK_BOX_ABI_VERSION 19", + "#define I_AVN_RADIO_BUTTON_ABI_VERSION 19", + "#define I_AVN_TOGGLE_SWITCH_ABI_VERSION 19", + "#define I_AVN_LIST_BOX_ABI_VERSION 19", + "#define I_AVN_LIST_BOX_ITEM_ABI_VERSION 18", + "#define I_AVN_COMBO_BOX_ABI_VERSION 20", + "#define I_AVN_COMBO_BOX_ITEM_ABI_VERSION 18", + "#define I_AVN_SCROLL_VIEWER_ABI_VERSION 18", + "#define I_AVN_WINDOW_ABI_VERSION 21", + "#define I_AVN_TEMPLATED_CONTROL_ABI_VERSION 15", + "#define I_AVN_TEXT_BLOCK_ABI_VERSION 17", + "#define I_AVN_TEXT_BOX_ABI_VERSION 21", + "#define I_AVN_ITEMS_CONTROL_ABI_VERSION 18", + "#define I_AVN_SELECTING_ITEMS_CONTROL_ABI_VERSION 18", + "#define I_AVN_BORDER_ABI_VERSION 15", + "#define I_AVN_PANEL_ABI_VERSION 14", + "#define I_AVN_CONTROL_ABI_VERSION 11", "#define I_AVN_AVALONIA_OBJECT_ABI_VERSION 2", // The factory gained a creator per wave A control plus get_tool_tip_statics at version // 3, and a creator per constructible wave B type at version 4. @@ -240,32 +240,32 @@ fn widened_interfaces_republish_under_fresh_iids() { for (name, expected, current) in [ ( "IAvnContentControl", - "611A61DE-9AD0-5456-979A-EE525E5132CE", + "7312A513-1E46-5A98-9507-851220C7A465", I_AVN_CONTENT_CONTROL_IID, ), ( "IAvnButton", - "E66D2CD1-A3CD-538E-9607-B5E784669C89", + "085861C8-F91D-5AFE-B57A-E601477FC2D2", I_AVN_BUTTON_IID, ), ( "IAvnToggleButton", - "23A7F6FB-AFEF-5E4D-8A9A-94F4EFCF6B12", + "AA447DC6-1470-599E-B0F5-27BF313DC7E7", I_AVN_TOGGLE_BUTTON_IID, ), ( "IAvnListBox", - "C45989AF-4038-524F-885B-E57185B22159", + "FD704B9F-4E33-516E-B48D-B1DC9AA44DCA", I_AVN_LIST_BOX_IID, ), ( "IAvnComboBox", - "EEBBD41C-3704-5BC1-BB31-E87EF407CB79", + "1DA7FC0F-6D3F-5669-8644-030686AD4FD3", I_AVN_COMBO_BOX_IID, ), ( "IAvnWindow", - "BF221569-8214-5478-9505-0B21A2663545", + "9A01C107-BB12-5AFE-9DAA-C5AACEF2D879", I_AVN_WINDOW_IID, ), ] { @@ -279,23 +279,23 @@ fn widened_interfaces_republish_under_fresh_iids() { ); assert_eq!( format_iid(&I_AVN_CONTROL_IID), - "E2F44292-89FA-5AFA-9294-FF2F26DB68CE" + "8B272500-09E4-535F-ABF1-14992E90E778" ); assert_eq!( format_iid(&I_AVN_BORDER_IID), - "DF677487-F79D-50DF-A474-0AF69F6A6C5B" + "430F4A36-8B46-5F3C-8E4D-BD11AA522969" ); assert_eq!( format_iid(&I_AVN_PANEL_IID), - "E6C6B17E-9747-5739-B255-52E737A7A2A2" + "FE37643D-BDE5-511B-AB66-CB66B73F685F" ); assert_eq!( format_iid(&I_AVN_TEMPLATED_CONTROL_IID), - "6E80826C-F337-5A4D-A5BB-1C0DF436B6D0" + "1863F34C-F21F-5977-A305-5939D80CB8C5" ); assert_eq!( format_iid(&I_AVN_TEXT_BLOCK_IID), - "199AE412-EE08-5BDE-A498-66AE0231AA3F" + "47E06BD1-10DC-5267-A55F-A5C3BB536285" ); } diff --git a/rust/avalonia-sys/tests/definitions_abi.rs b/rust/avalonia-sys/tests/definitions_abi.rs index 01bc358..ead1a44 100644 --- a/rust/avalonia-sys/tests/definitions_abi.rs +++ b/rust/avalonia-sys/tests/definitions_abi.rs @@ -22,9 +22,9 @@ fn definitions_are_published_as_utf16_string_slots_on_grid() { "*set_row_definitions)(IAvnGrid* self, const uint16_t* value)", // They are appended after the members Grid already published, so no existing slot moved. // (Waves P and Q grew Control above these slots.) - "*set_column_spacing)(IAvnGrid* self, double value); /* slot 89 */", - "*get_column_definitions)(IAvnGrid* self, uint16_t** value); /* slot 90 */", - "#define I_AVN_GRID_VTABLE_SLOTS 94", + "*set_column_spacing)(IAvnGrid* self, double value); /* slot 92 */", + "*get_column_definitions)(IAvnGrid* self, uint16_t** value); /* slot 93 */", + "#define I_AVN_GRID_VTABLE_SLOTS 97", ] { assert!(HEADER.contains(expected), "header is missing `{expected}`"); } @@ -47,14 +47,14 @@ fn definitions_are_published_as_utf16_string_slots_on_grid() { #[test] fn only_grid_moved_to_abi_version_five_for_the_definitions() { for expected in [ - "#define I_AVN_GRID_ABI_VERSION 14", + "#define I_AVN_GRID_ABI_VERSION 15", // Grid's base and its sibling panels gained nothing, so their flattened vtables are // byte-identical and they keep the version they already published. - "#define I_AVN_PANEL_ABI_VERSION 13", - "#define I_AVN_CANVAS_ABI_VERSION 13", - "#define I_AVN_DOCK_PANEL_ABI_VERSION 13", - "#define I_AVN_STACK_PANEL_ABI_VERSION 14", - "#define I_AVN_CONTROL_ABI_VERSION 10", + "#define I_AVN_PANEL_ABI_VERSION 14", + "#define I_AVN_CANVAS_ABI_VERSION 14", + "#define I_AVN_DOCK_PANEL_ABI_VERSION 14", + "#define I_AVN_STACK_PANEL_ABI_VERSION 15", + "#define I_AVN_CONTROL_ABI_VERSION 11", "#define I_AVN_AVALONIA_OBJECT_ABI_VERSION 2", // The factory mints no definition object, but wave A gave it a creator per new control // and get_tool_tip_statics and wave B gave it seven more, so it now publishes at @@ -69,7 +69,7 @@ fn only_grid_moved_to_abi_version_five_for_the_definitions() { fn grid_republishes_under_a_fresh_iid_and_never_reuses_a_retired_one() { assert_eq!( format_iid(&I_AVN_GRID_IID), - "887286EA-8097-52EB-9CEF-FA1DA7828D0F" + "028C589C-2C52-5505-9CD2-36A25B4F43A6" ); // Every IID Grid has ever published is retired for good: reusing one for a longer vtable @@ -83,6 +83,8 @@ fn grid_republishes_under_a_fresh_iid_and_never_reuses_a_retired_one() { "55E75D4C-FC75-51A9-BA87-6D28704EAFC8", // Wave Q: the version 13 identity retired when Control grew pointer payloads. "63034BE5-179A-5196-8338-F10785C6DDDD", + // Wave S: the version 14 identity retired when Control grew Focus/Focusable. + "887286EA-8097-52EB-9CEF-FA1DA7828D0F", ] { assert_ne!( format_iid(&I_AVN_GRID_IID), @@ -104,12 +106,12 @@ fn grid_republishes_under_a_fresh_iid_and_never_reuses_a_retired_one() { ), ( "IAvnControl", - "E2F44292-89FA-5AFA-9294-FF2F26DB68CE", + "8B272500-09E4-535F-ABF1-14992E90E778", I_AVN_CONTROL_IID, ), ( "IAvnPanel", - "E6C6B17E-9747-5739-B255-52E737A7A2A2", + "FE37643D-BDE5-511B-AB66-CB66B73F685F", I_AVN_PANEL_IID, ), ] { diff --git a/rust/avalonia-sys/tests/layout_abi.rs b/rust/avalonia-sys/tests/layout_abi.rs index 2b2b806..40adc03 100644 --- a/rust/avalonia-sys/tests/layout_abi.rs +++ b/rust/avalonia-sys/tests/layout_abi.rs @@ -40,13 +40,13 @@ fn widened_interfaces_publish_their_layout_abi_version() { // Nothing was added to StyledElement, Control or Decorator after the layout wave, so // their flattened vtables — and therefore their version 3 IIDs — still stand. "#define I_AVN_STYLED_ELEMENT_ABI_VERSION 6", - "#define I_AVN_CONTROL_ABI_VERSION 10", - "#define I_AVN_DECORATOR_ABI_VERSION 12", + "#define I_AVN_CONTROL_ABI_VERSION 11", + "#define I_AVN_DECORATOR_ABI_VERSION 13", // Window and Button sit under ContentControl, which the completeness wave widened, // and the window overlay-chrome pass widened the leaf to 8 without disturbing // the content control or factory ABI. - "#define I_AVN_WINDOW_ABI_VERSION 20", - "#define I_AVN_BUTTON_ABI_VERSION 18", + "#define I_AVN_WINDOW_ABI_VERSION 21", + "#define I_AVN_BUTTON_ABI_VERSION 19", // AvaloniaObject projects no members, so its vtable never moved. "#define I_AVN_AVALONIA_OBJECT_ABI_VERSION 2", ] { @@ -96,11 +96,11 @@ fn widened_interfaces_republish_under_fresh_iids() { ); assert_eq!( format_iid(&I_AVN_CONTROL_IID), - "E2F44292-89FA-5AFA-9294-FF2F26DB68CE" + "8B272500-09E4-535F-ABF1-14992E90E778" ); assert_eq!( format_iid(&I_AVN_DECORATOR_IID), - "C3E4D085-4977-566E-B843-75D86B43C2C9" + "F8530439-ABA5-5B16-9C0B-2132D4EFD205" ); // AvaloniaObject gained nothing, so it keeps the IID it published at version 2. diff --git a/rust/avalonia-sys/tests/wave_a_abi.rs b/rust/avalonia-sys/tests/wave_a_abi.rs index db4eeaf..41c9a4f 100644 --- a/rust/avalonia-sys/tests/wave_a_abi.rs +++ b/rust/avalonia-sys/tests/wave_a_abi.rs @@ -26,7 +26,7 @@ fn image_source_is_published_as_a_utf16_string_slot() { "*set_stretch)(IAvnImage* self, int32_t value)", "*set_stretch_direction)(IAvnImage* self, int32_t value)", "*set_blend_mode)(IAvnImage* self, int32_t value)", - "#define I_AVN_IMAGE_ABI_VERSION 10", + "#define I_AVN_IMAGE_ABI_VERSION 11", ] { assert!(HEADER.contains(expected), "header is missing `{expected}`"); } @@ -63,21 +63,21 @@ fn tool_tip_tip_is_a_string_attached_property_beside_the_scalar_ones() { #[test] fn wave_a_interfaces_publish_abi_version_one_and_nothing_else_moved() { for expected in [ - "#define I_AVN_IMAGE_ABI_VERSION 10", - "#define I_AVN_HEADERED_ITEMS_CONTROL_ABI_VERSION 14", - "#define I_AVN_TAB_CONTROL_ABI_VERSION 14", - "#define I_AVN_TAB_ITEM_ABI_VERSION 13", - "#define I_AVN_TREE_VIEW_ABI_VERSION 14", - "#define I_AVN_TREE_VIEW_ITEM_ABI_VERSION 14", - "#define I_AVN_TOOL_TIP_ABI_VERSION 11", + "#define I_AVN_IMAGE_ABI_VERSION 11", + "#define I_AVN_HEADERED_ITEMS_CONTROL_ABI_VERSION 15", + "#define I_AVN_TAB_CONTROL_ABI_VERSION 15", + "#define I_AVN_TAB_ITEM_ABI_VERSION 14", + "#define I_AVN_TREE_VIEW_ABI_VERSION 15", + "#define I_AVN_TREE_VIEW_ITEM_ABI_VERSION 15", + "#define I_AVN_TOOL_TIP_ABI_VERSION 12", // Every base the new interfaces sit on kept the version whose flattened vtable it // still matches, so no shipped consumer has to requery anything but the factory. "#define I_AVN_AVALONIA_OBJECT_ABI_VERSION 2", - "#define I_AVN_CONTROL_ABI_VERSION 10", - "#define I_AVN_ITEMS_CONTROL_ABI_VERSION 17", - "#define I_AVN_SELECTING_ITEMS_CONTROL_ABI_VERSION 17", - "#define I_AVN_CONTENT_CONTROL_ABI_VERSION 15", - "#define I_AVN_HEADERED_CONTENT_CONTROL_ABI_VERSION 15", + "#define I_AVN_CONTROL_ABI_VERSION 11", + "#define I_AVN_ITEMS_CONTROL_ABI_VERSION 18", + "#define I_AVN_SELECTING_ITEMS_CONTROL_ABI_VERSION 18", + "#define I_AVN_CONTENT_CONTROL_ABI_VERSION 16", + "#define I_AVN_HEADERED_CONTENT_CONTROL_ABI_VERSION 16", // Only the factory grew slots. Wave B moved it again, from 3 to 4, for its own // creators; every wave A interface still publishes at version 1. "#define I_AVN_CONTROL_FACTORY_ABI_VERSION 13", @@ -98,27 +98,27 @@ fn wave_a_iids_are_fresh_and_distinct_from_every_shipped_one() { ), ( "IAvnControl", - "E2F44292-89FA-5AFA-9294-FF2F26DB68CE", + "8B272500-09E4-535F-ABF1-14992E90E778", I_AVN_CONTROL_IID, ), ( "IAvnItemsControl", - "45705E13-A906-50E2-A0D8-DCC20585FDA6", + "C6061984-593E-5875-8956-4B5C4B6D886C", I_AVN_ITEMS_CONTROL_IID, ), ( "IAvnSelectingItemsControl", - "18B99B99-03A3-5C68-8471-D463C4ED1778", + "BF3CA6E3-C054-5059-AFE7-20E38D9B9DE8", I_AVN_SELECTING_ITEMS_CONTROL_IID, ), ( "IAvnContentControl", - "611A61DE-9AD0-5456-979A-EE525E5132CE", + "7312A513-1E46-5A98-9507-851220C7A465", I_AVN_CONTENT_CONTROL_IID, ), ( "IAvnHeaderedContentControl", - "D8948145-837B-5DC3-A685-14DF38167A93", + "0408F0EA-5BA0-54C6-A8E6-979328FBE88C", I_AVN_HEADERED_CONTENT_CONTROL_IID, ), ] { diff --git a/rust/avalonia-sys/tests/wave_b_abi.rs b/rust/avalonia-sys/tests/wave_b_abi.rs index eedbfbe..641f569 100644 --- a/rust/avalonia-sys/tests/wave_b_abi.rs +++ b/rust/avalonia-sys/tests/wave_b_abi.rs @@ -175,21 +175,21 @@ fn wave_b_interfaces_publish_abi_version_one_and_nothing_else_moved() { "#define I_AVN_FLYOUT_BASE_ABI_VERSION 1", "#define I_AVN_POPUP_FLYOUT_BASE_ABI_VERSION 6", "#define I_AVN_FLYOUT_ABI_VERSION 4", - "#define I_AVN_MENU_BASE_ABI_VERSION 14", - "#define I_AVN_MENU_ABI_VERSION 14", - "#define I_AVN_MENU_ITEM_ABI_VERSION 17", - "#define I_AVN_HEADERED_SELECTING_ITEMS_CONTROL_ABI_VERSION 14", - "#define I_AVN_SPLIT_VIEW_ABI_VERSION 11", - "#define I_AVN_DATE_PICKER_ABI_VERSION 13", - "#define I_AVN_TIME_PICKER_ABI_VERSION 13", + "#define I_AVN_MENU_BASE_ABI_VERSION 15", + "#define I_AVN_MENU_ABI_VERSION 15", + "#define I_AVN_MENU_ITEM_ABI_VERSION 18", + "#define I_AVN_HEADERED_SELECTING_ITEMS_CONTROL_ABI_VERSION 15", + "#define I_AVN_SPLIT_VIEW_ABI_VERSION 12", + "#define I_AVN_DATE_PICKER_ABI_VERSION 14", + "#define I_AVN_TIME_PICKER_ABI_VERSION 14", "#define I_AVN_AVALONIA_OBJECT_ABI_VERSION 2", - "#define I_AVN_CONTROL_ABI_VERSION 10", - "#define I_AVN_ITEMS_CONTROL_ABI_VERSION 17", - "#define I_AVN_SELECTING_ITEMS_CONTROL_ABI_VERSION 17", - "#define I_AVN_TEMPLATED_CONTROL_ABI_VERSION 14", - "#define I_AVN_CONTENT_CONTROL_ABI_VERSION 15", - "#define I_AVN_HEADERED_ITEMS_CONTROL_ABI_VERSION 14", - "#define I_AVN_TREE_VIEW_ABI_VERSION 14", + "#define I_AVN_CONTROL_ABI_VERSION 11", + "#define I_AVN_ITEMS_CONTROL_ABI_VERSION 18", + "#define I_AVN_SELECTING_ITEMS_CONTROL_ABI_VERSION 18", + "#define I_AVN_TEMPLATED_CONTROL_ABI_VERSION 15", + "#define I_AVN_CONTENT_CONTROL_ABI_VERSION 16", + "#define I_AVN_HEADERED_ITEMS_CONTROL_ABI_VERSION 15", + "#define I_AVN_TREE_VIEW_ABI_VERSION 15", ] { assert!(HEADER.contains(expected), "header is missing `{expected}`"); } @@ -208,22 +208,22 @@ fn wave_b_iids_are_fresh_and_distinct_from_every_shipped_one() { ), ( "IAvnControl", - "E2F44292-89FA-5AFA-9294-FF2F26DB68CE", + "8B272500-09E4-535F-ABF1-14992E90E778", I_AVN_CONTROL_IID, ), ( "IAvnItemsControl", - "45705E13-A906-50E2-A0D8-DCC20585FDA6", + "C6061984-593E-5875-8956-4B5C4B6D886C", I_AVN_ITEMS_CONTROL_IID, ), ( "IAvnSelectingItemsControl", - "18B99B99-03A3-5C68-8471-D463C4ED1778", + "BF3CA6E3-C054-5059-AFE7-20E38D9B9DE8", I_AVN_SELECTING_ITEMS_CONTROL_IID, ), ( "IAvnContentControl", - "611A61DE-9AD0-5456-979A-EE525E5132CE", + "7312A513-1E46-5A98-9507-851220C7A465", I_AVN_CONTENT_CONTROL_IID, ), ] { diff --git a/rust/avalonia-sys/tests/wave_c_abi.rs b/rust/avalonia-sys/tests/wave_c_abi.rs index 5d1336f..4517085 100644 --- a/rust/avalonia-sys/tests/wave_c_abi.rs +++ b/rust/avalonia-sys/tests/wave_c_abi.rs @@ -23,7 +23,7 @@ fn wrap_panel_carries_spacing_orientation_and_item_size() { "*set_items_alignment)(IAvnWrapPanel* self, int32_t value)", "*set_item_width)(IAvnWrapPanel* self, double value)", "*set_item_height)(IAvnWrapPanel* self, double value)", - "#define I_AVN_WRAP_PANEL_ABI_VERSION 10", + "#define I_AVN_WRAP_PANEL_ABI_VERSION 11", ] { assert!(HEADER.contains(expected), "header is missing `{expected}`"); } @@ -87,18 +87,18 @@ fn viewbox_child_is_a_control_and_grid_splitter_sits_on_thumb() { #[test] fn wave_c_interfaces_publish_abi_version_one_and_nothing_else_moved() { for expected in [ - "#define I_AVN_WRAP_PANEL_ABI_VERSION 10", - "#define I_AVN_UNIFORM_GRID_ABI_VERSION 10", - "#define I_AVN_RELATIVE_PANEL_ABI_VERSION 10", - "#define I_AVN_VIEWBOX_ABI_VERSION 10", - "#define I_AVN_FLEX_PANEL_ABI_VERSION 10", - "#define I_AVN_THUMB_ABI_VERSION 12", - "#define I_AVN_GRID_SPLITTER_ABI_VERSION 12", + "#define I_AVN_WRAP_PANEL_ABI_VERSION 11", + "#define I_AVN_UNIFORM_GRID_ABI_VERSION 11", + "#define I_AVN_RELATIVE_PANEL_ABI_VERSION 11", + "#define I_AVN_VIEWBOX_ABI_VERSION 11", + "#define I_AVN_FLEX_PANEL_ABI_VERSION 11", + "#define I_AVN_THUMB_ABI_VERSION 13", + "#define I_AVN_GRID_SPLITTER_ABI_VERSION 13", "#define I_AVN_AVALONIA_OBJECT_ABI_VERSION 2", - "#define I_AVN_CONTROL_ABI_VERSION 10", - "#define I_AVN_PANEL_ABI_VERSION 13", - "#define I_AVN_TEMPLATED_CONTROL_ABI_VERSION 14", - "#define I_AVN_CONTENT_CONTROL_ABI_VERSION 15", + "#define I_AVN_CONTROL_ABI_VERSION 11", + "#define I_AVN_PANEL_ABI_VERSION 14", + "#define I_AVN_TEMPLATED_CONTROL_ABI_VERSION 15", + "#define I_AVN_CONTENT_CONTROL_ABI_VERSION 16", "#define I_AVN_FLYOUT_ABI_VERSION 4", ] { assert!(HEADER.contains(expected), "header is missing `{expected}`"); diff --git a/rust/avalonia-sys/tests/wave_d_abi.rs b/rust/avalonia-sys/tests/wave_d_abi.rs index 562ead5..1a71b68 100644 --- a/rust/avalonia-sys/tests/wave_d_abi.rs +++ b/rust/avalonia-sys/tests/wave_d_abi.rs @@ -13,9 +13,9 @@ fn repeat_button_and_hyperlink_are_buttons() { "*set_is_visited)(IAvnHyperlinkButton* self, int32_t value)", "*get_navigate_uri)(IAvnHyperlinkButton* self, uint16_t** value)", "*set_navigate_uri)(IAvnHyperlinkButton* self, const uint16_t* value)", - "#define I_AVN_REPEAT_BUTTON_ABI_VERSION 13", - "#define I_AVN_HYPERLINK_BUTTON_ABI_VERSION 13", - "#define I_AVN_DROP_DOWN_BUTTON_ABI_VERSION 13", + "#define I_AVN_REPEAT_BUTTON_ABI_VERSION 14", + "#define I_AVN_HYPERLINK_BUTTON_ABI_VERSION 14", + "#define I_AVN_DROP_DOWN_BUTTON_ABI_VERSION 14", ] { assert!(HEADER.contains(expected), "header is missing `{expected}`"); } @@ -34,8 +34,8 @@ fn split_button_carries_click_and_command() { "*create_toggle_split_button)(IAvnControlFactory* self, IAvnToggleSplitButton** value)", "*create_context_menu)(IAvnControlFactory* self, IAvnContextMenu** value)", "*create_menu_flyout)(IAvnControlFactory* self, IAvnMenuFlyout** value)", - "#define I_AVN_SPLIT_BUTTON_ABI_VERSION 14", - "#define I_AVN_TOGGLE_SPLIT_BUTTON_ABI_VERSION 14", + "#define I_AVN_SPLIT_BUTTON_ABI_VERSION 15", + "#define I_AVN_TOGGLE_SPLIT_BUTTON_ABI_VERSION 15", "#define I_AVN_CONTROL_FACTORY_ABI_VERSION 13", ] { assert!(HEADER.contains(expected), "header is missing `{expected}`"); @@ -49,8 +49,8 @@ fn menu_flyout_items_use_the_existing_item_list() { "*set_placement)(IAvnContextMenu* self, int32_t value)", "*set_horizontal_offset)(IAvnContextMenu* self, double value)", "#define I_AVN_MENU_FLYOUT_ABI_VERSION 5", - "#define I_AVN_CONTEXT_MENU_ABI_VERSION 17", - "#define I_AVN_BUTTON_ABI_VERSION 18", + "#define I_AVN_CONTEXT_MENU_ABI_VERSION 18", + "#define I_AVN_BUTTON_ABI_VERSION 19", ] { assert!(HEADER.contains(expected), "header is missing `{expected}`"); } diff --git a/rust/avalonia-sys/tests/wave_e_abi.rs b/rust/avalonia-sys/tests/wave_e_abi.rs index 551543a..cbba856 100644 --- a/rust/avalonia-sys/tests/wave_e_abi.rs +++ b/rust/avalonia-sys/tests/wave_e_abi.rs @@ -10,7 +10,7 @@ fn numeric_up_down_decimals_are_utf16_strings() { "*set_minimum)(IAvnNumericUpDown* self, const uint16_t* value)", "*set_increment)(IAvnNumericUpDown* self, const uint16_t* value)", "*create_numeric_up_down)(IAvnControlFactory* self, IAvnNumericUpDown** value)", - "#define I_AVN_NUMERIC_UP_DOWN_ABI_VERSION 12", + "#define I_AVN_NUMERIC_UP_DOWN_ABI_VERSION 13", "#define I_AVN_CONTROL_FACTORY_ABI_VERSION 13", ] { assert!(HEADER.contains(expected), "header is missing `{expected}`"); @@ -27,9 +27,9 @@ fn remaining_input_controls_publish_at_version_one() { "*set_allow_spin)(IAvnButtonSpinner* self, int32_t value)", "*create_button_spinner)(IAvnControlFactory* self, IAvnButtonSpinner** value)", "*create_auto_complete_box)(IAvnControlFactory* self, IAvnAutoCompleteBox** value)", - "#define I_AVN_SPINNER_ABI_VERSION 11", - "#define I_AVN_MASKED_TEXT_BOX_ABI_VERSION 17", - "#define I_AVN_SELECTABLE_TEXT_BLOCK_ABI_VERSION 13", + "#define I_AVN_SPINNER_ABI_VERSION 12", + "#define I_AVN_MASKED_TEXT_BOX_ABI_VERSION 18", + "#define I_AVN_SELECTABLE_TEXT_BLOCK_ABI_VERSION 14", ] { assert!(HEADER.contains(expected), "header is missing `{expected}`"); } diff --git a/rust/avalonia-sys/tests/wave_f_abi.rs b/rust/avalonia-sys/tests/wave_f_abi.rs index 8222ec3..f1b4ab7 100644 --- a/rust/avalonia-sys/tests/wave_f_abi.rs +++ b/rust/avalonia-sys/tests/wave_f_abi.rs @@ -11,8 +11,8 @@ fn calendar_days_are_yyyy_mm_dd_strings() { "*set_display_mode)(IAvnCalendar* self, int32_t value)", "*create_calendar)(IAvnControlFactory* self, IAvnCalendar** value)", "*create_calendar_date_picker)(IAvnControlFactory* self, IAvnCalendarDatePicker** value)", - "#define I_AVN_CALENDAR_ABI_VERSION 14", - "#define I_AVN_CALENDAR_DATE_PICKER_ABI_VERSION 13", + "#define I_AVN_CALENDAR_ABI_VERSION 15", + "#define I_AVN_CALENDAR_DATE_PICKER_ABI_VERSION 14", "#define I_AVN_CONTROL_FACTORY_ABI_VERSION 13", ] { assert!(HEADER.contains(expected), "header is missing `{expected}`"); diff --git a/rust/avalonia-sys/tests/wave_g_abi.rs b/rust/avalonia-sys/tests/wave_g_abi.rs index d9b67e0..3b2dcc7 100644 --- a/rust/avalonia-sys/tests/wave_g_abi.rs +++ b/rust/avalonia-sys/tests/wave_g_abi.rs @@ -13,11 +13,11 @@ fn content_chrome_publishes_at_version_one() { "*create_carousel)(IAvnControlFactory* self, IAvnCarousel** value)", "*set_target)(IAvnLabel* self, IAvnControl* value)", "*create_label)(IAvnControlFactory* self, IAvnLabel** value)", - "#define I_AVN_LABEL_ABI_VERSION 12", + "#define I_AVN_LABEL_ABI_VERSION 13", "*create_separator)(IAvnControlFactory* self, IAvnSeparator** value)", "*create_group_box)(IAvnControlFactory* self, IAvnGroupBox** value)", "*create_user_control)(IAvnControlFactory* self, IAvnUserControl** value)", - "#define I_AVN_CAROUSEL_ABI_VERSION 15", + "#define I_AVN_CAROUSEL_ABI_VERSION 16", "#define I_AVN_CONTROL_FACTORY_ABI_VERSION 13", ] { assert!(HEADER.contains(expected), "header is missing `{expected}`"); diff --git a/rust/avalonia-sys/tests/wave_h_abi.rs b/rust/avalonia-sys/tests/wave_h_abi.rs index 1837c5c..a5d1d24 100644 --- a/rust/avalonia-sys/tests/wave_h_abi.rs +++ b/rust/avalonia-sys/tests/wave_h_abi.rs @@ -16,7 +16,7 @@ fn shapes_carry_brushes_points_and_path_data() { "*create_ellipse)(IAvnControlFactory* self, IAvnEllipse** value)", "*create_line)(IAvnControlFactory* self, IAvnLine** value)", "*create_path)(IAvnControlFactory* self, IAvnPath** value)", - "#define I_AVN_SHAPE_ABI_VERSION 10", + "#define I_AVN_SHAPE_ABI_VERSION 11", "#define I_AVN_CONTROL_FACTORY_ABI_VERSION 13", ] { assert!(HEADER.contains(expected), "header is missing `{expected}`"); diff --git a/rust/avalonia-sys/tests/wave_i_abi.rs b/rust/avalonia-sys/tests/wave_i_abi.rs index b58b07a..870f1bc 100644 --- a/rust/avalonia-sys/tests/wave_i_abi.rs +++ b/rust/avalonia-sys/tests/wave_i_abi.rs @@ -20,7 +20,7 @@ fn overlay_controls_publish_at_version_one() { "*set_pull_direction)(IAvnRefreshContainer* self, int32_t value)", "*create_popup)(IAvnControlFactory* self, IAvnPopup** value)", "*create_tray_icon)(IAvnControlFactory* self, IAvnTrayIcon** value)", - "#define I_AVN_POPUP_ABI_VERSION 10", + "#define I_AVN_POPUP_ABI_VERSION 11", "#define I_AVN_TRAY_ICON_ABI_VERSION 3", "#define I_AVN_CONTROL_FACTORY_ABI_VERSION 13", ] { diff --git a/rust/avalonia-sys/tests/wave_j_abi.rs b/rust/avalonia-sys/tests/wave_j_abi.rs index 0e234fc..2aadd0f 100644 --- a/rust/avalonia-sys/tests/wave_j_abi.rs +++ b/rust/avalonia-sys/tests/wave_j_abi.rs @@ -13,8 +13,8 @@ fn command_bar_family_publishes_at_version_one() { "*set_primary_commands)(IAvnCommandBar* self, IAvnControlList* value)", "*create_pips_pager)(IAvnControlFactory* self, IAvnPipsPager** value)", "*create_theme_variant_scope)(IAvnControlFactory* self, IAvnThemeVariantScope** value)", - "#define I_AVN_COMMAND_BAR_ABI_VERSION 14", - "#define I_AVN_PIPS_PAGER_ABI_VERSION 12", + "#define I_AVN_COMMAND_BAR_ABI_VERSION 15", + "#define I_AVN_PIPS_PAGER_ABI_VERSION 13", "#define I_AVN_CONTROL_FACTORY_ABI_VERSION 13", ] { assert!(HEADER.contains(expected), "header is missing `{expected}`"); diff --git a/rust/avalonia-sys/tests/wave_k_abi.rs b/rust/avalonia-sys/tests/wave_k_abi.rs index a049877..39d5acd 100644 --- a/rust/avalonia-sys/tests/wave_k_abi.rs +++ b/rust/avalonia-sys/tests/wave_k_abi.rs @@ -11,8 +11,8 @@ fn icons_and_table_view_publish_at_version_one() { "*create_path_icon)(IAvnControlFactory* self, IAvnPathIcon** value)", "*create_table_view)(IAvnControlFactory* self, IAvnTableView** value)", "*create_table_view_column)(IAvnControlFactory* self, IAvnTableViewColumn** value)", - "#define I_AVN_PATH_ICON_ABI_VERSION 11", - "#define I_AVN_TABLE_VIEW_ABI_VERSION 15", + "#define I_AVN_PATH_ICON_ABI_VERSION 12", + "#define I_AVN_TABLE_VIEW_ABI_VERSION 16", "#define I_AVN_CONTROL_FACTORY_ABI_VERSION 13", ] { assert!(HEADER.contains(expected), "header is missing `{expected}`"); diff --git a/rust/avalonia/examples/imperative_counter.rs b/rust/avalonia/examples/imperative_counter.rs index ca5a2fd..eef43b0 100644 --- a/rust/avalonia/examples/imperative_counter.rs +++ b/rust/avalonia/examples/imperative_counter.rs @@ -8,8 +8,8 @@ use std::sync::atomic::{AtomicI32, Ordering}; use std::sync::Arc; use avalonia::{ - App, AppScope, Border, Brush, Button, Color, HorizontalAlignment, ListBox, NumericUpDown, - Orientation, Result, Slider, StackPanel, TextBlock, TextBox, Thickness, Window, + App, AppScope, Border, Brush, Button, Color, HorizontalAlignment, ListBox, NavigationMethod, + NumericUpDown, Orientation, Result, Slider, StackPanel, TextBlock, TextBox, Thickness, Window, }; fn main() -> Result<()> { @@ -164,11 +164,17 @@ fn build_ui(scope: &AppScope) -> Result<()> { let _ = echo.set_text(format!("Echo: {text}")); } })?; + let focus_target = input.clone(); let root = StackPanel::new()? .orientation(Orientation::Vertical)? .spacing(4.0)?; root.set_background(Brush::solid(Color::new(255, 245, 245, 250)))?; + // Wave S: input focus is consumable from Rust — the window focuses the text box once + // the tree attaches and reports whether the call took. + let focus_label = TextBlock::new()? + .text("Focus: -")? + .margin(Thickness::symmetric(12.0, 0.0))?; let children = root.children()?; children.add(heading)?; children.add(count_label)?; @@ -181,14 +187,19 @@ fn build_ui(scope: &AppScope) -> Result<()> { children.add(wheel_label)?; children.add(numeric)?; children.add(numeric_label)?; + children.add(focus_label.clone())?; children.add(log)?; children.add(selection_label)?; let window = Window::new()? .title("Imperative counter")? .width(420.0)? - .height(680.0)?; + .height(720.0)?; window.set_content(Some(&root))?; scope.mount(window)?; + let took = focus_target + .focus_with_navigation_method_and_key_modifiers(NavigationMethod::Pointer as i32, 0) + .unwrap_or(false); + focus_label.set_text(format!("Focus: {took}"))?; Ok(()) } diff --git a/rust/avalonia/src/.avalonia-bindgen.owned.json b/rust/avalonia/src/.avalonia-bindgen.owned.json index 6b044f6..da09294 100644 --- a/rust/avalonia/src/.avalonia-bindgen.owned.json +++ b/rust/avalonia/src/.avalonia-bindgen.owned.json @@ -3,7 +3,7 @@ "files": [ { "path": "generated.rs", - "sha256": "7c51f0c963997619b5986140a26f999dd151499ca9097b8b30ac1e5cb1772a75" + "sha256": "b120c2c8d67b750704a9a5724e9cfcb784875021ae17b8963e127fa54dee55c9" } ] } diff --git a/rust/avalonia/src/generated.rs b/rust/avalonia/src/generated.rs index 532ea7d..8e7bb20 100644 --- a/rust/avalonia/src/generated.rs +++ b/rust/avalonia/src/generated.rs @@ -3077,6 +3077,14 @@ impl AutoCompleteBox { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -3085,6 +3093,7 @@ impl AutoCompleteBox { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -3942,6 +3951,14 @@ impl Border { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -3950,6 +3967,7 @@ impl Border { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -4437,6 +4455,14 @@ impl Button { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -4445,6 +4471,7 @@ impl Button { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -5115,6 +5142,14 @@ impl ButtonSpinner { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -5123,6 +5158,7 @@ impl ButtonSpinner { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -5756,6 +5792,14 @@ impl Calendar { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -5764,6 +5808,7 @@ impl Calendar { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -6470,6 +6515,14 @@ impl CalendarDatePicker { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -6478,6 +6531,7 @@ impl CalendarDatePicker { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -7249,6 +7303,14 @@ impl Canvas { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -7257,6 +7319,7 @@ impl Canvas { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -7710,6 +7773,14 @@ impl Carousel { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -7718,6 +7789,7 @@ impl Carousel { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -8386,6 +8458,14 @@ impl CheckBox { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -8394,6 +8474,7 @@ impl CheckBox { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -9093,6 +9174,14 @@ impl ComboBox { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -9101,6 +9190,7 @@ impl ComboBox { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -9847,6 +9937,14 @@ impl ComboBoxItem { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -9855,6 +9953,7 @@ impl ComboBoxItem { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -10450,6 +10549,14 @@ impl CommandBar { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -10458,6 +10565,7 @@ impl CommandBar { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -11163,6 +11271,14 @@ impl CommandBarButton { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -11171,6 +11287,7 @@ impl CommandBarButton { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -11898,6 +12015,14 @@ impl CommandBarSeparator { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -11906,6 +12031,7 @@ impl CommandBarSeparator { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -12466,6 +12592,14 @@ impl CommandBarToggleButton { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -12474,6 +12608,7 @@ impl CommandBarToggleButton { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -13230,6 +13365,14 @@ impl ContentControl { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -13238,6 +13381,7 @@ impl ContentControl { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -13825,6 +13969,14 @@ impl ContextMenu { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -13833,6 +13985,7 @@ impl ContextMenu { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -14627,6 +14780,14 @@ impl Control { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -14635,6 +14796,7 @@ impl Control { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -15034,6 +15196,14 @@ impl DatePicker { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -15042,6 +15212,7 @@ impl DatePicker { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -15699,6 +15870,14 @@ impl Decorator { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -15707,6 +15886,7 @@ impl Decorator { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -16127,6 +16307,14 @@ impl DockPanel { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -16135,6 +16323,7 @@ impl DockPanel { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -16585,6 +16774,14 @@ impl DropDownButton { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -16593,6 +16790,7 @@ impl DropDownButton { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -17263,6 +17461,14 @@ impl Expander { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -17271,6 +17477,7 @@ impl Expander { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -17946,6 +18153,14 @@ impl FlexPanel { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -17954,6 +18169,7 @@ impl FlexPanel { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -18640,6 +18856,14 @@ impl Grid { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -18648,6 +18872,7 @@ impl Grid { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -19156,6 +19381,14 @@ impl GridSplitter { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -19164,6 +19397,7 @@ impl GridSplitter { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -19787,6 +20021,14 @@ impl GroupBox { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -19795,6 +20037,7 @@ impl GroupBox { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -20403,6 +20646,14 @@ impl HyperlinkButton { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -20411,6 +20662,7 @@ impl HyperlinkButton { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -21096,6 +21348,14 @@ impl IconElement { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -21104,6 +21364,7 @@ impl IconElement { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -21648,6 +21909,14 @@ impl Image { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -21656,6 +21925,7 @@ impl Image { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -22099,6 +22369,14 @@ impl ItemsControl { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -22107,6 +22385,7 @@ impl ItemsControl { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -22691,6 +22970,14 @@ impl Label { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -22699,6 +22986,7 @@ impl Label { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -23297,6 +23585,14 @@ impl LayoutTransformControl { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -23305,6 +23601,7 @@ impl LayoutTransformControl { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -23733,6 +24030,14 @@ impl ListBox { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -23741,6 +24046,7 @@ impl ListBox { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -24400,6 +24706,14 @@ impl ListBoxItem { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -24408,6 +24722,7 @@ impl ListBoxItem { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -25003,6 +25318,14 @@ impl MaskedTextBox { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -25011,6 +25334,7 @@ impl MaskedTextBox { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -25990,6 +26314,14 @@ impl Menu { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -25998,6 +26330,7 @@ impl Menu { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -26672,6 +27005,14 @@ impl MenuBase { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -26680,6 +27021,7 @@ impl MenuBase { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -27562,6 +27904,14 @@ impl MenuItem { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -27570,6 +27920,7 @@ impl MenuItem { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -28378,6 +28729,14 @@ impl NotificationCard { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -28386,6 +28745,7 @@ impl NotificationCard { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -29007,6 +29367,14 @@ impl WindowNotificationManager { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -29015,6 +29383,7 @@ impl WindowNotificationManager { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -29583,6 +29952,14 @@ impl NumericUpDown { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -29591,6 +29968,7 @@ impl NumericUpDown { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -30343,6 +30721,14 @@ impl Panel { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -30351,6 +30737,7 @@ impl Panel { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -30768,6 +31155,14 @@ impl PathIcon { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -30776,6 +31171,7 @@ impl PathIcon { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -31331,6 +31727,14 @@ impl PipsPager { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -31339,6 +31743,7 @@ impl PipsPager { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -31998,6 +32403,14 @@ impl HeaderedContentControl { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -32006,6 +32419,7 @@ impl HeaderedContentControl { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -32614,6 +33028,14 @@ impl HeaderedItemsControl { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -32622,6 +33044,7 @@ impl HeaderedItemsControl { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -33227,6 +33650,14 @@ impl HeaderedSelectingItemsControl { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -33235,6 +33666,7 @@ impl HeaderedSelectingItemsControl { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -33905,6 +34337,14 @@ impl Popup { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -33913,6 +34353,7 @@ impl Popup { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -34679,6 +35120,14 @@ impl RangeBase { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -34687,6 +35136,7 @@ impl RangeBase { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -35282,6 +35732,14 @@ impl SelectingItemsControl { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -35290,6 +35748,7 @@ impl SelectingItemsControl { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -35939,6 +36398,14 @@ impl TemplatedControl { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -35947,6 +36414,7 @@ impl TemplatedControl { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -36491,6 +36959,14 @@ impl Thumb { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -36499,6 +36975,7 @@ impl Thumb { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -37076,6 +37553,14 @@ impl ToggleButton { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -37084,6 +37569,7 @@ impl ToggleButton { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -37783,6 +38269,14 @@ impl UniformGrid { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -37791,6 +38285,7 @@ impl UniformGrid { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -38248,6 +38743,14 @@ impl ProgressBar { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -38256,6 +38759,7 @@ impl ProgressBar { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -38890,6 +39394,14 @@ impl RadioButton { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -38898,6 +39410,7 @@ impl RadioButton { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -39608,6 +40121,14 @@ impl RefreshContainer { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -39616,6 +40137,7 @@ impl RefreshContainer { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -40236,6 +40758,14 @@ impl RelativePanel { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -40244,6 +40774,7 @@ impl RelativePanel { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -40715,6 +41246,14 @@ impl RepeatButton { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -40723,6 +41262,7 @@ impl RepeatButton { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -41409,6 +41949,14 @@ impl ScrollViewer { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -41417,6 +41965,7 @@ impl ScrollViewer { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -42170,6 +42719,14 @@ impl SelectableTextBlock { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -42178,6 +42735,7 @@ impl SelectableTextBlock { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -42814,6 +43372,14 @@ impl Separator { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -42822,6 +43388,7 @@ impl Separator { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -43366,6 +43933,14 @@ impl Arc { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -43374,6 +43949,7 @@ impl Arc { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -43879,6 +44455,14 @@ impl Ellipse { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -43887,6 +44471,7 @@ impl Ellipse { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -44376,6 +44961,14 @@ impl Line { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -44384,6 +44977,7 @@ impl Line { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -44893,6 +45487,14 @@ impl Path { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -44901,6 +45503,7 @@ impl Path { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -45401,6 +46004,14 @@ impl Polygon { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -45409,6 +46020,7 @@ impl Polygon { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -45920,6 +46532,14 @@ impl Polyline { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -45928,6 +46548,7 @@ impl Polyline { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -46439,6 +47060,14 @@ impl Rectangle { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -46447,6 +47076,7 @@ impl Rectangle { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -46952,6 +47582,14 @@ impl Sector { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -46960,6 +47598,7 @@ impl Sector { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -47461,6 +48100,14 @@ impl Shape { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -47469,6 +48116,7 @@ impl Shape { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -47958,6 +48606,14 @@ impl Slider { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -47966,6 +48622,7 @@ impl Slider { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -48614,6 +49271,14 @@ impl Spinner { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -48622,6 +49287,7 @@ impl Spinner { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -49228,6 +49894,14 @@ impl SplitButton { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -49236,6 +49910,7 @@ impl SplitButton { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -49878,6 +50553,14 @@ impl SplitView { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -49886,6 +50569,7 @@ impl SplitView { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -50607,6 +51291,14 @@ impl StackPanel { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -50615,6 +51307,7 @@ impl StackPanel { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -51067,6 +51760,14 @@ impl TabControl { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -51075,6 +51776,7 @@ impl TabControl { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -51783,6 +52485,14 @@ impl TabItem { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -51791,6 +52501,7 @@ impl TabItem { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -52441,6 +53152,14 @@ impl TableView { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -52449,6 +53168,7 @@ impl TableView { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -53126,6 +53846,14 @@ impl TableViewCell { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -53134,6 +53862,7 @@ impl TableViewCell { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -53924,6 +54653,14 @@ impl TableViewRow { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -53932,6 +54669,7 @@ impl TableViewRow { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -54527,6 +55265,14 @@ impl TextBlock { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -54535,6 +55281,7 @@ impl TextBlock { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -55113,6 +55860,14 @@ impl TextBox { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -55121,6 +55876,7 @@ impl TextBox { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -56047,6 +56803,14 @@ impl ThemeVariantScope { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -56055,6 +56819,7 @@ impl ThemeVariantScope { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -56486,6 +57251,14 @@ impl TimePicker { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -56494,6 +57267,7 @@ impl TimePicker { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -57107,6 +57881,14 @@ impl ToggleSplitButton { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -57115,6 +57897,7 @@ impl ToggleSplitButton { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -57778,6 +58561,14 @@ impl ToggleSwitch { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -57786,6 +58577,7 @@ impl ToggleSwitch { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -58527,6 +59319,14 @@ impl ToolTip { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -58535,6 +59335,7 @@ impl ToolTip { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -59204,6 +60005,14 @@ impl TransitioningContentControl { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -59212,6 +60021,7 @@ impl TransitioningContentControl { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -59895,6 +60705,14 @@ impl TreeView { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -59903,6 +60721,7 @@ impl TreeView { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -60544,6 +61363,14 @@ impl TreeViewItem { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -60552,6 +61379,7 @@ impl TreeViewItem { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -61200,6 +62028,14 @@ impl UserControl { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -61208,6 +62044,7 @@ impl UserControl { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -61795,6 +62632,14 @@ impl Viewbox { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -61803,6 +62648,7 @@ impl Viewbox { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -62235,6 +63081,14 @@ impl Window { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -62243,6 +63097,7 @@ impl Window { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); @@ -62994,6 +63849,14 @@ impl WrapPanel { self.set_vertical_alignment(value)?; Ok(self) } + pub fn get_focusable(&self) -> Result { Ok(self.raw.get_focusable()?) } + pub fn set_focusable(&self, value: bool) -> Result<()> { + Ok(self.raw.set_focusable(value)?) + } + pub fn focusable(self, value: bool) -> Result { + self.set_focusable(value)?; + Ok(self) + } pub fn get_is_enabled(&self) -> Result { Ok(self.raw.get_is_enabled()?) } pub fn set_enabled(&self, value: bool) -> Result<()> { Ok(self.raw.set_is_enabled(value)?) @@ -63002,6 +63865,7 @@ impl WrapPanel { self.set_enabled(value)?; Ok(self) } + pub fn focus_with_navigation_method_and_key_modifiers(&self, method: i32, key_modifiers: i32) -> Result { Ok(self.raw.focus_with_navigation_method_and_key_modifiers(method, key_modifiers)? != 0) } pub fn subscribe_loaded(&self, mut callback: impl FnMut(()) + Send + 'static) -> Result { let handler = sys::control_loaded_handler(move || { callback(()); diff --git a/rust/projection.ir.json b/rust/projection.ir.json index 2c13ab7..b4dc214 100644 --- a/rust/projection.ir.json +++ b/rust/projection.ir.json @@ -47,8 +47,8 @@ "name": "IAvnAutoCompleteBox", "fullName": "Avalonia.Host.Com.IAvnAutoCompleteBox", "kind": "Class", - "iid": "26FFE15E-6149-5898-93EB-55909338DC9A", - "abiVersion": 18, + "iid": "6D1670C7-0D52-5BB1-8289-6C2617B74A6C", + "abiVersion": 19, "baseFullName": "Avalonia.Host.Com.IAvnTemplatedControl", "managedFullName": "Avalonia.Controls.AutoCompleteBox", "isConstructible": true, @@ -421,8 +421,8 @@ "name": "IAvnBorder", "fullName": "Avalonia.Host.Com.IAvnBorder", "kind": "Class", - "iid": "DF677487-F79D-50DF-A474-0AF69F6A6C5B", - "abiVersion": 14, + "iid": "430F4A36-8B46-5F3C-8E4D-BD11AA522969", + "abiVersion": 15, "baseFullName": "Avalonia.Host.Com.IAvnDecorator", "managedFullName": "Avalonia.Controls.Border", "isConstructible": true, @@ -503,8 +503,8 @@ "name": "IAvnButton", "fullName": "Avalonia.Host.Com.IAvnButton", "kind": "Class", - "iid": "E66D2CD1-A3CD-538E-9607-B5E784669C89", - "abiVersion": 18, + "iid": "085861C8-F91D-5AFE-B57A-E601477FC2D2", + "abiVersion": 19, "baseFullName": "Avalonia.Host.Com.IAvnContentControl", "managedFullName": "Avalonia.Controls.Button", "isConstructible": true, @@ -601,8 +601,8 @@ "name": "IAvnButtonSpinner", "fullName": "Avalonia.Host.Com.IAvnButtonSpinner", "kind": "Class", - "iid": "BD9E8536-AD5B-51C7-B3E0-2DB521852F7C", - "abiVersion": 11, + "iid": "907404D5-1DE4-574D-990E-2D8A79373D6D", + "abiVersion": 12, "baseFullName": "Avalonia.Host.Com.IAvnSpinner", "managedFullName": "Avalonia.Controls.ButtonSpinner", "isConstructible": true, @@ -642,8 +642,8 @@ "name": "IAvnCalendar", "fullName": "Avalonia.Host.Com.IAvnCalendar", "kind": "Class", - "iid": "9FF3FEBD-5CC5-5DB1-94DA-E03D3D41D947", - "abiVersion": 14, + "iid": "2ECA7A03-1AA5-5FC5-B1CC-7ECDDCF200D1", + "abiVersion": 15, "baseFullName": "Avalonia.Host.Com.IAvnTemplatedControl", "managedFullName": "Avalonia.Controls.Calendar", "isConstructible": true, @@ -871,8 +871,8 @@ "name": "IAvnCalendarDatePicker", "fullName": "Avalonia.Host.Com.IAvnCalendarDatePicker", "kind": "Class", - "iid": "57923347-6143-59E6-BAFC-C745A8982164", - "abiVersion": 13, + "iid": "3CB1E562-6FEB-5E8B-A79A-9C1B3DB4AE62", + "abiVersion": 14, "baseFullName": "Avalonia.Host.Com.IAvnTemplatedControl", "managedFullName": "Avalonia.Controls.CalendarDatePicker", "isConstructible": true, @@ -1134,8 +1134,8 @@ "name": "IAvnCanvas", "fullName": "Avalonia.Host.Com.IAvnCanvas", "kind": "Class", - "iid": "C16EF1BD-5F4F-5C2C-A3EA-508C4B05BA3C", - "abiVersion": 13, + "iid": "DB97347A-FE7E-5006-93B7-E4B555A261A9", + "abiVersion": 14, "baseFullName": "Avalonia.Host.Com.IAvnPanel", "managedFullName": "Avalonia.Controls.Canvas", "isConstructible": true, @@ -1147,8 +1147,8 @@ "name": "IAvnCarousel", "fullName": "Avalonia.Host.Com.IAvnCarousel", "kind": "Class", - "iid": "78C353C4-749B-55FC-A9EF-66608155B0DB", - "abiVersion": 15, + "iid": "062C586F-DB97-53CF-8DC3-A2F159E0BD23", + "abiVersion": 16, "baseFullName": "Avalonia.Host.Com.IAvnSelectingItemsControl", "managedFullName": "Avalonia.Controls.Carousel", "isConstructible": true, @@ -1203,8 +1203,8 @@ "name": "IAvnCheckBox", "fullName": "Avalonia.Host.Com.IAvnCheckBox", "kind": "Class", - "iid": "C4E191D8-29FB-5623-AF97-E3AAD950E27B", - "abiVersion": 18, + "iid": "7A084E79-BA86-55BF-A9E8-E7786F3D4242", + "abiVersion": 19, "baseFullName": "Avalonia.Host.Com.IAvnToggleButton", "managedFullName": "Avalonia.Controls.CheckBox", "isConstructible": true, @@ -1216,8 +1216,8 @@ "name": "IAvnComboBox", "fullName": "Avalonia.Host.Com.IAvnComboBox", "kind": "Class", - "iid": "EEBBD41C-3704-5BC1-BB31-E87EF407CB79", - "abiVersion": 19, + "iid": "1DA7FC0F-6D3F-5669-8644-030686AD4FD3", + "abiVersion": 20, "baseFullName": "Avalonia.Host.Com.IAvnSelectingItemsControl", "managedFullName": "Avalonia.Controls.ComboBox", "isConstructible": true, @@ -1332,8 +1332,8 @@ "name": "IAvnComboBoxItem", "fullName": "Avalonia.Host.Com.IAvnComboBoxItem", "kind": "Class", - "iid": "66D70CA8-4E9B-5BD6-9583-82595161CB34", - "abiVersion": 17, + "iid": "2D2F584F-6CD6-59C9-B536-463E6CC21B72", + "abiVersion": 18, "baseFullName": "Avalonia.Host.Com.IAvnListBoxItem", "managedFullName": "Avalonia.Controls.ComboBoxItem", "isConstructible": true, @@ -1345,8 +1345,8 @@ "name": "IAvnCommandBar", "fullName": "Avalonia.Host.Com.IAvnCommandBar", "kind": "Class", - "iid": "180E1033-DD01-5433-A491-B2049D719449", - "abiVersion": 14, + "iid": "19280D2B-7145-59DC-AD55-557541EC0147", + "abiVersion": 15, "baseFullName": "Avalonia.Host.Com.IAvnTemplatedControl", "managedFullName": "Avalonia.Controls.CommandBar", "isConstructible": true, @@ -1552,8 +1552,8 @@ "name": "IAvnCommandBarButton", "fullName": "Avalonia.Host.Com.IAvnCommandBarButton", "kind": "Class", - "iid": "259356D2-8840-5531-9427-7FD0B9707AC7", - "abiVersion": 13, + "iid": "45F67F66-ADC9-5D8D-9D41-8749F537025E", + "abiVersion": 14, "baseFullName": "Avalonia.Host.Com.IAvnButton", "managedFullName": "Avalonia.Controls.CommandBarButton", "isConstructible": true, @@ -1620,8 +1620,8 @@ "name": "IAvnCommandBarSeparator", "fullName": "Avalonia.Host.Com.IAvnCommandBarSeparator", "kind": "Class", - "iid": "3438DF70-F2D1-5474-A288-D97CCEACC9F9", - "abiVersion": 11, + "iid": "7A5D6F68-43D8-5F3C-B7A3-09C4440A3EF7", + "abiVersion": 12, "baseFullName": "Avalonia.Host.Com.IAvnSeparator", "managedFullName": "Avalonia.Controls.CommandBarSeparator", "isConstructible": true, @@ -1652,8 +1652,8 @@ "name": "IAvnCommandBarToggleButton", "fullName": "Avalonia.Host.Com.IAvnCommandBarToggleButton", "kind": "Class", - "iid": "97BD5478-2731-5994-9427-4A6ECB9EE04B", - "abiVersion": 13, + "iid": "3E3D29A6-520A-5B09-81E3-6395784D2C55", + "abiVersion": 14, "baseFullName": "Avalonia.Host.Com.IAvnToggleButton", "managedFullName": "Avalonia.Controls.CommandBarToggleButton", "isConstructible": true, @@ -1720,8 +1720,8 @@ "name": "IAvnContentControl", "fullName": "Avalonia.Host.Com.IAvnContentControl", "kind": "Class", - "iid": "611A61DE-9AD0-5456-979A-EE525E5132CE", - "abiVersion": 15, + "iid": "7312A513-1E46-5A98-9507-851220C7A465", + "abiVersion": 16, "baseFullName": "Avalonia.Host.Com.IAvnTemplatedControl", "managedFullName": "Avalonia.Controls.ContentControl", "isConstructible": true, @@ -1772,8 +1772,8 @@ "name": "IAvnContextMenu", "fullName": "Avalonia.Host.Com.IAvnContextMenu", "kind": "Class", - "iid": "F63FBE8E-277B-531C-B3F5-E9A2CCEF11A8", - "abiVersion": 17, + "iid": "58A98293-5AA3-59E4-AB2B-CE021C5A5CCA", + "abiVersion": 18, "baseFullName": "Avalonia.Host.Com.IAvnMenuBase", "managedFullName": "Avalonia.Controls.ContextMenu", "isConstructible": true, @@ -1930,12 +1930,42 @@ "name": "IAvnControl", "fullName": "Avalonia.Host.Com.IAvnControl", "kind": "Class", - "iid": "E2F44292-89FA-5AFA-9294-FF2F26DB68CE", - "abiVersion": 10, + "iid": "8B272500-09E4-535F-ABF1-14992E90E778", + "abiVersion": 11, "baseFullName": "Avalonia.Host.Com.IAvnStyledElement", "managedFullName": "Avalonia.Controls.Control", "isConstructible": true, - "methods": [], + "methods": [ + { + "name": "FocusWithNavigationMethodAndKeyModifiers", + "managedName": "Focus", + "returnKind": "I32", + "preserveSig": true, + "parameters": [ + { + "name": "method", + "kind": "I32", + "direction": "In", + "managedTypeName": "Avalonia.Input.NavigationMethod", + "isNullable": false + }, + { + "name": "keyModifiers", + "kind": "I32", + "direction": "In", + "managedTypeName": "Avalonia.Input.KeyModifiers", + "isNullable": false + }, + { + "name": "value", + "kind": "Bool", + "direction": "Out", + "managedTypeName": "System.Boolean", + "isNullable": false + } + ] + } + ], "properties": [ { "name": "IsVisible", @@ -2074,6 +2104,15 @@ "managedTypeName": "Avalonia.Layout.VerticalAlignment", "isNullable": false }, + { + "name": "Focusable", + "kind": "Bool", + "canRead": true, + "canWrite": true, + "interfaceAbiVersion": 1, + "managedTypeName": "System.Boolean", + "isNullable": false + }, { "name": "IsEnabled", "kind": "Bool", @@ -2340,8 +2379,8 @@ "name": "IAvnDatePicker", "fullName": "Avalonia.Host.Com.IAvnDatePicker", "kind": "Class", - "iid": "DF809CB0-67FA-58E8-920C-1B9574A7B369", - "abiVersion": 13, + "iid": "2AAFC151-688F-5326-B651-D022BD55487D", + "abiVersion": 14, "baseFullName": "Avalonia.Host.Com.IAvnTemplatedControl", "managedFullName": "Avalonia.Controls.DatePicker", "isConstructible": true, @@ -2480,8 +2519,8 @@ "name": "IAvnDecorator", "fullName": "Avalonia.Host.Com.IAvnDecorator", "kind": "Class", - "iid": "C3E4D085-4977-566E-B843-75D86B43C2C9", - "abiVersion": 12, + "iid": "F8530439-ABA5-5B16-9C0B-2132D4EFD205", + "abiVersion": 13, "baseFullName": "Avalonia.Host.Com.IAvnControl", "managedFullName": "Avalonia.Controls.Decorator", "isConstructible": true, @@ -2513,8 +2552,8 @@ "name": "IAvnDockPanel", "fullName": "Avalonia.Host.Com.IAvnDockPanel", "kind": "Class", - "iid": "8D7E3210-853F-5D42-AE5B-A5915BD53928", - "abiVersion": 13, + "iid": "63D1EF80-EEE5-50CA-B1A7-C6008560BFD3", + "abiVersion": 14, "baseFullName": "Avalonia.Host.Com.IAvnPanel", "managedFullName": "Avalonia.Controls.DockPanel", "isConstructible": true, @@ -2554,8 +2593,8 @@ "name": "IAvnDropDownButton", "fullName": "Avalonia.Host.Com.IAvnDropDownButton", "kind": "Class", - "iid": "BCBBD462-BE4D-517B-96B1-BDF762CA9B4B", - "abiVersion": 13, + "iid": "99F4E9B6-DAAC-55B1-AFDE-75D38A5C2491", + "abiVersion": 14, "baseFullName": "Avalonia.Host.Com.IAvnButton", "managedFullName": "Avalonia.Controls.DropDownButton", "isConstructible": true, @@ -2567,8 +2606,8 @@ "name": "IAvnExpander", "fullName": "Avalonia.Host.Com.IAvnExpander", "kind": "Class", - "iid": "DFCCCA83-1ADA-5620-8230-0C1D66507F12", - "abiVersion": 15, + "iid": "014D8342-03F6-590B-AFF5-A82C0EB376BB", + "abiVersion": 16, "baseFullName": "Avalonia.Host.Com.IAvnHeaderedContentControl", "managedFullName": "Avalonia.Controls.Expander", "isConstructible": true, @@ -2652,8 +2691,8 @@ "name": "IAvnFlexPanel", "fullName": "Avalonia.Host.Com.IAvnFlexPanel", "kind": "Class", - "iid": "1CC87ECC-363C-5A07-9023-AEA80DBEF8B0", - "abiVersion": 10, + "iid": "82049C23-F315-5A82-86D9-845D8B82BA59", + "abiVersion": 11, "baseFullName": "Avalonia.Host.Com.IAvnPanel", "managedFullName": "Avalonia.Controls.FlexPanel", "isConstructible": true, @@ -2763,8 +2802,8 @@ "name": "IAvnGrid", "fullName": "Avalonia.Host.Com.IAvnGrid", "kind": "Class", - "iid": "887286EA-8097-52EB-9CEF-FA1DA7828D0F", - "abiVersion": 14, + "iid": "028C589C-2C52-5505-9CD2-36A25B4F43A6", + "abiVersion": 15, "baseFullName": "Avalonia.Host.Com.IAvnPanel", "managedFullName": "Avalonia.Controls.Grid", "isConstructible": true, @@ -2822,8 +2861,8 @@ "name": "IAvnGridSplitter", "fullName": "Avalonia.Host.Com.IAvnGridSplitter", "kind": "Class", - "iid": "9D81E579-275C-53A1-8C3B-91F10E2D8403", - "abiVersion": 12, + "iid": "135352FD-917A-577E-A428-D1B608274411", + "abiVersion": 13, "baseFullName": "Avalonia.Host.Com.IAvnThumb", "managedFullName": "Avalonia.Controls.GridSplitter", "isConstructible": true, @@ -2881,8 +2920,8 @@ "name": "IAvnGroupBox", "fullName": "Avalonia.Host.Com.IAvnGroupBox", "kind": "Class", - "iid": "F8356E2B-46EA-58CC-8074-789BA42F0C79", - "abiVersion": 11, + "iid": "83F8FB71-5FB5-5C67-9EDA-9B1948172B9E", + "abiVersion": 12, "baseFullName": "Avalonia.Host.Com.IAvnHeaderedContentControl", "managedFullName": "Avalonia.Controls.GroupBox", "isConstructible": true, @@ -2894,8 +2933,8 @@ "name": "IAvnHyperlinkButton", "fullName": "Avalonia.Host.Com.IAvnHyperlinkButton", "kind": "Class", - "iid": "59F93515-012E-5F89-9998-87E5947034C1", - "abiVersion": 13, + "iid": "8130735B-8051-5246-9914-2489E9C8BEA6", + "abiVersion": 14, "baseFullName": "Avalonia.Host.Com.IAvnButton", "managedFullName": "Avalonia.Controls.HyperlinkButton", "isConstructible": true, @@ -2927,8 +2966,8 @@ "name": "IAvnIconElement", "fullName": "Avalonia.Host.Com.IAvnIconElement", "kind": "Class", - "iid": "21137537-05A7-5CD9-8FED-59DACA086407", - "abiVersion": 11, + "iid": "32A49476-DB0C-5038-B888-A66D122EC557", + "abiVersion": 12, "baseFullName": "Avalonia.Host.Com.IAvnTemplatedControl", "managedFullName": "Avalonia.Controls.IconElement", "isConstructible": false, @@ -2940,8 +2979,8 @@ "name": "IAvnImage", "fullName": "Avalonia.Host.Com.IAvnImage", "kind": "Class", - "iid": "9CBC9E3A-098A-51D7-9647-E20615058287", - "abiVersion": 10, + "iid": "3BE59E46-0ECC-595F-85C0-3CD46F76D9B7", + "abiVersion": 11, "baseFullName": "Avalonia.Host.Com.IAvnControl", "managedFullName": "Avalonia.Controls.Image", "isConstructible": true, @@ -2991,8 +3030,8 @@ "name": "IAvnItemsControl", "fullName": "Avalonia.Host.Com.IAvnItemsControl", "kind": "Class", - "iid": "45705E13-A906-50E2-A0D8-DCC20585FDA6", - "abiVersion": 17, + "iid": "C6061984-593E-5875-8956-4B5C4B6D886C", + "abiVersion": 18, "baseFullName": "Avalonia.Host.Com.IAvnTemplatedControl", "managedFullName": "Avalonia.Controls.ItemsControl", "isConstructible": true, @@ -3173,8 +3212,8 @@ "name": "IAvnLabel", "fullName": "Avalonia.Host.Com.IAvnLabel", "kind": "Class", - "iid": "73C1CCE5-8DB6-5A69-B8FB-AC639528AE72", - "abiVersion": 12, + "iid": "C85D82E9-5381-5B73-BB11-C547CEFA8A19", + "abiVersion": 13, "baseFullName": "Avalonia.Host.Com.IAvnContentControl", "managedFullName": "Avalonia.Controls.Label", "isConstructible": true, @@ -3197,8 +3236,8 @@ "name": "IAvnLayoutTransformControl", "fullName": "Avalonia.Host.Com.IAvnLayoutTransformControl", "kind": "Class", - "iid": "4CF77BF7-4ED9-59F6-98C0-AE9682B3ADFE", - "abiVersion": 10, + "iid": "D19B8CD6-21FB-5F7C-985B-A486532461A7", + "abiVersion": 11, "baseFullName": "Avalonia.Host.Com.IAvnDecorator", "managedFullName": "Avalonia.Controls.LayoutTransformControl", "isConstructible": true, @@ -3220,8 +3259,8 @@ "name": "IAvnListBox", "fullName": "Avalonia.Host.Com.IAvnListBox", "kind": "Class", - "iid": "C45989AF-4038-524F-885B-E57185B22159", - "abiVersion": 18, + "iid": "FD704B9F-4E33-516E-B48D-B1DC9AA44DCA", + "abiVersion": 19, "baseFullName": "Avalonia.Host.Com.IAvnSelectingItemsControl", "managedFullName": "Avalonia.Controls.ListBox", "isConstructible": true, @@ -3258,8 +3297,8 @@ "name": "IAvnListBoxItem", "fullName": "Avalonia.Host.Com.IAvnListBoxItem", "kind": "Class", - "iid": "D51DAD4D-C109-5ABD-84B4-F3C6007F6133", - "abiVersion": 17, + "iid": "D177A044-40A9-5BD2-B9D5-BC3B24F6F87E", + "abiVersion": 18, "baseFullName": "Avalonia.Host.Com.IAvnContentControl", "managedFullName": "Avalonia.Controls.ListBoxItem", "isConstructible": true, @@ -3281,8 +3320,8 @@ "name": "IAvnMaskedTextBox", "fullName": "Avalonia.Host.Com.IAvnMaskedTextBox", "kind": "Class", - "iid": "ACF377B4-D865-5245-8CFE-AE0461EF95FB", - "abiVersion": 17, + "iid": "1C1A91B2-4417-5AB6-A25A-AF72F57B5640", + "abiVersion": 18, "baseFullName": "Avalonia.Host.Com.IAvnTextBox", "managedFullName": "Avalonia.Controls.MaskedTextBox", "isConstructible": true, @@ -3367,8 +3406,8 @@ "name": "IAvnMenu", "fullName": "Avalonia.Host.Com.IAvnMenu", "kind": "Class", - "iid": "71FC2F34-4C1D-591E-A567-AB3151C77785", - "abiVersion": 14, + "iid": "7494D34A-1A50-5EB7-8532-D5A9CA3992B5", + "abiVersion": 15, "baseFullName": "Avalonia.Host.Com.IAvnMenuBase", "managedFullName": "Avalonia.Controls.Menu", "isConstructible": true, @@ -3380,8 +3419,8 @@ "name": "IAvnMenuBase", "fullName": "Avalonia.Host.Com.IAvnMenuBase", "kind": "Class", - "iid": "1E92B6FA-9790-5135-8AC6-A566A0EAD414", - "abiVersion": 14, + "iid": "A5A9B117-B812-50DC-BEAA-D81CDAE4070D", + "abiVersion": 15, "baseFullName": "Avalonia.Host.Com.IAvnSelectingItemsControl", "managedFullName": "Avalonia.Controls.MenuBase", "isConstructible": false, @@ -3487,8 +3526,8 @@ "name": "IAvnMenuItem", "fullName": "Avalonia.Host.Com.IAvnMenuItem", "kind": "Class", - "iid": "15CE4E5D-E0E7-5356-ACFF-D742B7280B97", - "abiVersion": 17, + "iid": "1863F45C-1039-5C4E-9668-433606E91AB9", + "abiVersion": 18, "baseFullName": "Avalonia.Host.Com.IAvnHeaderedSelectingItemsControl", "managedFullName": "Avalonia.Controls.MenuItem", "isConstructible": true, @@ -3654,8 +3693,8 @@ "name": "IAvnNotificationCard", "fullName": "Avalonia.Host.Com.IAvnNotificationCard", "kind": "Class", - "iid": "DB52E2D8-CC48-5F72-B220-52BDF16BC055", - "abiVersion": 12, + "iid": "9E79955D-2569-59C2-9A3A-25FE0AE56026", + "abiVersion": 13, "baseFullName": "Avalonia.Host.Com.IAvnContentControl", "managedFullName": "Avalonia.Controls.Notifications.NotificationCard", "isConstructible": true, @@ -3713,8 +3752,8 @@ "name": "IAvnWindowNotificationManager", "fullName": "Avalonia.Host.Com.IAvnWindowNotificationManager", "kind": "Class", - "iid": "2EECEA93-798A-57D8-9ED9-91C4EA6D282F", - "abiVersion": 12, + "iid": "C159F361-BE6C-5268-8A0B-E12F633F395C", + "abiVersion": 13, "baseFullName": "Avalonia.Host.Com.IAvnTemplatedControl", "managedFullName": "Avalonia.Controls.Notifications.WindowNotificationManager", "isConstructible": true, @@ -3815,8 +3854,8 @@ "name": "IAvnNumericUpDown", "fullName": "Avalonia.Host.Com.IAvnNumericUpDown", "kind": "Class", - "iid": "1082FB46-8635-515E-822C-12629B6D25F8", - "abiVersion": 12, + "iid": "5B2AA4AD-E367-58A1-99ED-8122D7C9B209", + "abiVersion": 13, "baseFullName": "Avalonia.Host.Com.IAvnTemplatedControl", "managedFullName": "Avalonia.Controls.NumericUpDown", "isConstructible": true, @@ -4050,8 +4089,8 @@ "name": "IAvnPanel", "fullName": "Avalonia.Host.Com.IAvnPanel", "kind": "Class", - "iid": "E6C6B17E-9747-5739-B255-52E737A7A2A2", - "abiVersion": 13, + "iid": "FE37643D-BDE5-511B-AB66-CB66B73F685F", + "abiVersion": 14, "baseFullName": "Avalonia.Host.Com.IAvnControl", "managedFullName": "Avalonia.Controls.Panel", "isConstructible": true, @@ -4088,8 +4127,8 @@ "name": "IAvnPathIcon", "fullName": "Avalonia.Host.Com.IAvnPathIcon", "kind": "Class", - "iid": "6D274452-1819-559D-BB43-52E68AB64E10", - "abiVersion": 11, + "iid": "9C821A9C-6A11-5E74-8D69-A637662CD292", + "abiVersion": 12, "baseFullName": "Avalonia.Host.Com.IAvnIconElement", "managedFullName": "Avalonia.Controls.PathIcon", "isConstructible": true, @@ -4112,8 +4151,8 @@ "name": "IAvnPipsPager", "fullName": "Avalonia.Host.Com.IAvnPipsPager", "kind": "Class", - "iid": "FBFAC5E1-FD39-56C8-8208-7C0E0AFA68CD", - "abiVersion": 12, + "iid": "B23699D7-ACE9-5D8F-85ED-216C49DEBE3E", + "abiVersion": 13, "baseFullName": "Avalonia.Host.Com.IAvnTemplatedControl", "managedFullName": "Avalonia.Controls.PipsPager", "isConstructible": true, @@ -4266,8 +4305,8 @@ "name": "IAvnHeaderedContentControl", "fullName": "Avalonia.Host.Com.IAvnHeaderedContentControl", "kind": "Class", - "iid": "D8948145-837B-5DC3-A685-14DF38167A93", - "abiVersion": 15, + "iid": "0408F0EA-5BA0-54C6-A8E6-979328FBE88C", + "abiVersion": 16, "baseFullName": "Avalonia.Host.Com.IAvnContentControl", "managedFullName": "Avalonia.Controls.Primitives.HeaderedContentControl", "isConstructible": true, @@ -4300,8 +4339,8 @@ "name": "IAvnHeaderedItemsControl", "fullName": "Avalonia.Host.Com.IAvnHeaderedItemsControl", "kind": "Class", - "iid": "D25B235E-D49F-55B2-ADF8-90A2BFCB96AB", - "abiVersion": 14, + "iid": "2E4EBFCB-EA24-5842-ABC1-0DC137ED31DA", + "abiVersion": 15, "baseFullName": "Avalonia.Host.Com.IAvnItemsControl", "managedFullName": "Avalonia.Controls.Primitives.HeaderedItemsControl", "isConstructible": true, @@ -4334,8 +4373,8 @@ "name": "IAvnHeaderedSelectingItemsControl", "fullName": "Avalonia.Host.Com.IAvnHeaderedSelectingItemsControl", "kind": "Class", - "iid": "BA5CD52E-ECDF-5379-AC86-5897FA853C60", - "abiVersion": 14, + "iid": "723DA9D6-8356-5967-83E1-0E0A4B1C1B2C", + "abiVersion": 15, "baseFullName": "Avalonia.Host.Com.IAvnSelectingItemsControl", "managedFullName": "Avalonia.Controls.Primitives.HeaderedSelectingItemsControl", "isConstructible": true, @@ -4368,8 +4407,8 @@ "name": "IAvnPopup", "fullName": "Avalonia.Host.Com.IAvnPopup", "kind": "Class", - "iid": "30B75D6F-4E12-505C-8C73-E02A5FCDB356", - "abiVersion": 10, + "iid": "C8FAC379-F367-5D83-9ABF-46EF6FCB778B", + "abiVersion": 11, "baseFullName": "Avalonia.Host.Com.IAvnControl", "managedFullName": "Avalonia.Controls.Primitives.Popup", "isConstructible": true, @@ -4776,8 +4815,8 @@ "name": "IAvnRangeBase", "fullName": "Avalonia.Host.Com.IAvnRangeBase", "kind": "Class", - "iid": "D910F3E2-CD14-547A-8E8C-BFEC9F4C926F", - "abiVersion": 14, + "iid": "4B50BE51-3AF1-5ED3-B29F-61E8728F05C9", + "abiVersion": 15, "baseFullName": "Avalonia.Host.Com.IAvnTemplatedControl", "managedFullName": "Avalonia.Controls.Primitives.RangeBase", "isConstructible": false, @@ -4860,8 +4899,8 @@ "name": "IAvnSelectingItemsControl", "fullName": "Avalonia.Host.Com.IAvnSelectingItemsControl", "kind": "Class", - "iid": "18B99B99-03A3-5C68-8471-D463C4ED1778", - "abiVersion": 17, + "iid": "BF3CA6E3-C054-5059-AFE7-20E38D9B9DE8", + "abiVersion": 18, "baseFullName": "Avalonia.Host.Com.IAvnItemsControl", "managedFullName": "Avalonia.Controls.Primitives.SelectingItemsControl", "isConstructible": true, @@ -4955,8 +4994,8 @@ "name": "IAvnTemplatedControl", "fullName": "Avalonia.Host.Com.IAvnTemplatedControl", "kind": "Class", - "iid": "6E80826C-F337-5A4D-A5BB-1C0DF436B6D0", - "abiVersion": 14, + "iid": "1863F34C-F21F-5977-A305-5939D80CB8C5", + "abiVersion": 15, "baseFullName": "Avalonia.Host.Com.IAvnControl", "managedFullName": "Avalonia.Controls.Primitives.TemplatedControl", "isConstructible": true, @@ -5102,8 +5141,8 @@ "name": "IAvnThumb", "fullName": "Avalonia.Host.Com.IAvnThumb", "kind": "Class", - "iid": "A9A96FDF-BFCF-5E37-A11E-4B653CE36C00", - "abiVersion": 12, + "iid": "E465D453-88D0-5CD1-AF2C-389B5D80BE4D", + "abiVersion": 13, "baseFullName": "Avalonia.Host.Com.IAvnTemplatedControl", "managedFullName": "Avalonia.Controls.Primitives.Thumb", "isConstructible": true, @@ -5167,8 +5206,8 @@ "name": "IAvnToggleButton", "fullName": "Avalonia.Host.Com.IAvnToggleButton", "kind": "Class", - "iid": "23A7F6FB-AFEF-5E4D-8A9A-94F4EFCF6B12", - "abiVersion": 18, + "iid": "AA447DC6-1470-599E-B0F5-27BF313DC7E7", + "abiVersion": 19, "baseFullName": "Avalonia.Host.Com.IAvnButton", "managedFullName": "Avalonia.Controls.Primitives.ToggleButton", "isConstructible": true, @@ -5209,8 +5248,8 @@ "name": "IAvnUniformGrid", "fullName": "Avalonia.Host.Com.IAvnUniformGrid", "kind": "Class", - "iid": "061A5BD1-9360-53D2-BEF6-7EB9ECAEA493", - "abiVersion": 10, + "iid": "8B8511AD-3289-5415-A03D-E0265549A876", + "abiVersion": 11, "baseFullName": "Avalonia.Host.Com.IAvnPanel", "managedFullName": "Avalonia.Controls.Primitives.UniformGrid", "isConstructible": true, @@ -5268,8 +5307,8 @@ "name": "IAvnProgressBar", "fullName": "Avalonia.Host.Com.IAvnProgressBar", "kind": "Class", - "iid": "5AD47222-012D-56C8-8459-42DD295B9DAF", - "abiVersion": 15, + "iid": "5B810486-98CC-51F9-8F12-46A095595BB4", + "abiVersion": 16, "baseFullName": "Avalonia.Host.Com.IAvnRangeBase", "managedFullName": "Avalonia.Controls.ProgressBar", "isConstructible": true, @@ -5327,8 +5366,8 @@ "name": "IAvnRadioButton", "fullName": "Avalonia.Host.Com.IAvnRadioButton", "kind": "Class", - "iid": "A2E6518A-5B2E-5424-84FE-CFA325D93288", - "abiVersion": 18, + "iid": "FBEA357A-8E1A-5579-A0CF-4FD48895DADB", + "abiVersion": 19, "baseFullName": "Avalonia.Host.Com.IAvnToggleButton", "managedFullName": "Avalonia.Controls.RadioButton", "isConstructible": true, @@ -5350,8 +5389,8 @@ "name": "IAvnRefreshContainer", "fullName": "Avalonia.Host.Com.IAvnRefreshContainer", "kind": "Class", - "iid": "95707491-9943-5B6C-BF2E-1A68A797A842", - "abiVersion": 12, + "iid": "8A61432D-C34F-51D2-8ACC-E36D3D639DC7", + "abiVersion": 13, "baseFullName": "Avalonia.Host.Com.IAvnContentControl", "managedFullName": "Avalonia.Controls.RefreshContainer", "isConstructible": true, @@ -5400,8 +5439,8 @@ "name": "IAvnRelativePanel", "fullName": "Avalonia.Host.Com.IAvnRelativePanel", "kind": "Class", - "iid": "A52468AD-E31F-58F2-8A74-1AB7E73D66E6", - "abiVersion": 10, + "iid": "65247A43-88C6-51B3-91A5-4DD646410156", + "abiVersion": 11, "baseFullName": "Avalonia.Host.Com.IAvnPanel", "managedFullName": "Avalonia.Controls.RelativePanel", "isConstructible": true, @@ -5413,8 +5452,8 @@ "name": "IAvnRepeatButton", "fullName": "Avalonia.Host.Com.IAvnRepeatButton", "kind": "Class", - "iid": "DF355462-7926-5F77-B463-22B164C7A402", - "abiVersion": 13, + "iid": "4F04D781-4A77-5C93-812D-3D1DFC10627C", + "abiVersion": 14, "baseFullName": "Avalonia.Host.Com.IAvnButton", "managedFullName": "Avalonia.Controls.RepeatButton", "isConstructible": true, @@ -5445,8 +5484,8 @@ "name": "IAvnScrollViewer", "fullName": "Avalonia.Host.Com.IAvnScrollViewer", "kind": "Class", - "iid": "4CCB656E-34E8-5621-AF96-1C2AF4F1DAAE", - "abiVersion": 17, + "iid": "1D6C37FA-326B-57A1-A084-7790E0CE2973", + "abiVersion": 18, "baseFullName": "Avalonia.Host.Com.IAvnContentControl", "managedFullName": "Avalonia.Controls.ScrollViewer", "isConstructible": true, @@ -5744,8 +5783,8 @@ "name": "IAvnSelectableTextBlock", "fullName": "Avalonia.Host.Com.IAvnSelectableTextBlock", "kind": "Class", - "iid": "8E36E51E-30AC-563D-A2D7-79335F5FAD8C", - "abiVersion": 13, + "iid": "11DADAD8-19AB-5C0C-9614-00DD412570F8", + "abiVersion": 14, "baseFullName": "Avalonia.Host.Com.IAvnTextBlock", "managedFullName": "Avalonia.Controls.SelectableTextBlock", "isConstructible": true, @@ -5848,8 +5887,8 @@ "name": "IAvnSeparator", "fullName": "Avalonia.Host.Com.IAvnSeparator", "kind": "Class", - "iid": "C97E1335-936C-5319-91B3-09E2E1607D5A", - "abiVersion": 11, + "iid": "81DB67FE-E07A-5DD4-B16C-1E099FC059FB", + "abiVersion": 12, "baseFullName": "Avalonia.Host.Com.IAvnTemplatedControl", "managedFullName": "Avalonia.Controls.Separator", "isConstructible": true, @@ -5861,8 +5900,8 @@ "name": "IAvnArc", "fullName": "Avalonia.Host.Com.IAvnArc", "kind": "Class", - "iid": "D707907F-AF00-561A-9374-03A90DF55B83", - "abiVersion": 10, + "iid": "2DACA1F8-5364-5CB5-B471-81682B00E389", + "abiVersion": 11, "baseFullName": "Avalonia.Host.Com.IAvnShape", "managedFullName": "Avalonia.Controls.Shapes.Arc", "isConstructible": true, @@ -5893,8 +5932,8 @@ "name": "IAvnEllipse", "fullName": "Avalonia.Host.Com.IAvnEllipse", "kind": "Class", - "iid": "ECCCD4F8-7656-5346-B562-E826C27E039E", - "abiVersion": 10, + "iid": "71442BCB-5E0D-53BF-B4C8-4BE39A9E1910", + "abiVersion": 11, "baseFullName": "Avalonia.Host.Com.IAvnShape", "managedFullName": "Avalonia.Controls.Shapes.Ellipse", "isConstructible": true, @@ -5906,8 +5945,8 @@ "name": "IAvnLine", "fullName": "Avalonia.Host.Com.IAvnLine", "kind": "Class", - "iid": "C3F76A13-4998-5B6B-AD06-EFB5E4B9EC61", - "abiVersion": 10, + "iid": "E432CA0E-417D-584A-A0AB-884ACB73A6F6", + "abiVersion": 11, "baseFullName": "Avalonia.Host.Com.IAvnShape", "managedFullName": "Avalonia.Controls.Shapes.Line", "isConstructible": true, @@ -5938,8 +5977,8 @@ "name": "IAvnPath", "fullName": "Avalonia.Host.Com.IAvnPath", "kind": "Class", - "iid": "708CD7FD-817B-56CB-AE5C-C74F67CAD4F6", - "abiVersion": 10, + "iid": "E663EA07-D965-5E67-922A-CA932B4883EF", + "abiVersion": 11, "baseFullName": "Avalonia.Host.Com.IAvnShape", "managedFullName": "Avalonia.Controls.Shapes.Path", "isConstructible": true, @@ -5962,8 +6001,8 @@ "name": "IAvnPolygon", "fullName": "Avalonia.Host.Com.IAvnPolygon", "kind": "Class", - "iid": "4F93F9D8-08E6-56F7-A51B-073928795D7D", - "abiVersion": 10, + "iid": "0AAD3814-FD24-5051-AED3-FB090E1C0A3F", + "abiVersion": 11, "baseFullName": "Avalonia.Host.Com.IAvnShape", "managedFullName": "Avalonia.Controls.Shapes.Polygon", "isConstructible": true, @@ -5995,8 +6034,8 @@ "name": "IAvnPolyline", "fullName": "Avalonia.Host.Com.IAvnPolyline", "kind": "Class", - "iid": "2DBA0D61-C35B-5D12-82A7-555EDA620BC5", - "abiVersion": 10, + "iid": "5CBDF633-9B36-5DDE-BFBE-48FD2FA54C99", + "abiVersion": 11, "baseFullName": "Avalonia.Host.Com.IAvnShape", "managedFullName": "Avalonia.Controls.Shapes.Polyline", "isConstructible": true, @@ -6028,8 +6067,8 @@ "name": "IAvnRectangle", "fullName": "Avalonia.Host.Com.IAvnRectangle", "kind": "Class", - "iid": "95D3D828-9CB6-536E-96D5-2D5D67C3463F", - "abiVersion": 10, + "iid": "18F60995-254F-5AC8-8101-5DF9A44EE488", + "abiVersion": 11, "baseFullName": "Avalonia.Host.Com.IAvnShape", "managedFullName": "Avalonia.Controls.Shapes.Rectangle", "isConstructible": true, @@ -6060,8 +6099,8 @@ "name": "IAvnSector", "fullName": "Avalonia.Host.Com.IAvnSector", "kind": "Class", - "iid": "A6E3E187-67DD-5603-93D8-7431B6449CD7", - "abiVersion": 10, + "iid": "B5A66A03-1739-5B83-B5BB-748E76AF1B27", + "abiVersion": 11, "baseFullName": "Avalonia.Host.Com.IAvnShape", "managedFullName": "Avalonia.Controls.Shapes.Sector", "isConstructible": true, @@ -6092,8 +6131,8 @@ "name": "IAvnShape", "fullName": "Avalonia.Host.Com.IAvnShape", "kind": "Class", - "iid": "8C49AE37-0535-5DEF-926C-D0D6857CC216", - "abiVersion": 10, + "iid": "9B09B01F-E387-5C6F-BB9B-605FC43BA233", + "abiVersion": 11, "baseFullName": "Avalonia.Host.Com.IAvnControl", "managedFullName": "Avalonia.Controls.Shapes.Shape", "isConstructible": false, @@ -6192,8 +6231,8 @@ "name": "IAvnSlider", "fullName": "Avalonia.Host.Com.IAvnSlider", "kind": "Class", - "iid": "8F19D970-60A0-5AA7-A9CF-DF7882B11E7A", - "abiVersion": 14, + "iid": "87C098D1-E3D8-5297-8EFB-B039EF2C9CB5", + "abiVersion": 15, "baseFullName": "Avalonia.Host.Com.IAvnRangeBase", "managedFullName": "Avalonia.Controls.Slider", "isConstructible": true, @@ -6261,8 +6300,8 @@ "name": "IAvnSpinner", "fullName": "Avalonia.Host.Com.IAvnSpinner", "kind": "Class", - "iid": "CF93246B-DA27-5FC8-8382-FE6000F83FA4", - "abiVersion": 11, + "iid": "B3D288E3-9138-530A-96BE-4B274DF115F2", + "abiVersion": 12, "baseFullName": "Avalonia.Host.Com.IAvnContentControl", "managedFullName": "Avalonia.Controls.Spinner", "isConstructible": false, @@ -6309,8 +6348,8 @@ "name": "IAvnSplitButton", "fullName": "Avalonia.Host.Com.IAvnSplitButton", "kind": "Class", - "iid": "88415351-1718-57DE-98D6-5DEE1794029C", - "abiVersion": 14, + "iid": "E162F1F5-7BC8-59CB-82D6-9A2A47F68884", + "abiVersion": 15, "baseFullName": "Avalonia.Host.Com.IAvnContentControl", "managedFullName": "Avalonia.Controls.SplitButton", "isConstructible": true, @@ -6371,8 +6410,8 @@ "name": "IAvnSplitView", "fullName": "Avalonia.Host.Com.IAvnSplitView", "kind": "Class", - "iid": "CF2AF228-F18D-57E1-B362-6A692FEB7AC4", - "abiVersion": 11, + "iid": "5AA9070F-D947-566B-931C-EF80550EE63E", + "abiVersion": 12, "baseFullName": "Avalonia.Host.Com.IAvnContentControl", "managedFullName": "Avalonia.Controls.SplitView", "isConstructible": true, @@ -6523,8 +6562,8 @@ "name": "IAvnStackPanel", "fullName": "Avalonia.Host.Com.IAvnStackPanel", "kind": "Class", - "iid": "41C138FB-C0C9-579F-A3B9-76080732A94C", - "abiVersion": 14, + "iid": "6CBE349A-E815-55A1-BBD8-B43951567DC1", + "abiVersion": 15, "baseFullName": "Avalonia.Host.Com.IAvnPanel", "managedFullName": "Avalonia.Controls.StackPanel", "isConstructible": true, @@ -6573,8 +6612,8 @@ "name": "IAvnTabControl", "fullName": "Avalonia.Host.Com.IAvnTabControl", "kind": "Class", - "iid": "27DF6FA4-888C-53C3-8612-186747FD07BF", - "abiVersion": 14, + "iid": "08959EF6-348B-51EC-8BE3-D3AE47B861BF", + "abiVersion": 15, "baseFullName": "Avalonia.Host.Com.IAvnSelectingItemsControl", "managedFullName": "Avalonia.Controls.TabControl", "isConstructible": true, @@ -6653,8 +6692,8 @@ "name": "IAvnTabItem", "fullName": "Avalonia.Host.Com.IAvnTabItem", "kind": "Class", - "iid": "DED2B477-BC45-5613-BA24-CDBAB635D785", - "abiVersion": 13, + "iid": "7FFA8FBC-579E-5152-A5D1-AFE128CCB470", + "abiVersion": 14, "baseFullName": "Avalonia.Host.Com.IAvnHeaderedContentControl", "managedFullName": "Avalonia.Controls.TabItem", "isConstructible": true, @@ -6715,8 +6754,8 @@ "name": "IAvnTableView", "fullName": "Avalonia.Host.Com.IAvnTableView", "kind": "Class", - "iid": "BA62A21B-C26D-587F-A41F-35E67E200B69", - "abiVersion": 15, + "iid": "8653BEA5-66FE-5479-87D0-45C9D8FDC7EC", + "abiVersion": 16, "baseFullName": "Avalonia.Host.Com.IAvnListBox", "managedFullName": "Avalonia.Controls.TableView", "isConstructible": true, @@ -6752,8 +6791,8 @@ "name": "IAvnTableViewCell", "fullName": "Avalonia.Host.Com.IAvnTableViewCell", "kind": "Class", - "iid": "2B1B1C38-97FD-59A3-8BCD-59ACBDC03368", - "abiVersion": 13, + "iid": "FB82C6E3-9041-5212-B897-E3DEC7EA6360", + "abiVersion": 14, "baseFullName": "Avalonia.Host.Com.IAvnContentControl", "managedFullName": "Avalonia.Controls.TableViewCell", "isConstructible": true, @@ -6871,8 +6910,8 @@ "name": "IAvnTableViewRow", "fullName": "Avalonia.Host.Com.IAvnTableViewRow", "kind": "Class", - "iid": "8E3BA93D-D0BE-51D9-A007-2AF614AC6ADB", - "abiVersion": 11, + "iid": "25F888AF-361C-5B20-ACB7-CC9D1770D898", + "abiVersion": 12, "baseFullName": "Avalonia.Host.Com.IAvnListBoxItem", "managedFullName": "Avalonia.Controls.TableViewRow", "isConstructible": true, @@ -6884,8 +6923,8 @@ "name": "IAvnTextBlock", "fullName": "Avalonia.Host.Com.IAvnTextBlock", "kind": "Class", - "iid": "199AE412-EE08-5BDE-A498-66AE0231AA3F", - "abiVersion": 16, + "iid": "47E06BD1-10DC-5267-A55F-A5C3BB536285", + "abiVersion": 17, "baseFullName": "Avalonia.Host.Com.IAvnControl", "managedFullName": "Avalonia.Controls.TextBlock", "isConstructible": true, @@ -7066,8 +7105,8 @@ "name": "IAvnTextBox", "fullName": "Avalonia.Host.Com.IAvnTextBox", "kind": "Class", - "iid": "55D76247-3F6A-5F45-AC3C-33B34A38329A", - "abiVersion": 20, + "iid": "2CECBBEF-9113-5262-B44C-4CFD61373281", + "abiVersion": 21, "baseFullName": "Avalonia.Host.Com.IAvnTemplatedControl", "managedFullName": "Avalonia.Controls.TextBox", "isConstructible": true, @@ -7556,8 +7595,8 @@ "name": "IAvnThemeVariantScope", "fullName": "Avalonia.Host.Com.IAvnThemeVariantScope", "kind": "Class", - "iid": "FF6B43AB-B89D-5574-BBDE-9ACACD23DBA4", - "abiVersion": 10, + "iid": "0C7665EE-7E88-5B31-AA6C-0B7BE88EA14B", + "abiVersion": 11, "baseFullName": "Avalonia.Host.Com.IAvnDecorator", "managedFullName": "Avalonia.Controls.ThemeVariantScope", "isConstructible": true, @@ -7580,8 +7619,8 @@ "name": "IAvnTimePicker", "fullName": "Avalonia.Host.Com.IAvnTimePicker", "kind": "Class", - "iid": "5E7CE65A-FE53-551C-9F5A-2344EE09E002", - "abiVersion": 13, + "iid": "B5A38C06-2DB2-5199-83DC-05C28A15DA69", + "abiVersion": 14, "baseFullName": "Avalonia.Host.Com.IAvnTemplatedControl", "managedFullName": "Avalonia.Controls.TimePicker", "isConstructible": true, @@ -7682,8 +7721,8 @@ "name": "IAvnToggleSplitButton", "fullName": "Avalonia.Host.Com.IAvnToggleSplitButton", "kind": "Class", - "iid": "0057E49B-BB54-516F-8FDA-B1E646A1C897", - "abiVersion": 14, + "iid": "A8024AE3-3329-57D6-AE6C-1E3BBAD7A7E6", + "abiVersion": 15, "baseFullName": "Avalonia.Host.Com.IAvnSplitButton", "managedFullName": "Avalonia.Controls.ToggleSplitButton", "isConstructible": true, @@ -7715,8 +7754,8 @@ "name": "IAvnToggleSwitch", "fullName": "Avalonia.Host.Com.IAvnToggleSwitch", "kind": "Class", - "iid": "B022C6CE-8A5D-5700-B341-114A6A4FBCA0", - "abiVersion": 18, + "iid": "EB2E63C7-1C28-5754-B26B-64BC0C2641BF", + "abiVersion": 19, "baseFullName": "Avalonia.Host.Com.IAvnToggleButton", "managedFullName": "Avalonia.Controls.ToggleSwitch", "isConstructible": true, @@ -7769,8 +7808,8 @@ "name": "IAvnToolTip", "fullName": "Avalonia.Host.Com.IAvnToolTip", "kind": "Class", - "iid": "2B78EA6B-FE62-5508-AB5F-586C3523C5A1", - "abiVersion": 11, + "iid": "04F8776B-9CD2-58D3-9004-AA6B0C12E902", + "abiVersion": 12, "baseFullName": "Avalonia.Host.Com.IAvnContentControl", "managedFullName": "Avalonia.Controls.ToolTip", "isConstructible": true, @@ -7782,8 +7821,8 @@ "name": "IAvnTransitioningContentControl", "fullName": "Avalonia.Host.Com.IAvnTransitioningContentControl", "kind": "Class", - "iid": "FD0EB25C-585B-5EDA-B1ED-F629A765B5A9", - "abiVersion": 12, + "iid": "2B88F131-4CA4-529F-AA60-ED2BE719BE10", + "abiVersion": 13, "baseFullName": "Avalonia.Host.Com.IAvnContentControl", "managedFullName": "Avalonia.Controls.TransitioningContentControl", "isConstructible": true, @@ -7908,8 +7947,8 @@ "name": "IAvnTreeView", "fullName": "Avalonia.Host.Com.IAvnTreeView", "kind": "Class", - "iid": "0B60003F-EC3F-5F72-9763-04C3C4FFE8DD", - "abiVersion": 14, + "iid": "51F6F3E1-06E8-563F-A834-CA7D3C751B4D", + "abiVersion": 15, "baseFullName": "Avalonia.Host.Com.IAvnItemsControl", "managedFullName": "Avalonia.Controls.TreeView", "isConstructible": true, @@ -8082,8 +8121,8 @@ "name": "IAvnTreeViewItem", "fullName": "Avalonia.Host.Com.IAvnTreeViewItem", "kind": "Class", - "iid": "F173219D-C63C-5669-BE7D-98E98BF1C54B", - "abiVersion": 14, + "iid": "489990A9-1ED5-5772-AEE6-25C4E8B8612A", + "abiVersion": 15, "baseFullName": "Avalonia.Host.Com.IAvnHeaderedItemsControl", "managedFullName": "Avalonia.Controls.TreeViewItem", "isConstructible": true, @@ -8142,8 +8181,8 @@ "name": "IAvnUserControl", "fullName": "Avalonia.Host.Com.IAvnUserControl", "kind": "Class", - "iid": "0BFF79AB-0D63-5654-8F44-DBBDA630FA30", - "abiVersion": 11, + "iid": "0529D537-1B91-5234-8480-855B56086322", + "abiVersion": 12, "baseFullName": "Avalonia.Host.Com.IAvnContentControl", "managedFullName": "Avalonia.Controls.UserControl", "isConstructible": true, @@ -8155,8 +8194,8 @@ "name": "IAvnViewbox", "fullName": "Avalonia.Host.Com.IAvnViewbox", "kind": "Class", - "iid": "159B2487-78B8-5C1A-932D-A67C6E2E7420", - "abiVersion": 10, + "iid": "EFA9084A-769B-55F4-8101-3B6D4CB524D7", + "abiVersion": 11, "baseFullName": "Avalonia.Host.Com.IAvnControl", "managedFullName": "Avalonia.Controls.Viewbox", "isConstructible": true, @@ -8197,8 +8236,8 @@ "name": "IAvnWindow", "fullName": "Avalonia.Host.Com.IAvnWindow", "kind": "Class", - "iid": "BF221569-8214-5478-9505-0B21A2663545", - "abiVersion": 20, + "iid": "9A01C107-BB12-5AFE-9DAA-C5AACEF2D879", + "abiVersion": 21, "baseFullName": "Avalonia.Host.Com.IAvnContentControl", "managedFullName": "Avalonia.Controls.Window", "isConstructible": true, @@ -8468,8 +8507,8 @@ "name": "IAvnWrapPanel", "fullName": "Avalonia.Host.Com.IAvnWrapPanel", "kind": "Class", - "iid": "FE3C3653-52AA-529D-8ACE-7F54E7D74387", - "abiVersion": 10, + "iid": "71831219-F14C-5D2F-A2F1-49FB979605D4", + "abiVersion": 11, "baseFullName": "Avalonia.Host.Com.IAvnPanel", "managedFullName": "Avalonia.Controls.WrapPanel", "isConstructible": true, diff --git a/tests/Avalonia.Projection.Generator.Tests/BrushMarshallingEmitterTests.cs b/tests/Avalonia.Projection.Generator.Tests/BrushMarshallingEmitterTests.cs index 82506b0..cdef82b 100644 --- a/tests/Avalonia.Projection.Generator.Tests/BrushMarshallingEmitterTests.cs +++ b/tests/Avalonia.Projection.Generator.Tests/BrushMarshallingEmitterTests.cs @@ -153,11 +153,11 @@ public void Emits_the_native_brush_vtable_and_the_chrome_slots() // Widened interfaces republish at version 4; the ones whose flattened vtable did not // move keep the version they already published. - Assert.Contains("#define I_AVN_BORDER_ABI_VERSION 14", header, StringComparison.Ordinal); - Assert.Contains("#define I_AVN_PANEL_ABI_VERSION 13", header, StringComparison.Ordinal); - Assert.Contains("#define I_AVN_TEXT_BLOCK_ABI_VERSION 16", header, StringComparison.Ordinal); - Assert.Contains("#define I_AVN_CONTROL_ABI_VERSION 10", header, StringComparison.Ordinal); - Assert.Contains("#define I_AVN_DECORATOR_ABI_VERSION 12", header, StringComparison.Ordinal); + Assert.Contains("#define I_AVN_BORDER_ABI_VERSION 15", header, StringComparison.Ordinal); + Assert.Contains("#define I_AVN_PANEL_ABI_VERSION 14", header, StringComparison.Ordinal); + Assert.Contains("#define I_AVN_TEXT_BLOCK_ABI_VERSION 17", header, StringComparison.Ordinal); + Assert.Contains("#define I_AVN_CONTROL_ABI_VERSION 11", header, StringComparison.Ordinal); + Assert.Contains("#define I_AVN_DECORATOR_ABI_VERSION 13", header, StringComparison.Ordinal); Assert.Contains( "#define I_AVN_AVALONIA_OBJECT_ABI_VERSION 2", header, diff --git a/tests/Avalonia.Projection.Generator.Tests/ComSourceEmitterTests.cs b/tests/Avalonia.Projection.Generator.Tests/ComSourceEmitterTests.cs index 176c434..8fad704 100644 --- a/tests/Avalonia.Projection.Generator.Tests/ComSourceEmitterTests.cs +++ b/tests/Avalonia.Projection.Generator.Tests/ComSourceEmitterTests.cs @@ -630,7 +630,7 @@ public void Checked_in_ir_and_host_sources_match_generator() var buttonEnd = header.IndexOf("struct IAvnButton {", buttonStart, StringComparison.Ordinal); var buttonHeader = header[buttonStart..buttonEnd]; Assert.Contains("get_object_id", buttonHeader, StringComparison.Ordinal); - Assert.Contains("#define I_AVN_BUTTON_ABI_VERSION 18", header, StringComparison.Ordinal); + Assert.Contains("#define I_AVN_BUTTON_ABI_VERSION 19", header, StringComparison.Ordinal); Assert.True( buttonHeader.IndexOf("get_object_id", StringComparison.Ordinal) < buttonHeader.IndexOf("get_classes", StringComparison.Ordinal)); diff --git a/tests/Avalonia.Projection.Generator.Tests/GeometryMarshallingEmitterTests.cs b/tests/Avalonia.Projection.Generator.Tests/GeometryMarshallingEmitterTests.cs index 85ee8e7..b0c0903 100644 --- a/tests/Avalonia.Projection.Generator.Tests/GeometryMarshallingEmitterTests.cs +++ b/tests/Avalonia.Projection.Generator.Tests/GeometryMarshallingEmitterTests.cs @@ -169,7 +169,7 @@ public void Kernel_header_publishes_the_geometry_structs_and_live_by_value_slots // Widening IAvnControl republishes it at version 3; IAvnAvaloniaObject projects no // members, so its vtable and version are untouched. - Assert.Contains("#define I_AVN_CONTROL_ABI_VERSION 10", header, StringComparison.Ordinal); + Assert.Contains("#define I_AVN_CONTROL_ABI_VERSION 11", header, StringComparison.Ordinal); Assert.Contains( "#define I_AVN_AVALONIA_OBJECT_ABI_VERSION 2", header, diff --git a/tests/Avalonia.Projection.Ir.Tests/ClrTypeExtractorTests.cs b/tests/Avalonia.Projection.Ir.Tests/ClrTypeExtractorTests.cs index 0eba7d1..dea6ce0 100644 --- a/tests/Avalonia.Projection.Ir.Tests/ClrTypeExtractorTests.cs +++ b/tests/Avalonia.Projection.Ir.Tests/ClrTypeExtractorTests.cs @@ -312,11 +312,11 @@ public void Layout_members_keep_the_abi_version_of_the_interfaces_they_widened() // republishes with every Control growth plus its own; U19 grew ContentControl // above Decorator too. Assert.Equal(6, Type(ir, "IAvnStyledElement").AbiVersion); - Assert.Equal(10, Type(ir, "IAvnControl").AbiVersion); - Assert.Equal(12, Type(ir, "IAvnDecorator").AbiVersion); + Assert.Equal(11, Type(ir, "IAvnControl").AbiVersion); + Assert.Equal(13, Type(ir, "IAvnDecorator").AbiVersion); Assert.Equal( ClrTypeExtractor.CreateDeterministicIid( - Type(ir, "IAvnDecorator").FullName, 12), + Type(ir, "IAvnDecorator").FullName, 13), Type(ir, "IAvnDecorator").Iid); } @@ -329,9 +329,9 @@ public void Chrome_members_keep_the_abi_version_of_the_interfaces_they_widened() // so they stay on their version 4 IIDs. TemplatedControl and TextBlock moved in wave M. Assert.All( new[] { "IAvnPanel", "IAvnCanvas", "IAvnDockPanel" }, - name => { var type = Type(ir, name); Assert.Equal(13, type.AbiVersion); + name => { var type = Type(ir, name); Assert.Equal(14, type.AbiVersion); Assert.Equal( - ClrTypeExtractor.CreateDeterministicIid(type.FullName, 13), + ClrTypeExtractor.CreateDeterministicIid(type.FullName, 14), type.Iid); }); Assert.All( @@ -339,9 +339,9 @@ public void Chrome_members_keep_the_abi_version_of_the_interfaces_they_widened() name => { var type = Type(ir, name); - Assert.Equal(14, type.AbiVersion); + Assert.Equal(15, type.AbiVersion); Assert.Equal( - ClrTypeExtractor.CreateDeterministicIid(type.FullName, 14), + ClrTypeExtractor.CreateDeterministicIid(type.FullName, 15), type.Iid); }); @@ -361,9 +361,9 @@ public void Completeness_members_keep_the_abi_version_of_every_widened_interface // Grid is a Panel descendant, so it republishes with every Control/StyledElement // growth in addition to its own waves. - Assert.Equal(14, Type(ir, "IAvnGrid").AbiVersion); + Assert.Equal(15, Type(ir, "IAvnGrid").AbiVersion); Assert.Equal( - ClrTypeExtractor.CreateDeterministicIid(Type(ir, "IAvnGrid").FullName, 14), + ClrTypeExtractor.CreateDeterministicIid(Type(ir, "IAvnGrid").FullName, 15), Type(ir, "IAvnGrid").Iid); // Completeness-wave types sat at 5 until wave M grew TemplatedControl under them, @@ -374,9 +374,9 @@ public void Completeness_members_keep_the_abi_version_of_every_widened_interface name => { var type = Type(ir, name); - Assert.Equal(15, type.AbiVersion); + Assert.Equal(16, type.AbiVersion); Assert.Equal( - ClrTypeExtractor.CreateDeterministicIid(type.FullName, 15), + ClrTypeExtractor.CreateDeterministicIid(type.FullName, 16), type.Iid); }); Assert.All( @@ -384,16 +384,16 @@ public void Completeness_members_keep_the_abi_version_of_every_widened_interface name => { var type = Type(ir, name); - Assert.Equal(17, type.AbiVersion); + Assert.Equal(18, type.AbiVersion); Assert.Equal( - ClrTypeExtractor.CreateDeterministicIid(type.FullName, 17), + ClrTypeExtractor.CreateDeterministicIid(type.FullName, 18), type.Iid); }); var window = Type(ir, "IAvnWindow"); - Assert.Equal(20, window.AbiVersion); + Assert.Equal(21, window.AbiVersion); Assert.Equal( - ClrTypeExtractor.CreateDeterministicIid(window.FullName, 20), + ClrTypeExtractor.CreateDeterministicIid(window.FullName, 21), window.Iid); } @@ -404,17 +404,17 @@ public void Wave_a_controls_publish_new_interfaces_at_version_one() // Every wave A interface is brand new, so it publishes at version 1 rather than // inheriting the version its neighbours happen to sit on. - Assert.Equal(10, Type(ir, "IAvnImage").AbiVersion); + Assert.Equal(11, Type(ir, "IAvnImage").AbiVersion); // U17 republished TabItem with the items lineage; ToolTip was untouched. - Assert.Equal(13, Type(ir, "IAvnTabItem").AbiVersion); - Assert.Equal(11, Type(ir, "IAvnToolTip").AbiVersion); + Assert.Equal(14, Type(ir, "IAvnTabItem").AbiVersion); + Assert.Equal(12, Type(ir, "IAvnToolTip").AbiVersion); Assert.All( new[] { "IAvnHeaderedItemsControl", "IAvnTabControl", "IAvnTreeView", "IAvnTreeViewItem", }, - name => { var type = Type(ir, name); Assert.Equal(14, type.AbiVersion); + name => { var type = Type(ir, name); Assert.Equal(15, type.AbiVersion); }); // Wave M grew TemplatedControl, so every previously published interface below it @@ -423,12 +423,12 @@ public void Wave_a_controls_publish_new_interfaces_at_version_one() { ["IAvnAvaloniaObject"] = 2, ["IAvnStyledElement"] = 6, - ["IAvnControl"] = 10, - ["IAvnDecorator"] = 12, - ["IAvnItemsControl"] = 17, - ["IAvnSelectingItemsControl"] = 17, - ["IAvnContentControl"] = 15, - ["IAvnHeaderedContentControl"] = 15, + ["IAvnControl"] = 11, + ["IAvnDecorator"] = 13, + ["IAvnItemsControl"] = 18, + ["IAvnSelectingItemsControl"] = 18, + ["IAvnContentControl"] = 16, + ["IAvnHeaderedContentControl"] = 16, }; Assert.All(pinned, entry => { @@ -553,9 +553,9 @@ public void Wave_b_controls_publish_new_interfaces_at_version_one() name => { var type = Type(ir, name); - Assert.Equal(11, type.AbiVersion); + Assert.Equal(12, type.AbiVersion); Assert.Equal( - ClrTypeExtractor.CreateDeterministicIid(type.FullName, 11), + ClrTypeExtractor.CreateDeterministicIid(type.FullName, 12), type.Iid); }); Assert.All( @@ -563,23 +563,23 @@ public void Wave_b_controls_publish_new_interfaces_at_version_one() name => { var type = Type(ir, name); - Assert.Equal(13, type.AbiVersion); + Assert.Equal(14, type.AbiVersion); Assert.Equal( - ClrTypeExtractor.CreateDeterministicIid(type.FullName, 13), + ClrTypeExtractor.CreateDeterministicIid(type.FullName, 14), type.Iid); }); Assert.All( - new[] { "IAvnMenuBase", "IAvnMenu", "IAvnHeaderedSelectingItemsControl" }, name => Assert.Equal(14, Type(ir, name).AbiVersion)); - Assert.Equal(17, Type(ir, "IAvnMenuItem").AbiVersion); + new[] { "IAvnMenuBase", "IAvnMenu", "IAvnHeaderedSelectingItemsControl" }, name => Assert.Equal(15, Type(ir, name).AbiVersion)); + Assert.Equal(18, Type(ir, "IAvnMenuItem").AbiVersion); var pinned = new Dictionary(StringComparer.Ordinal) { ["IAvnAvaloniaObject"] = 2, - ["IAvnControl"] = 10, - ["IAvnItemsControl"] = 17, - ["IAvnSelectingItemsControl"] = 17, - ["IAvnTemplatedControl"] = 14, - ["IAvnContentControl"] = 15, + ["IAvnControl"] = 11, + ["IAvnItemsControl"] = 18, + ["IAvnSelectingItemsControl"] = 18, + ["IAvnTemplatedControl"] = 15, + ["IAvnContentControl"] = 16, }; Assert.All(pinned, entry => { @@ -1174,9 +1174,9 @@ public void Wave_c_layout_panels_publish_new_interfaces_at_version_one() name => { var type = Type(ir, name); - Assert.Equal(10, type.AbiVersion); + Assert.Equal(11, type.AbiVersion); Assert.Equal( - ClrTypeExtractor.CreateDeterministicIid(type.FullName, 10), + ClrTypeExtractor.CreateDeterministicIid(type.FullName, 11), type.Iid); Assert.True(type.IsConstructible); }); @@ -1185,7 +1185,7 @@ public void Wave_c_layout_panels_publish_new_interfaces_at_version_one() name => { var type = Type(ir, name); - Assert.Equal(12, type.AbiVersion); + Assert.Equal(13, type.AbiVersion); Assert.True(type.IsConstructible); }); @@ -1284,14 +1284,14 @@ public void Wave_d_button_family_publishes_new_interfaces_at_version_one() var ir = ClrTypeExtractor.Extract(KernelTypes, AvaloniaProjectionProfiles.ObjectModelKernel); Assert.Equal(5, Type(ir, "IAvnMenuFlyout").AbiVersion); - Assert.Equal(17, Type(ir, "IAvnContextMenu").AbiVersion); + Assert.Equal(18, Type(ir, "IAvnContextMenu").AbiVersion); Assert.All( new[] { "IAvnRepeatButton", "IAvnDropDownButton", "IAvnHyperlinkButton", }, - name => { var type = Type(ir, name); Assert.Equal(13, type.AbiVersion); + name => { var type = Type(ir, name); Assert.Equal(14, type.AbiVersion); Assert.True(type.IsConstructible); }); Assert.All( @@ -1299,7 +1299,7 @@ public void Wave_d_button_family_publishes_new_interfaces_at_version_one() name => { var type = Type(ir, name); - Assert.Equal(14, type.AbiVersion); + Assert.Equal(15, type.AbiVersion); Assert.True(type.IsConstructible); }); @@ -1345,7 +1345,7 @@ public void Wave_e_input_controls_publish_new_interfaces_at_version_one() var ir = ClrTypeExtractor.Extract(KernelTypes, AvaloniaProjectionProfiles.ObjectModelKernel); var spinner = Type(ir, "IAvnSpinner"); - Assert.Equal(11, spinner.AbiVersion); + Assert.Equal(12, spinner.AbiVersion); Assert.False(spinner.IsConstructible); Assert.Equal("Avalonia.Host.Com.IAvnContentControl", spinner.BaseFullName); @@ -1354,14 +1354,14 @@ public void Wave_e_input_controls_publish_new_interfaces_at_version_one() name => { var type = Type(ir, name); - Assert.Equal(11, type.AbiVersion); + Assert.Equal(12, type.AbiVersion); Assert.True(type.IsConstructible); }); - Assert.Equal(13, Type(ir, "IAvnSelectableTextBlock").AbiVersion); + Assert.Equal(14, Type(ir, "IAvnSelectableTextBlock").AbiVersion); Assert.True(Type(ir, "IAvnSelectableTextBlock").IsConstructible); - Assert.Equal(12, Type(ir, "IAvnNumericUpDown").AbiVersion); - Assert.Equal(18, Type(ir, "IAvnAutoCompleteBox").AbiVersion); - Assert.Equal(17, Type(ir, "IAvnMaskedTextBox").AbiVersion); + Assert.Equal(13, Type(ir, "IAvnNumericUpDown").AbiVersion); + Assert.Equal(19, Type(ir, "IAvnAutoCompleteBox").AbiVersion); + Assert.Equal(18, Type(ir, "IAvnMaskedTextBox").AbiVersion); Assert.Equal("Avalonia.Host.Com.IAvnSpinner", Type(ir, "IAvnButtonSpinner").BaseFullName); Assert.Equal("Avalonia.Host.Com.IAvnTemplatedControl", Type(ir, "IAvnNumericUpDown").BaseFullName); @@ -1398,8 +1398,8 @@ public void Wave_f_calendar_family_publishes_new_interfaces_at_version_one() Assert.Equal("Avalonia.Host.Com.IAvnTemplatedControl", type.BaseFullName); }); // U17 grew Calendar alone (DisplayDateChanged); the picker did not move. - Assert.Equal(14, Type(ir, "IAvnCalendar").AbiVersion); - Assert.Equal(13, Type(ir, "IAvnCalendarDatePicker").AbiVersion); + Assert.Equal(15, Type(ir, "IAvnCalendar").AbiVersion); + Assert.Equal(14, Type(ir, "IAvnCalendarDatePicker").AbiVersion); var selected = Type(ir, "IAvnCalendar").Properties.Single(p => p.Name == "SelectedDate"); Assert.Equal(MarshallingKind.StringUtf16, selected.Kind); @@ -1431,7 +1431,7 @@ public void Wave_g_content_chrome_publishes_new_interfaces_at_version_one() Assert.Equal("Avalonia.Host.Com.IAvnSelectingItemsControl", Type(ir, "IAvnCarousel").BaseFullName); Assert.Equal("Avalonia.Host.Com.IAvnContentControl", Type(ir, "IAvnTransitioningContentControl").BaseFullName); Assert.Equal("Avalonia.Host.Com.IAvnContentControl", Type(ir, "IAvnLabel").BaseFullName); - Assert.Equal(12, Type(ir, "IAvnLabel").AbiVersion); + Assert.Equal(13, Type(ir, "IAvnLabel").AbiVersion); Assert.Equal("Avalonia.Host.Com.IAvnTemplatedControl", Type(ir, "IAvnSeparator").BaseFullName); Assert.Equal("Avalonia.Host.Com.IAvnHeaderedContentControl", Type(ir, "IAvnGroupBox").BaseFullName); Assert.Equal("Avalonia.Host.Com.IAvnContentControl", Type(ir, "IAvnUserControl").BaseFullName); @@ -1458,7 +1458,7 @@ public void Wave_h_shapes_publish_new_interfaces_at_version_one() var ir = ClrTypeExtractor.Extract(KernelTypes, AvaloniaProjectionProfiles.ObjectModelKernel); var shape = Type(ir, "IAvnShape"); - Assert.Equal(10, shape.AbiVersion); + Assert.Equal(11, shape.AbiVersion); Assert.False(shape.IsConstructible); Assert.Equal("Avalonia.Host.Com.IAvnControl", shape.BaseFullName); Assert.All( @@ -1473,7 +1473,7 @@ public void Wave_h_shapes_publish_new_interfaces_at_version_one() name => { var type = Type(ir, name); - Assert.Equal(10, type.AbiVersion); + Assert.Equal(11, type.AbiVersion); Assert.True(type.IsConstructible); Assert.Equal("Avalonia.Host.Com.IAvnShape", type.BaseFullName); }); @@ -1580,7 +1580,7 @@ public void Wave_l_window_chrome_bumps_only_window() { var ir = ClrTypeExtractor.Extract(KernelTypes, AvaloniaProjectionProfiles.ObjectModelKernel); var window = Type(ir, "IAvnWindow"); - Assert.Equal(20, window.AbiVersion); + Assert.Equal(21, window.AbiVersion); Assert.Contains(window.Methods, m => m.Name == "Hide"); Assert.All( new[] @@ -1605,7 +1605,7 @@ public void Wave_l_window_chrome_bumps_only_window() Assert.Contains(closing.Parameters, p => p.Name == "Cancel" && p.Direction == ParameterDirection.InOut); Assert.Contains(closing.Parameters, p => p.Name == "CloseReason" && p.Kind == MarshallingKind.I32); Assert.Contains(closing.Parameters, p => p.Name == "IsProgrammatic" && p.Kind == MarshallingKind.Bool); - Assert.Equal(15, Type(ir, "IAvnContentControl").AbiVersion); + Assert.Equal(16, Type(ir, "IAvnContentControl").AbiVersion); } [Fact] @@ -1614,7 +1614,7 @@ public void Wave_m_fonts_bump_templated_control_and_text_block() var ir = ClrTypeExtractor.Extract(KernelTypes, AvaloniaProjectionProfiles.ObjectModelKernel); var templated = Type(ir, "IAvnTemplatedControl"); - Assert.Equal(14, templated.AbiVersion); + Assert.Equal(15, templated.AbiVersion); Assert.All( new[] { "FontFamily", "FontStyle", "FontWeight", "FontStretch", "LetterSpacing", "Padding" }, name => Assert.Contains(templated.Properties, p => p.Name == name)); @@ -1624,14 +1624,14 @@ public void Wave_m_fonts_bump_templated_control_and_text_block() Assert.Null(fontFamily.StringConverterTypeName); var textBlock = Type(ir, "IAvnTextBlock"); - Assert.Equal(16, textBlock.AbiVersion); + Assert.Equal(17, textBlock.AbiVersion); Assert.All( new[] { "FontFamily", "FontStyle", "FontStretch", "Background", "LetterSpacing", "LineSpacing", "MaxLines", "TextWrapping" }, name => Assert.Contains(textBlock.Properties, p => p.Name == name)); - Assert.Equal(13, Type(ir, "IAvnSelectableTextBlock").AbiVersion); - Assert.Equal(14, Type(ir, "IAvnBorder").AbiVersion); + Assert.Equal(14, Type(ir, "IAvnSelectableTextBlock").AbiVersion); + Assert.Equal(15, Type(ir, "IAvnBorder").AbiVersion); var trimming = textBlock.Properties.Single(p => p.Name == "TextTrimming"); Assert.Equal(MarshallingKind.StringUtf16, trimming.Kind); Assert.Equal("Avalonia.Host.Com.AvnTextTrimming", trimming.StringConverterTypeName); @@ -1643,7 +1643,7 @@ public void Wave_n_textbox_remainder_bumps_only_textbox_and_masked_textbox() { var ir = ClrTypeExtractor.Extract(KernelTypes, AvaloniaProjectionProfiles.ObjectModelKernel); var textBox = Type(ir, "IAvnTextBox"); - Assert.Equal(20, textBox.AbiVersion); + Assert.Equal(21, textBox.AbiVersion); Assert.All( new[] { "SelectedText", "TextAlignment", "SelectionBrush", "InnerLeftContent", "UseFloatingPlaceholder", "PlaceholderForeground" }, @@ -1657,7 +1657,7 @@ public void Wave_n_textbox_remainder_bumps_only_textbox_and_masked_textbox() MarshallingKind.TimeSpanI64, textBox.Properties.Single(p => p.Name == "CaretBlinkInterval").Kind); Assert.DoesNotContain(textBox.Properties, p => p.Name == "Watermark"); - Assert.Equal(17, Type(ir, "IAvnMaskedTextBox").AbiVersion); + Assert.Equal(18, Type(ir, "IAvnMaskedTextBox").AbiVersion); } [Fact] @@ -1684,7 +1684,7 @@ public void Wave_r_numeric_up_down_value_changed_carries_the_decimal_pair_as_inv nameof(NumericUpDownValueChangedEventArgs.NewValue)], valueChanged.Parameters.Select(parameter => parameter.Name)); Assert.Contains(Type(ir, "IAvnMaskedTextBox").Properties, p => p.Name == "MaskCompleted"); - Assert.Equal(14, Type(ir, "IAvnTemplatedControl").AbiVersion); + Assert.Equal(15, Type(ir, "IAvnTemplatedControl").AbiVersion); Assert.Equal(13, ir.FactoryAbiVersion); } @@ -1693,20 +1693,20 @@ public void Wave_o_combo_and_scroll_use_vector_and_size() { var ir = ClrTypeExtractor.Extract(KernelTypes, AvaloniaProjectionProfiles.ObjectModelKernel); var combo = Type(ir, "IAvnComboBox"); - Assert.Equal(19, combo.AbiVersion); + Assert.Equal(20, combo.AbiVersion); Assert.Contains(combo.Properties, p => p.Name == "Text"); Assert.Contains(combo.Methods, m => m.Name == "Clear"); Assert.Contains(combo.Events, e => e.Name == "DropDownOpened"); var scroll = Type(ir, "IAvnScrollViewer"); - Assert.Equal(17, scroll.AbiVersion); + Assert.Equal(18, scroll.AbiVersion); Assert.Equal(MarshallingKind.Size, scroll.Properties.Single(p => p.Name == "Extent").Kind); Assert.Equal(MarshallingKind.Vector, scroll.Properties.Single(p => p.Name == "Offset").Kind); Assert.Equal(MarshallingKind.Size, scroll.Properties.Single(p => p.Name == "Viewport").Kind); Assert.Equal(MarshallingKind.Vector, scroll.Properties.Single(p => p.Name == "ScrollBarMaximum").Kind); Assert.False(scroll.Properties.Single(p => p.Name == "Extent").CanWrite); Assert.True(scroll.Properties.Single(p => p.Name == "Offset").CanWrite); - Assert.Equal(15, Type(ir, "IAvnContentControl").AbiVersion); + Assert.Equal(16, Type(ir, "IAvnContentControl").AbiVersion); Assert.Equal(13, ir.FactoryAbiVersion); } @@ -1715,22 +1715,22 @@ public void Wave_p_projects_instance_flyout_and_menu_item_open() { var ir = ClrTypeExtractor.Extract(KernelTypes, AvaloniaProjectionProfiles.ObjectModelKernel); var button = Type(ir, "IAvnButton"); - Assert.Equal(18, button.AbiVersion); + Assert.Equal(19, button.AbiVersion); var flyout = button.Properties.Single(p => p.Name == "Flyout"); Assert.Equal(MarshallingKind.ComInterface, flyout.Kind); Assert.Equal("Avalonia.Host.Com.IAvnFlyoutBase", flyout.InterfaceName); Assert.True(flyout.IsNullable); var split = Type(ir, "IAvnSplitButton"); - Assert.Equal(14, split.AbiVersion); + Assert.Equal(15, split.AbiVersion); Assert.Contains(split.Properties, p => p.Name == "Flyout"); var menu = Type(ir, "IAvnMenuItem"); - Assert.Equal(17, menu.AbiVersion); + Assert.Equal(18, menu.AbiVersion); Assert.Contains(menu.Properties, p => p.Name == "HasSubMenu"); Assert.Contains(menu.Methods, m => m.Name == "Open"); Assert.Contains(menu.Methods, m => m.Name == "Close"); - Assert.Equal(15, Type(ir, "IAvnContentControl").AbiVersion); + Assert.Equal(16, Type(ir, "IAvnContentControl").AbiVersion); Assert.Equal(13, ir.FactoryAbiVersion); } @@ -1738,13 +1738,13 @@ public void Wave_p_projects_instance_flyout_and_menu_item_open() public void Wave_q_sweeps_leaf_input_scalars() { var ir = ClrTypeExtractor.Extract(KernelTypes, AvaloniaProjectionProfiles.ObjectModelKernel); - Assert.Equal(18, Type(ir, "IAvnAutoCompleteBox").AbiVersion); + Assert.Equal(19, Type(ir, "IAvnAutoCompleteBox").AbiVersion); Assert.Contains(Type(ir, "IAvnAutoCompleteBox").Properties, p => p.Name == "SearchText"); - Assert.Equal(14, Type(ir, "IAvnCalendar").AbiVersion); + Assert.Equal(15, Type(ir, "IAvnCalendar").AbiVersion); Assert.Contains(Type(ir, "IAvnCalendar").Properties, p => p.Name == "IsWeekNumberVisible"); - Assert.Equal(13, Type(ir, "IAvnCalendarDatePicker").AbiVersion); + Assert.Equal(14, Type(ir, "IAvnCalendarDatePicker").AbiVersion); Assert.Contains(Type(ir, "IAvnCalendarDatePicker").Methods, m => m.Name == "Clear"); - Assert.Equal(12, Type(ir, "IAvnNumericUpDown").AbiVersion); + Assert.Equal(13, Type(ir, "IAvnNumericUpDown").AbiVersion); Assert.Contains(Type(ir, "IAvnNumericUpDown").Properties, p => p.Name == "TextAlignment"); Assert.Equal(13, ir.FactoryAbiVersion); } @@ -1754,17 +1754,17 @@ public void Items_control_leftovers_keep_items_and_selection() { var ir = ClrTypeExtractor.Extract(KernelTypes, AvaloniaProjectionProfiles.ObjectModelKernel); var items = Type(ir, "IAvnItemsControl"); - Assert.Equal(17, items.AbiVersion); + Assert.Equal(18, items.AbiVersion); Assert.Contains(items.Properties, p => p.Name == "Items"); Assert.Contains(items.Properties, p => p.Name == "ItemCount"); Assert.Contains(items.Methods, m => m.ManagedName == "ScrollIntoView"); var selecting = Type(ir, "IAvnSelectingItemsControl"); - Assert.Equal(17, selecting.AbiVersion); + Assert.Equal(18, selecting.AbiVersion); Assert.Contains(selecting.Properties, p => p.Name == "SelectedIndex"); Assert.Contains(selecting.Events, e => e.Name == "SelectionChanged"); Assert.Contains(selecting.Properties, p => p.Name == "AutoScrollToSelectedItem"); - Assert.Equal(15, Type(ir, "IAvnContentControl").AbiVersion); - Assert.Equal(20, Type(ir, "IAvnWindow").AbiVersion); + Assert.Equal(16, Type(ir, "IAvnContentControl").AbiVersion); + Assert.Equal(21, Type(ir, "IAvnWindow").AbiVersion); Assert.Equal(13, ir.FactoryAbiVersion); } @@ -1773,24 +1773,24 @@ public void Text_leftovers_project_line_metrics_and_scroll_to_line() { var ir = ClrTypeExtractor.Extract(KernelTypes, AvaloniaProjectionProfiles.ObjectModelKernel); var textBlock = Type(ir, "IAvnTextBlock"); - Assert.Equal(16, textBlock.AbiVersion); + Assert.Equal(17, textBlock.AbiVersion); Assert.Contains(textBlock.Properties, p => p.Name == "LineHeight"); Assert.Contains(textBlock.Properties, p => p.Name == "BaselineOffset"); Assert.Contains(textBlock.Properties, p => p.Name == "TextTrimming"); var selectable = Type(ir, "IAvnSelectableTextBlock"); - Assert.Equal(13, selectable.AbiVersion); + Assert.Equal(14, selectable.AbiVersion); Assert.Contains(selectable.Properties, p => p.Name == "SelectionBrush"); Assert.Contains(selectable.Methods, m => m.Name == "SelectAll"); Assert.Contains(selectable.Events, e => e.Name == "CopyingToClipboard"); var textBox = Type(ir, "IAvnTextBox"); - Assert.Equal(20, textBox.AbiVersion); + Assert.Equal(21, textBox.AbiVersion); Assert.Contains(textBox.Methods, m => m.ManagedName == "ScrollToLine"); var lineCount = textBox.Methods.Single(m => m.ManagedName == "GetLineCount"); Assert.Contains(lineCount.Parameters, p => p.Name == "value" && p.Direction == ParameterDirection.Out); Assert.Equal(MarshallingKind.CharUtf16, textBox.Properties.Single(p => p.Name == "PasswordChar").Kind); - Assert.Equal(17, Type(ir, "IAvnMaskedTextBox").AbiVersion); + Assert.Equal(18, Type(ir, "IAvnMaskedTextBox").AbiVersion); Assert.Equal(13, ir.FactoryAbiVersion); } @@ -1798,19 +1798,19 @@ public void Text_leftovers_project_line_metrics_and_scroll_to_line() public void Leaf_leftovers_project_marshallable_scalars_and_commands() { var ir = ClrTypeExtractor.Extract(KernelTypes, AvaloniaProjectionProfiles.ObjectModelKernel); - Assert.Equal(14, Type(ir, "IAvnCommandBar").AbiVersion); + Assert.Equal(15, Type(ir, "IAvnCommandBar").AbiVersion); Assert.Contains(Type(ir, "IAvnCommandBar").Properties, p => p.Name == "HasSecondaryCommands"); Assert.Contains(Type(ir, "IAvnCommandBar").Events, e => e.Name == "Opened"); - Assert.Equal(15, Type(ir, "IAvnCarousel").AbiVersion); + Assert.Equal(16, Type(ir, "IAvnCarousel").AbiVersion); Assert.Contains(Type(ir, "IAvnCarousel").Methods, m => m.Name == "Next"); - Assert.Equal(19, Type(ir, "IAvnComboBox").AbiVersion); - Assert.Equal(13, Type(ir, "IAvnDatePicker").AbiVersion); + Assert.Equal(20, Type(ir, "IAvnComboBox").AbiVersion); + Assert.Equal(14, Type(ir, "IAvnDatePicker").AbiVersion); Assert.Contains(Type(ir, "IAvnDatePicker").Properties, p => p.Name == "VerticalContentAlignment"); - Assert.Equal(17, Type(ir, "IAvnContextMenu").AbiVersion); - Assert.Equal(15, Type(ir, "IAvnProgressBar").AbiVersion); + Assert.Equal(18, Type(ir, "IAvnContextMenu").AbiVersion); + Assert.Equal(16, Type(ir, "IAvnProgressBar").AbiVersion); Assert.Contains(Type(ir, "IAvnProgressBar").Properties, p => p.Name == "Percentage"); - Assert.Equal(14, Type(ir, "IAvnStackPanel").AbiVersion); - Assert.Equal(14, Type(ir, "IAvnBorder").AbiVersion); + Assert.Equal(15, Type(ir, "IAvnStackPanel").AbiVersion); + Assert.Equal(15, Type(ir, "IAvnBorder").AbiVersion); Assert.Contains(Type(ir, "IAvnBorder").Properties, p => p.Name == "ClipToBoundsRadius"); Assert.Equal(13, ir.FactoryAbiVersion); } @@ -1820,7 +1820,7 @@ public void Overlay_chrome_projects_popup_open_close_and_placement_target() { var ir = ClrTypeExtractor.Extract(KernelTypes, AvaloniaProjectionProfiles.ObjectModelKernel); var popup = Type(ir, "IAvnPopup"); - Assert.Equal(10, popup.AbiVersion); + Assert.Equal(11, popup.AbiVersion); Assert.Contains(popup.Methods, m => m.Name == "Open"); Assert.Contains(popup.Methods, m => m.Name == "Close"); Assert.Contains(popup.Events, e => e.Name == "Opened"); @@ -1837,7 +1837,7 @@ public void Overlay_chrome_projects_popup_open_close_and_placement_target() var popupProp = flyoutBase.Properties.Single(p => p.Name == "Popup"); Assert.Equal("Avalonia.Host.Com.IAvnPopup", popupProp.InterfaceName); - Assert.Equal(17, Type(ir, "IAvnContextMenu").AbiVersion); + Assert.Equal(18, Type(ir, "IAvnContextMenu").AbiVersion); Assert.Contains(Type(ir, "IAvnContextMenu").Properties, p => p.Name == "PlacementTarget"); var openWithControl = Type(ir, "IAvnContextMenu").Methods .Single(m => m.Name == "OpenWithControl"); @@ -1853,7 +1853,7 @@ public void Control_leftovers_project_context_menu_and_loaded() { var ir = ClrTypeExtractor.Extract(KernelTypes, AvaloniaProjectionProfiles.ObjectModelKernel); var control = Type(ir, "IAvnControl"); - Assert.Equal(10, control.AbiVersion); + Assert.Equal(11, control.AbiVersion); var menu = control.Properties.Single(p => p.Name == "ContextMenu"); Assert.Equal(MarshallingKind.ComInterface, menu.Kind); Assert.Equal("Avalonia.Host.Com.IAvnContextMenu", menu.InterfaceName); @@ -1864,7 +1864,7 @@ public void Control_leftovers_project_context_menu_and_loaded() Assert.Contains(control.Events, e => e.Name == "Loaded"); Assert.Contains(control.Events, e => e.Name == "Unloaded"); Assert.Equal(6, Type(ir, "IAvnStyledElement").AbiVersion); - Assert.Equal(18, Type(ir, "IAvnButton").AbiVersion); + Assert.Equal(19, Type(ir, "IAvnButton").AbiVersion); Assert.Equal(4, Type(ir, "IAvnFlyout").AbiVersion); Assert.Equal(13, ir.FactoryAbiVersion); } From 3ed7315d2bcb4ddbf0ec8ddd56b43a3f001b118d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Moreau?= Date: Thu, 10 Sep 2026 21:34:55 -0400 Subject: [PATCH 5/6] Wave T: modal dialog activation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Window.ShowDialog returns a Task and never completes synchronously, so it composes onto the shared async operation registry the same way the storage pickers and clipboard do — exactly one completion, cancellable, never blocking the UI thread: - New IAvnApplication5 capability (stage 32) queried from IAvnApplication with StartShowDialog(owner, dialog, completion); the dialog result converts to its ABI string form on completion (null = no result). - AvnApplication.Dialogs.cs (partial class) resolves the window tokens up front and awaits ShowDialog; a cancellation request closes the dialog instead of abandoning the task, because an abandoned ShowDialog still holds the owner. - avalonia-sys gains the dialogs module; the safe crate exposes AppScope.show_dialog returning an AsyncOperation>. - imperative_counter grows an 'Ask' button that opens a modal accept/decline dialog and renders its result; verified live over UIA ('Dialog: accepted'). --- host/Com/AvnApplication.Dialogs.cs | 50 ++++++++++++ host/Com/AvnGuids.cs | 5 ++ host/Com/IAvnDialogs.cs | 27 +++++++ host/Desktop/Dialogs.cs | 68 ++++++++++++++++ rust/avalonia-sys/src/dialogs.rs | 81 ++++++++++++++++++++ rust/avalonia-sys/src/lib.rs | 2 + rust/avalonia/examples/imperative_counter.rs | 70 +++++++++++++++++ rust/avalonia/src/runtime.rs | 21 +++++ 8 files changed, 324 insertions(+) create mode 100644 host/Com/AvnApplication.Dialogs.cs create mode 100644 host/Com/IAvnDialogs.cs create mode 100644 host/Desktop/Dialogs.cs create mode 100644 rust/avalonia-sys/src/dialogs.rs diff --git a/host/Com/AvnApplication.Dialogs.cs b/host/Com/AvnApplication.Dialogs.cs new file mode 100644 index 0000000..e5450f7 --- /dev/null +++ b/host/Com/AvnApplication.Dialogs.cs @@ -0,0 +1,50 @@ +using System; +using System.Threading.Tasks; +using Avalonia.Controls; +using Avalonia.Host.Desktop; + +namespace Avalonia.Host.Com; + +/// +/// Stage 32 modal dialog activation. Window.ShowDialog returns a +/// and never completes synchronously, so it composes onto the +/// shared async operation registry the same way the storage pickers and clipboard do: +/// exactly one completion, cancellable, and the UI thread is never blocked waiting on the +/// dialog. +/// +public partial class AvnApplication : IAvnApplication5 +{ + public int StartShowDialog( + IAvnWindow? owner, + IAvnWindow? dialog, + IAvnAsyncCompletion? completion, + out long operationId) + { + operationId = 0; + if (owner is null || dialog is null) + return HResults.E_POINTER; + try + { + Avalonia.Threading.Dispatcher.UIThread.VerifyAccess(); + var ownerWindow = (Window?)ProjectionRuntime.Unwrap(owner) + ?? throw new ObjectDisposedException(nameof(owner)); + var dialogWindow = (Window?)ProjectionRuntime.Unwrap(dialog) + ?? throw new ObjectDisposedException(nameof(dialog)); + + return _asyncOperations.Start( + completion, + async cancellation => + { + var result = await global::Avalonia.Host.Desktop.Dialogs + .ShowAsync(dialogWindow, ownerWindow, cancellation) + .ConfigureAwait(true); + return AvnAsyncValue.FromString(global::Avalonia.Host.Desktop.Dialogs.ResultToString(result)); + }, + out operationId); + } + catch (Exception e) + { + return AbiError.Capture(e); + } + } +} diff --git a/host/Com/AvnGuids.cs b/host/Com/AvnGuids.cs index a847f1f..2537a77 100644 --- a/host/Com/AvnGuids.cs +++ b/host/Com/AvnGuids.cs @@ -27,4 +27,9 @@ internal static class AvnGuids // file entries back, and nothing below is added to a published vtable. public const string IAvnApplication4 = "6B2E8F10-4C91-4E3A-9A77-1F0C2B3A4D60"; public const string IAvnClipboardData = "6B2E8F10-4C91-4E3A-9A77-1F0C2B3A4D61"; + + // Stage 32 modal dialog activation. Another separately versioned capability; + // the completion rides the shared async operation registry, and nothing below + // is added to a published vtable. + public const string IAvnApplication5 = "6B2E8F10-4C91-4E3A-9A77-1F0C2B3A4D70"; } diff --git a/host/Com/IAvnDialogs.cs b/host/Com/IAvnDialogs.cs new file mode 100644 index 0000000..b16bb24 --- /dev/null +++ b/host/Com/IAvnDialogs.cs @@ -0,0 +1,27 @@ +using System.Runtime.InteropServices; +using System.Runtime.InteropServices.Marshalling; + +namespace Avalonia.Host.Com; + +/// +/// The separately versioned dialog capability, queried from IAvnApplication. +/// Nothing here is ever added to an already published vtable; a consumer that predates +/// the capability reads E_NOINTERFACE from the query instead. +/// +[GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)] +[Guid(AvnGuids.IAvnApplication5)] +public partial interface IAvnApplication5 +{ + /// + /// Shows modally over and completes + /// through the shared async operation registry: exactly one completion, cancellable + /// through CancelAsyncOperation, never blocking the UI thread. The result string + /// is the dialog result converted by the host (null when the dialog returned no result). + /// + [PreserveSig] + int StartShowDialog( + IAvnWindow? owner, + IAvnWindow? dialog, + IAvnAsyncCompletion? completion, + out long operationId); +} diff --git a/host/Desktop/Dialogs.cs b/host/Desktop/Dialogs.cs new file mode 100644 index 0000000..153c39d --- /dev/null +++ b/host/Desktop/Dialogs.cs @@ -0,0 +1,68 @@ +using System; +using System.Threading; +using System.Threading.Tasks; +using Avalonia.Controls; +using Avalonia.Threading; + +namespace Avalonia.Host.Desktop; + +/// +/// Runs from an ABI request. +/// +/// +/// A modal dialog owns its owner while it is open: the dialog may outlive the originating +/// call, so the caller's window tokens are resolved to managed windows up front and the +/// task is awaited without blocking the UI thread. A cancellation request closes the +/// dialog rather than abandoning the task, because an abandoned ShowDialog task +/// still holds the owner. +/// +internal static class Dialogs +{ + public static async Task ShowAsync( + Window dialog, + Window owner, + CancellationToken cancellationToken) + { + ArgumentNullException.ThrowIfNull(dialog); + ArgumentNullException.ThrowIfNull(owner); + cancellationToken.ThrowIfCancellationRequested(); + + var task = dialog.ShowDialog(owner); + if (!cancellationToken.CanBeCanceled) + return await task.ConfigureAwait(true); + + using var registration = cancellationToken.Register(() => + { + if (Dispatcher.UIThread.CheckAccess()) + TryClose(dialog); + else + Dispatcher.UIThread.Post(() => TryClose(dialog)); + }); + return await task.ConfigureAwait(true); + } + + /// + /// Converts a dialog result to its ABI string form: null stays null (the dialog + /// returned no result), a string crosses as-is, and anything else uses its invariant + /// form. + /// + public static string? ResultToString(object? result) => result switch + { + null => null, + string text => text, + _ => Convert.ToString(result, System.Globalization.CultureInfo.InvariantCulture), + }; + + private static void TryClose(Window dialog) + { + try + { + dialog.Close(); + } + catch + { + // The dialog may already be closing or detached from its owner; a cancellation + // that races the natural close is satisfied either way. + } + } +} diff --git a/rust/avalonia-sys/src/dialogs.rs b/rust/avalonia-sys/src/dialogs.rs new file mode 100644 index 0000000..8097bb6 --- /dev/null +++ b/rust/avalonia-sys/src/dialogs.rs @@ -0,0 +1,81 @@ +//! Stage 32 modal dialog activation ABI. +//! +//! `IAvnApplication5` is a separately versioned capability queried from +//! `IAvnApplication`; nothing here is added to an already published vtable. The +//! dialog completion rides the shared async operation registry +//! (`IAvnAsyncCompletion`), so a dialog completes exactly once and a dropped +//! `AsyncOperation` cancels it by closing the dialog. + +use crate::application::IAvnApplication; +use crate::async_completion::IAvnAsyncCompletion; +use crate::com::{ComInterface, ComPtr, IUnknown}; +use crate::generated::IAvnWindow; +use crate::guid::Guid; +use crate::hresult::{self, Result}; +use std::ffi::c_void; +use std::ptr; + +const IAVN_APPLICATION5_IID: Guid = Guid { + data1: 0x6B2E8F10, + data2: 0x4C91, + data3: 0x4E3A, + data4: [0x9A, 0x77, 0x1F, 0x0C, 0x2B, 0x3A, 0x4D, 0x70], +}; + +#[repr(C)] +struct IAvnApplication5Vtbl { + query_interface: unsafe extern "system" fn(*mut IUnknown, *const Guid, *mut *mut c_void) -> i32, + add_ref: unsafe extern "system" fn(*mut IUnknown) -> u32, + release: unsafe extern "system" fn(*mut IUnknown) -> u32, + start_show_dialog: unsafe extern "system" fn( + *mut IAvnApplication5, + *mut IAvnWindow, + *mut IAvnWindow, + *mut IAvnAsyncCompletion, + *mut i64, + ) -> i32, +} + +#[repr(C)] +pub struct IAvnApplication5 { + vtbl: *const IAvnApplication5Vtbl, +} + +unsafe impl ComInterface for IAvnApplication5 { + const IID: Guid = IAVN_APPLICATION5_IID; +} + +fn optional_raw(value: Option<&ComPtr>) -> *mut T { + value.map_or(ptr::null_mut(), ComPtr::as_raw) +} + +impl ComPtr { + /// Shows `dialog` modally over `owner`, completing through the shared async + /// operation registry. The completion's string value is the dialog result the + /// host converted (`None` when the dialog returned no result). + pub fn start_show_dialog( + &self, + owner: Option<&ComPtr>, + dialog: Option<&ComPtr>, + completion: Option<&ComPtr>, + ) -> Result { + unsafe { + let mut operation_id = 0; + let hr = ((*self.as_raw()).vtbl.as_ref().unwrap().start_show_dialog)( + self.as_raw(), + optional_raw(owner), + optional_raw(dialog), + optional_raw(completion), + &mut operation_id, + ); + hresult::check(hr).map(|_| operation_id) + } + } +} + +impl ComPtr { + /// Queries the separately versioned modal dialog capability. + pub fn dialogs(&self) -> Result> { + self.query_interface::() + } +} diff --git a/rust/avalonia-sys/src/lib.rs b/rust/avalonia-sys/src/lib.rs index d4da92e..5da6788 100644 --- a/rust/avalonia-sys/src/lib.rs +++ b/rust/avalonia-sys/src/lib.rs @@ -21,6 +21,7 @@ mod clipboard; mod com; mod command; mod data_template; +mod dialogs; mod dispatcher; mod echo; mod event_callback; @@ -45,6 +46,7 @@ pub use clipboard::{IAvnApplication4, IAvnClipboardData, IAVN_APPLICATION4_METHO pub use com::{ComInterface, ComPtr, IUnknown}; pub use command::{command, Command}; pub use data_template::{data_template, DataTemplate}; +pub use dialogs::IAvnApplication5; pub use dispatcher::{action, IAvnAction, IAvnDispatcher}; pub use echo::IAvnEcho; pub use factory::IAvnActivationFactory; diff --git a/rust/avalonia/examples/imperative_counter.rs b/rust/avalonia/examples/imperative_counter.rs index eef43b0..a9f3c18 100644 --- a/rust/avalonia/examples/imperative_counter.rs +++ b/rust/avalonia/examples/imperative_counter.rs @@ -106,6 +106,74 @@ fn build_ui(scope: &AppScope) -> Result<()> { } })?; + // Wave T: modal dialog activation — a dialog window opens modally over the main + // window, returns its result through the shared async operation, and reports it. + let dialog_label = TextBlock::new()? + .text("Dialog: -")? + .margin(Thickness::symmetric(12.0, 0.0))?; + let ask = Button::new()? + .content(Some(&TextBlock::new()?.text("Ask")?))? + .margin(Thickness::uniform(4.0))? + .on_click(scope, { + let scope = scope.clone(); + let dialog_label = dialog_label.clone(); + move |_| { + let Some(owner) = scope.main_window() else { + return; + }; + let dialog = match Window::new().and_then(|d| { + let d = d.title("Question")?.width(260.0)?.height(120.0)?; + let text = TextBlock::new()? + .text("Accept or decline?")? + .horizontal_alignment(HorizontalAlignment::Center)? + .margin(Thickness::uniform(12.0))?; + let accept = Button::new()? + .content(Some(&TextBlock::new()?.text("Accept")?))? + .margin(Thickness::uniform(4.0))?; + let decline = Button::new()? + .content(Some(&TextBlock::new()?.text("Decline")?))? + .margin(Thickness::uniform(4.0))?; + let buttons = StackPanel::new()? + .orientation(Orientation::Horizontal)? + .horizontal_alignment(HorizontalAlignment::Center)?; + buttons.children()?.add(accept.clone())?; + buttons.children()?.add(decline.clone())?; + let root = StackPanel::new()?.orientation(Orientation::Vertical)?; + root.children()?.add(text)?; + root.children()?.add(buttons)?; + d.set_content(Some(&root))?; + accept.on_click(&scope, { + let d = d.clone(); + move |_| { + let _ = d.close_with_object("accepted"); + } + })?; + decline.on_click(&scope, { + let d = d.clone(); + move |_| { + let _ = d.close_with_object("declined"); + } + })?; + Ok(d) + }) { + Ok(d) => d, + Err(_) => return, + }; + if let Ok(operation) = scope.show_dialog(&owner, &dialog) { + let dialog_label = dialog_label.clone(); + let _ = scope.spawn(async move { + let result = operation.await.unwrap_or(None); + let _ = dialog_label + .set_text(format!("Dialog: {}", result.as_deref().unwrap_or("(none)"))); + }); + } + } + })?; + let dialog_row = StackPanel::new()? + .orientation(Orientation::Horizontal)? + .horizontal_alignment(HorizontalAlignment::Center)?; + dialog_row.children()?.add(ask)?; + let increment = Button::new()? .content(Some(&TextBlock::new()?.text("Increment")?))? .margin(Thickness::uniform(4.0))? @@ -187,6 +255,8 @@ fn build_ui(scope: &AppScope) -> Result<()> { children.add(wheel_label)?; children.add(numeric)?; children.add(numeric_label)?; + children.add(dialog_row)?; + children.add(dialog_label)?; children.add(focus_label.clone())?; children.add(log)?; children.add(selection_label)?; diff --git a/rust/avalonia/src/runtime.rs b/rust/avalonia/src/runtime.rs index b185c0b..6b66460 100644 --- a/rust/avalonia/src/runtime.rs +++ b/rust/avalonia/src/runtime.rs @@ -198,6 +198,27 @@ impl AppScope { ) } + /// Shows `dialog` modally over `window`, completing with the dialog result the host + /// converted (`None` when the dialog returned no result). Dropping the returned + /// operation closes the dialog. + pub fn show_dialog( + &self, + window: &Window, + dialog: &Window, + ) -> Result>> { + let owner = window.raw.clone(); + let dialog = dialog.raw.clone(); + let application = self.context.application.clone(); + let dialogs = application.dialogs()?; + AsyncOperation::start( + application, + move |completion| { + dialogs.start_show_dialog(Some(&owner), Some(&dialog), Some(completion)) + }, + decode_string, + ) + } + pub fn spawn(&self, future: impl Future + Send + 'static) -> Result<()> { self.state .tasks From d5164fb6d7bfd2c5bf36638651c4ef7c0f7a9c84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Moreau?= Date: Thu, 10 Sep 2026 23:20:10 -0400 Subject: [PATCH 6/6] CI: target the master branch in the push trigger The workflow's push trigger referenced main, which is the fork's default branch; this repository's default branch is master, so the release gate never ran on upstream pushes. PRs are unaffected (the pull_request trigger has no branch filter). --- .github/workflows/avalonia-rust.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/avalonia-rust.yml b/.github/workflows/avalonia-rust.yml index 0204819..d1c2286 100644 --- a/.github/workflows/avalonia-rust.yml +++ b/.github/workflows/avalonia-rust.yml @@ -6,7 +6,9 @@ on: - '**' - '.github/workflows/avalonia-rust.yml' push: - branches: [main] + # The default branch is `master`; targeting `main` (the fork's default) meant the + # upstream repository never ran this gate on its own default branch. + branches: [master] paths: - '**' - '.github/workflows/avalonia-rust.yml'