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
dahall
a361530d5a
Merge branch 'master' of https://github.com/dahall/Vanara
2021-03-01 15:07:26 -07:00
dahall
fb5f44738e
Updated project files for 3.3.5
2021-03-01 15:07:01 -07:00
Matt Haynie
63f7a1d201
Create WinBase.File.cs ( #213 )
...
MAX_PATH is not a hard limit on the maximum length of a file path. Using Windows 10, I have a file path that is ~378 chars long, and an exception is thrown in the local method AddCap because the code attempts to increase the size of the StringBuilder beyond the 261 chars that was specified in the constructor. This change just removes the hard upper limit cap on that length.
2021-02-28 18:57:02 -07:00
dahall
d7eeb1ca06
Usability updates to CldApi functions.
2021-02-24 14:25:56 -07:00
dahall
b6f76552ca
Fixed ambiguity with changes to PostQueuedCompletionStatus
2021-02-18 17:36:09 -07:00
dahall
7ce8ade62d
Added over 100 new structures supporting control codes and DeviceIoControl
2021-02-18 15:34:42 -07:00
dahall
4a4184ab87
Added COMPRESSION_FORMAT enum
2021-02-18 14:26:23 -07:00
dahall
a90a8d2687
Added non-opaque SID structure
2021-02-18 14:25:48 -07:00
dahall
b151b82e06
Added parameter attributes and DeviceIoControl overload that takes no input or output params.
2021-02-18 14:25:21 -07:00
dahall
2d538b6cf7
Replaced GetLogicalDriveStrings with overloaded methods not using StringBuilder.
2021-02-18 14:24:03 -07:00
dahall
87664c5f97
Added AnySizeStringMarshaler<T> which is an IVanaraMarshaler implementation to handle structures where the last field is a single character string array. Also added ability to use "*" as field name to indicate that string or array length should be determined by the amount of allocated memory.
2021-02-18 14:22:59 -07:00
dahall
f13930bd63
Added Vanara.PInvoke.RstrtMgr project/assembly with Restart Manager functions. 100% complete.
2021-02-11 15:39:40 -07:00
dahall
fa63350031
Updated project files for 3.3.4
2021-02-11 13:33:26 -07:00
dahall
07561a1419
Added CoClassAttribute to IContextCallback
2021-02-09 09:18:31 -07:00
NN
f45861e1e1
Add ContextSwitcher and other IIDs. Fix IContextCallback. ( #211 )
...
Co-authored-by: Konstantin Sharon <NN---@users.noreply.github.com>
2021-02-09 07:46:25 -07:00
dahall
bf1cbcf3ca
Improved parameter attributes and overloads for CreateWindowEx and GetClassInfoEx
2021-02-08 15:33:07 -07:00
dahall
03cb7bdda6
Fixed issues with BasicMessageWindow that caused creation failures and WndProc call failures.
2021-02-08 15:31:59 -07:00
dahall
6c4a37655b
Added `WindowClass` to ensupsulate information about a window class.
2021-02-08 15:30:54 -07:00
dahall
6d7fd73bba
Added IContextCallback ( #209 )
2021-02-08 09:19:12 -07:00
dahall
c2c75a461e
Updated project files for 3.3.3 release
2021-02-03 14:49:55 -07:00
dahall
d1e856c448
Added MiniDumpWriteDump overload and fixed test (thanks @NN)
2021-02-03 14:49:31 -07:00
dahall
c57e42274d
Fixed missing XML build warnings
2021-02-03 13:59:26 -07:00
dahall
978f339457
Changed DbgHelp to have Version dependency and moved all types to correct files based on header name
2021-02-03 13:57:49 -07:00
dahall
c6ef5c216b
Added Vanara.PInvoke.Version project will all functions
2021-02-03 13:56:25 -07:00
dahall
302e0af192
Moved VerRsrc structures and enum to new Version assembly
2021-02-03 12:33:40 -07:00
dahall
5d33dc9a44
Fixed access problem in minidump
2021-02-03 08:59:07 -07:00
dahall
9464dbd4fa
Added `MiniDumpWriteDump` and supporting structs #204
2021-02-03 08:41:28 -07:00
dahall
2a38e34ae5
Added missing XML documentation
2021-02-01 16:26:16 -07:00
dahall
967389e246
Removed all calls to `Marshal.ReleaseComObject` where there exists a possibility that the interface could have been referenced by another object and changed to nulling the holding variable. See discussion thread #188 .
2021-02-01 16:08:43 -07:00
dahall
4ad9cc77e2
Updated project files with 3.3.3 info
2021-02-01 13:23:54 -07:00
dahall
72e792928f
Fixed XML comment problems
2021-02-01 09:08:31 -07:00
dahall
51ff0fc1a8
Completed work for WSMan, including enhanced definitions for the IWSMan set of interfaces.
2021-01-31 20:26:21 -07:00
dahall
eaeb31a11d
Added missing ReportIScsiTargetPortals function
2021-01-30 15:25:41 -07:00
dahall
77138c965b
Fixed layout problem with MIB_UDP6ROW_OWNER_MODULE ( #189 )
2021-01-30 10:26:50 -07:00
dahall
9ee04bca80
Completed all functions for SetupAPI
2021-01-30 09:25:37 -07:00
dahall
06a42c155c
Reverted HBITMAP.ToBitmap() extension to just call Image.FromHBITMAP to avoid flipping until addressed ( #202 )
2021-01-29 14:47:34 -07:00
dahall
a6d225b6b8
Updated project files with `ImportWindowsDesktopTargets` feature to prevent NETSDK1136 build error ( #200 )
2021-01-26 07:49:48 -07:00
dahall
2be07af49a
Fixes to NtQueryInformationProcess to compensate for bitness issues between processes. #123
2021-01-25 17:04:16 -07:00
dahall
adc4a814b2
Added addition PROCESSINFOCLASS values from ProcessHacker and PInvoke.net
2021-01-25 12:12:41 -07:00
dahall
5ba1e9d7b5
Added UNICODE_STRING.ToString(HPROCESS hProc) method
2021-01-25 12:11:56 -07:00
dahall
adf48e9d4f
Added CreateWindowEx overload taking IntPtr for class name
2021-01-24 18:58:58 -07:00
dahall
3109a2ebbf
Fixed disposal bug in BasicMessageWindow
2021-01-24 18:58:16 -07:00
dahall
93efa5648e
Added `Macros.MAKEINTATOM` function
2021-01-24 18:57:43 -07:00
dahall
aff898c849
Changed Win32Error.GetLastError to use function from Kernel32 instead of Marshal.GetLastError to improve speed.
2021-01-24 18:55:49 -07:00
dahall
4a55c16fee
Update project files for release
2021-01-21 10:17:30 -07:00
dahall
def1172b25
Added more SetupAPI functions
2021-01-21 09:54:15 -07:00
dahall
f9edfeefc1
Finished work with some helper methods on IScsiDsc
2021-01-20 13:56:42 -07:00
dahall
43cf044f87
Updated project files
2021-01-19 19:36:32 -07:00
dahall
51e1dfe133
Added IScsiDsc library
2021-01-19 11:18:23 -07:00
dahall
f9e5ae6a68
Added GetVolumePathNamesForVolumeName overload
2021-01-19 11:17:57 -07:00
dahall
bee8b44bbc
Added details for IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS
2021-01-15 13:37:38 -07:00
dahall
582811517b
Added VOLUME_DISK_EXTENTS
2021-01-15 13:37:15 -07:00
dahall
2aa0834de5
More work on SetupAPI
2021-01-14 20:24:17 -07:00
dahall
9609ce7eee
Extended and improved object GetValue(this REG_VALUE_TYPE value) method
2021-01-14 20:23:30 -07:00
dahall
583a0a9f93
Updated project files
2021-01-14 12:02:00 -07:00
dahall
0e22e0f9b4
Added more functions and unit test for WsmSvc
2021-01-11 18:46:28 -07:00
dahall
4a63607d26
Updated project files
2021-01-11 15:30:51 -07:00
dahall
186870006a
Added Vanara.PInvoke.WsmSvc assembly ( #194 ) with a portion of the functions.
2021-01-11 15:30:19 -07:00
dahall
d92b34e446
Added const property key and Guid values for use by SetupAPI
2021-01-11 11:24:19 -07:00
dahall
9345674ebc
Moved PDCAP enum from PowrProf to Shared and added a few other enums and structure to Shared.Wdm.cs from that header file.
2021-01-11 11:20:54 -07:00
dahall
1ae5a59faa
Added Vanara.PInvoke.SHCore assembly with all functions ( #193 )
2021-01-11 11:17:40 -07:00
dahall
0d732be421
Added StructHelper.InitWithSize to simplify the many structures that have to be initialized with their size.
2021-01-11 11:16:52 -07:00
dahall
e23d7d2220
Moved DEVICE_SCALE_FACTOR from Shell32 to Shared
2021-01-11 11:16:06 -07:00
dahall
608e0f7d53
Updated project information
2021-01-05 21:55:12 -07:00
dahall
a1bed07eac
Completed SetupAPI device functions
2021-01-05 21:54:42 -07:00
dahall
5c040e7fd4
Renamed SafeMSIHANDLE to PMSIHANDLE and finished all methods for msi.dll
2021-01-03 14:31:34 -07:00
dahall
8c203d399d
Msi and SetupAPI check-in, buildable
2021-01-02 18:42:02 -07:00
dahall
a8730903e3
More SendMessage work
2021-01-01 15:05:32 -07:00
dahall
eefe24a771
Moved HOTKEYF from ComCtrl32 to User32 to align with WM_GETHOTKEY location
2021-01-01 15:03:01 -07:00
dahall
9b5d6942e7
Finally added XML docs to all items in ComCtl32.
2021-01-01 15:02:15 -07:00
dahall
6dc8b6a749
Updated SendMessage dependencies in ListView code
2020-12-31 20:46:27 -07:00
dahall
4e44329587
Added owner-draw structures and enum to User32.
2020-12-31 20:14:04 -07:00
dahall
1ef28a890a
POTENTIALLY BREAKING CHANGE: Revamped SendMessage overloads to reduce accidential use of wrong overload. Most uses still work except passing a class in as lParam.
2020-12-31 20:13:35 -07:00
dahall
feba58dafb
Added new SendMessage overload for WM_GETTEXT use case ( #191 ).
2020-12-31 10:50:54 -07:00
dahall
06027d381a
Updated project files
2020-12-30 21:01:44 -07:00
dahall
16ce539b33
Added Msi (partial), NewDev (complete) and SetupAPI (partial) assemblies
2020-12-30 20:48:39 -07:00
dahall
9212f849c9
Moved OLE types CY, DECIMAL and DATE up to Shared assembly.
2020-12-29 14:59:20 -07:00
dahall
de62a4d6bd
Added IArrayStruct<byte> inheritance for DRT_DATA
2020-12-28 15:18:35 -07:00
dahall
8eb8b174a1
Added explicit conversion from SOCKADDR_STORAGE to SOCKADDR_IN and SOCKADDR_IN6
2020-12-28 15:17:47 -07:00
dahall
7704160b1e
Fixed Int32/UInt32 mismatch on OFN
2020-12-28 13:28:08 -07:00
dahall
f4a3b97063
Changed allocated string fields in ComDlg32 to StrPtrAuto rather than String.
2020-12-27 20:40:08 -07:00
dahall
3ad427a190
Updated project files
2020-12-27 18:29:25 -07:00
dahall
f489e1ca89
Fixed methods in Shell32 (SHGetFolderLocation, SHGetFolderPath, SHGetFolderPathAndSubDir) that should use CSIDL enum but didn't. Fixed dependencies.
2020-12-27 17:32:52 -07:00
dahall
f8e8e6f545
Changed IDropTarget methods to use MouseButtonState param value instead of uint. Fixed dependencies.
2020-12-27 17:31:40 -07:00
dahall
f0fd3f0334
Moved MouseButtonState from User32 to Shared assembly and up to PInvoke namespace. Fixed dependencies.
2020-12-27 17:30:06 -07:00
dahall
2066523bd0
BREAKING CHANGE: Changed AppendMenu param from UIntPtr to IntPtr for easier conversion from HMENU and int command ids. Change MENUINFO.dwMenuData to IntPtr for easier conversions.
2020-12-27 16:51:46 -07:00
dahall
c1c20171e7
Added IDC_ cursor resource id constants
2020-12-27 16:50:05 -07:00
dahall
777e163e35
Updated project information
2020-12-27 09:28:14 -07:00
dahall
f526adbdf6
Doc fixes
2020-12-26 20:34:36 -07:00
dahall
4307eaa01a
Added CW_USEDEFAULT constant and fixed return value of CreateWindow function
2020-12-26 16:01:51 -07:00
dahall
a9ed619504
Added constants for static controls (msgs, notifications and styles)
2020-12-26 16:00:55 -07:00
dahall
662c8a18c1
Added IDI_* values for static icons and overloaded LoadIcon function to accept a ResourceId param.
2020-12-26 16:00:25 -07:00
dahall
e576bd40e7
Updated project information
2020-12-26 11:07:30 -07:00
dahall
966c91c1d3
Completed work on OleDlg
2020-12-26 10:22:22 -07:00
dahall
f57fa2af7f
Fixed incorrect import attribute
2020-12-26 10:19:51 -07:00
dahall
ee3fb03825
Fixed XML comments
2020-12-26 10:19:34 -07:00
dahall
9067493f09
Completed work on ComDlg32
2020-12-25 20:41:41 -07:00
dahall
96ab21f382
Added param to SystemEventHandler constructor to force creation of the message pump in a thread and a PreprocessMessage method that pre-processes messages in the pump.
2020-12-25 20:41:20 -07:00
dahall
4c85c898ce
Added constructor for MSG struct
2020-12-25 20:40:00 -07:00
dahall
cabf86396c
Removed Security.PermissionSetAttribute from all classes, properties and methods. It is now marked Obsolete.
2020-12-24 13:07:32 -07:00
dahall
d119c5adbd
Updated project information
2020-12-24 11:00:18 -07:00
dahall
b0415fd93a
Fixed XML comment warnings
2020-12-24 10:58:51 -07:00
dahall
6c92aaab73
Added iaccess.h interfaces to Ole32
2020-12-24 09:18:27 -07:00
dahall
66eb09cade
Added ComDlg32 and OleDlg assemblies
2020-12-24 09:17:50 -07:00
dahall
79ceb6112e
More work on WTSApi32
2020-12-23 12:14:55 -07:00
dahall
8acca80194
Updated project information
2020-12-22 19:13:59 -07:00
dahall
dcefb85f61
Added WTSApi32 library
2020-12-22 16:26:55 -07:00
dahall
8e1057e676
Exposed public properties in SystemEventHandler
2020-12-22 11:45:04 -07:00
dahall
aa02808735
Finished work on PowerManager event additions for all power events. ( #190 )
2020-12-22 10:00:34 -07:00
dahall
1196a4ed48
Added abstract `SystemEventHandler` which provides a smart message window that will automatically spin up a thread, if needed, for the message pump.
2020-12-22 09:59:32 -07:00
dahall
6d0a8b22ea
Made serious changes to IOleCommandTarget. It was very broken ( #188 ). Added other missing stuff from docobj.h.
2020-12-20 20:40:01 -07:00
dahall
e8d89a085a
Moved IOleCommand declaration to Ole Ole32 from Shell32
2020-12-20 13:20:16 -07:00
dahall
5c0f92d07c
More work on BasicMessageWindow
2020-12-20 09:16:10 -07:00
dahall
c70614bd19
Added BROADCAST_QUERY_DENY return value.
2020-12-20 08:36:22 -07:00
dahall
6aa6d3fd70
More work and tests for BasicMessageWindow
2020-12-20 08:29:09 -07:00
dahall
ddfad23ac1
Removed incorrect FlagsAttribute from WindowMessage enum and removed duplicate, unused WM_HSHELL values
2020-12-20 08:28:33 -07:00
dahall
6f0255aa56
Changed ThrowLastErrorIfInvalid to a generic method to return the same type as the delegate
2020-12-20 08:27:17 -07:00
dahall
a10fc8fff0
Added CorrespondingTypeAttribute to power GUID values when they support a secondary value
2020-12-20 08:26:29 -07:00
dahall
9f65b87ab7
Added BasicMessageWindow class as a simple alternative to NativeWindow and MessageWindow
2020-12-18 17:49:56 -07:00
dahall
952c6cebe1
Added HWND.HWND_MESSAGE value
2020-12-18 17:49:12 -07:00
dahall
96cc9d8ba9
Added param attributes for CreateWindow(Ex) and CREATESTRUCT structure
2020-12-18 17:48:39 -07:00
dahall
9314a46714
Added LsaQueryCAPs overload taking a pointer for the first param
2020-12-18 17:47:54 -07:00
dahall
6ef8202772
Fixed alignment issue with `MIB_UDPROW_OWNER_MODULE` ( #189 )
2020-12-18 17:47:17 -07:00
dahall
d2dbaad8e6
Fixed warning in INetFwRule.GetInterfaces extension method.
2020-12-17 14:05:46 -07:00
dahall
d0a15b7d7c
Merge branch 'master' of https://github.com/dahall/Vanara
2020-12-16 16:52:24 -07:00
dahall
d1553b057b
Fixed packing directive on `MIB_UDP6ROW_OWNER_MODULE` and `MIB_UDPROW_OWNER_MODULE` per issue #189
2020-12-16 16:28:30 -07:00
dahall
e214393430
Updated project documentation files
2020-12-16 11:41:02 -07:00
dahall
b301a72b50
More work on Rpc assembly
2020-12-16 11:40:33 -07:00
Thorsten Jung
b7c54b7c59
Fix misspelled path of file Winternl.cs ( #187 )
2020-12-15 08:00:19 -07:00
dahall
665de0c258
Added Vanara.PInvoke.Rpc assembly to support Rpc related functions
2020-12-14 16:14:02 -07:00
dahall
9580be2bd0
Added over 100 new COM interfaces to Ole32
2020-12-14 16:13:21 -07:00
dahall
989c9dcf99
BREAKING CHANGE: Moved IObjectWithSite from Shell32 to Ole32
2020-12-14 16:11:36 -07:00
dahall
5f34bc2355
Added ICOMEnum interface to all appropriate COM interfaces.
2020-12-14 16:10:31 -07:00
dahall
1b264636c7
Fixed bug in LookupAccountSid2 where assigned return values incorrectly.
2020-12-14 16:05:26 -07:00
dahall
cd75cd654d
Added Vanara.Collections.ICOMEnum<T> interface to indicate COM interfaces that support the Enum/Reset pattern. Useful for simplifying getting IEnumerable runs from them.
2020-12-14 16:04:42 -07:00
dahall
a2ba62d9fc
BREAKING CHANGE: Moved RPC enums from Ole32 to Rpc assembly and static class.
2020-12-14 16:02:45 -07:00
dahall
308b49b8e2
Enhanced HBITMAP.ToBitmap method
2020-12-08 10:42:00 -07:00
dahall
aa6085a4a6
Based on Windows error in LookupAccountSid, I've added LookupAccountSid2 based on LsaLookupSid2.
2020-12-08 10:34:12 -07:00
dahall
5789fff072
Fixed declaration of IEnumAssocHandlers.Next
2020-12-07 19:57:52 -07:00
dahall
f66e5083cd
Added GDI extension methods for HBITMAP - IsBottomUpDIB, IsDIB and simplified ToBitmap
2020-12-07 18:54:45 -07:00
dahall
7ec4f19367
Added SafeHBITMAP.ToBitmap method
2020-12-07 18:53:02 -07:00
dahall
53187c0c0f
Fixed bug in GetObject overloads
2020-12-07 18:51:34 -07:00
dahall
fd1d4de1c7
Added BITMAPINFO.FromHBITMAP method and default static values for BITMAPINFO and DIBSECTION
2020-12-07 18:50:45 -07:00
dahall
87273d6edb
Optimized code for HICON.ToHBITMAP extension method
2020-12-07 18:49:03 -07:00
dahall
4477d18332
Added check for empty icon file in LoadImageFromExtractImage
2020-12-07 18:48:15 -07:00
dahall
4a5b14ded3
Added `LookupAccountSidLocal` per #184 comment. Removed BestFitMapping from methods as it was used incorrectly. Added some parameter attributes.
2020-12-07 18:47:14 -07:00
dahall
81ff24990c
Fixes to ShellUtil based on testing
2020-12-03 22:22:38 -07:00
dahall
3aa3f9223d
**BREAKING CHANGES:** FIxed structures that could not load due to marshal attribute bugs
2020-12-03 20:34:05 -07:00
dahall
1f0183dcc9
To `Shell32.ShellUtil`, added SHIL to pixel conversions and wrapper methods to handle getting images and icons from shell items and folders.
2020-12-03 19:27:39 -07:00
dahall
5f70c3f434
Added BindToHandler overloads accepting BHID enum values
2020-12-03 19:26:07 -07:00
dahall
ab63ec5d26
Added CorrespondingTypeAttributes to all BHID enum values
2020-12-03 19:25:25 -07:00
dahall
47cbd0be0b
Added conversion methods from HICON to HBITMAP and BitmapSource.
2020-12-03 19:24:45 -07:00
dahall
c904517bf7
Added conversion methods from HBITMAP to Bitmap and BitmapSource
2020-12-03 19:23:44 -07:00
David Hall
bffb95b78d
Merge branch 'master' of https://github.com/dahall/Vanara
2020-11-28 19:10:30 -07:00
David Hall
9f0a31fdf8
Changed all IContextMenu variants to have PreserveSig model for implementation
2020-11-28 18:29:59 -07:00
Sergey Veselkov
2dbe412881
Added missing ASSOCSTR values ( #180 )
2020-11-28 07:44:30 -07:00
David Hall
545321357b
Updated param attributes for GetCommandString
2020-11-27 10:33:17 -07:00
David Hall
b51948f29b
Added ResourceId.IsIntResource property
2020-11-27 10:32:29 -07:00
David Hall
169d579c2e
Added MADCAP functions to Vanara.PInvoke.Dhcp
2020-11-23 10:50:09 -07:00
dahall
4d71e6ce9b
Updated project information markdown files with new format
2020-11-20 18:52:43 -07:00
dahall
4c18661740
Updated project files for 3.3.0 release
2020-11-20 12:38:46 -07:00
dahall
290c053d28
Added DHCP client APIs
2020-11-19 15:00:30 -07:00
dahall
439d77f58d
Added HEVENT handle
2020-11-19 14:48:23 -07:00
dahall
c7a322c069
Updated project references to Microsoft.Drawing.Common for .NET 5
2020-11-14 10:12:24 -07:00
dahall
04d33e7e1a
Added support for .NET 5.0 (windows)
2020-11-13 16:55:23 -07:00
dahall
f835313217
Added SHChangeNotify overloads for strings and PIDLs
2020-11-13 16:45:04 -07:00
dahall
a07d008347
Updated project files for 3.2.20
2020-11-13 11:33:33 -07:00
dahall
ca1ed583bc
Added VariantToStrRet function
2020-11-13 11:15:38 -07:00