Commit Graph

1190 Commits (3bf535f9ef1b7e7eefcbe33f06e7d9f050c3871d)

Author SHA1 Message Date
dahall 3bf535f9ef Added XML comments 2020-11-13 10:38:22 -07:00
dahall b2b32fa929 Added missing VarXX functions from OleAuto32 2020-11-12 22:36:59 -07:00
dahall 726a1a146d Fixed init bugs in CY and DECIMAL 2020-11-12 22:36:08 -07:00
dahall 5806d373d3 Finally a working solution for #176. 2020-11-11 19:58:58 -07:00
dahall 17f615d839 Added OLE types CY, DATE and DECIMAL 2020-11-11 19:58:19 -07:00
dahall 3e4e60433e Changed SafeNativeLinkedList back to supporting struct (not unmanaged) type param and removed unsafe pointer getter. 2020-11-11 07:56:03 -07:00
dahall 3c20988f29 Changed params to GetLogicalProcessorInformationEx overload to return RefEnumerator 2020-11-10 21:38:59 -07:00
dahall 317947d16b Added SafeNativeLinkedList.GetUnsafeItems 2020-11-10 21:34:45 -07:00
dahall 847a47b128 Added UDATE struct 2020-11-10 09:43:47 -07:00
dahall 50363a0286 Added InitVariantFromStrRet 2020-11-10 09:43:25 -07:00
dahall 1c0e428592 Changed GetLogicalProcessorInformationEx helper method to return a SafeNativeLinkedList rather than an array so that the memory of linked, nested child arrays is not disposed before use. (#176) 2020-11-10 09:42:48 -07:00
dahall d805e46f28 Derived SafeNativeLinkedList from SafeNativeListBase and added ability to change way linked list is retrieved. 2020-11-10 09:40:46 -07:00
dahall 274953b061 Added SafeNativeListBase which is a SafeMemoryHandle that acts as a read-only list. 2020-11-10 09:39:55 -07:00
dahall 4fdaf14a55 Updated project files for release 2020-11-08 16:02:41 -07:00
dahall e839d4bcfe Updated docs per #154 to avoid future confusion 2020-11-08 14:08:55 -07:00
dahall 816d5afe39 Unchanged non-errant IpHlpLib fields base to FILETIME from SYSTEMTIME per #154 2020-11-06 10:58:20 -07:00
dahall 63db51a7b1 Fixed xml comment 2020-11-05 08:37:44 -07:00
dahall 85a29eeb55 Renamed, cleaned and removed Windows.Forms dependent methods 2020-11-05 07:16:36 -07:00
dahall baba7c9acf Changed IThumbnailProvider.GetThumbnail to return a SafeHBITMAP instead of HBITMAP 2020-11-05 07:15:21 -07:00
dahall c466ab71a0 Added missing param attributes to CopyImage 2020-11-05 07:14:10 -07:00
dahall d816c0cd88 Added GetUIObjectOf extension methods that return HRESULT 2020-11-05 07:13:20 -07:00
dahall d9c1597c45 Changed IExtractImage interface to PreserveSig format 2020-11-05 07:12:43 -07:00
dahall 9a9a11ccd2 Added IGraphicsObjectHandle to all appropriate GDI safe handles 2020-11-05 07:11:49 -07:00
dahall e05f835c78 Moved pure extensions for Gdi functions to Gdi32 2020-11-05 07:10:57 -07:00
dahall c3a6add0a4 Fixed #175 per detail for GetLogicalProcessorInformationEx 2020-11-04 13:05:34 -07:00
dahall 79e2b179e1 Added second IExtractIcon.Extract extension to handle getting one icon 2020-11-03 09:27:32 -07:00
dahall c14d9708b9 **MANY BREAKING CHANGES:** Since these all can implemented interfaces, changed all interfaces methods to `PreserveSig` with `HRESULT` return values for `ICategorizer`, `ICategoryProvider`, `IObjectWithFolderEnumMode`, `IShellFolder`, `IShellFolder2`, and `IShellIcon`. Updated extension methods accordingly. 2020-11-02 07:50:06 -07:00
dahall 3747c94730 **BREAKING CHANGES:** Changed name of IExtractIcon to IExtractIconW and added IExtractIconA. In use, both are required. Changed Extract method to unsafe and made parameters pointers to allow for `null` values. Added Extract extension method for `safe` access to method. 2020-11-02 07:43:57 -07:00
dahall 6c584723e5 Updated parameter attributes and overloads for Shell_GetCachedImageIndex and SHMapPIDLToSystemImageListIndex 2020-11-02 07:41:02 -07:00
dahall aa6cbf204f Removed unnecessary handling of 'shell::' prefixed paths in GetShellItemForPath. Determined that `SHCreateItemFromParsingName` already does this. 2020-11-02 07:39:46 -07:00
dahall 00fe9c4ed2 Added FileIconInit method and SHSTOCKICONINFO.Default field. 2020-10-28 22:39:27 -06:00
dahall 5136887803 Updated Theraot NuGet pkg to 3.2.0 across solution 2020-10-28 19:32:14 -06:00
dahall e62af074c1 Fixed params on IShellFolder2.GetDetailsEx 2020-10-28 19:31:05 -06:00
dahall 9c3df03a04 Rebased PIDL on SafeHANDLE from GenericSafeHandle to avoid generics. 2020-10-28 19:30:24 -06:00
dahall 24552629a4 Optimized PROPERTYKEY.Equals 2020-10-28 19:29:09 -06:00
dahall a824a4cea0 Fixed layout of PARTITION_INFORMATION_GPT so it is blittable (#173) 2020-10-28 19:28:36 -06:00
dahall ffc54378a7 Removed .NET 5.0 support until VS is updated 2020-10-26 18:36:24 -06:00
dahall 2473914e7d Added PIDL conversion to byte[] 2020-10-26 18:24:12 -06:00
dahall 69bd276627 Added support for .NET 5.0 (windows) 2020-10-26 10:36:13 -06:00
dahall 73420677a7 Updated project information 2020-10-23 09:05:48 -06:00
dahall bf1e030ec6 Fixed a number of bugs with IUri and IUriBuilder 2020-10-22 20:13:58 -06:00
dahall 4aaf3e4427 Fixed bug in PropVariantToStringVector 2020-10-22 20:13:29 -06:00
dahall 750f679411 Fixed bug in lookup table for WIA_PROPID_TO_NAME 2020-10-22 20:13:01 -06:00
dahall 32d7c6301c Fixed changes from SafeCoTaskMemString to string to include marshaling attribute 2020-10-22 14:40:24 -06:00
dahall a88ec3079c Fixed bug in PropVariantToStringVector overload 2020-10-22 14:33:46 -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 8686a6723d Updated project and build files for 3.2.18. Converted all project files to new SDK format. 2020-10-21 08:27:54 -06:00
dahall 2efbddd410 Added shell::: URI handling to ShellUtil.GetShellItemForPath 2020-10-20 13:57:08 -06:00
dahall e986fb49e7 Added equality operators to PIDL 2020-10-20 13:56:25 -06:00