Commit Graph

1103 Commits (81292aca1de7e254540602c9db6c130b09597683)

Author SHA1 Message Date
dahall 28eaf62f3b Updated project information 2020-06-02 22:02:36 -06:00
dahall ab7a7e2a69 Fixed mapped file handle reference 2020-06-02 22:01:39 -06:00
dahall 3358686dae Added references for Vanara.PInvoke.Graphics 2020-06-02 21:57:13 -06:00
dahall 5104c4c6e0 Added DirectWrite, DXGI and WIC references to Vanara.PInvoke.Graphics 2020-06-02 21:54:48 -06:00
dahall 496b73f8a8 Added IPersistSerializedPropStorage and IPropertyStoreCapabilities COM interfaces 2020-06-01 09:40:34 -06:00
dahall 7ff9e77f4b Fixed packing of SHQUERYRBINFO (#127) 2020-06-01 09:39:40 -06:00
dahall fe7c5d2763 BREAKING CHANGE: FIxed UNICODE_STRING so it would work across process boundries (thanks @Enigmatrix) and tested. Now #123 is implemented. 2020-05-27 22:32:53 -06:00
dahall 8cce2a634e Updated property layout. 2020-05-22 10:03:51 -06:00
dahall 854b5c17c3 Added PROPVARIANT_IMMUTABLE as a pure structure that can be used in arrays where the class equivalent breaks marshaling. 2020-05-22 09:05:09 -06:00
dahall ecb5ca90de Added NtQueryInformationProcess (#123) and supporting constants and structures along with unit test. 2020-05-20 12:27:58 -06:00
dahall 0ada485d14 Added UNICODE_STRING.ToString() overload 2020-05-20 12:26:37 -06:00
dahall cb9b5a7c62 Added IPropertyBag2 and supporting elements 2020-05-17 17:02:43 -06:00
dahall 67e89b5472 Fixed incorrect parameters for file mapping functions and added HSECTION and SafeHSECTION handles. 2020-05-16 15:15:33 -06:00
dahall 3ec625b5dc Changed SafeMibXX AsReadOnlySpan to AsSpan and returned Span<T> 2020-05-16 13:57:21 -06:00
dahall a75f2dd17d Fixed Vanara.Collection references 2020-05-15 18:58:39 -06:00
dahall 385fceeaf6 Added SafeMibEntryBase<T>.TableAsSpan property and SafeMibTableHandle.AsReadOnlySpan method (for supported platforms) 2020-05-15 11:41:22 -06:00
dahall bcafee296b Changed extension of CoreAudio project file to prevent build 2020-05-14 20:48:35 -06:00
dahall 2004134da4 Removed CoreAudio project and unit tests. Decided to sack this work as there are other, more complete implementations already on GitHub and NuGet. 2020-05-14 10:17:33 -06:00
dahall db2ab70ff1 Fixed bugs in DeviceNotifyCallbackRoutine and PowerSettingRegisterNotification declarations (#122) 2020-05-14 10:09:47 -06:00
dahall e2eea570c2 Added PowerBroadcastType enum and POWERBROADCAST_SETTING struct for WM_POWERBROADCAST messages 2020-05-14 10:08:45 -06:00
dahall 7761b13f13 Fixed documentaiton bug 2020-05-14 10:07:36 -06:00
dahall e2d3411a86 Initial (untested) push of Core Audio API 2020-05-11 10:26:34 -06:00
dahall 99a1f77520 Added Core Audio HRESULT values 2020-05-11 10:25:35 -06:00
dahall 18937a70a6 Added missing HRESULT Facility enum values 2020-05-11 10:24:59 -06:00
dahall efcd560dbd Added DnsGetCacheDataTable w/ unit test (#121) 2020-05-11 10:24:10 -06:00
NN df99d91f26
Add NO_ERROR constant. (#119) 2020-05-11 06:44:11 -06:00
dahall 095dc0ef88 Oops. Updated project files for 3.2.7 release. 2020-05-04 14:47:44 -06:00
dahall 0b4032473b Fixed issues when converting from UInt32 and FormatMessage when no message was found. 2020-05-04 12:41:26 -06:00
dahall d90581309f Added PrjUpdateFileIfNeeded overload 2020-05-04 11:25:22 -06:00
dahall 9c2cdc2c1c Fixed spacing 2020-05-04 10:55:58 -06:00
dahall d6a7e5f4aa Added IEquatable<int> implementation 2020-05-04 10:55:43 -06:00
dahall 64e007e564 Added IEquatable<int> implementation and FromExcpetion, HRESULT_FROM_NT and HRESULT_FROM_WIN32 methods 2020-05-04 10:55:11 -06:00
dahall d353468dd7 Reorganized and formatted. 2020-05-04 10:21:51 -06:00
dahall 1efa3a860a Completed work on CldApi with unit tests 2020-05-01 15:26:16 -06:00
dahall eca7516d87 Added Win10 cloud and file errors 2020-05-01 15:25:52 -06:00
dahall ce4043a30c Added get properties for all parameter fields for CF_CALLBACK_PARAMETERS 2020-04-30 11:22:24 -06:00
dahall ed51271853 Committed work in progress on cldapi.dll 2020-04-30 09:34:04 -06:00
dahall 854ab9536d Fixed issue with duplicates by only grabbing first value's field. 2020-04-28 11:01:15 -06:00
dahall f209be7395 Changed GetHashValue to return raw value. 2020-04-28 11:00:46 -06:00
dahall a124fb4531 MAJOR BREAKING CHANGE: Changed underlying type of HRESULT and NTStatus to Int32 and Win32Error to UInt32 (reversed) due to a major miss on my part in reading the header files. Sorry everyone. 2020-04-27 21:25:47 -06:00
dahall 1a68d72ebd Changed CF_CALLBACK to simplify second param 2020-04-26 14:10:14 -06:00
dahall 1ac76ca085 Fixed parameter of CfConnectSyncRoot 2020-04-25 17:06:02 -06:00
dahall 990e99982e Added IExplorerCommand and supporting interfaces and constants 2020-04-25 16:20:09 -06:00
dahall ee9580be2f Added NTStatus.NTSTATUS_FROM_WIN32 function and implicit operator from Win32Error to NTStatus using that function. 2020-04-25 15:39:58 -06:00
dahall 19706ac13f Added ProjectedFSLib.dll functions, constants and structures 2020-04-24 15:53:18 -06:00
dahall ee2fb0a20f Updated CldApi project files 2020-04-24 15:52:40 -06:00
dahall 5141a4c722 Added Macros methods to deal with LARGE_INTEGER (Int64) values. 2020-04-24 11:34:23 -06:00
dahall 6ffc57dcb2 Removed duplicate PDOPSTATUS 2020-04-23 18:44:58 -06:00
dahall adaea0bbd6 Added missing constants and functions 2020-04-23 16:54:42 -06:00
dahall c973a8ec77 Added new Win10 constants 2020-04-23 16:52:31 -06:00
dahall 03f79ef1d2 Added CldApi.dll functions, constants and structures along with basic unit test. 2020-04-22 19:36:24 -06:00
dahall b8642a3c86 Add CORRELATION_VECTOR structure to Shared 2020-04-22 19:11:31 -06:00
dahall 4b424e3e39 Put FILE_BASIC_INFO back in Kernel32 2020-04-22 19:11:05 -06:00
dahall b3a187d129 POTENTIALLY BREAKING CHANGE: Moved FILE_BASIC_INFO from Kernel32 to Shared libraray. 2020-04-22 16:21:27 -06:00
dahall 6ef4bb1698 Fixed problem (#118) with TASKDIALOGCONFIG not working under x64 builds. 2020-04-22 09:54:00 -06:00
dahall a49d08dbbc Updated project files for 3.2.6 2020-04-21 08:16:57 -06:00
dahall 3d7d44f1ec Fixed TypeLoadException by 'DSREG_JOIN_INFO' (#117) 2020-04-17 19:50:59 -06:00
dahall cae7678f91 BREAKING CHANGE: Corrected spelling of SOCKET_ADDRESS.lpSockaddr. Added WinSockIOControlCode class. 2020-04-17 18:04:39 -06:00
dahall 7ab58e2e74 Reorganized structures into appropriately names files 2020-04-17 18:03:22 -06:00
dahall e9cf62fca3 Changed all Int32 return values to Win32Error values. Added WSASocket overload for optional param. Added SafeWSA class to call and cleanup WSA init. Added conversion operators to SOCKADDR_STORAGE. 2020-04-17 14:35:58 -06:00
dahall d487b14a4d Added SOCKADDR.GetAddressBytes method 2020-04-17 14:31:14 -06:00
dahall cbf1446a03 Updated XML docs and added NLM_UNKNOWN_DATAPLAN_STATUS const to NLM_DATAPLAN_STATUS. 2020-04-17 07:21:35 -06:00
dahall 590ca01d38 BREAKING CHANGES: Changed NLM_SOCKADDR to a class and changed all parameters that were IntPtr to that class where called. Changed functions of all **Events interfaces to return HRESULT and removed invalid CoClass attributes. Updated dependent tests and wrappers. 2020-04-16 19:39:41 -06:00
dahall 0167f35a4b Updated project files with 3.2.5 updates 2020-04-15 10:52:26 -06:00
dahall 70b1163881 Fixed multiple bugs in DnsApi mostly stemming from trying to use structures in callback delegates. 2020-04-15 06:57:58 -06:00
dahall ef73f4360e Fixed TypeLoadException with CRYPTUI_WIZ_DIGITAL_SIGN_INFO_UNION (#115) which resulted in a slightly less usable structure. If one wishes to use the pwszFileName field, they will have to use a pointer to a Unicode string instead of the string. 2020-04-13 07:13:35 -06:00
dahall a86fe27c11 Updated project file information for 3.2.4 release 2020-04-13 06:44:23 -06:00
dahall aabf8e7ca5 Added Vanara.PInvoke.DnsApi and supporting unit test supporting dnsapi.dll. 2020-04-11 16:17:06 -06:00
dahall 514e974703 Modified GenericStringMarshaler type constraint to ISimpleMemoryMethods 2020-04-11 16:10:33 -06:00
dahall cd46adfb6b Added GenericStringMarshalerBase and GenericStringMarshaler as custom string marshalers that can be typed against an IMemoryMethods implementation. The converted LocalStringMarshaler and CoTaskMemStringMarshaler to use that new class. 2020-04-07 12:43:44 -06:00
dahall 3cf49c0749 Introduced base class for SafeAnysizeStruct to enable reuse with objects that don't use a single field to determine the length of the array. 2020-04-07 09:34:13 -06:00
dahall c6b9c3e5b6 Added GET_X_LPARAM and GET_Y_LPARAM to Macros class and fixed HIWORD and LOWORD functions to use unchecked to not lose values. 2020-04-07 07:55:22 -06:00
dahall b375436c38 BREAKING CHANGE: Changed PROPERTYKEY.GetCononicalName to GetCanonicalName (fixed misspelling) 2020-04-06 08:52:57 -06:00
dahall a882568e46 Added missing PROPERTYKEY keys. 2020-04-06 08:30:09 -06:00
dahall 67d304a74f Stupid extra parenthesis! 2020-04-04 23:07:58 -06:00
dahall e7448863a6 Added interface and struct from NotificationActivationCallback.h 2020-04-04 21:28:42 -06:00
dahall f3cbf772d2 Added SafeEventHandle explict IntPtr operator and IntPtr parameter overloads for SetEvent and ResetEvent. 2020-04-04 21:28:15 -06:00
dahall c0ff453a20 Moved much of the individual project file detail to root Directory.Build.* files for consistency. Fixed build errors due to bad or missing project tags. Cleaned up project files. 2020-04-03 14:51:10 -06:00
dahall 1ffc814d5f Added ObjectIdentifiers static class with constants used by WinEventProc. (#113) 2020-04-03 08:02:45 -06:00
dahall 2c388d80a3 Fixed warnings for XML docs and obsolete uses 2020-04-02 19:25:38 -06:00
dahall 02c4896b98 Fixed build warnings for missing XML docs and obsolete marshal directives 2020-04-02 19:14:40 -06:00
dahall 9fdb1ea000 Update project versions to 3.2.4 2020-04-01 18:48:29 -06:00
dahall befc5a5eeb Added WinEvent constants (#111) for SetWinEventHook 2020-04-01 18:42:21 -06:00
dahall 1c217e668e Updated project files to 3.2.3 2020-03-31 18:51:44 -06:00
dahall b64e2fd89a Fixed XML comments 2020-03-31 18:49:10 -06:00
dahall d1a938dffe Added PInvoke libs for wlanapi.dll and wcmapi.dll. 2020-03-31 16:04:41 -06:00
dahall 2e9935667a Removed generic constraint so classes could be processed and changed ctor param from int to SizeT for consistency with base class. 2020-03-31 16:01:47 -06:00
dahall 0c5dcbaef5 Fixed (#109) problem with SafePSECURITY_DESCRIPTOR not disposing using LocalFree by changing default constructor. 2020-03-27 17:11:18 -06:00
dahall c08ac4b35a Changed WSAQUERYSET2W strings to be marshaled strings. 2020-03-25 17:40:45 -06:00
dahall 093d8584e7 Changed WSAQUERYSET.dwNameSpace to NS enum and added constructor to take a namespace. 2020-03-25 17:40:10 -06:00
dahall a4da149843 Added socket method overload to take uint as protocol. 2020-03-25 17:39:16 -06:00
dahall 969837d959 ibid 2020-03-25 17:38:41 -06:00
dahall cba24dd268 Added SOCKET.ToString overload.
Added implicit IntPtr operator and CreateFromStructure method to SOCKADDR.
2020-03-25 17:38:15 -06:00
dahall 4a7c6c48d1 Updated project files and info for 3.2.2. 2020-03-24 17:39:42 -06:00
dahall 5e9b491b71 Changed structure values to enum types 2020-03-24 16:14:42 -06:00
dahall 962e96a5b7 Removed WSACancelBlockingCall 2020-03-24 16:14:04 -06:00
dahall 44f8593d62 Fixed param error in socket, inet_ntoa, getsockopt, gethostname and GetHostNameW, removed unsafe overloads of getservbyname and getservbyport, turned SERVENT into marshalable structure to address 32/64-bit differences. 2020-03-24 16:13:21 -06:00
dahall f5b2db2814 Added socket option constants and structures, IN_ADDR standard values, SOCKADDR constructors for IPAddress and IPEndPoint 2020-03-24 16:10:28 -06:00
dahall c9fdd8c398 Updated project information with new functions and stats. 2020-03-23 13:36:57 -06:00
dahall 34550984da Added remainder of winsock2.h functions and some tests 2020-03-23 13:34:30 -06:00
dahall 211db05037 Removed ScriptXX functions that are actually exported into gdi32.dll 2020-03-18 10:40:01 -06:00
dahall 74b50d97ac Added missing wingdi.h and winppi.h functions 2020-03-17 21:58:30 -06:00
dahall 476960ecbf Updated project versions to 3.2.2. 2020-03-17 19:48:07 -06:00
dahall 6a00b9eb14 Finished adding methods from cryptnet.dll 2020-03-17 17:54:55 -06:00
dahall dd11a3d6c0 Finished adding methods from cryptdlg.dll 2020-03-17 17:54:36 -06:00
dahall a4be710edb Added optional parameter overloads to methods 2020-03-17 17:54:03 -06:00
dahall 0103ccd99b Updated project information for 3.2.1 2020-03-17 07:00:15 -06:00
dahall 6fd4f8c749 Added IntPtr overload for all WinCon functions currently using StringBuilder param (#107) 2020-03-16 14:19:58 -06:00
dahall a64e1c9cdd Fixed PROV_ENUMALGS and added CryptProviderName with known CSPs. 2020-03-15 19:10:57 -06:00
dahall d585fe18a3 Next round of tweaks and fixes for Crypt32 2020-03-13 15:46:10 -06:00
dahall 3e203d6b9b Added AdvApi32 methods from wincrypt.h 2020-03-13 15:45:15 -06:00
dahall 27791faac0 Added CryptUI.dll methods to lib 2020-03-13 15:44:36 -06:00
dahall 7ebcd7f00c Added and fixed XML documentation 2020-03-13 15:43:39 -06:00
dahall 9143f753a2 Exposed NTStatus.ToHRESULT method and explicit conversion operator to HRESULT 2020-03-13 15:42:32 -06:00
dahall b0791e0fd5 XML doc fixes. 2020-03-09 10:53:39 -06:00
dahall 24dc30de5a Updated project files with v3.2.1 information. 2020-03-09 10:23:37 -06:00
dahall 5c7c981393 Added all functions for crypt32.dll 2020-03-09 09:54:19 -06:00
dahall 82f474e741 Add and corrected XML documentation. 2020-03-01 18:59:39 -07:00
dahall 85405cfe38 Corrected problem with duplicate icon reference 2020-02-29 15:21:19 -07:00
dahall ed537652d2 Removed errant CustomMarshalers reference form Shell32 project. 2020-02-29 15:00:35 -07:00
dahall 19b3efd408 Updated project information and version to 3.2.0 2020-02-26 17:35:48 -07:00
dahall e2297a67a8 Documentation fix 2020-02-26 15:16:00 -07:00
dahall 4eea954b4d Added simpler version of AssocCreate. 2020-02-22 15:45:18 -07:00
dahall 15a3c2dfb5 Added IObjectArray.ToArray extension method 2020-02-22 15:44:37 -07:00
dahall a646e1b71d Added constants for messages and errors related to task bar items. 2020-02-20 13:56:16 -07:00
dahall fd97276a2c Fixed bugs in the storage and reading of integer resource identifiers. 2020-02-20 13:55:34 -07:00
dahall 3553f76034 Added missing documentation, added extension methods for IPropertyStore and formatted code. 2020-02-20 13:54:28 -07:00
dahall dfcb9e4bbd Added DMPAPER_USER to DMPAPER enum (#106) 2020-02-17 08:48:02 -07:00
dahall 474773bd75 Cleaned up unused items in project files. 2020-02-13 10:31:49 -07:00
dahall 287b04c621 Update lzexpand.h file and included in Kernel32 2020-02-13 10:28:11 -07:00
dahall e52f413597 Added paramter attributes 2020-02-12 20:35:33 -07:00
dahall 54d8478255 FIxed problems with generic SendMessage methods 2020-02-12 20:06:28 -07:00
dahall cb2a5a84cd Change COM object parameters from IntPtr to object. 2020-02-10 13:50:33 -07:00
dahall a9f8944fd5 Added constructor to MENUITEMINFO and changed dwItemData type to IntPtr. 2020-02-10 13:49:59 -07:00
dahall 54ee24eb96 Fixed compiler warnings 2020-02-09 11:27:14 -07:00
dahall df6b0cb875 Added IShellItemFilter 2020-02-08 16:50:52 -07:00
dahall adc85ad275 Added INameSpaceTreeControl and supporting interfaces. 2020-02-08 16:50:40 -07:00
dahall 8a30f5ce3c Fixed exceptions thrown by ControlPanel methods by providing HRESULT from underlying COM shell object. #105 2020-02-08 15:08:44 -07:00
dahall 9342bcd5dc Added attributes to enums and parameters 2020-02-04 08:25:26 -05:00
dahall c856d06332 Updated project files for v3.1.9 2020-01-17 08:50:25 -07:00
dahall cc7170875f Fix and test for #101 - Bug when using SafeAnysizeStruct. 2020-01-17 07:54:15 -07:00
dahall 16aa08ec14 Added functions from olectl.h 2020-01-13 14:26:26 -07:00
dahall 92acfa944e Added new functions from Win10 1903 2020-01-13 11:16:07 -07:00
dahall 1457225dd2 Updated Kernel32 with Windows 10 1903 API 2020-01-13 10:59:08 -07:00
dahall 42677e2063 Project files update for v3.1.8. 2020-01-13 09:26:39 -07:00
dahall a98f49d582 Added tests and made corrections to Opc interfaces 2020-01-12 21:11:43 -07:00
dahall 019fd00485 Finished documenation 2020-01-12 21:11:21 -07:00
dahall 8f20fbf502 Completed adding all interfaces for Opc 2020-01-11 16:18:56 -07:00
dahall 04c8783799 Completed addition of all wia_xp.h content 2020-01-10 15:22:18 -07:00
dahall ca68dcff16 Finished work on UrlMon functions. 2020-01-09 15:55:52 -07:00