Commit Graph

1508 Commits (3f0e9f0798de9e884930e75b54dcf79ead7f5b80)

Author SHA1 Message Date
dahall bee8b44bbc Added details for IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS 2021-01-15 13:37:38 -07:00
dahall 582811517b Added VOLUME_DISK_EXTENTS 2021-01-15 13:37:15 -07:00
dahall 2aa0834de5 More work on SetupAPI 2021-01-14 20:24:17 -07:00
dahall 9609ce7eee Extended and improved object GetValue(this REG_VALUE_TYPE value) method 2021-01-14 20:23:30 -07:00
dahall 583a0a9f93 Updated project files 2021-01-14 12:02:00 -07:00
dahall 0e22e0f9b4 Added more functions and unit test for WsmSvc 2021-01-11 18:46:28 -07:00
dahall 4a63607d26 Updated project files 2021-01-11 15:30:51 -07:00
dahall 186870006a Added Vanara.PInvoke.WsmSvc assembly (#194) with a portion of the functions. 2021-01-11 15:30:19 -07:00
dahall d92b34e446 Added const property key and Guid values for use by SetupAPI 2021-01-11 11:24:19 -07:00
dahall 9345674ebc Moved PDCAP enum from PowrProf to Shared and added a few other enums and structure to Shared.Wdm.cs from that header file. 2021-01-11 11:20:54 -07:00
dahall 1ae5a59faa Added Vanara.PInvoke.SHCore assembly with all functions (#193) 2021-01-11 11:17:40 -07:00
dahall 0d732be421 Added StructHelper.InitWithSize to simplify the many structures that have to be initialized with their size. 2021-01-11 11:16:52 -07:00
dahall e23d7d2220 Moved DEVICE_SCALE_FACTOR from Shell32 to Shared 2021-01-11 11:16:06 -07:00
dahall 608e0f7d53 Updated project information 2021-01-05 21:55:12 -07:00
dahall a1bed07eac Completed SetupAPI device functions 2021-01-05 21:54:42 -07:00
dahall 5c040e7fd4 Renamed SafeMSIHANDLE to PMSIHANDLE and finished all methods for msi.dll 2021-01-03 14:31:34 -07:00
dahall 8c203d399d Msi and SetupAPI check-in, buildable 2021-01-02 18:42:02 -07:00
dahall a8730903e3 More SendMessage work 2021-01-01 15:05:32 -07:00
dahall eefe24a771 Moved HOTKEYF from ComCtrl32 to User32 to align with WM_GETHOTKEY location 2021-01-01 15:03:01 -07:00
dahall 9b5d6942e7 Finally added XML docs to all items in ComCtl32. 2021-01-01 15:02:15 -07:00
dahall 6dc8b6a749 Updated SendMessage dependencies in ListView code 2020-12-31 20:46:27 -07:00
dahall 4e44329587 Added owner-draw structures and enum to User32. 2020-12-31 20:14:04 -07:00
dahall 1ef28a890a POTENTIALLY BREAKING CHANGE: Revamped SendMessage overloads to reduce accidential use of wrong overload. Most uses still work except passing a class in as lParam. 2020-12-31 20:13:35 -07:00
dahall feba58dafb Added new SendMessage overload for WM_GETTEXT use case (#191). 2020-12-31 10:50:54 -07:00
dahall 06027d381a Updated project files 2020-12-30 21:01:44 -07:00
dahall 16ce539b33 Added Msi (partial), NewDev (complete) and SetupAPI (partial) assemblies 2020-12-30 20:48:39 -07:00
dahall 9212f849c9 Moved OLE types CY, DECIMAL and DATE up to Shared assembly. 2020-12-29 14:59:20 -07:00
dahall de62a4d6bd Added IArrayStruct<byte> inheritance for DRT_DATA 2020-12-28 15:18:35 -07:00
dahall 8eb8b174a1 Added explicit conversion from SOCKADDR_STORAGE to SOCKADDR_IN and SOCKADDR_IN6 2020-12-28 15:17:47 -07:00
dahall 7704160b1e Fixed Int32/UInt32 mismatch on OFN 2020-12-28 13:28:08 -07:00
dahall f4a3b97063 Changed allocated string fields in ComDlg32 to StrPtrAuto rather than String. 2020-12-27 20:40:08 -07:00
dahall 3ad427a190 Updated project files 2020-12-27 18:29:25 -07:00
dahall f489e1ca89 Fixed methods in Shell32 (SHGetFolderLocation, SHGetFolderPath, SHGetFolderPathAndSubDir) that should use CSIDL enum but didn't. Fixed dependencies. 2020-12-27 17:32:52 -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 f0fd3f0334 Moved MouseButtonState from User32 to Shared assembly and up to PInvoke namespace. Fixed dependencies. 2020-12-27 17:30:06 -07:00
dahall 2066523bd0 BREAKING CHANGE: Changed AppendMenu param from UIntPtr to IntPtr for easier conversion from HMENU and int command ids. Change MENUINFO.dwMenuData to IntPtr for easier conversions. 2020-12-27 16:51:46 -07:00
dahall c1c20171e7 Added IDC_ cursor resource id constants 2020-12-27 16:50:05 -07:00
dahall 777e163e35 Updated project information 2020-12-27 09:28:14 -07:00
dahall f526adbdf6 Doc fixes 2020-12-26 20:34:36 -07:00
dahall 4307eaa01a Added CW_USEDEFAULT constant and fixed return value of CreateWindow function 2020-12-26 16:01:51 -07:00
dahall a9ed619504 Added constants for static controls (msgs, notifications and styles) 2020-12-26 16:00:55 -07:00
dahall 662c8a18c1 Added IDI_* values for static icons and overloaded LoadIcon function to accept a ResourceId param. 2020-12-26 16:00:25 -07:00
dahall e576bd40e7 Updated project information 2020-12-26 11:07:30 -07:00
dahall 966c91c1d3 Completed work on OleDlg 2020-12-26 10:22:22 -07:00
dahall f57fa2af7f Fixed incorrect import attribute 2020-12-26 10:19:51 -07:00
dahall ee3fb03825 Fixed XML comments 2020-12-26 10:19:34 -07:00
dahall 9067493f09 Completed work on ComDlg32 2020-12-25 20:41:41 -07:00
dahall 96ab21f382 Added param to SystemEventHandler constructor to force creation of the message pump in a thread and a PreprocessMessage method that pre-processes messages in the pump. 2020-12-25 20:41:20 -07:00
dahall 4c85c898ce Added constructor for MSG struct 2020-12-25 20:40:00 -07:00
dahall cabf86396c Removed Security.PermissionSetAttribute from all classes, properties and methods. It is now marked Obsolete. 2020-12-24 13:07:32 -07:00
dahall d119c5adbd Updated project information 2020-12-24 11:00:18 -07:00
dahall b0415fd93a Fixed XML comment warnings 2020-12-24 10:58:51 -07:00
dahall 6c92aaab73 Added iaccess.h interfaces to Ole32 2020-12-24 09:18:27 -07:00
dahall 66eb09cade Added ComDlg32 and OleDlg assemblies 2020-12-24 09:17:50 -07:00
dahall 79ceb6112e More work on WTSApi32 2020-12-23 12:14:55 -07:00
dahall 8acca80194 Updated project information 2020-12-22 19:13:59 -07:00
dahall dcefb85f61 Added WTSApi32 library 2020-12-22 16:26:55 -07:00
dahall 8e1057e676 Exposed public properties in SystemEventHandler 2020-12-22 11:45:04 -07:00
dahall aa02808735 Finished work on PowerManager event additions for all power events. (#190) 2020-12-22 10:00:34 -07:00
dahall 1196a4ed48 Added abstract `SystemEventHandler` which provides a smart message window that will automatically spin up a thread, if needed, for the message pump. 2020-12-22 09:59:32 -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 5c0f92d07c More work on BasicMessageWindow 2020-12-20 09:16:10 -07:00
dahall c70614bd19 Added BROADCAST_QUERY_DENY return value. 2020-12-20 08:36:22 -07:00
dahall 6aa6d3fd70 More work and tests for BasicMessageWindow 2020-12-20 08:29:09 -07:00
dahall ddfad23ac1 Removed incorrect FlagsAttribute from WindowMessage enum and removed duplicate, unused WM_HSHELL values 2020-12-20 08:28:33 -07:00
dahall 6f0255aa56 Changed ThrowLastErrorIfInvalid to a generic method to return the same type as the delegate 2020-12-20 08:27:17 -07:00
dahall a10fc8fff0 Added CorrespondingTypeAttribute to power GUID values when they support a secondary value 2020-12-20 08:26:29 -07:00
dahall 9f65b87ab7 Added BasicMessageWindow class as a simple alternative to NativeWindow and MessageWindow 2020-12-18 17:49:56 -07:00
dahall 952c6cebe1 Added HWND.HWND_MESSAGE value 2020-12-18 17:49:12 -07:00
dahall 96cc9d8ba9 Added param attributes for CreateWindow(Ex) and CREATESTRUCT structure 2020-12-18 17:48:39 -07:00
dahall 9314a46714 Added LsaQueryCAPs overload taking a pointer for the first param 2020-12-18 17:47:54 -07:00
dahall 6ef8202772 Fixed alignment issue with `MIB_UDPROW_OWNER_MODULE` (#189) 2020-12-18 17:47:17 -07:00
dahall d2dbaad8e6 Fixed warning in INetFwRule.GetInterfaces extension method. 2020-12-17 14:05:46 -07:00
dahall d0a15b7d7c Merge branch 'master' of https://github.com/dahall/Vanara 2020-12-16 16:52:24 -07:00
dahall d1553b057b Fixed packing directive on `MIB_UDP6ROW_OWNER_MODULE` and `MIB_UDPROW_OWNER_MODULE` per issue #189 2020-12-16 16:28:30 -07:00
dahall e214393430 Updated project documentation files 2020-12-16 11:41:02 -07:00
dahall b301a72b50 More work on Rpc assembly 2020-12-16 11:40:33 -07:00
Thorsten Jung b7c54b7c59
Fix misspelled path of file Winternl.cs (#187) 2020-12-15 08:00:19 -07:00
dahall 665de0c258 Added Vanara.PInvoke.Rpc assembly to support Rpc related functions 2020-12-14 16:14:02 -07:00
dahall 9580be2bd0 Added over 100 new COM interfaces to Ole32 2020-12-14 16:13:21 -07:00
dahall 989c9dcf99 BREAKING CHANGE: Moved IObjectWithSite from Shell32 to Ole32 2020-12-14 16:11:36 -07:00
dahall 5f34bc2355 Added ICOMEnum interface to all appropriate COM interfaces. 2020-12-14 16:10:31 -07:00
dahall 1b264636c7 Fixed bug in LookupAccountSid2 where assigned return values incorrectly. 2020-12-14 16:05:26 -07:00
dahall cd75cd654d Added Vanara.Collections.ICOMEnum<T> interface to indicate COM interfaces that support the Enum/Reset pattern. Useful for simplifying getting IEnumerable runs from them. 2020-12-14 16:04:42 -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 308b49b8e2 Enhanced HBITMAP.ToBitmap method 2020-12-08 10:42:00 -07:00
dahall aa6085a4a6 Based on Windows error in LookupAccountSid, I've added LookupAccountSid2 based on LsaLookupSid2. 2020-12-08 10:34:12 -07:00
dahall 5789fff072 Fixed declaration of IEnumAssocHandlers.Next 2020-12-07 19:57:52 -07:00
dahall f66e5083cd Added GDI extension methods for HBITMAP - IsBottomUpDIB, IsDIB and simplified ToBitmap 2020-12-07 18:54:45 -07:00
dahall 7ec4f19367 Added SafeHBITMAP.ToBitmap method 2020-12-07 18:53:02 -07:00
dahall 53187c0c0f Fixed bug in GetObject overloads 2020-12-07 18:51:34 -07:00
dahall fd1d4de1c7 Added BITMAPINFO.FromHBITMAP method and default static values for BITMAPINFO and DIBSECTION 2020-12-07 18:50:45 -07:00
dahall 87273d6edb Optimized code for HICON.ToHBITMAP extension method 2020-12-07 18:49:03 -07:00
dahall 4477d18332 Added check for empty icon file in LoadImageFromExtractImage 2020-12-07 18:48:15 -07:00
dahall 4a5b14ded3 Added `LookupAccountSidLocal` per #184 comment. Removed BestFitMapping from methods as it was used incorrectly. Added some parameter attributes. 2020-12-07 18:47:14 -07:00
dahall 81ff24990c Fixes to ShellUtil based on testing 2020-12-03 22:22:38 -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 1f0183dcc9 To `Shell32.ShellUtil`, added SHIL to pixel conversions and wrapper methods to handle getting images and icons from shell items and folders. 2020-12-03 19:27:39 -07:00
dahall 5f70c3f434 Added BindToHandler overloads accepting BHID enum values 2020-12-03 19:26:07 -07:00
dahall ab63ec5d26 Added CorrespondingTypeAttributes to all BHID enum values 2020-12-03 19:25:25 -07:00
dahall 47cbd0be0b Added conversion methods from HICON to HBITMAP and BitmapSource. 2020-12-03 19:24:45 -07:00
dahall c904517bf7 Added conversion methods from HBITMAP to Bitmap and BitmapSource 2020-12-03 19:23:44 -07:00
David Hall bffb95b78d Merge branch 'master' of https://github.com/dahall/Vanara 2020-11-28 19:10:30 -07:00
David Hall 9f0a31fdf8 Changed all IContextMenu variants to have PreserveSig model for implementation 2020-11-28 18:29:59 -07:00
Sergey Veselkov 2dbe412881
Added missing ASSOCSTR values (#180) 2020-11-28 07:44:30 -07:00
David Hall 545321357b Updated param attributes for GetCommandString 2020-11-27 10:33:17 -07:00
David Hall b51948f29b Added ResourceId.IsIntResource property 2020-11-27 10:32:29 -07:00
David Hall 169d579c2e Added MADCAP functions to Vanara.PInvoke.Dhcp 2020-11-23 10:50:09 -07:00
dahall 4d71e6ce9b Updated project information markdown files with new format 2020-11-20 18:52:43 -07:00
dahall 4c18661740 Updated project files for 3.3.0 release 2020-11-20 12:38:46 -07:00
dahall 290c053d28 Added DHCP client APIs 2020-11-19 15:00:30 -07:00
dahall 439d77f58d Added HEVENT handle 2020-11-19 14:48:23 -07:00
dahall c7a322c069 Updated project references to Microsoft.Drawing.Common for .NET 5 2020-11-14 10:12:24 -07:00
dahall 04d33e7e1a Added support for .NET 5.0 (windows) 2020-11-13 16:55:23 -07:00
dahall f835313217 Added SHChangeNotify overloads for strings and PIDLs 2020-11-13 16:45:04 -07:00
dahall a07d008347 Updated project files for 3.2.20 2020-11-13 11:33:33 -07:00
dahall ca1ed583bc Added VariantToStrRet function 2020-11-13 11:15:38 -07:00
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
dahall 1d39cd0f05 BREAKING CHANGES: Fixed all the profile functions for ease of use and proper function.
Added Vanara.Configuration.InitializationFile wrapper class for all PrivateProfile functions.
2020-10-18 15:34:03 -06:00
dahall 0fa716973e Added Get*Profile** function overloads to replace StringBuilder with allocated memory for multistring results (#172) 2020-10-17 09:37:12 -06:00
dahall 05b64a7664 Added IsUserCetAvailableInEnvironment and SetProcessDynamicEHContinuationTargets functions to Kernel32 2020-10-14 14:03:29 -06:00
dahall b287f2afcd Added explicit ReadConsoleA and WriteConsoleA for UTF-8 operations (#171) 2020-10-13 14:02:09 -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 e8bb34c109 BREAKING CHANGE: Fixed return value of TrackPopupMenuEx so command identifiers could be returned. 2020-09-25 17:17:12 -06:00
dahall ff11d2e393 Added standard HWND constants as static fields in HWND 2020-09-25 17:16:22 -06:00
dahall 262fb3ff3a Fixed bug in IContextMenu3.HandleMenuMsg2 declaration 2020-09-25 17:15:47 -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 a0f13e4c7e Added .NET Standard 2.0 support 2020-09-20 12:35:17 -06:00
dahall fe6729ee09 Updated project files for 3.2.17 and builds against Win10 2004 2020-09-19 19:45:33 -06:00
dahall a93ad71aab Fixed odd bug from interaction of new VB target and XML docs gen 2020-09-19 16:25:03 -06:00
dahall 6f0789ce03 Initial implementation of FirewallApi.dll. Yes, it is in VB instaead of C#. Ony VB support parameterized properties and the underlying COM objects have these. Plus, it was a fun experiment. 2020-09-18 21:28:36 -06:00
dahall ad3189ebb5 Added missing EnumeratorToEnumVariantMarshaler for .NET Core 2020-09-17 20:28:49 -06:00
dahall a77811c848 Added overload for ConnectToConnectionPoint for optional last param and fixed attributes. 2020-09-16 19:30:44 -06:00
dahall 82e0d01f8a Fixed attributes on IShellView.GetItemObject 2020-09-16 19:30:05 -06:00
dahall 0e25c534b3 Added DISPID constants to ShlDisp and updated dependent interfaces 2020-09-16 19:29:31 -06:00
dahall da963a8115 Fixed bug in marshaler for LSA_UNICODE_STRING under X64 that caused alignment error and failure on all calls. Thanks @ryannewington for identifying the problem and where to fix it (#169). 2020-09-14 17:17:20 -06:00
dahall bde637b8d3 Fixed condition in HRESULT.FormatMessage that fails when MUI file couldn't be found. 2020-09-14 17:15:23 -06:00
dahall 7a4e9e136e Extended SOCKADDR explicit cast to SOCKADDR_IN6 so that if represented by a v4 IP address, it will convert it to IPV6 before casting. 2020-09-14 10:26:46 -06:00
dahall 4fea35cd9e Added SIZEOF_SOCKET_ADDRESS_LIST macro.
Added conversions from SOCKADDR_IN to SOCKADDR_IN6.
Added SOCKET_ADDRESS_LIST.Pack to convert structure to a packad memory
2020-09-12 12:10:44 -06:00
dahall 27b2cd3f37 Added methods to convert from IN_ADDR to IN6_ADDR 2020-09-12 11:58:16 -06:00
dahall 30a5cfc806 Changed SOCKET_ADDRESS_LIST[] references to IntPtr or void**. 2020-09-12 11:54:33 -06:00
dahall 70a9c278d2 Changed SafeDRT_DATA fields to properties. 2020-09-10 10:37:16 -06:00
dahall a2bdc5cdf1 Exposed fields for SafeDRT_DATA and added implicit operator to DRT_DATA. 2020-09-10 10:14:34 -06:00
dahall dabe7bcd84 Added methods to assist with memory alignment. 2020-09-10 10:11:58 -06:00
dahall bb3b113d3c Added missing Crypt32 constants, fixed field types in CERT_INFO and CERT_PUBLIC_KEY_INFO, added CERT_RDN_ATTR and CRYPT_BIT_BLOB, added predefined values to SafeOID 2020-09-09 17:46:28 -06:00
dahall 765495260a Added Null field to SafePCCERT_CONTEXT 2020-09-09 17:44:11 -06:00
dahall f05c744b36 Fixed signature on CryptSignAndEncodeCertificate and CryptSignCertificate and added Null field on SafeHCRYPTKEY 2020-09-09 17:43:48 -06:00
dahall 4f4b7e6670 Added Null fields to SafeHCRYPTHASH and SafeHCRYPTPROV 2020-09-09 17:42:33 -06:00
dahall 9fbc0a1750 Added SafeDRT_DATA to DRT 2020-09-09 17:41:42 -06:00
dahall e191ceabeb Added SafePSID.FromToken and PSID.GetDomainSid methods 2020-09-08 10:40:57 -06:00
dahall 2f50f9250f Added missing constants and macros related to SID size. 2020-09-08 10:40:19 -06:00
dahall d506f79d22 Updated project files 2020-09-07 11:05:38 -06:00
Tony Hallett baea58dd9c
correct shell folder type controlpanelcategory (#166) 2020-09-07 08:28:47 -06:00
dahall 2e55d57a29 Adding missing enums PER_CONN_AUTODISCOVERY_FLAGS and PER_CONN_FLAGS 2020-09-03 19:27:21 -06:00
dahall 18490a91d6 Updated fuction attributes for SHLoadIndirectString for better marshaling 2020-09-03 12:47:23 -06:00
dahall af3b7b1abc Added missing FOLDERID items 2020-09-03 10:51:51 -06:00
dahall 1f52c4aaf0 Removed warning messages 2020-09-03 10:51:23 -06:00
dahall b83d09aec7 Merge branch 'master' of https://github.com/dahall/Vanara 2020-09-02 08:10:46 -06:00
Tony Hallett 028c169700
Add known folder 3D Objects (#164) 2020-09-02 07:22:01 -06:00
dahall 0da3f27dff Optimized some expressions 2020-09-01 14:01:09 -06:00
dahall b97b8d995d Updated project files after adding DRT and PeerDist libs 2020-08-31 16:57:29 -06:00
dahall 7b44c23bda Added DRT.dll library 2020-08-31 16:55:50 -06:00
dahall 3085b7d412 Added new property keys for Recycle Bin (#162) 2020-08-31 10:43:21 -06:00
dahall abcc1e276d Removed duplicates 2020-08-30 21:14:24 -06:00
dahall 0469e26f83 Initial PeerDist.dll implementation 2020-08-30 21:11:35 -06:00
dahall bd6189ef54 Updated project files for 3.2.15 release 2020-08-30 15:13:44 -06:00
dahall c3676aa036 Final changes to P2P files before release 2020-08-30 13:04:42 -06:00
dahall fc0cf16ba2 Redid the enumeration function in p2p 2020-08-29 10:47:05 -06:00
dahall 005c158ecc More P2P changes/additions 2020-08-28 16:49:21 -06:00
dahall 4cb3f3b75a Added service Guids 2020-08-28 14:39:30 -06:00
dahall 8859b714c5 Updated P2P functions to be more usable 2020-08-28 14:35:20 -06:00
dahall d214434cda Initial implementation of P2P.dll 2020-08-26 21:04:19 -06:00
dahall 16cf142959 Fixed doc error 2020-08-26 21:02:09 -06:00
dahall bd7f55f460 Fixed #158 with errors with IServiceProvider definition causing faults in ExplorerBrowser 2020-08-26 14:51:08 -06:00
dahall 2e240f5434 For WNetEnumResources helper method, added better error handling, set initial buffer to page size, and fixed bug in loop 2020-08-23 12:56:08 -06:00
dahall 17cc37f622 Added parameter attributes and Win32Error.WNetThrowIfFailed extension method and assoc exception 2020-08-23 12:54:12 -06:00
dahall b92ae7b922 Fixed incorrect parameters being passed to NetDfsSetClientInfo and NetDfsSetInfo 2020-08-23 12:46:59 -06:00
dahall 37d8521a9d Updated project files for 3.2.14 2020-08-20 09:28:06 -06:00
dahall 8d875a0010 Completed initial work on DbgHelp library that also includes ImageHlp.dll functions 2020-08-19 20:55:22 -06:00
dahall 78ce3ad034 Buildable update checkin of DbgHelp code 2020-08-16 16:01:35 -06:00
dahall ad40568425 More work on dbghelp 2020-08-15 11:34:13 -06:00
dahall 4a14a25d1c New DbgHelp lib addition - check-in 2020-08-07 12:37:42 -06:00
dahall 435b843080 Added `IntPtr SendMessage<TEnum, TWP>(HWND hWnd, TEnum msg, TWP wParam, IntPtr lParam = default)` 2020-08-06 17:15:12 -06:00
dahall 51716e2898 Addressed #155 by adding GetMonitorInfo overload that accepts MONITORINFOEX 2020-08-06 12:52:15 -06:00
dahall f1c1ef8317 Changed WIN_CERTIFICATE.bCertificate from IntPtr to byte 2020-08-05 10:39:49 -06:00
dahall ca4a401713 Added User32 EnumChildWindows and GetChildWindow methods 2020-08-05 10:39:03 -06:00
dahall bbdded72b8 Fixed description 2020-08-05 10:38:00 -06:00
dahall 7c96ee01d0 Added overloads for DialogBox and DialogBoxParam that take ResourceId params instead of strings. 2020-07-30 14:38:17 -06:00
dahall 501902104c Further enhancements to matrices 2020-07-30 14:37:38 -06:00
dahall 3c2309311f BREAKING CHANGE: Corrected invalid WindowStyles.WS_SIZEFRAME changing to WS_THICKFRAME 2020-07-29 17:58:20 -06:00
dahall 95d7300c3e Added CreateWindow "macro". BREAKING CHANGE: Corrected GetClientRect to have 'out rect' param rather than by ref. 2020-07-29 17:32:29 -06:00
dahall f9f07c8ba6 Added class StandardCursor with values IDC_xx for LoadCursor 2020-07-29 17:29:32 -06:00
dahall 01a98c1a24 Added missing WindowStyles values 2020-07-29 17:28:46 -06:00
dahall a8ddf31a3b Added some missing constants to Magnification.cs 2020-07-29 17:28:19 -06:00
dahall d7f382e5f2 Added initial methods and structures for Magnification.dll 2020-07-28 15:40:32 -06:00
dahall 8450971eb2 Added LoadCursor overload with ResourceId param 2020-07-28 12:46:08 -06:00
dahall 205d536cda Changed errant IpHlpLib fields from FILETIME to SYSTEMTIME per #154 2020-07-28 07:39:29 -06:00
dahall 1852865842 Renamed UdbMib.cs to UdpMib.cs to match .h file name 2020-07-28 07:37:35 -06:00