Commit Graph

1222 Commits (4fa2755085ed75ea12f6e497951f8250a3b644c4)

Author SHA1 Message Date
dahall 0e25c534b3 Added DISPID constants to ShlDisp and updated dependent interfaces 2020-09-16 19:29:31 -06:00
dahall da963a8115 Fixed bug in marshaler for LSA_UNICODE_STRING under X64 that caused alignment error and failure on all calls. Thanks @ryannewington for identifying the problem and where to fix it (#169). 2020-09-14 17:17:20 -06:00
dahall bde637b8d3 Fixed condition in HRESULT.FormatMessage that fails when MUI file couldn't be found. 2020-09-14 17:15:23 -06:00
dahall 7a4e9e136e Extended SOCKADDR explicit cast to SOCKADDR_IN6 so that if represented by a v4 IP address, it will convert it to IPV6 before casting. 2020-09-14 10:26:46 -06:00
dahall 4fea35cd9e Added SIZEOF_SOCKET_ADDRESS_LIST macro.
Added conversions from SOCKADDR_IN to SOCKADDR_IN6.
Added SOCKET_ADDRESS_LIST.Pack to convert structure to a packad memory
2020-09-12 12:10:44 -06:00
dahall 27b2cd3f37 Added methods to convert from IN_ADDR to IN6_ADDR 2020-09-12 11:58:16 -06:00
dahall 30a5cfc806 Changed SOCKET_ADDRESS_LIST[] references to IntPtr or void**. 2020-09-12 11:54:33 -06:00
dahall 70a9c278d2 Changed SafeDRT_DATA fields to properties. 2020-09-10 10:37:16 -06:00
dahall a2bdc5cdf1 Exposed fields for SafeDRT_DATA and added implicit operator to DRT_DATA. 2020-09-10 10:14:34 -06:00
dahall dabe7bcd84 Added methods to assist with memory alignment. 2020-09-10 10:11:58 -06:00
dahall bb3b113d3c Added missing Crypt32 constants, fixed field types in CERT_INFO and CERT_PUBLIC_KEY_INFO, added CERT_RDN_ATTR and CRYPT_BIT_BLOB, added predefined values to SafeOID 2020-09-09 17:46:28 -06:00
dahall 765495260a Added Null field to SafePCCERT_CONTEXT 2020-09-09 17:44:11 -06:00
dahall f05c744b36 Fixed signature on CryptSignAndEncodeCertificate and CryptSignCertificate and added Null field on SafeHCRYPTKEY 2020-09-09 17:43:48 -06:00
dahall 4f4b7e6670 Added Null fields to SafeHCRYPTHASH and SafeHCRYPTPROV 2020-09-09 17:42:33 -06:00
dahall 9fbc0a1750 Added SafeDRT_DATA to DRT 2020-09-09 17:41:42 -06:00
dahall e191ceabeb Added SafePSID.FromToken and PSID.GetDomainSid methods 2020-09-08 10:40:57 -06:00
dahall 2f50f9250f Added missing constants and macros related to SID size. 2020-09-08 10:40:19 -06:00
dahall d506f79d22 Updated project files 2020-09-07 11:05:38 -06:00
Tony Hallett baea58dd9c
correct shell folder type controlpanelcategory (#166) 2020-09-07 08:28:47 -06:00
dahall 2e55d57a29 Adding missing enums PER_CONN_AUTODISCOVERY_FLAGS and PER_CONN_FLAGS 2020-09-03 19:27:21 -06:00
dahall 18490a91d6 Updated fuction attributes for SHLoadIndirectString for better marshaling 2020-09-03 12:47:23 -06:00
dahall af3b7b1abc Added missing FOLDERID items 2020-09-03 10:51:51 -06:00
dahall 1f52c4aaf0 Removed warning messages 2020-09-03 10:51:23 -06:00
dahall b83d09aec7 Merge branch 'master' of https://github.com/dahall/Vanara 2020-09-02 08:10:46 -06:00
Tony Hallett 028c169700
Add known folder 3D Objects (#164) 2020-09-02 07:22:01 -06:00
dahall 0da3f27dff Optimized some expressions 2020-09-01 14:01:09 -06:00
dahall b97b8d995d Updated project files after adding DRT and PeerDist libs 2020-08-31 16:57:29 -06:00
dahall 7b44c23bda Added DRT.dll library 2020-08-31 16:55:50 -06:00
dahall 3085b7d412 Added new property keys for Recycle Bin (#162) 2020-08-31 10:43:21 -06:00
dahall abcc1e276d Removed duplicates 2020-08-30 21:14:24 -06:00
dahall 0469e26f83 Initial PeerDist.dll implementation 2020-08-30 21:11:35 -06:00
dahall bd6189ef54 Updated project files for 3.2.15 release 2020-08-30 15:13:44 -06:00
dahall c3676aa036 Final changes to P2P files before release 2020-08-30 13:04:42 -06:00
dahall fc0cf16ba2 Redid the enumeration function in p2p 2020-08-29 10:47:05 -06:00
dahall 005c158ecc More P2P changes/additions 2020-08-28 16:49:21 -06:00
dahall 4cb3f3b75a Added service Guids 2020-08-28 14:39:30 -06:00
dahall 8859b714c5 Updated P2P functions to be more usable 2020-08-28 14:35:20 -06:00
dahall d214434cda Initial implementation of P2P.dll 2020-08-26 21:04:19 -06:00
dahall 16cf142959 Fixed doc error 2020-08-26 21:02:09 -06:00
dahall bd7f55f460 Fixed #158 with errors with IServiceProvider definition causing faults in ExplorerBrowser 2020-08-26 14:51:08 -06:00
dahall 2e240f5434 For WNetEnumResources helper method, added better error handling, set initial buffer to page size, and fixed bug in loop 2020-08-23 12:56:08 -06:00
dahall 17cc37f622 Added parameter attributes and Win32Error.WNetThrowIfFailed extension method and assoc exception 2020-08-23 12:54:12 -06:00
dahall b92ae7b922 Fixed incorrect parameters being passed to NetDfsSetClientInfo and NetDfsSetInfo 2020-08-23 12:46:59 -06:00
dahall 37d8521a9d Updated project files for 3.2.14 2020-08-20 09:28:06 -06:00
dahall 8d875a0010 Completed initial work on DbgHelp library that also includes ImageHlp.dll functions 2020-08-19 20:55:22 -06:00
dahall 78ce3ad034 Buildable update checkin of DbgHelp code 2020-08-16 16:01:35 -06:00
dahall ad40568425 More work on dbghelp 2020-08-15 11:34:13 -06:00
dahall 4a14a25d1c New DbgHelp lib addition - check-in 2020-08-07 12:37:42 -06:00
dahall 435b843080 Added `IntPtr SendMessage<TEnum, TWP>(HWND hWnd, TEnum msg, TWP wParam, IntPtr lParam = default)` 2020-08-06 17:15:12 -06:00
dahall 51716e2898 Addressed #155 by adding GetMonitorInfo overload that accepts MONITORINFOEX 2020-08-06 12:52:15 -06:00
dahall f1c1ef8317 Changed WIN_CERTIFICATE.bCertificate from IntPtr to byte 2020-08-05 10:39:49 -06:00
dahall ca4a401713 Added User32 EnumChildWindows and GetChildWindow methods 2020-08-05 10:39:03 -06:00
dahall bbdded72b8 Fixed description 2020-08-05 10:38:00 -06:00
dahall 7c96ee01d0 Added overloads for DialogBox and DialogBoxParam that take ResourceId params instead of strings. 2020-07-30 14:38:17 -06:00
dahall 501902104c Further enhancements to matrices 2020-07-30 14:37:38 -06:00
dahall 3c2309311f BREAKING CHANGE: Corrected invalid WindowStyles.WS_SIZEFRAME changing to WS_THICKFRAME 2020-07-29 17:58:20 -06:00
dahall 95d7300c3e Added CreateWindow "macro". BREAKING CHANGE: Corrected GetClientRect to have 'out rect' param rather than by ref. 2020-07-29 17:32:29 -06:00
dahall f9f07c8ba6 Added class StandardCursor with values IDC_xx for LoadCursor 2020-07-29 17:29:32 -06:00
dahall 01a98c1a24 Added missing WindowStyles values 2020-07-29 17:28:46 -06:00
dahall a8ddf31a3b Added some missing constants to Magnification.cs 2020-07-29 17:28:19 -06:00
dahall d7f382e5f2 Added initial methods and structures for Magnification.dll 2020-07-28 15:40:32 -06:00
dahall 8450971eb2 Added LoadCursor overload with ResourceId param 2020-07-28 12:46:08 -06:00
dahall 205d536cda Changed errant IpHlpLib fields from FILETIME to SYSTEMTIME per #154 2020-07-28 07:39:29 -06:00
dahall 1852865842 Renamed UdbMib.cs to UdpMib.cs to match .h file name 2020-07-28 07:37:35 -06:00
dahall cac3df43f2 Project information update 2020-07-27 10:50:28 -06:00
dahall cbfc0e1ebe Added FILEDESCRIPTOR.nFileSize property to combine high/low fields 2020-07-22 18:32:03 -06:00
dahall 2c058d2289 Added parameter attributes 2020-07-22 18:31:24 -06:00
dahall 091352956e Fixed (#152) bug in base class SafeMemoryHandleExt that caused ToString(int...) to fail if memory size was not specifically set (like in parameter assignment). 2020-07-20 10:44:01 -06:00
dahall e701d99c1b BREAKING CHANGE: Due to performance, changed IMemoryMethods and ISimpleMemoryMethods to contain method signatures instead of properties of method delegates. Then changed all derived memory classes to new interface definition. I believe most of this only affects internal classes so hopefully not a huge effect on your code. 2020-07-20 09:48:32 -06:00
dahall b6180bcfc1 BREAKING CHANGE: changed return values of all methods in IFileOperationProgressSink to HRESULT since this is a user implemented interface. 2020-07-19 08:32:02 -06:00
dahall 6519eda67f Added more well known Clipboard format strings to ShellClipboardFormat 2020-07-18 20:41:30 -06:00
dahall e436701559 Added documentation 2020-07-17 15:32:14 -06:00
dahall 8fe461dd7e Added IShellFolder.GetUIObjectOf<T> extension method overload to accept IntPtr[] 2020-07-17 15:30:28 -06:00
dahall cdd6eb43de Added parameter attributes 2020-07-17 15:29:39 -06:00
dahall ce2d837a5c Added AssociateStringAttribute to associate a string with a code element. 2020-07-17 15:28:21 -06:00
dahall 44bcc6d163 Added better docs to SHGetDataFormat 2020-07-16 16:41:19 -06:00
dahall 5c5d03caf7 Added missing structures (BCRYPT_OID_LIST, BCRYPT_MULTI_OBJECT_LENGTH_STRUCT, BCRYPT_KEY_LENGTHS_STRUCT) associated with BCrypt.PropertyName 2020-07-16 16:39:07 -06:00
dahall 3403f4b0e7 Updated docs 2020-07-15 18:59:19 -06:00
dahall 361328d130 Updated documentation 2020-07-15 18:09:01 -06:00
dahall 9124512278 Changed HANDLE params to HFILE in CreatePseudoConsole after some research. The function will take HFILE and HPIPE instances. 2020-07-15 13:50:02 -06:00
dahall e82b63b8c6 Added missing XXPseudoConsole functions from consoleapi.h 2020-07-15 13:19:11 -06:00
dahall c081cfa38c Updated project information files 2020-07-14 16:02:36 -06:00
dahall fffb6981ff Update project statistics files 2020-07-14 15:07:18 -06:00
dahall eb3cc13bb3 Updated project information for 3.2.12 2020-07-13 08:58:32 -06:00
dahall e073e09526 Fixed enumeration failures with EnumServiceStatus, EnumServiceStatusEx and EnumDependentServices (#145) 2020-07-13 08:39:38 -06:00
dahall d124115570 Changed compiler option on IEnumNextworkXX interfaces and array parameter on Next methods along with unit test. 2020-07-12 14:10:58 -06:00
dahall f510b2d32e For all COM IEnumXX interfaces, fixed the Next method's array parameter so that it references the size on input, not output. This prevents a bug when implementing these interfaces. Thanks to @wangfu91 for finding this and submitting #143. 2020-07-12 14:09:40 -06:00
David Hall 26f61b9189
Merge pull request #142 from NN---/getiptable_raw
Add zero copy GetIpNetTable2.
2020-07-12 08:30:02 -06:00
NN bc139f52a7 Add zero copy GetIpNetTable2. 2020-07-12 10:09:39 +03:00
dahall efef5c9d43 Corrected #144 by replacing LPStr marshaled string field lpVerb and making it a ResourceId type. 2020-07-11 16:25:06 -06:00
dahall 8d5c587e9d Updated project file information 2020-06-27 18:54:55 -06:00
dahall 79c906186c Fixed problems with DNS struct alignment and added XML docs with tests 2020-06-27 18:42:50 -06:00
Jean-Bernard Pellerin 88856b5a94
Update Win32Error.Values.cs typo in identifier (#141)
ERROR_EVT_EVENT_DEFINITION_NOT_OUND to ERROR_EVT_EVENT_DEFINITION_NOT_**F**OUND (value 0x00003AB8)
2020-06-25 14:46:18 -06:00
NN bb12636c7f
Fix DNS_QUERY_OPTIONS. Make tests always work correctly. (#140) 2020-06-25 13:55:17 -06:00
dahall fa2e0c8a2d Added explicit conversion from DNS_ADDR to IPAddress 2020-06-24 15:32:31 -06:00
dahall e5230de735 Reversed #139 changes to size of DNS_QUERY_OPTIONS 2020-06-24 15:12:55 -06:00
NN be237732c1
Add DnsApi tests. (#138)
* DNS_QUERY_OPTIONS are uint.

* Add DnsApi tests.
2020-06-24 14:44:39 -06:00
dahall ca577d062f Fixed and tested #135, #136 and #137 2020-06-23 15:38:22 -06:00
NN 09db93e6dc
Add undocumented flag DNS_QUERY_LOCAL to get DNS cache without network access. (#134) 2020-06-22 11:12:13 -06:00
NN 556a264927
Mark DNS_QUERY_OPTIONS with Flags attribute (#133) 2020-06-22 08:40:25 -06:00
dahall a3bfd8c7cd Added code and tests to refresh icon on Recycle Bin after changes. 2020-06-20 15:36:57 -06:00
dahall a9162da80f Fixed XML docs, cleaned code, added parameter attributes and missing CoClass values for IShellFolder, added Vanara.Windows.Shell.RecycleBin class and tests 2020-06-20 12:10:20 -06:00
dahall 57adb919f6 Added missing FILEOP_FLAGS values 2020-06-20 12:07:27 -06:00
dahall 79947cad6f Added KnownFolderIdExt.GetIShellFolder method 2020-06-20 12:07:00 -06:00
dahall 6206b45f91 Added new Win10 2004 fuctions 2020-06-14 20:11:45 -06:00
dahall 52c1aa99bc Added new connectivity hint functions and reorganized into nldef.cs. 2020-06-14 16:03:13 -06:00
dahall 67178177c2 Updated project files for release 2020-06-14 11:17:58 -06:00
dahall b3767f6784 Corrected IShellDispatchX.NameSpace method parameter 2020-06-14 10:46:05 -06:00
dahall b450104004 Added XML docs 2020-06-11 14:07:54 -06:00
dahall fdcd7e93a1 Updated NuGet packages 2020-06-11 11:52:26 -06:00
dahall 729345e24a Added all remaining shobjidl_core.h interfaces to Shell32 and SearchApi 2020-06-10 20:37:25 -06:00
dahall 84aee4267a Fixed attributes on array params 2020-06-09 19:01:17 -06:00
dahall e5c9d02a3b Fixed bug in COLORREF when setting from a Color. 2020-06-09 19:00:23 -06:00
dahall fd35f79e22 Removed IComEnumerator references - doesn't work due to Reflection/COM object limitations 2020-06-06 13:44:00 -06:00
dahall e3d402bbfc Added interfaces from comcat.h to Ole32 lib 2020-06-05 14:42:50 -06:00
dahall 020c45207f Where appropriate, added derivation from IComEnumerator<T> to COM interfaces supporting pattern. 2020-06-05 14:42:15 -06:00
dahall 7fc504f470 Added interface (IComEnumerator) to identify COM interfaces that support the Next/Reset pattern and a supporting class and extension method to make getting an IEnumerator<T> from them easy. 2020-06-05 14:41:26 -06:00
dahall 3b6c0fae08 Updated project information for Shell32 2020-06-03 14:45:46 -06:00
dahall e9ed356b8f Added remaining, supported interfaces from shobjidl.h 2020-06-03 14:40:27 -06:00
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