Commit Graph

73 Commits (d9c1597c45a6eb2e823a7c44143ebb8ee234f571)

Author SHA1 Message Date
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
David Hall ce4a6a46a4 Added remaining functions and supporting interfaces from Ole32.dll 2019-09-10 13:57:38 -06:00
David Hall c3521b7742 MAJOR BREAKING CHANGEs:
1) Obsoleted Vanara.Extensions.InteropExtensions.StructureToPtr for a name change to MarshalToPtr for consistency.
2) Added parameter to all methods reading memory that allows developer to indicate size of allocated memory they read from.
3) Enabled the ability to read/write enum values from memory in all extension methods.
4) Added Write methods for writing to memory
2019-08-17 21:13:57 -06:00
David Hall 7bbbec2d4e Fixed incorrect storage of ANSI string arrays 2019-06-09 09:59:44 -06:00
David Hall 4021b16101 Added lock and layout interfaces 2019-05-24 14:43:19 -06:00
David Hall be34118b68 Moved code around 2019-05-24 14:42:29 -06:00
David Hall c11860bf0c Fixed documentation 2019-05-24 14:42:05 -06:00
David Hall c5eb2544ec Added IBindCtx (as IBindCtxV) to support newer options and better structure. 2019-05-08 12:49:33 -06:00
David Hall 9f0708719a Added BIND_FLAGS enum 2019-05-08 09:26:02 -06:00
David Hall e8095f3c0e Corrected documentation and made all methods PreserveSig 2019-01-27 22:01:12 -05:00
David Hall d33b14f84f Added IClassFactory2 2019-01-27 00:45:20 -05:00
David Hall 7c99b77589 Added remaining functions and interfaces from ComBaseApi.h 2019-01-25 22:58:31 -05:00
David Hall ce4e0b1eb3 Corrected IDropTarget 2019-01-18 00:22:45 -08:00
David Hall 399464a376 Added IDropTarget 2019-01-18 00:08:14 -08:00
David Hall 26bd550350 Add various COM registration methods 2019-01-17 21:33:41 -08:00
David Hall c1531fb22d Added IUnknownFactory 2019-01-17 21:33:21 -08:00
David Hall a186c7b261 Added CreateFileMoniker and GetRunningObjectTable 2019-01-15 13:38:28 -07:00
David Hall 6664e6a84c Added IRunningObjectTable 2019-01-15 13:38:01 -07:00
David Hall 0cd10a80ae Added COM marshaling functions 2019-01-06 19:01:39 -07:00