Commit Graph

1508 Commits (3f0e9f0798de9e884930e75b54dcf79ead7f5b80)

Author SHA1 Message Date
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