Commit Graph

115 Commits (ff50c4a4c9b25abd88cf8a4a47f92c56e0fd4a94)

Author SHA1 Message Date
cuft 53663f6653
undo [StructLayout.Pack = 8] removal at PROPVARIANT (#416)
Co-authored-by: Pavel Luft <pavel.luft@cadteam.cz>
2023-07-10 18:31:29 -06:00
cuft f66686c287
fix PROPVARIANT at 64-bit, Clearing string Vectors + UT (#413)
* fix PROPVARIANT @64-bit

* fix PROPVARIANT.Clear() - string arrays

* enh. IPropSetStorageTest - R/W multiple properties

* whitespace

---------

Co-authored-by: Pavel Luft <pavel.luft@cadteam.cz>
2023-07-05 19:48:03 -06:00
cuft a2fee2ce86
fix IEnumSTATPROPSETSTG attributes (causing InvalidCastException) (#411)
Co-authored-by: Pavel Luft <pavel.luft@cadteam.cz>
2023-07-01 21:05:50 -06:00
David Hall ebbe292a91 Fixed LOGPALETTE structure and associated functions 2023-02-21 21:33:28 -07:00
David Hall e78039c009 Added Ole32.IDataObjectV for a more complete reference to IDataObject 2023-02-04 11:10:12 -07:00
David Hall 98aba004bb Fixed a bunch of build errors related to missing XMl docs and nullability 2023-02-04 10:53:01 -07:00
David Hall 8cabbdb381 BREAKING CHANGE: Changed parameters of Ole32.IStreamV.Seek and CopyTo methods to use `out` parameters. Cost of throwing away value was determined to be zero. 2023-01-14 16:11:46 -07:00
David Hall ff5d0acb2a Added missing parameter attributes 2022-12-20 15:03:19 -07:00
David Hall 33f7376700 Cleaned 2022-11-16 13:50:29 -07:00
David Hall 932bea52d9 Changed BIND_OPTS2.locale field to LCID type 2022-11-04 10:45:38 -06:00
David Hall 3f00a686d2 Added definition for CoGetObject that supports BIND_OPTS_V derivatives (#338) 2022-11-04 10:10:56 -06:00
dahall d65d950db7 Updated optional params for CoSetProxyBlanket 2022-09-01 13:29:57 -06:00
dahall e79edfe6e9 Added logging interfaces from txlogpub.h to PInvoke.Ole 2022-05-11 07:26:25 -06:00
dahall 72b9403f0c Added IOleLink and supporting enums 2022-05-11 07:24:56 -06:00
dahall f1b841d005 Fixed marshaling attributes for STGOPTIONS and COSERVERINFO 2022-05-11 07:24:16 -06:00
dahall 0bb9797e2f BREAKING CHANGES: I have dramatically reduced dependencies of almost all assemblies on .NET runtime assemblies not part of core System assemblies, most specifically System.Drawing and System.Windows.Forms. This forced the removal of some overloaded methods and the replacement of leveraged structures and enums with native equivalents. I added Vanara.Windows.Shell.Common which has all the content from Vanara.WIndows.Shell that did not have dependencies. I extracted all extension methods from Gdi32 and User32 and moved them to Vanara.Windows.Extensions. 2022-01-14 07:32:51 -07:00
dahall 5e108d65fd Change IDropTarget Point parameters to POINT 2022-01-06 15:35:40 -07:00
dahall fe9fa528cf Removed Gdi32 dependency from Ole project 2021-12-30 13:52:47 -07:00
dahall cbb9ddc313 Added Ole32.IPersistPropertyBag interface 2021-10-08 16:54:30 -06:00
dahall 733145408b Added IObjectSafety interface 2021-10-04 15:54:42 -06:00
dahall ec71281c7a Added OptionalAttribute to some parameters 2021-10-04 15:54:11 -06:00
dahall ca870594fe Changed paramters to CoDecodeProxy, added CoGetClassObject overload 2021-10-04 15:53:34 -06:00
dahall 3aad8218c6 Added missing constants and CLSID for component category registration. 2021-09-18 15:44:56 -06:00
dahall f28f2ebd76 Added Flags attribute to DROPEFFECT and UPDFCACHE 2021-08-18 17:02:55 -06:00
dahall e3b3447094 Adjusted use based on IEnumFromCom changes 2021-04-21 16:40:44 -06:00
dahall a66390fe2b Fixed bugs in PROPVARIANT.GetSafeArray and SetSafeArray that caused crashed on all but a few use cases. 2021-03-18 15:40:27 -06:00
dahall d9eb284013 Fixed bug in FreePropVariantArray param definition 2021-03-18 14:59:54 -06:00
dahall 73f5ea3700 Added VARTYPE.GetCorrespondingType extension method to convert to a .NET or Vanara type. 2021-03-18 14:39:32 -06:00
dahall 07561a1419 Added CoClassAttribute to IContextCallback 2021-02-09 09:18:31 -07:00
NN f45861e1e1
Add ContextSwitcher and other IIDs. Fix IContextCallback. (#211)
Co-authored-by: Konstantin Sharon <NN---@users.noreply.github.com>
2021-02-09 07:46:25 -07:00
dahall 6d7fd73bba Added IContextCallback (#209) 2021-02-08 09:19:12 -07:00
dahall 9212f849c9 Moved OLE types CY, DECIMAL and DATE up to Shared assembly. 2020-12-29 14:59:20 -07:00
dahall f8e8e6f545 Changed IDropTarget methods to use MouseButtonState param value instead of uint. Fixed dependencies. 2020-12-27 17:31:40 -07:00
dahall 6c92aaab73 Added iaccess.h interfaces to Ole32 2020-12-24 09:18:27 -07:00
dahall 6d0a8b22ea Made serious changes to IOleCommandTarget. It was very broken (#188). Added other missing stuff from docobj.h. 2020-12-20 20:40:01 -07:00
dahall e8d89a085a Moved IOleCommand declaration to Ole Ole32 from Shell32 2020-12-20 13:20:16 -07:00
dahall 9580be2bd0 Added over 100 new COM interfaces to Ole32 2020-12-14 16:13:21 -07:00
dahall 5f34bc2355 Added ICOMEnum interface to all appropriate COM interfaces. 2020-12-14 16:10:31 -07:00
dahall a2ba62d9fc BREAKING CHANGE: Moved RPC enums from Ole32 to Rpc assembly and static class. 2020-12-14 16:02:45 -07:00
dahall 3aa3f9223d **BREAKING CHANGES:** FIxed structures that could not load due to marshal attribute bugs 2020-12-03 20:34:05 -07:00
dahall 726a1a146d Fixed init bugs in CY and DECIMAL 2020-11-12 22:36:08 -07:00
dahall 17f615d839 Added OLE types CY, DATE and DECIMAL 2020-11-11 19:58:19 -07:00
dahall 24552629a4 Optimized PROPERTYKEY.Equals 2020-10-28 19:29:09 -06:00
dahall 32d7c6301c Fixed changes from SafeCoTaskMemString to string to include marshaling attribute 2020-10-22 14:40:24 -06:00
dahall a5e6cae1eb Fixed bugs in PROPVARIANT get value operations 2020-10-22 14:32:38 -06:00
dahall 857e7c4703 Changed all methods that returned `SafeCoTaskMemString` to `string`. After much reading and testing I determined this was redundant with marshaling code in .NET. 2020-10-21 18:44:25 -06:00
dahall 210daf4b77 Fixed problems with IPropertyStorage::Read/WriteMultiple definitions and provided overload to simplify. Fixed param on Commit method. 2020-10-12 21:36:56 -06:00
dahall cca1f33272 Added PID constants for property ID values in a PROPERTYKEY 2020-10-12 19:12:45 -06:00
dahall 0c8cdcd1ee * Fixed bug in IPropertySetStorage::Create definition
* BREAKING CHANGE: Reconfigured PROPSPEC structure so it works on both X86 and X64 and added constructors to help.
2020-10-12 19:12:02 -06:00
dahall 52ac177f8e BREAKING CHANGE: Modified interfaces IOleWindow and IShellBrowser and all derived interfaces so they use PreserveSigAttribute. All these interfaces can be client implemented and needed that capability. 2020-09-25 17:15:11 -06:00