Commit Graph

740 Commits (ddbdbb011df87cfe8de7f4081863cfac60e73475)

Author SHA1 Message Date
David Hall 7bbbec2d4e Fixed incorrect storage of ANSI string arrays 2019-06-09 09:59:44 -06:00
David Hall cb45d9fef7 Finally fixed all the FormatMessage code 2019-06-09 09:59:21 -06:00
David Hall 422ab0a7dd Updated project files for 2.8.11 release 2019-06-07 20:42:41 -06:00
David Hall bec657fdad Improved WINTRUST_DATA implementation 2019-06-07 20:32:25 -06:00
David Hall de311c6bf1 Added WinTrust.dll assembly and project. 2019-06-07 19:04:21 -06:00
David Hall 45a356f601 Fixed un-blittable structures 2019-06-07 12:49:14 -06:00
David Hall da8b40b1b9 Corrected more blittability problems 2019-06-07 11:51:47 -06:00
David Hall 68775cdb5b Fixed overlap issue with WAITCHAIN_NODE_INFO 2019-06-07 11:04:53 -06:00
David Hall 10b3aee029 Fixed comments, moved ToString content to DebuggerDisplay attribute where more apprpriate., corrected overlap and blittability problems with structures, add SafeLSA_UNICODE_STRING claass to deal with mem allocations. 2019-06-07 11:04:18 -06:00
David Hall 4b2ad79ab1 Added implicit conversion from PSID to SafePSID which copies the underlying content 2019-06-07 11:01:44 -06:00
David Hall b8564c6984 Fixed overlap problems with INSTALLSPEC 2019-06-07 11:01:03 -06:00
David Hall e27a4042c1 Fixed comments 2019-06-07 11:00:32 -06:00
David Hall eaa0dd74d3 Fixed #55 by converting array to values (all reserved/unused so change shouldn't affect anyone) 2019-06-06 09:58:43 -06:00
David Hall 138412c3a4 Fixed problem with CREDENTIAL layout, added managed equivalent and fixed CredEnum #54 2019-06-04 16:01:09 -06:00
David Hall f59831bc2c Updated project files for 2.3.10 2019-06-04 12:18:56 -06:00
David Hall 61a8280071 Added LCID wrapper 2019-06-04 12:17:03 -06:00
David Hall 5ee2b906b7 Completed work on AdvApi32 2019-06-04 12:16:41 -06:00
David Hall c8cb9a29d7 Completed work on Wait Chains (wct.h) 2019-05-30 19:07:04 -06:00
David Hall ca8fcb7bf5 Added remainder of AdvApi32 Windows service management functions and provided .NET native security access functions and classes. 2019-05-30 13:37:31 -06:00
David Hall 9ca4cf1720 Added winefs.h functions 2019-05-27 19:40:40 -06:00
David Hall 58716021f7 Added Audit functions 2019-05-27 19:40:21 -06:00
David Hall f046f68ad2 Added SafePSID.CreateWellKnown factory method 2019-05-27 19:39:40 -06:00
David Hall dfda94ba24 Separated Audit functions into separate file 2019-05-27 19:39:00 -06:00
David Hall c801a5137a Added SafePACL 2019-05-27 19:38:27 -06:00
David Hall 9c1381f682 Added CertEncodingType 2019-05-27 19:38:00 -06:00
David Hall ddf0c5f0a6 Changed UInt32 to ACCESS_MASK where appropriate 2019-05-27 19:37:44 -06:00
David Hall 101a7b949e Added overload per #53 2019-05-26 09:50:56 -06:00
David Hall f30cdaf468 Added overload per #52 2019-05-26 09:50:40 -06:00
David Hall a7b33578f7 Added ability to support .NET Core and Standard 2019-05-25 20:49:57 -06:00
David Hall 0b83c0a914 Updated projects for version 2.3.9 2019-05-25 19:47:54 -06:00
David Hall c5dec3b510 Removed Windows Search interfaces 2019-05-25 19:47:22 -06:00
David Hall 6e81310eb6 Added Windows Search assembly 2019-05-25 19:46:56 -06:00
David Hall 0771f6b30d Added Windows Accessibility 2019-05-25 19:46:21 -06:00
David Hall 80c83d88d3 Added FOLDERLOGICALVIEWMODE 2019-05-25 19:45:00 -06:00
David Hall 70542ff101 Fixed ISearchCatalogManager2 2019-05-24 14:48:09 -06:00
David Hall e51da313f3 Added Windows Search support interfaces and code 2019-05-24 14:44:44 -06:00
David Hall 9e30668679 Added ICondition2 2019-05-24 14:44:15 -06:00
David Hall 824afbc907 Added helper functions 2019-05-24 14:44:02 -06:00
David Hall 4021b16101 Added lock and layout interfaces 2019-05-24 14:43:19 -06:00
David Hall be34118b68 Moved code around 2019-05-24 14:42:29 -06:00
David Hall c11860bf0c Fixed documentation 2019-05-24 14:42:05 -06:00
David Hall a127151135 Added IEnumFromCom to specialize IEnumFromNext for COM enum interfaces 2019-05-24 14:39:49 -06:00
David Hall 06b70ca748 Solution changes to support new Accessibility project 2019-05-23 11:09:43 -04:00
David Hall 116000593d Added Accessibility functions in new Accessibility project 2019-05-23 11:08:04 -04:00
David Hall 9e25dfe47b Fixed structure alignment bug (#50) in Debug Api calls. 2019-05-21 23:19:07 -04:00
David Hall da3d9d27b9 Updated project information for 2.3.8 2019-05-13 14:55:44 -06:00
David Hall de5426a305 Added and corrected a number of methods and supporting types for Secur32.dll 2019-05-13 14:46:57 -06:00
David Hall e263b567f1 Added SecPkg structures 2019-05-13 14:44:36 -06:00
David Hall 49b489d4be Cleaned up code on marshalers 2019-05-13 14:43:03 -06:00
David Hall 0d8984a840 Added safe pointer parameter to SspiPromptForCredentials 2019-05-13 14:42:34 -06:00
David Hall d48adda2ed Added support for Schannel.dll 2019-05-09 18:41:38 -06:00
David Hall d69470a78a Added partially documented LogonUserExExW 2019-05-09 17:42:36 -06:00
David Hall de44ab8d50 Added ALG_ID and CERT_TRUST_STATUS 2019-05-09 15:57:55 -06:00
David Hall e8f1611fb8 Added Schannel and SspiCli references 2019-05-09 15:57:00 -06:00
David Hall 8d211da1de Fixed bugs on Insert and array set methods 2019-05-09 15:56:31 -06:00
David Hall 3eccb98a50 Added CreateBindCtx method in ShellUtil and migrated existing code to use it 2019-05-08 18:58:46 -06:00
David Hall c5eb2544ec Added IBindCtx (as IBindCtxV) to support newer options and better structure. 2019-05-08 12:49:33 -06:00
David Hall 136340947c Fixed sizing of LSA_UNICODE_STRING 2019-05-08 09:30:53 -06:00
David Hall f5ad3f0755 Extracted SafeNativeArrayBase from SafeNativeArray that allows for a different memory manager to be used and enhances/fixes the ability to insert a header before the array. 2019-05-08 09:30:06 -06:00
David Hall 9f0708719a Added BIND_FLAGS enum 2019-05-08 09:26:02 -06:00
David Hall 56f517d6e9 Updated project information for 2.3.8 2019-04-30 08:00:06 -06:00
David Hall 769d045df2 More security additions (advapi32, secur32) 2019-04-30 07:59:38 -06:00
David Hall 01ae59e0c8 Final tested work on Authz functions 2019-04-29 11:31:13 -06:00
David Hall 69da011101 Converted dwDesiredAccess param type to ACCESS_MASK on OpenProcess and OpenThread 2019-04-29 11:30:33 -06:00
David Hall 58f0175592 Converted ACCESS_MASK from an enum to a struct so that it can be used universally to signify an access mask. 2019-04-29 11:29:50 -06:00
iFeng Huang bdd9f1abda Fix "DeviceIoControlAsync(HFILE hDev, uint ioControlCode, byte[] inputBuffer, byte[] outputBuffer) outputBuffer no response data" issue. 2019-04-27 02:36:20 +08:00
David Hall 539f56d373 Untested: Complete translation of all Authz and Secur32 functions and structs 2019-04-25 14:40:23 -06:00
David Hall 0cc1d914d0 Updated project files for 2.3.7 release 2019-04-24 08:48:29 -06:00
David Hall 27ab71a4f9 Complete addition of all functions and structures in IpHlpApi.dll with testing 2019-04-24 08:37:19 -06:00
David Hall 0d536c9436 Added new functions and structures from winsock2 2019-04-24 08:36:35 -06:00
David Hall 25502eb898 Work to harden and extend functionality of CallMethodWithTypedBuf 2019-04-24 08:28:58 -06:00
David Hall 348fc7b7f7 Added class to handle linked list of native structures in memory 2019-04-24 08:28:18 -06:00
David Hall 0383068abe Added documentation and protected constructor to allocate just raw memory 2019-04-24 08:27:31 -06:00
David Hall 8770bc4bae Updated documentation, added mem-zeroing on array set 2019-04-24 08:26:50 -06:00
David Hall 2fff530939 Added static FromException method 2019-04-24 08:25:33 -06:00
David Hall 6531317528 Completed functions for IpHlpApi. Moved some structures into different files. 2019-04-18 20:39:42 -06:00
David Hall dbdcdd2107 Added default size getter and shortened version to CallMethodWithTypedBuf 2019-04-18 20:38:45 -06:00
David Hall 26f843a69c Updated project data 2019-04-17 12:51:25 -06:00
David Hall 3a56122887 Updated documentation 2019-04-17 12:51:11 -06:00
David Hall 5597d959c2 Updated documentation 2019-04-17 12:25:05 -06:00
David Hall c92d5228ef Major repairs of WinCon functions and structures. Some breaking changes, but only to fix problems. 2019-04-17 11:43:19 -06:00
David Hall 04b9f4f3ae Put some extra effort into ensuring functions and structures for Kernel32 console worked. Some breaking changes, but they would have been broken anyway. 2019-04-15 14:34:32 -06:00
David Hall 5be3e15570 Update project versions to 2.3.6 2019-04-15 13:45:35 -06:00
David Hall 016766658e Updated project file 2019-04-12 11:38:23 -06:00
David Hall 6691b45642 Updated project file with additions 2019-04-10 13:24:47 -06:00
David Hall 7164c624b1 Added missing using statement 2019-04-10 13:10:35 -06:00
David Hall 124549d3f5 Added many new AdvApi32 methods 2019-04-10 12:13:59 -06:00
David Hall f0ce103165 Updated project file information 2019-04-09 15:20:49 -06:00
David Hall d007f1babd Lots of work on ACE handling 2019-04-09 11:46:44 -06:00
David Hall 73792290f6 Broke down and finally used an unsafe struct for this. 2019-04-08 19:44:08 -06:00
David Hall b2906f6c9a Converted methods to PreserveSig model for all interfaces 2019-04-08 12:06:17 -06:00
David Hall a1837a70f5 Added ACCESS_ALLOWED_ACE.GetSid method to extract SafeSID value from structure. Added event structures. Made marshaler for PRIVILEGE_SET safer. Many additions to SafeSecurityDescriptor. 2019-04-08 11:38:00 -06:00
David Hall 9eea42368b Added functions: AccessCheck, AccessCheckByType, AccessCheckByTypeResultList, GetSecurityDescriptorGroup, GetSecurityDescriptorLength, GetSecurityDescriptorSacl, IsValidSecurityDescriptor. Provided helper overloads for GetAclInformation, GetPrivateObjectSecurity. Enhanced SafeHTOKEN class. 2019-04-08 11:35:40 -06:00
David Hall da6113c621 Cleaned up comments 2019-04-08 11:27:09 -06:00
David Hall b8fe8bdf89 Moved GetInheritanceSource helper to PInvoke project 2019-03-16 16:12:25 -06:00
David Hall ffb7879e3f Added AdvApi32 event log methods 2019-03-13 09:58:00 -06:00
David Hall 72a2ceb50c Updated project versions to 2.3.5 2019-03-12 08:05:49 -06:00
David Hall 3d60a65f8d Added full support for cabinet.dll 2019-03-12 08:02:51 -06:00
David Hall 6cffa1feb6 Fixed recursion bug in WNetEnumResources 2019-03-11 08:38:05 -06:00
David Hall 3877cc58bc Pushing point release due to some debug files getting into the NuGet packages 2019-03-08 20:09:11 -07:00
David Hall 1bdbca3d57 Updated projects for version 2.3.3 2019-03-08 12:38:52 -07:00
David Hall 518903ac95 Added CM_RESOURCE_LIST and supporting structures and enums 2019-03-07 10:25:33 -07:00
David Hall 1cef6c3fe4 Reorganized by subgroup settings 2019-03-07 09:43:13 -07:00
David Hall 600cb65672 Fixes and refinements on PowrProf functions 2019-03-07 09:42:35 -07:00
David Hall 1b42ce1df2 Added CorrespondingType attributes and GetValue extension method for REG_VALUE_TYPE 2019-03-07 09:28:20 -07:00
David Hall 708d2fc39d Removed IErrorProvider constraint 2019-03-07 09:27:35 -07:00
David Hall a7cf16cde9 Major overhaul of FormatMessage import functions and helper functions. Minor breaking changes, but worth it! 2019-03-07 09:26:49 -07:00
David Hall dfd7f9a4a2 Derived all error structures from IErrorProvider 2019-03-02 11:09:00 -07:00
David Hall 8c7636aff5 Added PowrProf.dll and all functions 2019-03-01 12:34:56 -07:00
David Hall 00b8227a10 Updated project versions to 2.3.2 2019-02-27 16:53:42 -07:00
David Hall 515fc01852 Completed work on adding all WinUser.h functions 2019-02-27 16:32:18 -07:00
David Hall 89d95791b2 Added High DPI functions from WinUser.h 2019-02-25 14:36:07 -07:00
David Hall 660b895787 Added Pointer Input Messages and Notifications from WinUser.h 2019-02-25 14:08:14 -07:00
David Hall 4e54effcd7 Added input functions from WinUser.h 2019-02-25 12:06:41 -07:00
David Hall ec8fec7902 Updated project files to 2.3.1 2019-02-24 18:54:29 -07:00
David Hall c45e2ddc4c Added DisplayConfigXX functions with all supporting structures and enumerations along with extended methods to simplify coding 2019-02-24 18:41:17 -07:00
David Hall 8b02aed5c5 Added device broadcast message supporting functions and structures 2019-02-24 18:39:30 -07:00
David Hall 8a588b9fc9 Added DefXXXProc functions 2019-02-24 18:38:45 -07:00
David Hall daf01c0de1 Added CopyXX methods for bitmaps, icons and cursors 2019-02-24 18:37:29 -07:00
David Hall eba27e984c Prepped projects for release 2019-02-22 16:11:12 -07:00
David Hall b1e35497d2 Added state flags for offline file caching 2019-02-22 14:29:15 -07:00
David Hall 3af1a60bec Fixed error with WNetCloseEnum when called from SafeWNetEnumHandle, removed redundant WNetOpenEnum function, added wrapper for WNetOpen/Enum/Close called WNetEnumResources. 2019-02-22 09:51:31 -07:00
David Hall 93d6a35e12 Added undocumented structures and enum for access. 2019-02-21 15:32:08 -07:00
David Hall 93a4982951 Changed type of INVALID_FILE_HANDLE to HFILE instead of IntPtr 2019-02-20 15:29:42 -07:00
David Hall 20ad66606d Added code to handle singleton binding of device handles. Risk is if system reuses handle during process execution. 2019-02-20 15:29:06 -07:00
David Hall 91ad5730b6 Update project versions to 2.3.0 2019-02-20 11:08:59 -07:00
David Hall b5774816ad Attempt to fix #41 2019-02-20 11:02:06 -07:00
David Hall f3d5187ef5 Added some winsock2 functions 2019-02-20 10:50:17 -07:00
David Hall b7dccd02f0 Completed work on NetApi32 2019-02-19 21:55:13 -07:00
David Hall bef4a869ba Added SafeHANDLE to HANDLE implicit operator and adjusted SafeHANDLE == operator to address `default` values (#40). 2019-02-19 14:16:44 -07:00
David Hall 8e492cf04c Added more NetApi32 functions (AT and DFS) 2019-02-19 12:44:36 -07:00
David Hall 8a8b265834 ToString methods added to LsaForest structures 2019-02-18 14:28:34 -07:00
David Hall af83c80249 Lots of NetApi32 additions 2019-02-18 14:27:57 -07:00
David Hall 20adde08ae Added LsaForestTrustInformation.FromBuffer static method to create a new instance from a pointer. 2019-02-16 18:17:18 -07:00
David Hall 6e8a3adabc Added support for testing platform validity against PInvoke.MinClient attribute. 2019-02-16 17:41:14 -07:00
David Hall e99a0eff51 Major rework of LSA_FOREST_TRUST_INFORMATION by supplying a helper class (LsaForestTrustInformation) that makes the creation of it very .NET happy. Simply fill out the class with entries you need and then call DangerousGetLSA_FOREST_TRUST_INFORMATION() to build the structure. Also improved comments as I found more detail. 2019-02-16 17:40:12 -07:00
David Hall 14aae2dd59 Updated attributes on IOpenControlPanel 2019-02-15 14:40:09 -07:00
David Hall 5d787522b0 Added WebDAV and NetShare functions 2019-02-12 13:26:31 -07:00
David Hall 05887bfac4 Updated project files for release 2019-02-11 19:38:05 -07:00
David Hall 4ce874c5c0 Tweaked work submitted by @gigi81 to match project style, reorganize files, and update documentation. 2019-02-11 19:34:47 -07:00
David Hall 8aefdc9389 Revert "Added some missing functions, structs and enums to winsvc.cs and tests"
This reverts commit dd15c0478c.
2019-02-11 18:38:41 -07:00
David Hall ee64aca822 Merge branch 'master' of https://github.com/dahall/Vanara 2019-02-11 18:32:16 -07:00
David Hall 1364d3a447
Merge pull request #38 from gigi81/feature/advapi32-winsvc
Added some missing functions, structs and enums to winsvc.cs and tests
2019-02-11 18:31:51 -07:00
Luigi Grilli dd15c0478c Added some missing functions, structs and enums to winsvc.cs and tests
Added QueryServiceStatusEx SERVICE_STATUS_PROCESS and more and test

Removed redundant CloseServiceHandle calls

Added Start/Stop/Delete/Control service functions

Added Start/Stop/Delete/Control service functions and appveyor for testing

Fixed version in appveyor.yml

Reducing msbuild verbosity

Improved AdvApi32 tests

Improve StartStop test method

Fixed StartService arguments types

Added ControlService, Fixed ControlServiceEx

Delete appveyor.yml
2019-02-07 00:52:59 +00:00
David Hall 4272101c17 Fixed param on DestroyHeap 2019-02-06 07:31:38 -07:00
David Hall eed0971d15 Restructured DEVMODE to work between 32 and 64 bit instances 2019-02-06 07:31:11 -07:00
David Hall 7e183c2b6c Updated project files to 2.2.1 2019-02-05 14:25:27 -07:00
David Hall 5848e17bed Added multiple new GDI related functions 2019-02-05 14:15:17 -07:00
David Hall 9d30be3077 Added display functions 2019-02-05 14:14:27 -07:00
David Hall 47599ad6f2 Added video, accelerator, caret, coordinate space, paint and RECT functions 2019-02-05 14:13:14 -07:00
David Hall c1af977137 Added touch functions 2019-02-05 14:12:17 -07:00
David Hall 2d8d211065 Added DEVMODE 2019-02-05 14:11:42 -07:00
David Hall dcdb27e2c0 Added DISPLAY_DEVICE 2019-02-05 14:11:28 -07:00
David Hall 38fadc70ee Added MapViewOfFile3 and MapViewOfFile3FromApp 2019-02-04 12:41:34 -07:00
David Hall 6150985d6a Updated project information 2019-02-04 12:26:46 -07:00
David Hall 3e0b62f67e Added DwmGetUnmetTabRequirements 2019-02-04 11:04:11 -07:00
David Hall b51aef42d2 Introduced structure based HANDLE for better compatibility 2019-02-04 10:56:15 -07:00
David Hall 8238b1d84d Re-aded SafeHHEAP GetBlock method 2019-02-04 10:55:02 -07:00
David Hall 96596176dd Fixed numerous logic problems with holding and disposing heap handles. 2019-02-04 10:50:28 -07:00
David Hall 190acdcb48 Removed SafeHandle based SafeResourceHandle and replaced with struct based handle HRSRC as it does not need to be released ever. 2019-02-04 10:27:39 -07:00
David Hall f1085cd3a5 Change SafeHandle derived base class HANDLE to SafeHANDLE. Yes, bonehead move to not do this correctly from the beginning. 2019-02-04 09:51:08 -07:00
David Hall f37340b0a9 Updated documentation 2019-02-04 09:41:40 -07:00
David Hall 58eb28407c Added SetSystemTimeAdjustmentPrecise 2019-02-04 09:41:09 -07:00
David Hall 6cf624bd8e Added VirtualAlloc2 and VirtualAlloc2FromApp 2019-02-04 09:29:58 -07:00
David Hall 1efc1993f2 Updated project information 2019-02-01 16:41:11 -07:00
David Hall 6a78449bf5 Added overload and updated docs for SHCreateShellItemArray. 2019-02-01 11:38:31 -07:00
David Hall e8095f3c0e Corrected documentation and made all methods PreserveSig 2019-01-27 22:01:12 -05:00
David Hall b2f8dc8c89 Added QueryInterface methods 2019-01-27 00:45:43 -05:00
David Hall d33b14f84f Added IClassFactory2 2019-01-27 00:45:20 -05:00
David Hall 7c99b77589 Added remaining functions and interfaces from ComBaseApi.h 2019-01-25 22:58:31 -05:00
David Hall 946bcb2bba Added FillMemory method 2019-01-25 10:58:00 -05:00
David Hall ec39c32d83 Added IInitializeCommand 2019-01-22 19:54:52 -08:00
David Hall 320a00aa61 Fixed bug with SHCreateItemWithParent 2019-01-21 15:24:14 -08:00
David Hall d782a19271 Added Optional param attributes 2019-01-21 15:23:53 -08:00
David Hall c76791deea Updated project version to 2.2.0 2019-01-21 11:45:29 -08:00
David Hall 8f1e78e0f3 Updated project versions to 2.2.0 as there have been lots of changes, some of which are breaking. 2019-01-21 08:42:39 -08:00
David Hall af7ec7c430 Removed PIDL references 2019-01-20 20:45:04 -08:00
David Hall cb01573d8c Added CIDA (HIDA) structure 2019-01-20 20:44:35 -08:00
David Hall 3cade3a2a8 Added generic helper functions for those where a COM interface is requested 2019-01-20 20:44:04 -08:00
David Hall 62ef41cd2d Add IObjectWithSelection 2019-01-20 20:43:12 -08:00
David Hall e4da66f990 Added IExecuteCommand 2019-01-20 20:42:55 -08:00
David Hall ce4e0b1eb3 Corrected IDropTarget 2019-01-18 00:22:45 -08:00
David Hall 399464a376 Added IDropTarget 2019-01-18 00:08:14 -08:00
David Hall 5f756360a8
Merge pull request #30 from tajbender/master
Fix case insensitivity of folder 'PInvoke/NtDll'
2019-01-18 00:33:09 -07:00
David Hall 94934b3473 In practice, the timer id's work better as IntPtr 2019-01-17 23:30:30 -08:00
David Hall b13ca4eebe Set optional attributes on parameters 2019-01-17 23:27:59 -08:00
David Hall 508f6b0e77 Moved message functions to correct assembly (User32.Gdi) 2019-01-17 23:27:35 -08:00
tajbender e1a832b13a Fix case insensitivity of folder 'PInvoke/NtDll' 2019-01-18 08:12:54 +01:00
David Hall ce77e7dc9f Added Time functions 2019-01-17 22:56:45 -08:00
David Hall 2324493c99 Added Message functions 2019-01-17 22:56:31 -08:00
David Hall 120217f963 Didn't need one of the explicit operators afterall 2019-01-17 22:56:04 -08:00
David Hall 26bd550350 Add various COM registration methods 2019-01-17 21:33:41 -08:00
David Hall c1531fb22d Added IUnknownFactory 2019-01-17 21:33:21 -08:00
David Hall c846af84e5 Added more RegSet overloads 2019-01-17 21:02:28 -08:00
David Hall 7b67a1265d Added explicit conversions from bool and Win32Error 2019-01-17 20:52:41 -08:00
David Hall 635c8d8a33 Added overloads for RegSet* functions 2019-01-17 19:46:32 -08:00
David Hall 9b73d36900 Removed PIDL references from IShell... interfaces to prevent interop problems 2019-01-16 08:16:01 -07:00
David Hall ede7bb29e0 Added overloads to registry functions to allow for SafeAllocatedMemoryHandle. Replaced uint type with REG_VALUE_TYPE where required. Fixed string type bug on SHCreateStreamOnFileEx. 2019-01-16 08:10:06 -07:00
David Hall fd06ac5e0a Moved REG_VALUE_TYPE enum from AdvApi32 to Shared 2019-01-16 08:07:46 -07:00
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