Commit Graph

91 Commits (e693b4b11e24169f956413a420114da4396b23bf)

Author SHA1 Message Date
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
dahall 3085b7d412 Added new property keys for Recycle Bin (#162) 2020-08-31 10:43:21 -06:00
dahall 2c058d2289 Added parameter attributes 2020-07-22 18:31:24 -06:00
dahall f510b2d32e For all COM IEnumXX interfaces, fixed the Next method's array parameter so that it references the size on input, not output. This prevents a bug when implementing these interfaces. Thanks to @wangfu91 for finding this and submitting #143. 2020-07-12 14:09:40 -06:00
dahall fd35f79e22 Removed IComEnumerator references - doesn't work due to Reflection/COM object limitations 2020-06-06 13:44:00 -06:00
dahall e3d402bbfc Added interfaces from comcat.h to Ole32 lib 2020-06-05 14:42:50 -06:00
dahall 020c45207f Where appropriate, added derivation from IComEnumerator<T> to COM interfaces supporting pattern. 2020-06-05 14:42:15 -06:00
dahall 854b5c17c3 Added PROPVARIANT_IMMUTABLE as a pure structure that can be used in arrays where the class equivalent breaks marshaling. 2020-05-22 09:05:09 -06:00
dahall a75f2dd17d Fixed Vanara.Collection references 2020-05-15 18:58:39 -06:00
dahall a124fb4531 MAJOR BREAKING CHANGE: Changed underlying type of HRESULT and NTStatus to Int32 and Win32Error to UInt32 (reversed) due to a major miss on my part in reading the header files. Sorry everyone. 2020-04-27 21:25:47 -06:00
dahall c973a8ec77 Added new Win10 constants 2020-04-23 16:52:31 -06:00
dahall b375436c38 BREAKING CHANGE: Changed PROPERTYKEY.GetCononicalName to GetCanonicalName (fixed misspelling) 2020-04-06 08:52:57 -06:00
dahall a882568e46 Added missing PROPERTYKEY keys. 2020-04-06 08:30:09 -06:00
dahall 02c4896b98 Fixed build warnings for missing XML docs and obsolete marshal directives 2020-04-02 19:14:40 -06:00
dahall 16aa08ec14 Added functions from olectl.h 2020-01-13 14:26:26 -07:00
dahall f05c216813 Added TYSPEC and uCLSSPEC. 2020-01-09 14:32:34 -07:00
dahall 6c0c07897a Added OLEMISC 2020-01-09 11:23:44 -07:00
David Hall 73bebac442 Added missing CLSCTX_ values. 2019-12-31 12:10:39 -07:00
David Hall 42771630ad Fixed TypeLoad error (#72) for PROPSPECunion. 2019-11-23 08:11:51 -07:00
David Hall a94e60820b Reworked memory manipulation functions in InteropExtensions and IntPtrConverter to use new marshaling directives and to drive consistency of use across libs (i.e. call same method to do same work). 2019-11-19 12:52:44 -07:00
David Hall 7f6c787af1 BREAKING CHANGE: moved interfaces and VARIANT from oaidl.h into Vanara.PInvoke.OleAut32 from Ole32 as they are actually hosted there. This required some changes to supproting code. 2019-11-06 22:13:59 -07:00
David Hall 376b4576ea Fixed bug and docs for Enumerate<T> method 2019-10-23 12:05:56 -06:00
David Hall 88a34bf970 Added IDispatch interface 2019-10-23 12:05:09 -06:00
David Hall c0d841f06d Added IEnumUnknown generics implementation 2019-10-22 08:27:07 -06:00
David Hall 1053fb4e05 Added remainder of propsys.dll functions, putting two in the Shell32 assembly due to dependencies. 2019-09-10 19:28:09 -06:00