Commit Graph

1863 Commits (539188be976d249d4c46b7d59596f67fe1d6f476)

Author SHA1 Message Date
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
dahall df344844bf Updated and ran tests for CldApi after changes for #241 2021-08-04 13:20:49 -06:00
dahall 30a5fa2d72 Added USN type with correct mapping (long for LONGLONG instead of int) and corrected all references in structures and functions. #241 2021-08-03 09:34:29 -06:00
dahall e504a40d84 Updated User32.INPUT structure for better usability, changed UIntPtr fields to IntPtr in a few structures and functions, added VK_* constants. 2021-08-02 09:58:54 -06:00
dahall 9d33eb2942 Updated project files 2021-07-21 18:37:05 -06:00
dahall 310abdae6f More work on WinBio lib. Still buggy. 2021-07-21 17:16:20 -06:00
dahall a0da03387d Added winsock2 select function (#239) 2021-07-20 07:54:12 -06:00
dahall 39e8c12643 Added WinBio functions and corrected structures -- only partially tested 2021-06-25 16:33:04 -06:00
dahall 3f8ebec9be Changed all dll references to lowercase to avoid new .NET 5 behavior (fixes #235) 2021-06-24 11:14:34 -06:00
dahall c701bff372 Updated project files 2021-06-19 12:57:37 -06:00
dahall c60440332e Completed addition of all functions to Multimedia project 2021-06-19 08:48:33 -06:00
dahall c1dad78b72 Renamed MmeApi.cs to MmeApi.aux.cs 2021-06-18 18:59:56 -06:00
dahall 2c1c56a78b More updates from mmeapi.h and timeapi.h 2021-06-18 18:57:52 -06:00
dahall 179a2e0928 Added NtCreateProcess(Ex) methods to NtDll (#233) 2021-06-17 07:02:29 -06:00
dahall fcd288c72d Added functions and constants from joystickapi.h and mmsyscom.h to Multimedia 2021-06-16 21:44:12 -06:00
dahall ebd58d2834 Added functions from mmiscapi.h to Vanara.PInvoke.Multimedia 2021-06-16 16:39:30 -06:00
dahall 2199dce833 Added IC, MCI and cap functions to Vanara.PInvoke.Multimedia 2021-06-16 11:52:33 -06:00
dahall 55458a86fe Updated project files for 3.3.10 2021-06-03 20:12:24 -06:00
dahall 58411f09fd Fixed more problems with FCI functions and delegates 2021-06-03 19:52:45 -06:00
dahall 20bdf64790 Added SafeHANDLE.ReleaseOwnership method to extract handle from safe handle so it is not closed on disposal. 2021-06-03 19:52:26 -06:00
dahall 4bfb89c728 Fixed params for FDI delegates 2021-06-03 10:51:28 -06:00
dahall 7b671d2b9a Fixed XML docs 2021-06-03 10:51:12 -06:00
dahall c1f2225efb Updated project files for 3.3.10 release 2021-06-02 20:57:31 -06:00
dahall fcbe78dfde More additions of IC* functions from vfw.h 2021-06-02 20:25:31 -06:00
dahall 84539aae26 More Cabinet updates 2021-06-02 19:36:07 -06:00
dahall bc6d5ddff0 Fixes to Cabinet assembly based on #232 issue and @IllidanS4. Many of which are BREAKING CHANGES. 2021-06-01 12:50:42 -06:00
dahall 8ff2f9595b More updates and fixes to virtual disk assemblies 2021-06-01 11:53:58 -06:00
dahall 5343dfe277 Updated SafeBITMAPINFO 2021-05-31 21:46:12 -06:00
dahall ecdd314dff FIxes and improvements to PInvoke.VirtDisk (some breaking changes) and Vanara.VirtualDisk (chaged Enabled to ResilientChangeTrackingEnabled to avoid confusion). 2021-05-31 21:45:26 -06:00
dahall 50c6b13781 BREAKING CHANGES: Worked over functions related to BITMAPINFO adding attributes, creating overloads and changing 'ref' params to 'in' params where immutable. Needed because these functions often could fail due to poor processing of the structure. 2021-05-29 08:09:03 -06:00
dahall 46c8e028a7 Added parameter attributes 2021-05-29 08:06:43 -06:00
dahall 4f5f070161 Added related structures for BITMAPINFO and new SafeBITMAPINFO class to handle various incarnations 2021-05-29 08:05:47 -06:00
dahall 5b22a156f0 Fixed #230 by changing all import library references from Kernelbase to Psapi for functions defined in psapi.h. This allows the functions to work on all versions of Windows. 2021-05-26 09:46:28 -06:00
dahall 23f1e4c995 Removed unnecessary folder include directive 2021-05-24 12:12:26 -06:00
dahall 04efba5ec1 Backed out changes re: SafeEventHandle from HEVENT 2021-05-24 12:11:55 -06:00
David Hall 62e2922e74 Initlal changes to support CoreAudio and Multimedia assemblies together 2021-05-22 23:34:53 -07:00
David Hall ebc6285808 Fixed WAVEFORMATEX layout 2021-05-22 23:34:17 -07:00
David Hall bd43c2c000 Added SafeEventHandle to HEVENT implicit operator 2021-05-22 23:32:45 -07:00
dahall 97a973c6e5 Buildable check-in of new UNFINISHED and UNTESTED Multimedia assembly. 2021-05-14 13:07:29 -06:00
dahall fb9aa91326 Updated project files for Lz32 2021-05-10 14:53:03 -06:00
dahall 7728a900c6 Added Lz32 assembly with all functions from lzexpand.h. 2021-05-10 14:44:48 -06:00
dahall c68f6bb5a0 Extracted OFSTRUCT from Kernel32 to Shared and changed fFixedDisk field to `bool`. 2021-05-10 14:44:06 -06:00
dahall cdb901f92b Updated project files for TextServicesFramework with correct function info 2021-05-10 10:28:39 -06:00
dahall 96e3aef5fc Modified structure fields to make blittable 2021-05-08 17:34:15 -06:00
dahall 7a73572e23 Fixed #228 by adjusting field type of `Vanara.PInvoke.CryptUI.CRYPTUI_WIZ_IMPORT_SRC_INFO.CRYPTUI_WIZ_IMPORT_SRC_INFO_UNION.pwszFileName` to blittable `StrPtrUni` 2021-05-08 08:32:35 -06:00
dahall 7ea275cc7a Final project updates for 3.3.9 2021-05-07 12:27:00 -06:00
dahall 737426fcbf Updated project files to include CfgMgr32 2021-05-05 20:41:02 -06:00
dahall 27c00f8281 Final update on CfgMgr32 functions 2021-05-05 20:34:12 -06:00
dahall 56de5f0c91 Added DEVPROPKEY.TryGetReadOnly method to look at read-only flag. 2021-05-05 19:40:46 -06:00
dahall d3d6119f3a Added actions to DEVPROPKEY corresponding type info 2021-05-05 19:39:27 -06:00
dahall b920b3e02c Completed adding functions from swdevices.h to CfgMgr32 2021-05-03 07:06:52 -06:00
dahall 91b5875b60 Added missing structures from SetupAPI's devpropdef.h. 2021-05-03 07:06:24 -06:00
dahall a954e70b5a Added swdevices.h methods and fixed solution build 2021-05-02 22:26:22 -06:00
dahall c4e2e367f6 Update Cfgmgr32 project file 2021-05-02 21:58:11 -06:00
dahall b80e72d7dd More work on CfgMgr32 2021-05-02 21:52:39 -06:00
dahall ef9ad5c169 Added DEVPROPTYPE.GetObject extension methods 2021-05-02 21:50:37 -06:00
dahall a934a84a82 Added DEVPROPKEY.LookupName and ToString methods 2021-05-02 21:49:52 -06:00
dahall ee23296bfd Added GUID_DEVINTERFACE_* constants 2021-05-02 21:49:11 -06:00
dahall 058dbc4568 More functions to CfgMgr32 2021-04-28 21:15:22 -06:00
dahall 351eb31a53 More functions added to CfgMgr32 2021-04-28 16:56:02 -06:00
David Hall 874696c0ef Added more CM_ funcs 2021-04-28 14:00:11 -06:00
dahall 4433536bfe Added assembly for Text Services Framework 2021-04-27 10:44:17 -06:00
dahall 2ea499979c Fixed #226 by correcting layout and marshaling for WlanSetFilterList and DOT11_SSID 2021-04-26 18:03:45 -06:00
dahall 89f5605f65 Updated project files 2021-04-26 10:16:34 -06:00
dahall e3b3447094 Adjusted use based on IEnumFromCom changes 2021-04-21 16:40:44 -06:00
dahall 5ffefe1d94 Fixed build warnings 2021-04-21 16:40:25 -06:00
dahall 1be2db704d Extracted and fixed IEnumFromCom 2021-04-21 15:33:28 -06:00
dahall 011b3011d2 Improved error handling. 2021-04-20 19:26:05 -06:00
dahall e71d7949ca Fixed bug in IEnumFromCom<TItem> single object constructor 2021-04-20 19:16:22 -06:00
dahall cc4f1adc02 Updated LCID with LANGID parts 2021-04-14 12:52:08 -06:00
dahall 47499fb9ad Added LANGID structure 2021-04-14 12:04:13 -06:00
dahall b5acf30b53 Moved LCID to WinNT folder where it belongs 2021-04-14 12:03:20 -06:00
dahall 47a5bcf608 Added CfgMgr32 assembly (#222) with initial requested functions 2021-04-11 21:18:25 -06:00
dahall fec3fcbbe0 Fix #223 due to INPUT alignment problem 2021-04-11 20:27:45 -06:00
dahall 3e1596ba7f Updated project files with updates 2021-04-07 13:27:08 -06:00
dahall 62aa360cc3 Added default param to ThrowLastErrorIf method 2021-04-06 12:46:45 -06:00
dahall 4dc0871047 Added generic Win32Error.ThrowLastErrorIf method 2021-04-06 12:44:00 -06:00
dahall 20ac23de3c Updated XML documentation for IMAPI 2021-04-05 20:23:18 -06:00
dahall e0462e6adf Added optional parameter overloads for SetFilePointer, SetFilePointerEx 2021-04-05 20:03:42 -06:00
dahall 51d5a32970 Fixed missing brace 2021-04-05 09:53:45 -06:00
dahall aab989639c Fixed a number of interfaces in SearchApi that had properties in wrong order which caused memory access violations 2021-04-05 09:34:52 -06:00
Thorsten Jung b071867262
Initial commit of Vanara.Windows.Shell.ShellBrowser (#221)
* Fix typo in folder name

* Initial commit of ShellBrowser, as of 01-Apr-21

* Fixing brainbug
2021-04-02 09:04:25 -06:00
dahall 3c2229908a Updated and fixed more IMAPI stuff 2021-04-02 09:01:23 -06:00
dahall dbec5d0507 Enhanced and fixed IMAPI interfaces 2021-03-29 20:56:36 -06:00
dahall 5b6db2cfe6 Added Vanara.PInvoke.IMAPI (Image Mastering API) assembly 2021-03-28 16:35:57 -06:00
dahall e47f7c883c Updated project files for 3.3.7 2021-03-23 21:47:43 -06:00
dahall dd0ba29025 Fixed Vanara.PInvoke.Accessibility after TFM removal 2021-03-23 21:27:32 -06:00
dahall 8d47b13def Tested and fixed SafeUNICODE_STRING class 2021-03-23 15:59:06 -06:00
dahall 36934136a2 Added HPROCESS.IsWow64() extension method 2021-03-23 15:58:33 -06:00
dahall 7fd053045f Cleaned, updated all parameter attributes and added overloads where required (#220), added marshaler to handle strings replacing UNICODE_STRING 2021-03-23 12:25:04 -06:00
dahall e6e2045a07 Separated out UNICODE_STRING structures and functions and added a SafeUNICODE_STRING class that abstracts process specific memory access and layout. 2021-03-23 12:21:29 -06:00
NN 28822bab9e
Use explicit framework reference. Remove transitive TFM requirement. (#212)
Co-authored-by: NN <NN---@users.noreply.github.com>
2021-03-23 07:26:03 -06:00
dahall a91e30bad3 Updated project support files 2021-03-18 21:10:12 -06:00
dahall f3fdc9880a Added Windows Connect Now (wcnapi) assembly 2021-03-18 17:33:06 -06:00
dahall 24c81732f4 Added Function Discovery API assembly 2021-03-18 17:32:31 -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 49c63e7207 So many bug fixes and improvements to SAFEARRAY and assoc functions. Fixed parameters on a number of functions, added function overloads for simpler parameter passing, fixed bug in SAFEARRAYBOUND.ctor, added many methods to SafeSAFEARRAY to make it more like `System.Array` and more interoperable. 2021-03-18 15:38:48 -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 c8d0a78c92 Fixed READ_USN_JOURNAL_DATA.FirstUsn type per #215. 2021-03-18 14:36:55 -06:00
dahall d1eac05783 Fixed ISearchRoot. IDL has property methods in put/get order instead of get/put and wrapping them in properties does not seem to allow that order. 2021-03-08 20:06:32 -07:00
dahall 8aa4e7d96e Updated package descriptions with briefer syntax 2021-03-07 11:24:58 -07:00
dahall 3e00f2743c Updated referenced NuGet package versions 2021-03-07 11:15:52 -07:00
dahall abcfd5a862 Documentation fixes 2021-03-07 11:15:18 -07:00
dahall 29a2dfbb3b Adjusted completion port references to IntPtr 2021-03-07 11:14:51 -07:00
dahall 9d7ffcf4f4 Change all IO completion keys to IntPtr instead of UIntPtr -- they need to interchange with HANDLE types almost always. 2021-03-06 18:54:56 -07:00
dahall 034b6793e6 Changed INVALID_SET_FILE_POINTER a UInt32 to match SetFilePointer output type. Changed unsafe overload of ReadFIle to have all pointer params. Added SetFilePointer overload taking uint values as params. 2021-03-06 18:53:34 -07:00
dahall c5075f648b Made implicit conversion to HANDLE work from SafeHandle instead of SafeHANDLE 2021-03-06 18:51:17 -07:00
dahall 524cb82c2b Added parameter attributes to CreateFileMapping variants 2021-03-05 16:26:50 -07:00
dahall b895c05a54 Fixed ambiguity problems with changes to DuplicateHandle. Rolled back some of them. 2021-03-04 11:57:55 -07:00
dahall b92976fad4 Fixed bug in last commit 2021-03-04 11:41:40 -07:00
dahall 50aa5a06e1 Added generic CloseHandle and DuplicateHandle methods to better support IKernelHandle and SafeKernelHandle instances. 2021-03-04 10:57:31 -07:00
dahall 042cf8573c Added equality operators for IHandle and IntPtr to SafeHANDLE. 2021-03-04 10:56:29 -07:00
dahall 483d76df37 Changed return value of OpenFileById from IntPtr to SafeHFILE 2021-03-02 07:55:51 -07:00
dahall 540cad3daf Truncated desc for Kernel32 project to avoid 35K char limit 2021-03-01 15:38:37 -07:00
dahall a361530d5a Merge branch 'master' of https://github.com/dahall/Vanara 2021-03-01 15:07:26 -07:00
dahall fb5f44738e Updated project files for 3.3.5 2021-03-01 15:07:01 -07:00
Matt Haynie 63f7a1d201
Create WinBase.File.cs (#213)
MAX_PATH is not a hard limit on the maximum length of a file path. Using Windows 10, I have a file path that is ~378 chars long, and an exception is thrown in the local method AddCap because the code attempts to increase the size of the StringBuilder beyond the 261 chars that was specified in the constructor. This change just removes the hard upper limit cap on that length.
2021-02-28 18:57:02 -07:00
dahall d7eeb1ca06 Usability updates to CldApi functions. 2021-02-24 14:25:56 -07:00
dahall b6f76552ca Fixed ambiguity with changes to PostQueuedCompletionStatus 2021-02-18 17:36:09 -07:00
dahall 7ce8ade62d Added over 100 new structures supporting control codes and DeviceIoControl 2021-02-18 15:34:42 -07:00
dahall 4a4184ab87 Added COMPRESSION_FORMAT enum 2021-02-18 14:26:23 -07:00
dahall a90a8d2687 Added non-opaque SID structure 2021-02-18 14:25:48 -07:00
dahall b151b82e06 Added parameter attributes and DeviceIoControl overload that takes no input or output params. 2021-02-18 14:25:21 -07:00
dahall 2d538b6cf7 Replaced GetLogicalDriveStrings with overloaded methods not using StringBuilder. 2021-02-18 14:24:03 -07:00
dahall 87664c5f97 Added AnySizeStringMarshaler<T> which is an IVanaraMarshaler implementation to handle structures where the last field is a single character string array. Also added ability to use "*" as field name to indicate that string or array length should be determined by the amount of allocated memory. 2021-02-18 14:22:59 -07:00
dahall f13930bd63 Added Vanara.PInvoke.RstrtMgr project/assembly with Restart Manager functions. 100% complete. 2021-02-11 15:39:40 -07:00
dahall fa63350031 Updated project files for 3.3.4 2021-02-11 13:33:26 -07: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 bf1cbcf3ca Improved parameter attributes and overloads for CreateWindowEx and GetClassInfoEx 2021-02-08 15:33:07 -07:00
dahall 03cb7bdda6 Fixed issues with BasicMessageWindow that caused creation failures and WndProc call failures. 2021-02-08 15:31:59 -07:00
dahall 6c4a37655b Added `WindowClass` to ensupsulate information about a window class. 2021-02-08 15:30:54 -07:00
dahall 6d7fd73bba Added IContextCallback (#209) 2021-02-08 09:19:12 -07:00
dahall c2c75a461e Updated project files for 3.3.3 release 2021-02-03 14:49:55 -07:00
dahall d1e856c448 Added MiniDumpWriteDump overload and fixed test (thanks @NN) 2021-02-03 14:49:31 -07:00
dahall c57e42274d Fixed missing XML build warnings 2021-02-03 13:59:26 -07:00
dahall 978f339457 Changed DbgHelp to have Version dependency and moved all types to correct files based on header name 2021-02-03 13:57:49 -07:00
dahall c6ef5c216b Added Vanara.PInvoke.Version project will all functions 2021-02-03 13:56:25 -07:00
dahall 302e0af192 Moved VerRsrc structures and enum to new Version assembly 2021-02-03 12:33:40 -07:00
dahall 5d33dc9a44 Fixed access problem in minidump 2021-02-03 08:59:07 -07:00
dahall 9464dbd4fa Added `MiniDumpWriteDump` and supporting structs #204 2021-02-03 08:41:28 -07:00
dahall 2a38e34ae5 Added missing XML documentation 2021-02-01 16:26:16 -07:00
dahall 967389e246 Removed all calls to `Marshal.ReleaseComObject` where there exists a possibility that the interface could have been referenced by another object and changed to nulling the holding variable. See discussion thread #188. 2021-02-01 16:08:43 -07:00
dahall 4ad9cc77e2 Updated project files with 3.3.3 info 2021-02-01 13:23:54 -07:00
dahall 72e792928f Fixed XML comment problems 2021-02-01 09:08:31 -07:00
dahall 51ff0fc1a8 Completed work for WSMan, including enhanced definitions for the IWSMan set of interfaces. 2021-01-31 20:26:21 -07:00
dahall eaeb31a11d Added missing ReportIScsiTargetPortals function 2021-01-30 15:25:41 -07:00
dahall 77138c965b Fixed layout problem with MIB_UDP6ROW_OWNER_MODULE (#189) 2021-01-30 10:26:50 -07:00
dahall 9ee04bca80 Completed all functions for SetupAPI 2021-01-30 09:25:37 -07:00
dahall 06a42c155c Reverted HBITMAP.ToBitmap() extension to just call Image.FromHBITMAP to avoid flipping until addressed (#202) 2021-01-29 14:47:34 -07:00
dahall a6d225b6b8 Updated project files with `ImportWindowsDesktopTargets` feature to prevent NETSDK1136 build error (#200) 2021-01-26 07:49:48 -07:00
dahall 2be07af49a Fixes to NtQueryInformationProcess to compensate for bitness issues between processes. #123 2021-01-25 17:04:16 -07:00
dahall adc4a814b2 Added addition PROCESSINFOCLASS values from ProcessHacker and PInvoke.net 2021-01-25 12:12:41 -07:00
dahall 5ba1e9d7b5 Added UNICODE_STRING.ToString(HPROCESS hProc) method 2021-01-25 12:11:56 -07:00
dahall adf48e9d4f Added CreateWindowEx overload taking IntPtr for class name 2021-01-24 18:58:58 -07:00
dahall 3109a2ebbf Fixed disposal bug in BasicMessageWindow 2021-01-24 18:58:16 -07:00
dahall 93efa5648e Added `Macros.MAKEINTATOM` function 2021-01-24 18:57:43 -07:00
dahall aff898c849 Changed Win32Error.GetLastError to use function from Kernel32 instead of Marshal.GetLastError to improve speed. 2021-01-24 18:55:49 -07:00
dahall 4a55c16fee Update project files for release 2021-01-21 10:17:30 -07:00