Commit Graph

1722 Commits (e97896fda6a5ff8e1c3b8c04029f076d6a7426a7)

Author SHA1 Message Date
dahall 5af855aeb2 Added helper functions to WINDOWPOS to help when using it with LPARAM values. 2022-03-02 15:05:34 -07:00
dahall a1df4c77a8 Added ABN and ABS enums to ShellApi 2022-03-01 13:09:35 -07:00
dahall a78b280178 Added further XML docs to Shell32.ABM 2022-03-01 11:06:03 -07:00
NN 95328a6fd0
Lower System.ValueTuple version dependency. (#280) 2022-02-28 11:54:43 -07:00
dahall f12deb2ec2 Updated WinHTTP for usability 2022-02-28 07:45:08 -07:00
dahall 459e14f224 Fixed WINHTTP_CURRENT_USER_IE_PROXY_CONFIG so it exposed pointers which can be freed. 2022-02-27 14:46:01 -07:00
dahall d38a1d955e PR 2022-02-25 12:08:43 -07:00
NN 83f899a665
Correct alignment for WTSINFO and WTSINFOEX. (#279)
Thanks for your replies. I'm convinced. I'll merge. Thanks for your input and contributions.
2022-02-25 11:13:16 -07:00
dahall 56606c032a Fixed incorrect struct layout for WTSINFO (#278) 2022-02-24 15:57:43 -07:00
dahall 667ab7cdad Updated project files 2022-02-23 11:55:19 -07:00
dahall a94476f5d1 Added WinHTTP assembly 2022-02-22 19:41:15 -07:00
dahall 0a7fe3d60e Added `tcp_keepalive` struct to Ws2_32 2022-02-22 19:40:50 -07:00
dahall f7f5bb07ee Fixed SecPkgContext_IssuerListInfoEx size and added extraction property 2022-02-22 19:40:09 -07:00
dahall bc5693900c Added elements from mstcpip.h to Ws2_32 2022-02-15 16:00:51 -07:00
dahall f525d30ba2 Corrected APPBARDATA structure layout to address #276 2022-02-12 11:24:23 -07:00
dahall 57c2216e4c Added Antimalware assembly (AMSI) with supporting unit test and wrapper class in Vanara.SystemServices, AntimalwareScan. 2022-02-10 11:16:09 -07:00
dahall b669932c57 Removed code and conditionals for obsolete target frameworks. 2022-02-07 14:58:09 -07:00
dahall d9f00186b0 Removed support for .NET 2.0, 3.5, 4.0 and 4.5, .NET Core 2.0, 2.1, and 3.0 since all are or shortly will be out of support. Added support for .NET 4.6.2 and 4.8. 2022-02-07 14:35:37 -07:00
dahall edde531d3b Added Usp10 (Uniscribe) assembly. 2022-02-05 15:42:54 -07:00
dahall 1ae596bd92 Added Vanara.PInvoke.Ime32 assembly 2022-01-31 20:53:20 -07:00
dahall e01892ab88 Updated project files and assembly docs 2022-01-23 14:04:24 -07:00
dahall ad56116e87 Lots of work to make using IDataObject and the clipboard more stable and usable. Added Get/Set extension methods for IDataObject. Added attributes to clipboard formats to help reading. Added formatters to process clipboard types. Fixed bugs in ShellDataObject and NativeClipboard. 2022-01-22 15:35:37 -07:00
dahall 90831ea16f Changed SafeMoveableHGlobalHandle.ctor(IntPtr...) method to not accept size and rather extract it using GlobalSize 2022-01-22 15:31:55 -07:00
dahall 0b3ac8d87a Prevented #269 by addeding documentation and removing [Optional] attribute on final param for SHChangeNotify. 2022-01-18 06:28:50 -07:00
dahall c3078b052b Updated project files with 3.4.0 changes 2022-01-17 17:15:18 -07:00
dahall 5f52aa7820 Added SafeMoveableHGlobalHandle class and added support to locking memory to all memory classes. 2022-01-16 17:22:34 -07:00
dahall 03b9c6e9fc Fixed #268 2022-01-15 09:39:37 -07:00
dahall bd707099f8 Merge branch 'master' of https://github.com/dahall/Vanara 2022-01-14 07:33:18 -07: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 62326772d4 Moved WinForms extension from Gdi32 to new Windows.Extensions project 2022-01-13 12:15:07 -07:00
dahall 656c6d2b02 More tweaks to allow for Shell.Common and Shell.Windows to work along with unit tests 2022-01-11 18:13:44 -07:00
dahall 65f846483d Removed as many references to System.Drawing as possible 2022-01-06 18:15:15 -07:00
dahall 5e108d65fd Change IDropTarget Point parameters to POINT 2022-01-06 15:35:40 -07:00
dahall 34c31238fd Fixed docs for IShellLinkW.GetHotKey 2022-01-06 15:10:22 -07:00
dahall f86a38b113 Applied new lang constructs to CLIPFORMAT 2022-01-06 15:09:53 -07:00
Mark Lechtermann 8ca58cc2c8
TYPEFLAGS changed to uint (#267) 2022-01-06 08:54:05 -07:00
dahall b061162730 Added POINT struct to Vanara.PInvoke and optimized RECT and SIZE structures. 2022-01-05 10:53:54 -07:00
dahall 25feb73e7a Normalized use of ComCtl32, Gdi32, and User32 references in Shell32 2022-01-04 15:30:20 -07:00
dahall 92c8ab945b Updated NuGet packages 2022-01-04 15:28:43 -07:00
dahall 1b3fd2b14b Removed 'windows' platform indicators from TargetFrameworks 2022-01-04 15:27:39 -07:00
dahall e15ee53a0a Removed dependencies on WinForms and WPF for Gdi32 and User32 assemblies. This forced the removal of extension methods to convert HBITMAP and HICON to System.Windows.Media.Imaging.BitmapSource. 2022-01-04 07:27:12 -07:00
dahall fe9fa528cf Removed Gdi32 dependency from Ole project 2021-12-30 13:52:47 -07:00
dahall 87f9f53590 Potentially Breaking Change: Moved TEXTMETRIC, LOGPALLETTE, PALLETTEENTRY, and PC from Gdi32 to Shared project to remove dependencies on Ggi32 by other projects (e.g. Ole). 2021-12-30 13:52:04 -07:00
dahall 7026a893f9 Removed PackageReference details for .NET 5 and 6 projects with System.Drawing.Common. 2021-12-29 10:16:04 -07:00
dahall b9614e7eb2 Rolled version to 3.4.0 and added support for .NET 6.0 2021-12-27 16:34:25 -07:00
dahall e0fc40dac4 Updated project files for VSS 2021-12-27 09:30:43 -07:00
dahall 2eddeabf2c More updates and unit tests for VSS (still not ready) 2021-12-27 09:20:57 -07:00
dahall 3863d931a0 Fixed IEnumFromCom change that broke elements without default construtors. 2021-12-27 08:36:41 -07:00
dahall 8807c2c497 Fixed example in XML text 2021-12-27 08:35:51 -07:00
dahall 52af822dfd Fixed #262 and adjusted other functions in ICreateTypeInfo to include enums. 2021-12-26 20:01:14 -07:00
dahall b003cb62c1 Merge branch 'master' of https://github.com/dahall/Vanara 2021-12-20 10:51:23 -07:00
dahall 8a2335ea21 Updated IEnumFromCom to support intialized (new) items so it covers structures and classes. 2021-12-20 10:51:04 -07:00
dahall 1f6085122f Added Shell notify icon messages (#260) 2021-12-20 10:49:58 -07:00
Andre Gleichner 9e9f26d927
Fixing wrong size of IMAGEHLP_MODULE64.ModuleName; see https://docs.microsoft.com/en-us/windows/win32/api/dbghelp/ns-dbghelp-imagehlp_modulew64 (#256) 2021-12-20 09:47:45 -07:00
dahall 1cbfdefb5b Updated project files 2021-12-12 21:19:43 -07:00
dahall ce721c9185 Update documentation and static class names for VSS 2021-12-12 13:35:57 -07:00
dahall 79703bd285 Fixed project and solution so VssApi builds correctly for .NET 5.0 2021-12-12 12:57:23 -07:00
dahall b7e26fcfd7 Moved VssApi (C#) project to new directory and project name of VssApiMgd. Added C++/CLI project for VssApi wrappers named VssApi. 2021-12-12 10:39:49 -07:00
dahall f7620793fc Changed VssApi to VssApiMgd and removed auto package build 2021-12-12 10:24:06 -07:00
dahall db415107d7 Updated documentation 2021-12-12 10:23:13 -07:00
dahall 75a4110f04 Fixeds, updates and additions to VssApi 2021-12-12 10:03:59 -07:00
dahall 012034f883 Removed erroneous add of IBackgroundCopyJob6 2021-12-10 17:30:24 -07:00
dahall fb64311e4d * Changed IBackgroundCopyJob.SetNotifyInterface parameter to IBackgroundCopyCallback instead of Object
* Added new interfaces from v10.1, 10.2 and 10.3: IBackgroundCopyFile6, IBackgroundCopyJobHttpOptions2, IBackgroundCopyJobHttpOptions3, and IBackgroundCopyServerCertificateValidationCallback
2021-12-10 17:18:05 -07:00
dahall cb5aeed8c3 Fixed missing size in HeapAlloc, HeapReAlloc, and SafeHHEAP.GetBlock (#258) 2021-12-10 08:59:45 -07:00
dahall eb338abbc2 Made changes to address #255. Untested. 2021-11-22 07:48:41 -07:00
dahall 2307a2ba7d Added WindowStylesEx.WS_EX_NOREDIRECTIONBITMAP (#254) 2021-11-13 10:21:57 -07:00
dahall 69a790f48c Fixed issue #253 2021-11-11 17:48:43 -07:00
dahall 959355cc09 First pass at fixing bug with `AVICOMPRESSOPTIONS` functions (#253) 2021-11-11 13:28:20 -07:00
dahall 2152ff4bea Added VssApi assembly with all interop ready interfaces and functions. This is only partially viable as some of the methods return pointers to C++ classes which are not accessible in managed code. 2021-11-11 13:03:22 -07:00
dahall 22ec8ba85c Finished fixing AuthzReportSecurityEventFromParams. BREAKING CHANGE: removed SafeAUTHZ_SOURCE_SCHEMA_REGISTRATION as all functionality was possible by marshaling AUTHZ_SOURCE_SCHEMA_REGISTRATION correctly. 2021-11-09 16:13:04 -07:00
dahall 03bd938b7c Work on fixing and enabling Audit log writes using AuthzReportSecurityEvent and AuthzReportSecurityEventFromParams. The prior is now fully working. (#251) 2021-11-09 13:16:27 -07:00
dahall 0cbf6e4041 Added `IStorageProviderCopyHook` per request #252 2021-11-08 11:34:17 -07:00
dahall d758ac35d4 Corrections to 3.3.14 documentation 2021-10-26 07:34:54 -06:00
dahall 34580ccf7f Updated project files for 3.3.14 2021-10-25 21:49:50 -06:00
dahall 3f64f6d9d4 Added new functions from Win11 2021-10-25 18:35:13 -06:00
dahall 18bce70ded Added new Win11 methods from Kernel32 and KernelBase 2021-10-25 17:28:58 -06:00
dahall 53bc6b1adc Added new timestamp functions introduced in Win11. 2021-10-25 12:22:38 -06:00
dahall 510454c5e9 Added new DNS functions introduced in Win11 (DnsGet/SetApplicationSettings) 2021-10-25 11:22:40 -06:00
dahall b4c96c6572 Added OSVersion enum value for Win11 2021-10-25 11:22:22 -06:00
dahall 612f854e74 Added extension methods for lookups and SendCommand 2021-10-24 15:30:43 -06:00
dahall ad55249b81 More fixes and extension methods for WPD 2021-10-21 13:27:10 -06:00
dahall defe982391 Changed Pack attribute on SILO_INFO 2021-10-21 13:25:50 -06:00
dahall b41f166b7b Fixed attribute 2021-10-19 20:11:21 -06:00
dahall 64f1744325 Fixed passing of PROPVARIANT params in IPortableXX interface methods 2021-10-19 18:27:45 -06:00
dahall e161345fff Added IPortableDeviceManager extension methods 2021-10-19 18:24:02 -06:00
dahall 7667a26c16 Updated NuGet dependencies 2021-10-19 07:52:18 -06:00
dahall d2069e2712 Added EnhancedStorge and PortableDeviceAPI (WPD) assemblies (untested) 2021-10-18 17:03:14 -06:00
dahall ab711014fa Merge branch 'master' of https://github.com/dahall/Vanara 2021-10-13 20:08:52 -06:00
dahall e30db79692 Fixed XML comment 2021-10-13 20:07:01 -06:00
dahall 0a9baa43be Added missing constants from lmaccess.h 2021-10-13 20:06:38 -06:00
Mantas 93bfa9dbac
Fix MIB_TCP_STATE enum wrapper (#250)
https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-rrasm/882bec9c-2fb6-4acd-a9b6-dabcab1ac0d6
2021-10-13 10:15:16 -06:00
dahall cbb9ddc313 Added Ole32.IPersistPropertyBag interface 2021-10-08 16:54:30 -06:00
dahall 5326e35571 Added GetProcAddress methods to SafeHINSTANCE 2021-10-08 09:20:54 -06:00
dahall 12d1fcba0e Added GetModuleHandleEx overload for an address 2021-10-07 17:35:56 -06:00
dahall 25d13b5cbc Added SafePSID.Authority and SubAuthorities properties and mirrored extension methods for PSID. 2021-10-07 15:22:32 -06:00
dahall 2157b5feaf Reformatting 2021-10-07 15:19:18 -06:00
dahall cc495e80f5 Added IEquatable support to SID_IDENTIFIER_AUTHORITY and PSID_IDENTIFIER_AUTHORITY 2021-10-07 15:18:30 -06:00
dahall 1632570deb Updated SafePSID.FromToken to use generic GetInfo. 2021-10-07 10:33:44 -06:00
dahall dec201c90a Added extension methods HTOKEN.GetIntegrityLevel, PSECURITY_DESCRIPTOR.GetIntegrityLevel, PACE.GetAceType.
Made PACE.GetSide more robust.
2021-10-07 10:32:41 -06:00
dahall 126dffdfeb Added MANDATORY_LEVEL enum. 2021-10-07 10:29:48 -06:00
dahall 7c1740ddca Code cleanup of SecurityBaseApi.cs and addition of generic GetTokenInformation overload. 2021-10-07 10:29:13 -06:00
dahall 5dd166ae15 Extracted WinNTExtensions into its own file and added PACL.GetAce and PACL.EnumerateAces extension methods. 2021-10-06 17:36:40 -06:00
dahall 59197de397 Fixed XML comments 2021-10-05 21:14:58 -06:00
dahall 3387e66fd7 Fixed errors that should have been caught in last commit 2021-10-05 19:16:10 -06:00
dahall 5142457526 Added KERNEL_USER_TIMES to NtDll 2021-10-05 18:36:23 -06:00
dahall a4295468a6 Removed duplicate entries in Rpc project file 2021-10-05 18:35:52 -06:00
dahall 65230d8eac Updated and fixed attributes for appmodel.h functions, adding GetPackageFullName function. 2021-10-05 15:43:16 -06:00
dahall a51a9e7f17 Added GetInfo, SetInfo, ReadMemeory and WriteMemory process extension methods.
Fixed PROCESS_INFORMATION_CLASS values and types.
2021-10-04 21:20:07 -06:00
dahall 2daa1b7cd9 Added intefaces to UrlMon: IAuthenticate, IAuthenticateEx, IBindHost and IPersistMoniker 2021-10-04 15:55:45 -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 d0cdc29543 Added SafePSECURITY_DESCRIPTOR.ToString(SECURITY_INFO) overload 2021-10-04 15:52:15 -06:00
dahall 59bcb46044 Updated project files for 3.3.13 release 2021-09-30 13:39:42 -06:00
dahall 3f0e9f0798 Fixed XML comment error 2021-09-30 13:29:30 -06:00
dahall 2251e5d7b1 Added methods and interfaces for File History -- tests still failing 2021-09-30 12:14:05 -06:00
dahall c70f8bc29b Added Wireless Ad Hoc interfaces to WlanApi assembly. 2021-09-29 17:52:16 -06:00
dahall f33d7e4c1c Pulled out dot1x.h structs and enums into Dot1x.cs 2021-09-29 09:47:47 -06:00
dahall a52ea804ca Changed const params in SHCreateDefaultContextMenu, SHCreateShellFolderView and SHCreateShellFolderViewEx from `ref` to `in`. 2021-09-21 12:16:18 -06:00
dahall 523d1c72b1 Added param attributes to StrRetToXX methods. 2021-09-21 11:13:53 -06:00
dahall f28c7c3d8b Fixed bug in `SafeProcThreadAttributeList.Create` (#249) 2021-09-20 09:32:34 -06:00
dahall 1307ad6eac Added SHCIDS constants 2021-09-20 08:54:58 -06:00
dahall 9b1468c2ee Added ability to set a COLORREF by using a tuple (e.g. `COLORREF c = (255,255,0);`) 2021-09-18 15:47:10 -06:00
dahall 035b847b74 Added Shell32.IDeskBand and supporting types 2021-09-18 15:46:16 -06:00
dahall 3688234304 Fixed usings 2021-09-18 15:45:38 -06:00
dahall 3aad8218c6 Added missing constants and CLSID for component category registration. 2021-09-18 15:44:56 -06:00
dahall a0c1e82962 Fixed parameter and field types for User32 mouse functions (#248) 2021-09-09 07:31:58 -06:00
dahall b9315ea2bc Added Rtl*Heap functions 2021-09-02 08:05:21 -06:00
dahall 840e3029a8 Cleaned and optimized heapapi.h code 2021-09-02 08:04:42 -06:00
dahall e3ec9d17d7 Updated documentation for NOTIFYICONIDENTIFIER and added constructors. 2021-09-01 11:07:30 -06:00
dahall e886259eef Updated `SafeAnysizeStruct` so an `IntPtr` field can be used for the array size. 2021-09-01 11:05:57 -06:00
dahall ce52a9efe8 Updated project file 2021-08-29 16:31:18 -06:00
dahall a29af2185b Adjusted SystemEventHandler after removing BasicMessageWindow events 2021-08-29 15:07:27 -06:00
dahall 1c15f088f2 Removed BasicMessageWindows events (not relevant) and fixed some null handle potential 2021-08-29 15:06:40 -06:00
dahall 57ec94851a Added Kernel32.MoveableHGlobalMemoryMethods class (from Vanara.Windows.Shell) 2021-08-29 15:04:37 -06:00
dahall 517de67a6a Updated project files for 3.3.12 2021-08-26 10:59:15 -06:00
dahall d52b0d5b18 Updated NuGet package dependencies 2021-08-26 09:05:27 -06:00
dahall 5132c0249b Changed HFILE to implement ISyncHandle 2021-08-25 12:03:23 -06:00
dahall 192229cd62 Fixes related to issue #244 2021-08-25 11:28:05 -06:00
dahall f6db705f87 Made adjustments to WinCon to address #244 2021-08-19 20:52:56 -06:00
dahall 6a5f6fc4e7 Fixed documentation 2021-08-18 17:23:52 -06:00
dahall f28f2ebd76 Added Flags attribute to DROPEFFECT and UPDFCACHE 2021-08-18 17:02:55 -06:00
dahall 476b02ba21 Added SystemEventHandler.MessageWindowHandleCreated event 2021-08-17 13:02:39 -06:00
dahall 561400a001 Added BasicMessageWindow.HandleCreated and HandleDestroyed events. 2021-08-17 12:54:16 -06:00
dahall e693b4b11e Added CorrespondingType attributes to StandardClipboardFormat values. 2021-08-17 11:07:23 -06:00
dahall d5c62d1dfc Fixed #243 2021-08-17 08:37:25 -06:00
dahall b55d22bf28 Renamed PInvoke\NTDll to PInvoke\NtDll to match NuGet package (#243) 2021-08-17 08:28:56 -06:00
dahall cbf30e24ad Renamed NtDll files to match NuGet package name 2021-08-17 08:18:49 -06:00
dahall 3a9a4eb929 Fixed misspelling in FILEDESCRIPTOR.nFileSize 2021-08-15 19:02:13 -06:00
dahall 345701e654 Added assembly for CimFs library 2021-08-05 16:00:36 -06:00