Commit Graph

441 Commits (e378e1f7e23cace420cda53a5b6698973391c14d)

Author SHA1 Message Date
David Hall 0f1acd2276 Moved registry hive values to HKEY 2019-01-16 08:06:31 -07:00
David Hall 4b7912fdbc Added overload for IShellItem to SHAddToRecentDocs 2019-01-16 07:29:59 -07:00
David Hall 7e13acf8ec Change params on SHGetValue and added overload 2019-01-15 21:10:07 -07:00
David Hall fc0ba33edb Added CLSID_ApplicationDestinations coclass 2019-01-15 21:09:36 -07:00
David Hall 3396a78577 Fixed marshaling issues in IShellWindows 2019-01-15 14:24:45 -07: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 11be447a06 Added IFileIsInUse 2019-01-15 12:18:26 -07:00
David Hall 3da3c81694 Added INVALID_HANDLE_VALUE to HFILE 2019-01-15 12:17:37 -07:00
David Hall f3d1ac9e9c Fixed IConditionFactory2::CreateCompoundFromArray method 2019-01-14 21:18:03 -07:00
David Hall c3eb52cece Added IShellFolderViewDual interface 2019-01-14 21:17:12 -07:00
David Hall f62e002b0f Added IShellWindows interface 2019-01-14 21:16:48 -07:00
David Hall 8fa7d0aafa Changed project versions to 2.1.3 2019-01-14 14:46:49 -07:00
David Hall 75f1950057 Added IConditionFactory2 2019-01-14 14:44:42 -07:00
David Hall c91a9fae67 Made Show() HWND parameters optional 2019-01-14 14:44:10 -07:00
David Hall fbd6873fe4 Updated project info for 2.1.2 2019-01-14 10:43:58 -07:00
David Hall 0d4cc9befc Added shell clipboard structures 2019-01-14 09:21:49 -07:00
David Hall 3237d333e5 Added helper methods for SHCreate.. methods 2019-01-13 14:58:58 -07:00
David Hall f6c9d9c9d0 Added improved types and constructors 2019-01-13 14:58:38 -07:00
David Hall 2da25331d2 Fixed problems with some Shell interfaces 2019-01-11 18:05:27 -07:00
David Hall 886539dba7 Added DrawViaDIB for drawing on transparent backgrounds 2019-01-10 07:36:44 -07:00
David Hall 5df9ec9d46 Added NamespaceWalker coclass 2019-01-09 14:08:24 -07:00
David Hall 14c4a4660d Added IParentAndItem 2019-01-08 23:16:43 -07:00
David Hall 2da542b8c6 Added INamespaceWalk and supporting elements 2019-01-08 23:16:27 -07:00
David Hall 1e16ceed27 Updated copyright and PackageTags formatting in project files 2019-01-07 15:00:20 -07:00
David Hall 9fe4a53014 Fixed IKnownFolderManager.GetFolderIds extension method 2019-01-06 19:03:05 -07:00
David Hall 62f0bb02ef Added IFolderView2.TryGetItem extension method. 2019-01-06 19:02:12 -07:00
David Hall 0cd10a80ae Added COM marshaling functions 2019-01-06 19:01:39 -07:00
David Hall 8a9f412eec Added helper extension method for IKnownFolderManager.GetFolderIds 2019-01-06 13:20:05 -07:00
David Hall 8623205679 Added generic helper methods for all interface methods that get a COM interface by specifying its IID. 2019-01-06 11:57:14 -07:00
David Hall 9c7a434c75 Added IColumnManager and IResultsFolder and supporting enums and structs 2019-01-05 15:50:53 -07:00
David Hall c896add638 Changed retval params to return values 2019-01-04 23:02:58 -07:00
David Hall bc213657d1 Changed retval params to return value 2019-01-04 21:01:34 -07:00
David Hall 606b5f1278 Updated project files for 2.1.2 2019-01-04 17:32:32 -07:00
David Hall 0f725183f0 Added basic support for Windows Search 2019-01-04 15:19:49 -07:00
David Hall 76fa7e0eac Added IFolderView and IFolderView2 COM interfaces 2019-01-03 13:48:06 -07:00
David Hall 1716c7a5b5 Changes to IOleCommandTarget's method signatures to fix interop issues. Overhaul of OLECMDTEXT to make it function better as a value passed to the method instead of being creatable. 2019-01-03 10:52:07 -07:00
David Hall 5e154985a0 Modified IExplorerBrowserEvents so that PIDL parameters are passed at IntPtr 2019-01-03 07:59:44 -07:00
David Hall b35d873906 Changed project versions to 2.1.2 2019-01-02 20:30:36 -07:00
David Hall 26bae2952e Fixes for implementable shell interfaces 2019-01-02 20:29:52 -07:00
David Hall 1c0f7ef865 Enhancements and fixes for #27.
BREAKING CHANGE: GetWindowLong and SetWindowLong now require WindowLongFlags value instead of a uint. There was no reason to leave open.
2019-01-02 11:36:48 -07:00
David Hall 4356d92c71 Changed project versions to 2.1.1. 2018-12-17 11:45:32 -07:00
David Hall 9b5410c766 Refactored the SendMessage functions across the projects 2018-12-17 11:44:28 -07:00
David Hall eb902e4595 Fixed build errors and warnings due to XML comments and obsolete license reference in project files. 2018-12-15 13:44:33 -07:00
David Hall 94b8fe0ffe Improved project file references 2018-12-15 09:01:43 -07:00
David Hall 1042b528db Accepted changes to #26 and reformatted code 2018-12-14 16:25:25 -07:00
David Hall 478929c533
Merge pull request #26 from GreatFireWall/master
Add 'Task<TOut?> DeviceIoControlAsync<TIn, TOut>(HFILE hDevice, uint ioControlCode, TIn? inVal)'
2018-12-14 16:19:03 -07:00
David Hall 53df4ac64a Modified projects to support .NET Core 2.0 and 2.1 2018-12-14 15:10:31 -07:00
David Hall 8d0813cd51 Changed netstandard20 to netstandard2.0 in all project files to comply with updated MS preferences 2018-12-14 13:07:18 -07:00
iFeng Huang 6bf69058c6 Add 'Task<TOut?> DeviceIoControlAsync<TIn, TOut>(HFILE hDevice, uint ioControlCode, TIn? inVal)' for instead of 'DeviceIoControlAsync<TIn, TOut>(HFILE hDevice, uint ioControlCode, TIn? inVal, TOut? outVal)'. 2018-12-14 23:09:48 +08:00
David Hall c6451bf9b3 Updated version to 2.1.0 to indicated addition of Theraot.Core as a dependency. 2018-12-11 11:34:44 -07:00
David Hall 33b358033d Updated project information to version 2.0.1 and signed all assemblies. 2018-12-07 13:53:39 -07:00
David Hall 42e70bd89c Further additions, corrections and tests for PInvoke.Cryptography 2018-12-05 12:38:06 -07:00
David Hall bf429350de Completed BCrypt functions 2018-12-04 13:56:08 -07:00
David Hall 5503912e5c More work on NCrypt and added TokenBinding 2018-12-04 10:12:24 -07:00
David Hall 0a7b5f82bf Added NCrypt to PInvoke.Cryptography 2018-12-03 18:07:06 -07:00
David Hall 2940c75b29 Reorganized files 2018-12-03 17:21:45 -07:00
David Hall 62c8b4487b Removed Crypt32 project 2018-12-03 16:11:20 -07:00
David Hall 02c8dbaeda Moved Crypt32 files into Cryptography project 2018-12-03 16:07:11 -07:00
David Hall 0b0223659f Added PrivateKeyType enum 2018-12-03 15:14:39 -07:00
David Hall 1e344ff174 Renamed PInvoke.BCrypt to PInvoke.Cryptography 2018-12-03 14:37:25 -07:00
David Hall 15d7de5390 Further work on BCrypt 2018-12-03 14:16:24 -07:00
David Hall 7cd2e23aca Added BCrypt.dll library 2018-12-02 12:19:31 -07:00
David Hall 0df22f6299 Added hints for missing fuctions to Crypt32 project 2018-12-02 12:19:21 -07:00
David Hall ef801b11a9 Added conversion methods 2018-12-02 12:18:50 -07:00
David Hall fed13f093c Updated project files for 2.0.1 2018-11-30 14:34:07 -07:00
David Hall 3dff214bad Cleaned files - no code changes 2018-11-30 14:09:03 -07:00
David Hall 8dedaa78da Merge branch 'master' of https://github.com/dahall/Vanara 2018-11-30 14:01:17 -07:00
David Hall e2cd46fcfa Finished adding all methods and structures from NTDSApi. All tested except those that cause changes to ADSI since I have no domain to test on. 2018-11-30 14:01:11 -07:00
iFeng Huang 1c8cb0c1cc BeginDeviceIoControl expose an interface that using byte[] as input/output parameter.
Add xml doc.
2018-11-30 16:31:51 +08:00
iFeng Huang fa4441f8b7 DeviceIoControlAsync expose an interface that using byte[] as input/output parameter. 2018-11-30 16:02:13 +08:00
David Hall 8a1355b0af Updated comments 2018-11-28 12:33:55 -07:00
David Hall cb9bcbcad8 Fixed header for GetSystemTimeAdjustmentPrecise 2018-11-28 08:55:29 -07:00
David Hall d434ec4527 Updated project files for 2.0 release 2018-11-28 08:53:23 -07:00
David Hall f6b7c3892d Added new Win10 functions 2018-11-28 08:53:05 -07:00
David Hall 9112d0b634 Fixed bug with Equals method 2018-11-28 07:46:19 -07:00
David Hall 465066bd91 Cleaned 2018-11-28 07:44:44 -07:00
David Hall 5f1fb41382 Added DsBindByInstance 2018-11-28 07:44:24 -07:00
David Hall cc2405986a Fixed known GUID string format 2018-11-28 07:43:21 -07:00
David Hall de61f90621 Fixed problems with TypeConverter 2018-11-27 12:05:17 -07:00
David Hall 88489e84bd Applied fixes from @GreatFireWall to BeginDeviceIoControl 2018-11-27 12:04:46 -07:00
David Hall d90bc7ec42 Bug fixes and cleanup for PROPVARIANT 2018-11-27 12:02:37 -07:00
David Hall c5467dfb7e Another 2.0 major commit. All tests working. 2018-11-19 21:18:50 -07:00
David Hall 627c6d2314 2.0 Checkin - Buildable 2018-10-26 12:24:07 -06:00
David Hall 99e041749c Added SSPI functions in Secur32.dll 2018-09-30 15:37:25 -06:00
David Hall bfd2730324 Changed project builds to use latest C# minor version 2018-09-27 09:46:40 -05:00
David Hall 07b35daee3 Updated projects to version 2.0.0 2018-09-21 23:28:01 -06:00
David Hall 138accc380 MAJOR BREAKING CHANGES: Fundamentally changed how HANDLEs are represented and used. Much better type safety now that all handles derive from HANDLE and disposing instances are all noted by a SafeHxxx name. Solves problem with circular references and random IntPtr parameters. 2018-09-21 22:35:34 -06:00
David Hall aa20a8520a New User32 functions for hooks, keyboards and window properties. 2018-09-19 14:18:08 -06:00
David Hall 46d20def8b Updated project files with updated stats 2018-09-19 06:54:43 -06:00
David Hall d1f31b4154 Added many more User32 functions for cursors, desktop, menu and monitors. 2018-09-19 06:53:36 -06:00
David Hall e5ffd0e2e9 Documentation fixes 2018-09-15 21:46:45 -06:00
David Hall 96917ae0f3 BREAKING CHANGE: Moved combobox, edit and scrollbar messages, styles and notifications to User32_Gdi project to make consistent with header files. 2018-09-15 21:46:17 -06:00
David Hall eafedaf5b5 Many User32.dll functions added (clipboard, icons, dialogs, windows) 2018-09-15 16:39:50 -06:00
David Hall 98b9365cdd BREAKING CHANGE: Moved button messages, styles and notifications to User32_Gdi project to make consistent with header files. 2018-09-15 15:38:02 -06:00
David Hall e1ab4ee39b Minor tweaks. 2018-09-13 18:18:14 -06:00
David Hall fd817b538e Changed MIB_IPPROTOCOL to MIB_IPFORWARD_PROTO to align with header file. Added lots of documentation. 2018-09-13 18:16:28 -06:00
David Hall 6602bdf12c Updated project information for 1.1.0 2018-09-10 16:56:45 -06:00
David Hall efc3f33173 Completed functions in IpHlpApi found in NetIOApi.h 2018-09-10 16:55:05 -06:00
David Hall dcfb8cfc4f Added GetHashCode, ToString and implemented IEquatable<T>, IComparable<T>, and IConvertible for SizeT 2018-09-10 15:51:11 -06:00
David Hall 8e71fc3d6e Added a few functions for NtDll 2018-09-10 15:49:11 -06:00
David Hall 1f54ff7c9c Added ImpersonateLoggedOnUser. 2018-09-05 07:31:39 -06:00
David Hall 9456a166ba Added more functions and refactored into separate files. 2018-09-04 22:25:18 -06:00
David Hall d0b5af2479 Updated documentation 2018-09-04 19:10:48 -06:00
David Hall fe45d80854 Due to significant breaking changes related to the removal of conversion operators from GenericSafeHandle to IntPtr, changed version to 1.1.0. 2018-09-04 13:47:00 -06:00
David Hall fc3ebba322 Replaced numerous IntPtr calls to SafeSecurityDescriptor. 2018-09-04 13:43:41 -06:00
David Hall bbc22f6646 Changed calls from conversion operator to DangerousGetHandle for all GenericSafeHandle derivatives. 2018-09-04 13:42:49 -06:00
David Hall 6c2d04b25c Fixed SafeHandle references. 2018-09-04 12:10:31 -06:00
David Hall d219c93e7f Major rework to ConvertSecurityDescriptorToStringSecurityDescriptor and ConvertStringSecurityDescriptorToSecurityDescriptor to include SafeHandles and automatic marshaling. 2018-09-04 12:09:56 -06:00
David Hall cb6b39b449 Added SEC_xx enum for allocation flags 2018-09-04 12:07:20 -06:00
David Hall 47c5a94497 Updated more SafeHandles 2018-09-04 12:06:48 -06:00
David Hall 4f061faa74 Fixed signature problem with GetProcessHeaps. Replaced IntPtr references with appropriate SafeHandles. 2018-09-04 12:06:22 -06:00
David Hall 6b1ed53536 Made conversion operator from GenericSafeHandle to IntPtr explicit to minimize unintended conversions (#12) and updated all affected functions, including fixing those affected by unintended consequences. 2018-09-04 12:04:25 -06:00
David Hall 1532bc461f Merge branch 'master' of https://github.com/dahall/Vanara 2018-09-04 08:19:33 -06:00
Konstantin Sharon ea2f5b0126 Add IntPtr overload for CreateProcess and CreateProcessAsUser 2018-09-04 09:53:25 +03:00
David Hall 6fafeaf0b9 Adding 2 byte packing to LSA_UNICODE_STRING 2018-08-30 16:06:36 -06:00
David Hall 6dd91de7c4 Changed PHANDLER_ROUTINE return value to BOOL 2018-08-30 16:05:39 -06:00
David Hall 180a010d96 Added NTDLL project 2018-08-29 12:56:26 -06:00
David Hall 00ba4639f0 Finished adding all PROVARIANT related functions 2018-08-24 13:14:24 -06:00
David Hall 5301e3420f Added POINTS structure (Point with short coordinates) 2018-08-24 10:51:09 -06:00
David Hall 568a778d6c Added all PSPropertyBag_XX methods 2018-08-24 10:50:40 -06:00
David Hall 7c43233b34 Fixed PROPERTYKEY to use updated PSGetNameFromPropertyKey method params 2018-08-23 15:09:26 -06:00
David Hall 2a784fc617 Updated documentation 2018-08-23 15:00:02 -06:00
David Hall d0085b8dd9 Added FILETYPEATTRIBUTES enum and moved other enums to same file as requiring interfaces 2018-08-23 11:04:35 -06:00
David Hall 6f2cf06964 Added remaining PSxx functions, IPropertyStoreFactory and IDelayedPropertyStoreFactory 2018-08-23 11:03:23 -06:00
David Hall 0f476165ca Updated all versions to 1.0.19 2018-08-18 21:37:35 -06:00
David Hall 411b857d01 Revert "Revert "BREAKING CHANGE: Removed ResourceId and ResourceIdUni as they pose a major risk for memory leaks. Updated dependent structures PROPSHEETPAGE and TASKDIALOGCONFIG with IntPtr and supporting properties.""
This reverts commit a454d5055d.
2018-08-18 19:38:27 -06:00
David Hall a454d5055d Revert "BREAKING CHANGE: Removed ResourceId and ResourceIdUni as they pose a major risk for memory leaks. Updated dependent structures PROPSHEETPAGE and TASKDIALOGCONFIG with IntPtr and supporting properties."
This reverts commit 733e30b868.
2018-08-18 19:33:40 -06:00
David Hall 733e30b868 BREAKING CHANGE: Removed ResourceId and ResourceIdUni as they pose a major risk for memory leaks. Updated dependent structures PROPSHEETPAGE and TASKDIALOGCONFIG with IntPtr and supporting properties. 2018-08-18 19:33:00 -06:00
David Hall db679de068 Internal resource manifest to go with ComCtl32v6Context 2018-08-18 19:29:56 -06:00
David Hall da51936290 Added simple activation context for ComCtl32.dll v6. 2018-08-18 19:29:13 -06:00
David Hall 2ca24b47b1 Fixed marshaling directives on PathFindOnPath 2018-08-17 07:40:53 -06:00
David Hall 09fdb204fa BREAKING CHANGE: Changed class name of NetSecApi to Secur32 so that it matches the project rule of naming the class after the DLL. 2018-08-17 07:40:15 -06:00
David Hall 631ea1be4a CryptXX method stub 2018-08-17 07:38:58 -06:00
David Hall 75c59640c3 Added PathCchXX methods to Kernel32 2018-08-17 07:38:29 -06:00
David Hall 012e2e7b4e Added CredXX methods to AdvApi32 2018-08-17 07:38:07 -06:00
David Hall 0dd2c15672 Corrected parameter problem in CredUIReadSSOCred 2018-08-17 07:24:45 -06:00
David Hall 1ee6873cc7 Updated documentation 2018-08-14 11:02:20 -06:00
David Hall 3d5f828a4b Added documentation 2018-08-13 21:46:45 -06:00
David Hall 44776560ce Completed registry related functions and RegistryEventMonitor component to listen for registry changes. 2018-08-13 21:29:07 -06:00
David Hall 0bf090b5b3 Replaced all references to SECURITY_ATTRIBUTES class with direct calls. Classes are already passed by reference. 2018-08-13 15:05:37 -06:00
David Hall f844f6a8f2 Updated projects for 1.0.18 release 2018-08-10 11:54:21 -06:00
David Hall b9f2b152b8 Completed work on all functions from shlwapi.dll 2018-08-10 09:47:22 -06:00
David Hall 13e3259f8b Completed additional of all methods and supporting elements to Kernel32 2018-08-07 17:23:17 -06:00
David Hall 4ff39de15f Added missing XML comments 2018-07-31 07:10:20 -06:00
David Hall 5d5d22cf67 Updated project files for 1.0.17 2018-07-30 17:26:53 -06:00
David Hall 8a6d47887f Updated documentation 2018-07-30 17:24:36 -06:00
David Hall 46176b22fd Added documentation and corrected interfaces that are to be implemented by clients so they have PreserveSig. 2018-07-30 15:54:24 -06:00
David Hall d48759b7c9 Moved IObjectArray and collection into separate file along with documentation 2018-07-30 15:52:23 -06:00
David Hall dd64445572 Added/updated shell progress dialog interface variants along with documentation. 2018-07-30 15:51:51 -06:00