From 8f1e78e0f3f251b5c3a4bc4f4e4a6d228f730ac6 Mon Sep 17 00:00:00 2001 From: David Hall Date: Mon, 21 Jan 2019 08:42:39 -0800 Subject: [PATCH] Updated project versions to 2.2.0 as there have been lots of changes, some of which are breaking. --- Core/Vanara.Core.csproj | 2 +- HelpBuilder/HelpBuilder.shfbproj | 2 +- PInvoke/AclUI/Vanara.PInvoke.AclUI.csproj | 2 +- PInvoke/BITS/Vanara.PInvoke.BITS.csproj | 2 +- PInvoke/ComCtl32/Vanara.PInvoke.ComCtl32.csproj | 2 +- PInvoke/CredUI/Vanara.PInvoke.CredUI.csproj | 2 +- .../Vanara.PInvoke.Cryptography.csproj | 2 +- PInvoke/DwmApi/Vanara.PInvoke.DwmApi.csproj | 2 +- PInvoke/Gdi32/Vanara.PInvoke.Gdi32.csproj | 2 +- PInvoke/IpHlpApi/Vanara.PInvoke.IpHlpApi.csproj | 2 +- PInvoke/Kernel32/Vanara.PInvoke.Kernel32.csproj | 2 +- PInvoke/Mpr/Vanara.PInvoke.Mpr.csproj | 2 +- PInvoke/NTDSApi/Vanara.PInvoke.NTDSApi.csproj | 2 +- PInvoke/NTDll/Vanara.PInvoke.NTDll.csproj | 2 +- PInvoke/NetApi32/Vanara.PInvoke.NetApi32.csproj | 2 +- .../NetListMgr/Vanara.PInvoke.NetListMgr.csproj | 2 +- PInvoke/Ole/CorrelationReport.md | 15 ++- PInvoke/Ole/Vanara.PInvoke.Ole.csproj | 6 +- PInvoke/Security/Vanara.PInvoke.Security.csproj | 2 +- PInvoke/Shared/AssemblyReport.md | 3 +- PInvoke/Shared/Vanara.PInvoke.Shared.csproj | 4 +- PInvoke/Shell32/CorrelationReport.md | 8 +- PInvoke/Shell32/Vanara.PInvoke.Shell32.csproj | 6 +- PInvoke/ShlwApi/Vanara.PInvoke.ShlwApi.csproj | 2 +- PInvoke/TaskSchd/Vanara.PInvoke.TaskSchd.csproj | 2 +- .../User32.Gdi/Vanara.PInvoke.User32.Gdi.csproj | 2 +- PInvoke/User32/CorrelationReport.md | 55 +++++----- PInvoke/User32/Vanara.PInvoke.User32.csproj | 6 +- PInvoke/UxTheme/Vanara.PInvoke.UxTheme.csproj | 2 +- PInvoke/VirtDisk/Vanara.PInvoke.VirtDisk.csproj | 2 +- PInvoke/WinINet/Vanara.PInvoke.WinINet.csproj | 2 +- PInvoke/Ws2_32/Vanara.PInvoke.Ws2_32.csproj | 2 +- Security/Vanara.Security.csproj | 2 +- System/Vanara.SystemServices.csproj | 2 +- UnitTests/Properties/AssemblyInfo.cs | 4 +- WIndows.Forms/Vanara.Windows.Forms.csproj | 2 +- Windows.Shell/AssemblyReport.md | 1 + Windows.Shell/ClipboardEx.cs | 121 +++++++++++++++++++++ Windows.Shell/IDataObjectExtensions.cs | 80 ++++++++++++++ Windows.Shell/ShellSearchConditions.cs | 8 ++ Windows.Shell/Vanara.Windows.Shell.csproj | 4 +- 41 files changed, 299 insertions(+), 76 deletions(-) create mode 100644 Windows.Shell/ClipboardEx.cs create mode 100644 Windows.Shell/IDataObjectExtensions.cs create mode 100644 Windows.Shell/ShellSearchConditions.cs diff --git a/Core/Vanara.Core.csproj b/Core/Vanara.Core.csproj index 0caac0af..c675ed1c 100644 --- a/Core/Vanara.Core.csproj +++ b/Core/Vanara.Core.csproj @@ -9,7 +9,7 @@ * Memory stream based on marshaled memory Copyright © 2017-2019 $(AssemblyName) - 2.1.3 + 2.2.0 net20;net35;net40;net45;netstandard2.0;netcoreapp2.0;netcoreapp2.1 Vanara.Core $(AssemblyName) diff --git a/HelpBuilder/HelpBuilder.shfbproj b/HelpBuilder/HelpBuilder.shfbproj index 46236317..35c842e6 100644 --- a/HelpBuilder/HelpBuilder.shfbproj +++ b/HelpBuilder/HelpBuilder.shfbproj @@ -29,7 +29,7 @@ False False True - 2.1.3 + 2.2.0 2 True C#, Visual Basic diff --git a/PInvoke/AclUI/Vanara.PInvoke.AclUI.csproj b/PInvoke/AclUI/Vanara.PInvoke.AclUI.csproj index c348b12f..345e9cc5 100644 --- a/PInvoke/AclUI/Vanara.PInvoke.AclUI.csproj +++ b/PInvoke/AclUI/Vanara.PInvoke.AclUI.csproj @@ -4,7 +4,7 @@ Methods, structures and constants imported from AclUI.dll. Copyright © 2017-2019 $(AssemblyName) - 2.1.3 + 2.2.0 net20;net35;net40;net45 Vanara.PInvoke.AclUI $(AssemblyName) diff --git a/PInvoke/BITS/Vanara.PInvoke.BITS.csproj b/PInvoke/BITS/Vanara.PInvoke.BITS.csproj index daf0d942..e9e3ac58 100644 --- a/PInvoke/BITS/Vanara.PInvoke.BITS.csproj +++ b/PInvoke/BITS/Vanara.PInvoke.BITS.csproj @@ -4,7 +4,7 @@ Interfaces, structures and constants imported for BITS (Background Intelligent Transfer Service). Copyright © 2017-2019 $(AssemblyName) - 2.1.3 + 2.2.0 net20;net35;net40;net45;netstandard2.0;netcoreapp2.0;netcoreapp2.1 Vanara.PInvoke.BITS $(AssemblyName) diff --git a/PInvoke/ComCtl32/Vanara.PInvoke.ComCtl32.csproj b/PInvoke/ComCtl32/Vanara.PInvoke.ComCtl32.csproj index 7342dd23..3a647f1c 100644 --- a/PInvoke/ComCtl32/Vanara.PInvoke.ComCtl32.csproj +++ b/PInvoke/ComCtl32/Vanara.PInvoke.ComCtl32.csproj @@ -4,7 +4,7 @@ Methods, structures and constants imported from ComCtl32.dll. Copyright © 2017-2019 $(AssemblyName) - 2.1.3 + 2.2.0 net20;net35;net40;net45 Vanara.PInvoke.ComCtl32 $(AssemblyName) diff --git a/PInvoke/CredUI/Vanara.PInvoke.CredUI.csproj b/PInvoke/CredUI/Vanara.PInvoke.CredUI.csproj index 092f0876..cba89e62 100644 --- a/PInvoke/CredUI/Vanara.PInvoke.CredUI.csproj +++ b/PInvoke/CredUI/Vanara.PInvoke.CredUI.csproj @@ -4,7 +4,7 @@ Methods, structures and constants imported from CredUI.dll. Copyright © 2017-2019 $(AssemblyName) - 2.1.3 + 2.2.0 net20;net35;net40;net45 Vanara.PInvoke.CredUI $(AssemblyName) diff --git a/PInvoke/Cryptography/Vanara.PInvoke.Cryptography.csproj b/PInvoke/Cryptography/Vanara.PInvoke.Cryptography.csproj index 31303813..25b91bb2 100644 --- a/PInvoke/Cryptography/Vanara.PInvoke.Cryptography.csproj +++ b/PInvoke/Cryptography/Vanara.PInvoke.Cryptography.csproj @@ -4,7 +4,7 @@ Methods, structures and constants imported from BCrypt.dll and NCrypt.dll. Copyright © 2017-2019 $(AssemblyName) - 2.1.3 + 2.2.0 net20;net35;net40;net45;netstandard2.0;netcoreapp2.0;netcoreapp2.1 Vanara.PInvoke.Cryptography $(AssemblyName) diff --git a/PInvoke/DwmApi/Vanara.PInvoke.DwmApi.csproj b/PInvoke/DwmApi/Vanara.PInvoke.DwmApi.csproj index bfeb63fc..6494896f 100644 --- a/PInvoke/DwmApi/Vanara.PInvoke.DwmApi.csproj +++ b/PInvoke/DwmApi/Vanara.PInvoke.DwmApi.csproj @@ -4,7 +4,7 @@ Methods, structures and constants imported from DwmApi.dll. Copyright © 2017-2019 $(AssemblyName) - 2.1.3 + 2.2.0 net20;net35;net40;net45 Vanara.PInvoke.DwmApi $(AssemblyName) diff --git a/PInvoke/Gdi32/Vanara.PInvoke.Gdi32.csproj b/PInvoke/Gdi32/Vanara.PInvoke.Gdi32.csproj index 63beece9..8b8c4b0c 100644 --- a/PInvoke/Gdi32/Vanara.PInvoke.Gdi32.csproj +++ b/PInvoke/Gdi32/Vanara.PInvoke.Gdi32.csproj @@ -4,7 +4,7 @@ Methods, structures and constants imported from Gdi32.dll Copyright © 2017-2019 $(AssemblyName) - 2.1.3 + 2.2.0 net20;net35;net40;net45 Vanara.PInvoke.Gdi32 $(AssemblyName) diff --git a/PInvoke/IpHlpApi/Vanara.PInvoke.IpHlpApi.csproj b/PInvoke/IpHlpApi/Vanara.PInvoke.IpHlpApi.csproj index 67f141a8..e68f4f8b 100644 --- a/PInvoke/IpHlpApi/Vanara.PInvoke.IpHlpApi.csproj +++ b/PInvoke/IpHlpApi/Vanara.PInvoke.IpHlpApi.csproj @@ -4,7 +4,7 @@ Methods, structures and constants imported from IpHlpApi.dll. Copyright © 2017-2019 $(AssemblyName) - 2.1.3 + 2.2.0 net20;net35;net40;net45;netstandard2.0;netcoreapp2.0;netcoreapp2.1 Vanara.PInvoke.IpHlpApi $(AssemblyName) diff --git a/PInvoke/Kernel32/Vanara.PInvoke.Kernel32.csproj b/PInvoke/Kernel32/Vanara.PInvoke.Kernel32.csproj index 82356eae..0e187f4a 100644 --- a/PInvoke/Kernel32/Vanara.PInvoke.Kernel32.csproj +++ b/PInvoke/Kernel32/Vanara.PInvoke.Kernel32.csproj @@ -4,7 +4,7 @@ Methods, structures and constants imported from Kernel32.dll. Copyright © 2017-2019 $(AssemblyName) - 2.1.3 + 2.2.0 net20;net35;net40;net45;netstandard2.0;netcoreapp2.0;netcoreapp2.1 Vanara.PInvoke.Kernel32 $(AssemblyName) diff --git a/PInvoke/Mpr/Vanara.PInvoke.Mpr.csproj b/PInvoke/Mpr/Vanara.PInvoke.Mpr.csproj index 99ac3d07..fc8edc81 100644 --- a/PInvoke/Mpr/Vanara.PInvoke.Mpr.csproj +++ b/PInvoke/Mpr/Vanara.PInvoke.Mpr.csproj @@ -4,7 +4,7 @@ Methods, structures and constants imported from Mpr.dll. Copyright © 2017-2019 $(AssemblyName) - 2.1.3 + 2.2.0 net20;net35;net40;net45;netstandard2.0;netcoreapp2.0;netcoreapp2.1 Vanara.PInvoke.Mpr $(AssemblyName) diff --git a/PInvoke/NTDSApi/Vanara.PInvoke.NTDSApi.csproj b/PInvoke/NTDSApi/Vanara.PInvoke.NTDSApi.csproj index 9dd13795..c18dd039 100644 --- a/PInvoke/NTDSApi/Vanara.PInvoke.NTDSApi.csproj +++ b/PInvoke/NTDSApi/Vanara.PInvoke.NTDSApi.csproj @@ -4,7 +4,7 @@ Methods, structures and constants imported from NTDSApi.dll. Copyright © 2017-2019 $(AssemblyName) - 2.1.3 + 2.2.0 net20;net35;net40;net45;netstandard2.0;netcoreapp2.0;netcoreapp2.1 Vanara.PInvoke.NTDSApi $(AssemblyName) diff --git a/PInvoke/NTDll/Vanara.PInvoke.NTDll.csproj b/PInvoke/NTDll/Vanara.PInvoke.NTDll.csproj index eea2d09a..de75a574 100644 --- a/PInvoke/NTDll/Vanara.PInvoke.NTDll.csproj +++ b/PInvoke/NTDll/Vanara.PInvoke.NTDll.csproj @@ -4,7 +4,7 @@ Methods, structures and constants imported from NtDll.dll. Copyright © 2017-2019 $(AssemblyName) - 2.1.3 + 2.2.0 net20;net35;net40;net45;netstandard2.0;netcoreapp2.0;netcoreapp2.1 Vanara.PInvoke.NtDll $(AssemblyName) diff --git a/PInvoke/NetApi32/Vanara.PInvoke.NetApi32.csproj b/PInvoke/NetApi32/Vanara.PInvoke.NetApi32.csproj index ff9b7155..2f27d8b4 100644 --- a/PInvoke/NetApi32/Vanara.PInvoke.NetApi32.csproj +++ b/PInvoke/NetApi32/Vanara.PInvoke.NetApi32.csproj @@ -4,7 +4,7 @@ Methods, structures and constants imported from NetApi32.dll. Copyright © 2017-2019 $(AssemblyName) - 2.1.3 + 2.2.0 net20;net35;net40;net45;netstandard2.0;netcoreapp2.0;netcoreapp2.1 Vanara.PInvoke.NetApi32 $(AssemblyName) diff --git a/PInvoke/NetListMgr/Vanara.PInvoke.NetListMgr.csproj b/PInvoke/NetListMgr/Vanara.PInvoke.NetListMgr.csproj index 491cb945..57954a25 100644 --- a/PInvoke/NetListMgr/Vanara.PInvoke.NetListMgr.csproj +++ b/PInvoke/NetListMgr/Vanara.PInvoke.NetListMgr.csproj @@ -4,7 +4,7 @@ Methods, structures and constants for NetListMgr COM object. Copyright © 2017-2019 $(AssemblyName) - 2.1.3 + 2.2.0 net20;net35;net40;net45;netstandard2.0;netcoreapp2.0;netcoreapp2.1 Vanara.PInvoke.NetListMgr $(AssemblyName) diff --git a/PInvoke/Ole/CorrelationReport.md b/PInvoke/Ole/CorrelationReport.md index 9795bf86..b42cbf7b 100644 --- a/PInvoke/Ole/CorrelationReport.md +++ b/PInvoke/Ole/CorrelationReport.md @@ -1,5 +1,5 @@ ## Correlation report for ole32.dll, oleaut32.dll, propsys.dll -### Methods (20% complete) +### Methods (21% complete) Native Method | Native DLL | Header | Managed Method --- | --- | --- | --- [BindMoniker](https://www.google.com/search?num=5&q=BindMoniker+site%3Amicrosoft.com) | ole32.dll | | @@ -55,7 +55,7 @@ Native Method | Native DLL | Header | Managed Method [CoGetCallerTID](https://www.google.com/search?num=5&q=CoGetCallerTID+site%3Amicrosoft.com) | ole32.dll | | [CoGetCallState](https://www.google.com/search?num=5&q=CoGetCallState+site%3Amicrosoft.com) | ole32.dll | | [CoGetCancelObject](https://www.google.com/search?num=5&q=CoGetCancelObject+site%3Amicrosoft.com) | ole32.dll | | -[CoGetClassObject](https://www.google.com/search?num=5&q=CoGetClassObject+site%3Amicrosoft.com) | ole32.dll | | +[CoGetClassObject](http://msdn2.microsoft.com/en-us/library/65e758ce-50a4-49e8-b3b2-0cd148d2781a) | ole32.dll | combaseapi.h | Vanara.PInvoke.Ole32.CoGetClassObject [CoGetClassVersion](https://www.google.com/search?num=5&q=CoGetClassVersion+site%3Amicrosoft.com) | ole32.dll | | [CoGetComCatalog](https://www.google.com/search?num=5&q=CoGetComCatalog+site%3Amicrosoft.com) | ole32.dll | | [CoGetContextToken](https://www.google.com/search?num=5&q=CoGetContextToken+site%3Amicrosoft.com) | ole32.dll | | @@ -109,7 +109,7 @@ Native Method | Native DLL | Header | Managed Method [CoReactivateObject](https://www.google.com/search?num=5&q=CoReactivateObject+site%3Amicrosoft.com) | ole32.dll | | [CoRegisterActivationFilter](https://www.google.com/search?num=5&q=CoRegisterActivationFilter+site%3Amicrosoft.com) | ole32.dll | | [CoRegisterChannelHook](https://www.google.com/search?num=5&q=CoRegisterChannelHook+site%3Amicrosoft.com) | ole32.dll | | -[CoRegisterClassObject](https://www.google.com/search?num=5&q=CoRegisterClassObject+site%3Amicrosoft.com) | ole32.dll | | +[CoRegisterClassObject](http://msdn2.microsoft.com/en-us/library/d27bfa6c-194a-41f1-8fcf-76c4dff14a8a) | ole32.dll | combaseapi.h | Vanara.PInvoke.Ole32.CoRegisterClassObject [CoRegisterInitializeSpy](https://www.google.com/search?num=5&q=CoRegisterInitializeSpy+site%3Amicrosoft.com) | ole32.dll | | [CoRegisterMallocSpy](https://www.google.com/search?num=5&q=CoRegisterMallocSpy+site%3Amicrosoft.com) | ole32.dll | | [CoRegisterMessageFilter](https://www.google.com/search?num=5&q=CoRegisterMessageFilter+site%3Amicrosoft.com) | ole32.dll | | @@ -121,7 +121,7 @@ Native Method | Native DLL | Header | Managed Method [CoResumeClassObjects](https://www.google.com/search?num=5&q=CoResumeClassObjects+site%3Amicrosoft.com) | ole32.dll | | [CoRetireServer](https://www.google.com/search?num=5&q=CoRetireServer+site%3Amicrosoft.com) | ole32.dll | | [CoRevertToSelf](https://www.google.com/search?num=5&q=CoRevertToSelf+site%3Amicrosoft.com) | ole32.dll | | -[CoRevokeClassObject](https://www.google.com/search?num=5&q=CoRevokeClassObject+site%3Amicrosoft.com) | ole32.dll | | +[CoRevokeClassObject](http://msdn2.microsoft.com/en-us/library/90b9b9ca-b5b2-48f5-8c2a-b478b6daa7ec) | ole32.dll | combaseapi.h | Vanara.PInvoke.Ole32.CoRevokeClassObject [CoRevokeInitializeSpy](https://www.google.com/search?num=5&q=CoRevokeInitializeSpy+site%3Amicrosoft.com) | ole32.dll | | [CoRevokeMallocSpy](https://www.google.com/search?num=5&q=CoRevokeMallocSpy+site%3Amicrosoft.com) | ole32.dll | | [CoSetCancelObject](https://www.google.com/search?num=5&q=CoSetCancelObject+site%3Amicrosoft.com) | ole32.dll | | @@ -151,7 +151,7 @@ Native Method | Native DLL | Header | Managed Method [CreateDataCache](https://www.google.com/search?num=5&q=CreateDataCache+site%3Amicrosoft.com) | ole32.dll | | [CreateDispTypeInfo](https://www.google.com/search?num=5&q=CreateDispTypeInfo+site%3Amicrosoft.com) | oleaut32.dll | | [CreateErrorInfo](https://www.google.com/search?num=5&q=CreateErrorInfo+site%3Amicrosoft.com) | ole32.dll | | -[CreateFileMoniker](https://www.google.com/search?num=5&q=CreateFileMoniker+site%3Amicrosoft.com) | ole32.dll | | +[CreateFileMoniker](http://msdn2.microsoft.com/en-us/library/d9677fa0-cda0-4b63-a21f-1fd0e27c8f3f) | ole32.dll | objbase.h | Vanara.PInvoke.Ole32.CreateFileMoniker [CreateGenericComposite](https://www.google.com/search?num=5&q=CreateGenericComposite+site%3Amicrosoft.com) | ole32.dll | | [CreateILockBytesOnHGlobal](https://www.google.com/search?num=5&q=CreateILockBytesOnHGlobal+site%3Amicrosoft.com) | ole32.dll | | [CreateItemMoniker](https://www.google.com/search?num=5&q=CreateItemMoniker+site%3Amicrosoft.com) | ole32.dll | | @@ -206,7 +206,7 @@ Native Method | Native DLL | Header | Managed Method [GetObjectFromRotByPath](https://www.google.com/search?num=5&q=GetObjectFromRotByPath+site%3Amicrosoft.com) | ole32.dll | | [GetRecordInfoFromGuids](https://www.google.com/search?num=5&q=GetRecordInfoFromGuids+site%3Amicrosoft.com) | oleaut32.dll | | [GetRecordInfoFromTypeInfo](https://www.google.com/search?num=5&q=GetRecordInfoFromTypeInfo+site%3Amicrosoft.com) | oleaut32.dll | | -[GetRunningObjectTable](https://www.google.com/search?num=5&q=GetRunningObjectTable+site%3Amicrosoft.com) | ole32.dll | | +[GetRunningObjectTable](http://msdn2.microsoft.com/en-us/library/65d9cf7d-cc8a-4199-9a4a-7fd67ef8872d) | ole32.dll | objbase.h | Vanara.PInvoke.Ole32.GetRunningObjectTable [GetVarConversionLocaleSetting](https://www.google.com/search?num=5&q=GetVarConversionLocaleSetting+site%3Amicrosoft.com) | oleaut32.dll | | [HWND_UserFree](https://www.google.com/search?num=5&q=HWND_UserFree+site%3Amicrosoft.com) | oleaut32.dll | | [HWND_UserFree64](https://www.google.com/search?num=5&q=HWND_UserFree64+site%3Amicrosoft.com) | oleaut32.dll | | @@ -973,9 +973,11 @@ Native Structure | Header | Managed Structure ### Interfaces Native Interface | Native DLL | Header | Managed Interface --- | --- | --- | --- +[IClassFactory](http://msdn2.microsoft.com/en-us/library/f624f833-2b69-43bc-92cd-c4ecbe6051c5) | unknwnbase.h | Vanara.PInvoke.Ole32+IClassFactory [ICreateObject](http://msdn2.microsoft.com/en-us/library/90502b4a-dc0a-4077-83d7-e9f5445ba69b) | propsys.h | Vanara.PInvoke.PropSys+ICreateObject [IDelayedPropertyStoreFactory](http://msdn2.microsoft.com/en-us/library/855c9f10-9f40-4c60-a669-551fa51133f5) | propsys.h | Vanara.PInvoke.PropSys+IDelayedPropertyStoreFactory [IDropSource](http://msdn2.microsoft.com/en-us/library/963a36bc-4ad7-4591-bffc-a96b4310177d) | oleidl.h | Vanara.PInvoke.Ole32+IDropSource +[IDropTarget](http://msdn2.microsoft.com/en-us/library/13fbe834-1ef8-4944-b2e4-9f5c413c65c8) | oleidl.h | Vanara.PInvoke.Ole32+IDropTarget [IEnumSTATPROPSETSTG](http://msdn2.microsoft.com/en-us/library/8d5e658f-312c-4c91-8794-808b2e8dd182) | propidl.h | Vanara.PInvoke.Ole32+IEnumSTATPROPSETSTG [IEnumSTATPROPSTG](http://msdn2.microsoft.com/en-us/library/e625e52a-5628-4d18-9282-aa1c141c83af) | propidl.h | Vanara.PInvoke.Ole32+IEnumSTATPROPSTG [IEnumSTATSTG](http://msdn2.microsoft.com/en-us/library/aa379217) | Objidl.h | Vanara.PInvoke.Ole32+IEnumSTATSTG @@ -1002,4 +1004,5 @@ Native Interface | Native DLL | Header | Managed Interface [IPropertyStoreFactory](http://msdn2.microsoft.com/en-us/library/78ea822d-da8e-4883-b0eb-4277e7eb87a2) | propsys.h | Vanara.PInvoke.PropSys+IPropertyStoreFactory [IPropertySystem](http://msdn2.microsoft.com/en-us/library/9ead94d9-4d4e-44c6-8c53-11c4c4ee2fb2) | propsys.h | Vanara.PInvoke.PropSys+IPropertySystem [IRecordInfo](https://www.google.com/search?num=5&q=IRecordInfo+site%3Amicrosoft.com) | OAIdl.h | Vanara.PInvoke.Ole32+IRecordInfo +[IRunningObjectTable](http://msdn2.microsoft.com/en-us/library/ff89bcb5-df6d-4325-b0e8-613217a68f42) | objidl.h | Vanara.PInvoke.Ole32+IRunningObjectTable [IStorage](http://msdn2.microsoft.com/en-us/library/aa380015) | Objidl.h | Vanara.PInvoke.Ole32+IStorage diff --git a/PInvoke/Ole/Vanara.PInvoke.Ole.csproj b/PInvoke/Ole/Vanara.PInvoke.Ole.csproj index 0623b6e9..92814d0a 100644 --- a/PInvoke/Ole/Vanara.PInvoke.Ole.csproj +++ b/PInvoke/Ole/Vanara.PInvoke.Ole.csproj @@ -4,7 +4,7 @@ Methods, structures and constants imported from Ole32.dll, OleAut32 and PropSys.dll. Copyright © 2017-2019 $(AssemblyName) - 2.1.3 + 2.2.0 net20;net35;net40;net45;netstandard2.0;netcoreapp2.0;netcoreapp2.1 Vanara.PInvoke.Ole $(AssemblyName) @@ -25,13 +25,13 @@ Currently implements: Functions -ClearPropVariantArray, CoGetInterfaceAndReleaseStream, CoInitializeEx, CoInitializeSecurity, CoMarshalInterface, CoMarshalInterThreadInterfaceInStream, CoUninitialize, CoUnmarshalInterface, CreateBindCtx, InitPropVariantFromBooleanVector, InitPropVariantFromBuffer, InitPropVariantFromCLSID, InitPropVariantFromDoubleVector, InitPropVariantFromFileTime, InitPropVariantFromFileTimeVector, InitPropVariantFromGUIDAsString, InitPropVariantFromInt16Vector, InitPropVariantFromInt32Vector, InitPropVariantFromInt64Vector, InitPropVariantFromPropVariantVectorElem, InitPropVariantFromResource, InitPropVariantFromStringAsVector, InitPropVariantFromStringVector, InitPropVariantFromStrRet, InitPropVariantFromUInt16Vector, InitPropVariantFromUInt32Vector, InitPropVariantFromUInt64Vector, InitPropVariantVectorFromPropVariant, OleInitialize, OleUninitialize, PropVariantChangeType, PropVariantClear, PropVariantCompareEx, PropVariantCopy, PropVariantGetBooleanElem, PropVariantGetDoubleElem, PropVariantGetElementCount, PropVariantGetFileTimeElem, PropVariantGetInt16Elem, PropVariantGetInt32Elem, PropVariantGetInt64Elem, PropVariantGetStringElem, PropVariantGetUInt16Elem, PropVariantGetUInt32Elem, PropVariantGetUInt64Elem, PropVariantToBoolean, PropVariantToBooleanVector, PropVariantToBooleanVectorAlloc, PropVariantToBooleanWithDefault, PropVariantToBSTR, PropVariantToBuffer, PropVariantToDouble, PropVariantToDoubleVector, PropVariantToDoubleVectorAlloc, PropVariantToDoubleWithDefault, PropVariantToFileTime, PropVariantToFileTimeVector, PropVariantToFileTimeVectorAlloc, PropVariantToGUID, PropVariantToInt16, PropVariantToInt16Vector, PropVariantToInt16VectorAlloc, PropVariantToInt16WithDefault, PropVariantToInt32, PropVariantToInt32Vector, PropVariantToInt32VectorAlloc, PropVariantToInt32WithDefault, PropVariantToInt64, PropVariantToInt64Vector, PropVariantToInt64VectorAlloc, PropVariantToInt64WithDefault, PropVariantToString, PropVariantToStringAlloc, PropVariantToStringVector, PropVariantToStringVectorAlloc, PropVariantToStringWithDefault, PropVariantToStrRet, PropVariantToUInt16, PropVariantToUInt16Vector, PropVariantToUInt16VectorAlloc, PropVariantToUInt16WithDefault, PropVariantToUInt32, PropVariantToUInt32Vector, PropVariantToUInt32VectorAlloc, PropVariantToUInt32WithDefault, PropVariantToUInt64, PropVariantToUInt64Vector, PropVariantToUInt64VectorAlloc, PropVariantToUInt64WithDefault, PropVariantToVariant, PropVariantToWinRTPropertyValue, PSCoerceToCanonicalValue, PSCreateAdapterFromPropertyStore, PSCreateDelayedMultiplexPropertyStore, PSCreateMemoryPropertyStore, PSCreateMultiplexPropertyStore, PSCreatePropertyChangeArray, PSCreatePropertyStoreFromObject, PSCreatePropertyStoreFromPropertySetStorage, PSCreateSimplePropertyChange, PSEnumeratePropertyDescriptions, PSFormatForDisplay, PSFormatForDisplayAlloc, PSFormatPropertyValue, PSGetImageReferenceForValue, PSGetItemPropertyHandler, PSGetItemPropertyHandlerWithCreateObject, PSGetNamedPropertyFromPropertyStorage, PSGetNameFromPropertyKey, PSGetPropertyDescription, PSGetPropertyDescriptionByName, PSGetPropertyDescriptionListFromString, PSGetPropertyFromPropertyStorage, PSGetPropertyKeyFromName, PSGetPropertySystem, PSGetPropertyValue, PSLookupPropertyHandlerCLSID, PSPropertyBag_Delete, PSPropertyBag_ReadBOOL, PSPropertyBag_ReadBSTR, PSPropertyBag_ReadDWORD, PSPropertyBag_ReadGUID, PSPropertyBag_ReadInt, PSPropertyBag_ReadLONG, PSPropertyBag_ReadPOINTL, PSPropertyBag_ReadPOINTS, PSPropertyBag_ReadPropertyKey, PSPropertyBag_ReadRECTL, PSPropertyBag_ReadSHORT, PSPropertyBag_ReadStr, PSPropertyBag_ReadStrAlloc, PSPropertyBag_ReadStream, PSPropertyBag_ReadType, PSPropertyBag_ReadULONGLONG, PSPropertyBag_ReadUnknown, PSPropertyBag_WriteBOOL, PSPropertyBag_WriteBSTR, PSPropertyBag_WriteDWORD, PSPropertyBag_WriteGUID, PSPropertyBag_WriteInt, PSPropertyBag_WriteLONG, PSPropertyBag_WritePOINTL, PSPropertyBag_WritePOINTS, PSPropertyBag_WritePropertyKey, PSPropertyBag_WriteRECTL, PSPropertyBag_WriteSHORT, PSPropertyBag_WriteStr, PSPropertyBag_WriteStream, PSPropertyBag_WriteULONGLONG, PSPropertyBag_WriteUnknown, PSPropertyKeyFromString, PSRefreshPropertySchema, PSRegisterPropertySchema, PSSetPropertyValue, PSStringFromPropertyKey, PSUnregisterPropertySchema, ReleaseStgMedium, SafeArrayAccessData, SafeArrayAddRef, SafeArrayAllocData, SafeArrayAllocDescriptor, SafeArrayAllocDescriptorEx, SafeArrayCopy, SafeArrayCopyData, SafeArrayCreate, SafeArrayCreateEx, SafeArrayCreateVector, SafeArrayCreateVectorEx, SafeArrayDestroy, SafeArrayDestroyData, SafeArrayDestroyDescriptor, SafeArrayGetDim, SafeArrayGetElement, SafeArrayGetElemsize, SafeArrayGetIID, SafeArrayGetLBound, SafeArrayGetRecordInfo, SafeArrayGetUBound, SafeArrayGetVartype, SafeArrayLock, SafeArrayPtrOfIndex, SafeArrayPutElement, SafeArrayRedim, SafeArrayReleaseData, SafeArrayReleaseDescriptor, SafeArraySetIID, SafeArraySetRecordInfo, SafeArrayUnaccessData, SafeArrayUnlock, StgCreateStorageEx, StgDeserializePropVariant, StgIsStorageFile, StgOpenStorage, StgOpenStorageEx, StgSerializePropVariant, VariantClear, VariantToPropVariant +ClearPropVariantArray, CoGetClassObject, CoGetInterfaceAndReleaseStream, CoInitializeEx, CoInitializeSecurity, CoMarshalInterface, CoMarshalInterThreadInterfaceInStream, CoRegisterClassObject, CoRevokeClassObject, CoUninitialize, CoUnmarshalInterface, CreateBindCtx, CreateFileMoniker, GetRunningObjectTable, InitPropVariantFromBooleanVector, InitPropVariantFromBuffer, InitPropVariantFromCLSID, InitPropVariantFromDoubleVector, InitPropVariantFromFileTime, InitPropVariantFromFileTimeVector, InitPropVariantFromGUIDAsString, InitPropVariantFromInt16Vector, InitPropVariantFromInt32Vector, InitPropVariantFromInt64Vector, InitPropVariantFromPropVariantVectorElem, InitPropVariantFromResource, InitPropVariantFromStringAsVector, InitPropVariantFromStringVector, InitPropVariantFromStrRet, InitPropVariantFromUInt16Vector, InitPropVariantFromUInt32Vector, InitPropVariantFromUInt64Vector, InitPropVariantVectorFromPropVariant, OleInitialize, OleUninitialize, PropVariantChangeType, PropVariantClear, PropVariantCompareEx, PropVariantCopy, PropVariantGetBooleanElem, PropVariantGetDoubleElem, PropVariantGetElementCount, PropVariantGetFileTimeElem, PropVariantGetInt16Elem, PropVariantGetInt32Elem, PropVariantGetInt64Elem, PropVariantGetStringElem, PropVariantGetUInt16Elem, PropVariantGetUInt32Elem, PropVariantGetUInt64Elem, PropVariantToBoolean, PropVariantToBooleanVector, PropVariantToBooleanVectorAlloc, PropVariantToBooleanWithDefault, PropVariantToBSTR, PropVariantToBuffer, PropVariantToDouble, PropVariantToDoubleVector, PropVariantToDoubleVectorAlloc, PropVariantToDoubleWithDefault, PropVariantToFileTime, PropVariantToFileTimeVector, PropVariantToFileTimeVectorAlloc, PropVariantToGUID, PropVariantToInt16, PropVariantToInt16Vector, PropVariantToInt16VectorAlloc, PropVariantToInt16WithDefault, PropVariantToInt32, PropVariantToInt32Vector, PropVariantToInt32VectorAlloc, PropVariantToInt32WithDefault, PropVariantToInt64, PropVariantToInt64Vector, PropVariantToInt64VectorAlloc, PropVariantToInt64WithDefault, PropVariantToString, PropVariantToStringAlloc, PropVariantToStringVector, PropVariantToStringVectorAlloc, PropVariantToStringWithDefault, PropVariantToStrRet, PropVariantToUInt16, PropVariantToUInt16Vector, PropVariantToUInt16VectorAlloc, PropVariantToUInt16WithDefault, PropVariantToUInt32, PropVariantToUInt32Vector, PropVariantToUInt32VectorAlloc, PropVariantToUInt32WithDefault, PropVariantToUInt64, PropVariantToUInt64Vector, PropVariantToUInt64VectorAlloc, PropVariantToUInt64WithDefault, PropVariantToVariant, PropVariantToWinRTPropertyValue, PSCoerceToCanonicalValue, PSCreateAdapterFromPropertyStore, PSCreateDelayedMultiplexPropertyStore, PSCreateMemoryPropertyStore, PSCreateMultiplexPropertyStore, PSCreatePropertyChangeArray, PSCreatePropertyStoreFromObject, PSCreatePropertyStoreFromPropertySetStorage, PSCreateSimplePropertyChange, PSEnumeratePropertyDescriptions, PSFormatForDisplay, PSFormatForDisplayAlloc, PSFormatPropertyValue, PSGetImageReferenceForValue, PSGetItemPropertyHandler, PSGetItemPropertyHandlerWithCreateObject, PSGetNamedPropertyFromPropertyStorage, PSGetNameFromPropertyKey, PSGetPropertyDescription, PSGetPropertyDescriptionByName, PSGetPropertyDescriptionListFromString, PSGetPropertyFromPropertyStorage, PSGetPropertyKeyFromName, PSGetPropertySystem, PSGetPropertyValue, PSLookupPropertyHandlerCLSID, PSPropertyBag_Delete, PSPropertyBag_ReadBOOL, PSPropertyBag_ReadBSTR, PSPropertyBag_ReadDWORD, PSPropertyBag_ReadGUID, PSPropertyBag_ReadInt, PSPropertyBag_ReadLONG, PSPropertyBag_ReadPOINTL, PSPropertyBag_ReadPOINTS, PSPropertyBag_ReadPropertyKey, PSPropertyBag_ReadRECTL, PSPropertyBag_ReadSHORT, PSPropertyBag_ReadStr, PSPropertyBag_ReadStrAlloc, PSPropertyBag_ReadStream, PSPropertyBag_ReadType, PSPropertyBag_ReadULONGLONG, PSPropertyBag_ReadUnknown, PSPropertyBag_WriteBOOL, PSPropertyBag_WriteBSTR, PSPropertyBag_WriteDWORD, PSPropertyBag_WriteGUID, PSPropertyBag_WriteInt, PSPropertyBag_WriteLONG, PSPropertyBag_WritePOINTL, PSPropertyBag_WritePOINTS, PSPropertyBag_WritePropertyKey, PSPropertyBag_WriteRECTL, PSPropertyBag_WriteSHORT, PSPropertyBag_WriteStr, PSPropertyBag_WriteStream, PSPropertyBag_WriteULONGLONG, PSPropertyBag_WriteUnknown, PSPropertyKeyFromString, PSRefreshPropertySchema, PSRegisterPropertySchema, PSSetPropertyValue, PSStringFromPropertyKey, PSUnregisterPropertySchema, ReleaseStgMedium, SafeArrayAccessData, SafeArrayAddRef, SafeArrayAllocData, SafeArrayAllocDescriptor, SafeArrayAllocDescriptorEx, SafeArrayCopy, SafeArrayCopyData, SafeArrayCreate, SafeArrayCreateEx, SafeArrayCreateVector, SafeArrayCreateVectorEx, SafeArrayDestroy, SafeArrayDestroyData, SafeArrayDestroyDescriptor, SafeArrayGetDim, SafeArrayGetElement, SafeArrayGetElemsize, SafeArrayGetIID, SafeArrayGetLBound, SafeArrayGetRecordInfo, SafeArrayGetUBound, SafeArrayGetVartype, SafeArrayLock, SafeArrayPtrOfIndex, SafeArrayPutElement, SafeArrayRedim, SafeArrayReleaseData, SafeArrayReleaseDescriptor, SafeArraySetIID, SafeArraySetRecordInfo, SafeArrayUnaccessData, SafeArrayUnlock, StgCreateStorageEx, StgDeserializePropVariant, StgIsStorageFile, StgOpenStorage, StgOpenStorageEx, StgSerializePropVariant, VariantClear, VariantToPropVariant Structures STGOPTIONS, SOLE_AUTHENTICATION_INFO, SOLE_AUTHENTICATION_LIST, SOLE_AUTHENTICATION_SERVICE, SNB, OLEMENUGROUPWIDTHS, STATPROPSETSTG, STATPROPSTG, BLOB, CLIPDATA, PACKEDMETA, PROPVARIANT, PROPERTYKEY, SAFEARRAY, SAFEARRAYBOUND Interfaces -IErrorLog, IPropertyBag, IRecordInfo, IEnumSTATSTG, IEnumUnknown, IStorage, IDropSource, IOleWindow, IPersist, IPersistStream, IPersistStreamInit, IEnumSTATPROPSETSTG, IEnumSTATPROPSTG, IPropertySetStorage, IPropertyStorage, ICreateObject, IDelayedPropertyStoreFactory, IInitializeWithStream, IPropertyDescription, IPropertyDescription2, IPropertyDescriptionList, IPropertyEnumType, IPropertyEnumType2, IPropertyEnumTypeList, IPropertyStore, IPropertyStoreFactory, IPropertySystem, IObjectWithPropertyKey, IPropertyChange, IPropertyChangeArray +IErrorLog, IPropertyBag, IRecordInfo, IEnumSTATSTG, IEnumUnknown, IRunningObjectTable, IStorage, IDropSource, IDropTarget, IOleWindow, IPersist, IPersistStream, IPersistStreamInit, IEnumSTATPROPSETSTG, IEnumSTATPROPSTG, IPropertySetStorage, IPropertyStorage, IClassFactory, ICreateObject, IDelayedPropertyStoreFactory, IInitializeWithStream, IPropertyDescription, IPropertyDescription2, IPropertyDescriptionList, IPropertyEnumType, IPropertyEnumType2, IPropertyEnumTypeList, IPropertyStore, IPropertyStoreFactory, IPropertySystem, IObjectWithPropertyKey, IPropertyChange, IPropertyChangeArray latest diff --git a/PInvoke/Security/Vanara.PInvoke.Security.csproj b/PInvoke/Security/Vanara.PInvoke.Security.csproj index 8e68222f..49fe5758 100644 --- a/PInvoke/Security/Vanara.PInvoke.Security.csproj +++ b/PInvoke/Security/Vanara.PInvoke.Security.csproj @@ -4,7 +4,7 @@ Methods, structures and constants imported from AdvApi32.dll, Authz.dll and Secur32.dll. Copyright © 2017-2019 $(AssemblyName) - 2.1.3 + 2.2.0 net20;net35;net40;net45;netstandard2.0;netcoreapp2.0;netcoreapp2.1 Vanara.PInvoke.Security $(AssemblyName) diff --git a/PInvoke/Shared/AssemblyReport.md b/PInvoke/Shared/AssemblyReport.md index c8bf18b5..eafb44b6 100644 --- a/PInvoke/Shared/AssemblyReport.md +++ b/PInvoke/Shared/AssemblyReport.md @@ -29,7 +29,7 @@ WIN32_FIND_DATA | Contains information about the file that is found by the FindF Struct | Description ---- | ---- COLORREF | The COLORREF value is used to specify an RGB color in the form 0x00bbggrr. -HACCEL | Provides a handle to an accelator table. +HACCEL | Provides a handle to an accelerator table. HBITMAP | Provides a handle to a bitmap. HBRUSH | Provides a handle to a drawing brush. HCURSOR | Provides a handle to a Windows cursor. @@ -98,6 +98,7 @@ LogFontOutputQuality | The output quality defines how carefully the graphics dev ObjectTypeListLevel | Valid values for the `level` field. | ACCESS_OBJECT_GUID, ACCESS_PROPERTY_SET_GUID, ACCESS_PROPERTY_GUID, ACCESS_MAX_LEVEL PInvokeClient | Flags that determine the minimum supported client(s) for a P/Invoke function. | None, Windows2000, WindowsXP, WindowsXP_SP2, WindowsVista, WindowsVista_SP2, Windows7, Windows8, Windows81, Windows10 ProcessorArchitecture | Processor architecture | PROCESSOR_ARCHITECTURE_INTEL, PROCESSOR_ARCHITECTURE_MIPS, PROCESSOR_ARCHITECTURE_ALPHA, PROCESSOR_ARCHITECTURE_PPC, PROCESSOR_ARCHITECTURE_SHX, PROCESSOR_ARCHITECTURE_ARM, PROCESSOR_ARCHITECTURE_IA64, PROCESSOR_ARCHITECTURE_ALPHA64, PROCESSOR_ARCHITECTURE_MSIL, PROCESSOR_ARCHITECTURE_AMD64, PROCESSOR_ARCHITECTURE_IA32_ON_WIN64, PROCESSOR_ARCHITECTURE_NEUTRAL, PROCESSOR_ARCHITECTURE_ARM64, PROCESSOR_ARCHITECTURE_ARM32_ON_WIN64, PROCESSOR_ARCHITECTURE_UNKNOWN +REG_VALUE_TYPE | A registry value can store data in various formats. When you store data under a registry value, for instance by calling the RegSetValueEx function, you can specify one of the following values to indicate the type of data being stored. When you retrieve a registry value, functions such as RegQueryValueEx use these values to indicate the type of data retrieved. | REG_NONE, REG_SZ, REG_EXPAND_SZ, REG_BINARY, REG_DWORD_LITTLE_ENDIAN, REG_DWORD, REG_DWORD_BIG_ENDIAN, REG_LINK, REG_MULTI_SZ, REG_RESOURCE_LIST, REG_FULL_RESOURCE_DESCRIPTOR, REG_RESOURCE_REQUIREMENTS_LIST, REG_QWORD_LITTLE_ENDIAN, REG_QWORD ResourceType | Predefined resource types. | RT_CURSOR, RT_BITMAP, RT_ICON, RT_MENU, RT_DIALOG, RT_STRING, RT_FONTDIR, RT_FONT, RT_ACCELERATOR, RT_RCDATA, RT_MESSAGETABLE, RT_GROUP_CURSOR, RT_GROUP_ICON, RT_VERSION, RT_DLGINCLUDE, RT_PLUGPLAY, RT_VXD, RT_ANICURSOR, RT_ANIICON, RT_HTML, RT_MANIFEST SECURITY_INFORMATION | The SECURITY_INFORMATION data type identifies the object-related security information being set or queried. This security information includes: | OWNER_SECURITY_INFORMATION, GROUP_SECURITY_INFORMATION, DACL_SECURITY_INFORMATION, SACL_SECURITY_INFORMATION, LABEL_SECURITY_INFORMATION, ATTRIBUTE_SECURITY_INFORMATION, SCOPE_SECURITY_INFORMATION, PROCESS_TRUST_LABEL_SECURITY_INFORMATION, BACKUP_SECURITY_INFORMATION, UNPROTECTED_SACL_SECURITY_INFORMATION, UNPROTECTED_DACL_SECURITY_INFORMATION, PROTECTED_SACL_SECURITY_INFORMATION, PROTECTED_DACL_SECURITY_INFORMATION SeverityLevel | A value indicating whether an `HRESULT` is a success (Severity bit 31 equals 0). | Success, Fail diff --git a/PInvoke/Shared/Vanara.PInvoke.Shared.csproj b/PInvoke/Shared/Vanara.PInvoke.Shared.csproj index c7c96555..04577fd4 100644 --- a/PInvoke/Shared/Vanara.PInvoke.Shared.csproj +++ b/PInvoke/Shared/Vanara.PInvoke.Shared.csproj @@ -11,7 +11,7 @@ * Shared structures and enums (see release notes) Copyright © 2017-2019 $(AssemblyName) - 2.1.3 + 2.2.0 net20;net35;net40;net45;netstandard2.0;netcoreapp2.0;netcoreapp2.1 Vanara.PInvoke.Shared $(AssemblyName) @@ -38,7 +38,7 @@ Structures COLORREF, HACCEL, HBITMAP, HBRUSH, HCURSOR, HDC, HDESK, HDPA, HDROP, HDSA, HDWP, HENHMETAFILE, HFILE, HFONT, HGDIOBJ, HICON, HIMAGELIST, HINSTANCE, HKEY, HMENU, HMETAFILE, HMONITOR, HPALETTE, HPEN, HPROCESS, HPROPSHEET, HPROPSHEETPAGE, HRESULT, HRGN, HTHEME, HTHREAD, HTHUMBNAIL, HTOKEN, HWINSTA, HWND, LOGFONT, MSG, NTStatus, OBJECT_TYPE_LIST, PACE, PACL, POINTS, PRECT, PSECURITY_DESCRIPTOR, PSID, RECT, ResourceId, SECURITY_ATTRIBUTES, SIZE, SizeT, SYSTEMTIME, WIN32_FIND_DATA, Win32Error Enumerations -ACCESS_MASK, DrawTextFlags, FacilityCode, FacilityCode, FileFlagsAndAttributes, FontFamily, FontPitch, LogFontCharSet, LogFontClippingPrecision, LogFontOutputPrecision, LogFontOutputQuality, ObjectTypeListLevel, PInvokeClient, ProcessorArchitecture, ResourceType, SECURITY_INFORMATION, SeverityLevel, SeverityLevel, ShowWindowCommand, STGM, SystemColorIndex, SystemShutDownReason +ACCESS_MASK, DrawTextFlags, FacilityCode, FacilityCode, FileFlagsAndAttributes, FontFamily, FontPitch, LogFontCharSet, LogFontClippingPrecision, LogFontOutputPrecision, LogFontOutputQuality, ObjectTypeListLevel, PInvokeClient, ProcessorArchitecture, REG_VALUE_TYPE, ResourceType, SECURITY_INFORMATION, SeverityLevel, SeverityLevel, ShowWindowCommand, STGM, SystemColorIndex, SystemShutDownReason latest diff --git a/PInvoke/Shell32/CorrelationReport.md b/PInvoke/Shell32/CorrelationReport.md index f272dcd4..bb6cd156 100644 --- a/PInvoke/Shell32/CorrelationReport.md +++ b/PInvoke/Shell32/CorrelationReport.md @@ -197,6 +197,7 @@ Native Structure | Header | Managed Structure [ASSOCIATIONELEMENT](http://msdn2.microsoft.com/en-us/library/1d1a963f-7ebb-4ba6-9a97-795c8ef11ae4) | shellapi.h | Vanara.PInvoke.Shell32+ASSOCIATIONELEMENT [BROWSEINFO](http://msdn2.microsoft.com/en-us/library/bb773205) | Shlobj.h | Vanara.PInvoke.Shell32+BROWSEINFO [CABINETSTATE](http://msdn2.microsoft.com/en-us/library/4b82b6a8-c4c0-4af2-9612-0551376c1c62) | shlobj_core.h | Vanara.PInvoke.Shell32+CABINETSTATE +[CIDA](http://msdn2.microsoft.com/en-us/library/30caf91d-8f3c-48ea-ad64-47f919f33f1d) | shlobj_core.h | Vanara.PInvoke.Shell32+CIDA [CM_COLUMNINFO](http://msdn2.microsoft.com/en-us/library/b4437aa7-9682-4819-a353-936179e84005) | shobjidl_core.h | Vanara.PInvoke.Shell32+CM_COLUMNINFO [CMINVOKECOMMANDINFOEX](http://msdn2.microsoft.com/en-us/library/c4c7f053-fdb1-4bba-9eb9-a514ce1d90f6) | shobjidl_core.h | Vanara.PInvoke.Shell32+CMINVOKECOMMANDINFOEX [COMDLG_FILTERSPEC](http://msdn2.microsoft.com/en-us/library/bb773221) | Shtypes.h | Vanara.PInvoke.Shell32+COMDLG_FILTERSPEC @@ -271,6 +272,7 @@ Native Interface | Native DLL | Header | Managed Interface [ICommDlgBrowser3](http://msdn2.microsoft.com/en-us/library/c9286061-8ac8-452b-9204-193bc6b571cb) | Shobjidl.h | Vanara.PInvoke.Shell32+ICommDlgBrowser3 [ICondition](https://www.google.com/search?num=5&q=ICondition+site%3Amicrosoft.com) | structuredquerycondition.h | Vanara.PInvoke.Shell32+ICondition [IConditionFactory](https://www.google.com/search?num=5&q=IConditionFactory+site%3Amicrosoft.com) | structuredquery.h | Vanara.PInvoke.Shell32+IConditionFactory +[IConditionFactory2](https://www.google.com/search?num=5&q=IConditionFactory2+site%3Amicrosoft.com) | structuredquery.h | Vanara.PInvoke.Shell32+IConditionFactory2 [IContextMenu](http://msdn2.microsoft.com/en-us/library/bb776095) | Shobjidl.h | Vanara.PInvoke.Shell32+IContextMenu [IContextMenu2](http://msdn2.microsoft.com/en-us/library/4e3331ad-4adc-4ea9-8a22-6aad15f618c8) | shobjidl_core.h | Vanara.PInvoke.Shell32+IContextMenu2 [IContextMenu3](http://msdn2.microsoft.com/en-us/library/c08e1b98-2b8b-41f6-93c5-3a5937bd3b2c) | shobjidl_core.h | Vanara.PInvoke.Shell32+IContextMenu3 @@ -284,6 +286,7 @@ Native Interface | Native DLL | Header | Managed Interface [IEnumExtraSearch](http://msdn2.microsoft.com/en-us/library/bb761992) | Shobjidl.h | Vanara.PInvoke.Shell32+IEnumExtraSearch [IEnumIDList](http://msdn2.microsoft.com/en-us/library/bb761982) | Shobjidl.h | Vanara.PInvoke.Shell32+IEnumIDList [IEnumShellItems](http://msdn2.microsoft.com/en-us/library/bb761962) | Shobjidl.h | Vanara.PInvoke.Shell32+IEnumShellItems +[IExecuteCommand](http://msdn2.microsoft.com/en-us/library/a3432f1a-dd33-4e0d-8b26-1312bb5151f7) | shobjidl_core.h | Vanara.PInvoke.Shell32+IExecuteCommand [IExplorerBrowser](http://msdn2.microsoft.com/en-us/library/da2cf5d4-5a68-4d18-807b-b9d4e2712c10) | shobjidl_core.h | Vanara.PInvoke.Shell32+IExplorerBrowser [IExplorerBrowserEvents](http://msdn2.microsoft.com/en-us/library/802d547f-41c2-4c4a-9f07-be615d7b86eb) | Shobjidl.h | Vanara.PInvoke.Shell32+IExplorerBrowserEvents [IExplorerPaneVisibility](http://msdn2.microsoft.com/en-us/library/b940adc2-dfef-49c5-b86c-d0da83db0aad) | Shobjidl.h | Vanara.PInvoke.Shell32+IExplorerPaneVisibility @@ -294,6 +297,7 @@ Native Interface | Native DLL | Header | Managed Interface [IFileDialogControlEvents](https://www.google.com/search?num=5&q=IFileDialogControlEvents+site%3Amicrosoft.com) | Shobjidl.h | Vanara.PInvoke.Shell32+IFileDialogControlEvents [IFileDialogCustomize](https://www.google.com/search?num=5&q=IFileDialogCustomize+site%3Amicrosoft.com) | | Vanara.PInvoke.Shell32+IFileDialogCustomize [IFileDialogEvents](http://msdn2.microsoft.com/en-us/library/bb775876) | Shobjidl.h | Vanara.PInvoke.Shell32+IFileDialogEvents +[IFileIsInUse](http://msdn2.microsoft.com/en-us/library/68a4ab3d-165e-4917-8915-77f15901dbad) | shobjidl_core.h | Vanara.PInvoke.Shell32+IFileIsInUse [IFileOpenDialog](http://msdn2.microsoft.com/en-us/library/bb775834) | Shobjidl.h | Vanara.PInvoke.Shell32+IFileOpenDialog [IFileOperation](https://www.google.com/search?num=5&q=IFileOperation+site%3Amicrosoft.com) | Shobjidl.h | Vanara.PInvoke.Shell32+IFileOperation [IFileOperationProgressSink](http://msdn2.microsoft.com/en-us/library/bb775722) | Shobjidl.h | Vanara.PInvoke.Shell32+IFileOperationProgressSink @@ -323,6 +327,7 @@ Native Interface | Native DLL | Header | Managed Interface [IObjectCollection](http://msdn2.microsoft.com/en-us/library/d7665b26-5839-4b08-a099-ef25a68c65db) | objectarray.h | Vanara.PInvoke.Shell32+IObjectCollection [IObjectWithAppUserModelId](http://msdn2.microsoft.com/en-us/library/f5b4e6bf-a5bf-49c5-b343-e9c1ec6c263d) | shobjidl_core.h | Vanara.PInvoke.Shell32+IObjectWithAppUserModelId [IObjectWithProgId](http://msdn2.microsoft.com/en-us/library/3b66ba49-ed39-464e-b15a-c72fdff7f5e5) | shobjidl_core.h | Vanara.PInvoke.Shell32+IObjectWithProgId +[IObjectWithSelection](http://msdn2.microsoft.com/en-us/library/8fb248eb-73e7-4db0-8585-4accafe332d0) | shobjidl_core.h | Vanara.PInvoke.Shell32+IObjectWithSelection [IObjectWithSite](http://msdn2.microsoft.com/en-us/library/e688136e-e06b-46ba-bec9-b8db2f9c468d) | ocidl.h | Vanara.PInvoke.Shell32+IObjectWithSite [IOleCommandTarget](http://msdn2.microsoft.com/en-us/library/5c8b455e-7740-4f71-aef6-27390a11a1a3) | docobj.h | Vanara.PInvoke.Shell32+IOleCommandTarget [IOpenControlPanel](https://www.google.com/search?num=5&q=IOpenControlPanel+site%3Amicrosoft.com) | Shobjidl.h | Vanara.PInvoke.Shell32+IOpenControlPanel @@ -354,7 +359,7 @@ Native Interface | Native DLL | Header | Managed Interface [IShellFolder](http://msdn2.microsoft.com/en-us/library/bb775075) | Shobjidl.h | Vanara.PInvoke.Shell32+IShellFolder [IShellFolder2](http://msdn2.microsoft.com/en-us/library/bb775075) | Shobjidl.h | Vanara.PInvoke.Shell32+IShellFolder2 [IShellFolderViewCB](http://msdn2.microsoft.com/en-us/library/bb774967) | Shlobj.h | Vanara.PInvoke.Shell32+IShellFolderViewCB -[IShellFolderViewDual](https://www.google.com/search?num=5&q=IShellFolderViewDual+site%3Amicrosoft.com) | shell32.dll | | +[IShellFolderViewDual](https://www.google.com/search?num=5&q=IShellFolderViewDual+site%3Amicrosoft.com) | shell32.dll | shldisp.h | Vanara.PInvoke.IShellFolderViewDual [IShellFolderViewDual2](https://www.google.com/search?num=5&q=IShellFolderViewDual2+site%3Amicrosoft.com) | shell32.dll | | [IShellFolderViewDual3](https://www.google.com/search?num=5&q=IShellFolderViewDual3+site%3Amicrosoft.com) | shell32.dll | | [IShellItem](http://msdn2.microsoft.com/en-us/library/bb761144) | Shobjidl.h | Vanara.PInvoke.Shell32+IShellItem @@ -370,6 +375,7 @@ Native Interface | Native DLL | Header | Managed Interface [IShellView](http://msdn2.microsoft.com/en-us/library/91438583-e4f1-456f-a130-2a45846fd725) | shobjidl_core.h | Vanara.PInvoke.Shell32+IShellView [IShellView2](http://msdn2.microsoft.com/en-us/library/a61aec39-406d-4066-941d-e788d64f4310) | shobjidl_core.h | Vanara.PInvoke.Shell32+IShellView2 [IShellView3](http://msdn2.microsoft.com/en-us/library/96b61e84-0d31-494d-a922-cd3dcd5735b9) | shobjidl.h | Vanara.PInvoke.Shell32+IShellView3 +[IShellWindows](http://msdn2.microsoft.com/en-us/library/e609c8b6-2b2e-4188-894c-5c85960206ea) | exdisp.h | Vanara.PInvoke.Shell32+IShellWindows [IStartMenuPinnedList](http://msdn2.microsoft.com/en-us/library/e1f4dbdb-34c0-4bf5-bb8b-a622a81c1617) | shobjidl.h | Vanara.PInvoke.Shell32+IStartMenuPinnedList [ITaskbarList](http://msdn2.microsoft.com/en-us/library/bb774652) | Shobjidl.h | Vanara.PInvoke.Shell32+ITaskbarList [ITaskbarList2](http://msdn2.microsoft.com/en-us/library/bb774638) | Shobjidl.h | Vanara.PInvoke.Shell32+ITaskbarList2 diff --git a/PInvoke/Shell32/Vanara.PInvoke.Shell32.csproj b/PInvoke/Shell32/Vanara.PInvoke.Shell32.csproj index 60cc9286..6bb90b34 100644 --- a/PInvoke/Shell32/Vanara.PInvoke.Shell32.csproj +++ b/PInvoke/Shell32/Vanara.PInvoke.Shell32.csproj @@ -4,7 +4,7 @@ Methods, structures and constants imported from Shell32.dll. Copyright © 2017-2019 $(AssemblyName) - 2.1.3 + 2.2.0 net20;net35;net40;net45 Vanara.PInvoke.Shell32 $(AssemblyName) @@ -28,10 +28,10 @@ Functions AssocCreateForClasses, AssocGetDetailsOfPropKey, CDefFolderMenu_Create2, CommandLineToArgvW, DragAcceptFiles, DragFinish, DragQueryFileA, DragQueryFileW, DragQueryPoint, DuplicateIcon, ExtractAssociatedIconA, ExtractAssociatedIconExA, ExtractAssociatedIconExW, ExtractAssociatedIconW, ExtractIconA, ExtractIconExA, ExtractIconExW, ExtractIconW, FindExecutableA, FindExecutableW, GetCurrentProcessExplicitAppUserModelID, GetFileNameFromBrowse, ILAppendID, ILClone, ILCloneFirst, ILCombine, ILCreateFromPathA, ILCreateFromPathW, ILFindChild, ILFindLastID, ILFree, ILGetNext, ILGetSize, ILIsEqual, ILIsParent, ILLoadFromStreamEx, ILRemoveLastID, ILSaveToStream, InitNetworkAddressControl, IsNetDrive, IsUserAnAdmin, OpenRegStream, PathCleanupSpec, PathGetShortPath, PathIsExe, PathIsSlowA, PathIsSlowW, PathMakeUniqueName, PathResolve, PathYetAnotherMakeUniqueName, PickIconDlg, PifMgr_CloseProperties, PifMgr_GetProperties, PifMgr_OpenProperties, PifMgr_SetProperties, ReadCabinetState, RealDriveType, RestartDialog, RestartDialogEx, SetCurrentProcessExplicitAppUserModelID, SHAddDefaultPropertiesByExt, SHAddFromPropSheetExtArray, SHAddToRecentDocs, SHAlloc, SHAppBarMessage, SHAssocEnumHandlers, SHAssocEnumHandlersForProtocolByApplication, SHBindToFolderIDListParent, SHBindToFolderIDListParentEx, SHBindToObject, SHBindToParent, SHBrowseForFolderA, SHBrowseForFolderW, SHChangeNotification_Lock, SHChangeNotification_Unlock, SHChangeNotify, SHChangeNotifyDeregister, SHChangeNotifyRegister, SHChangeNotifyRegisterThread, SHCreateAssociationRegistration, SHCreateDataObject, SHCreateDefaultContextMenu, SHCreateDefaultExtractIcon, SHCreateDefaultPropertiesOp, SHCreateDirectory, SHCreateDirectoryExA, SHCreateDirectoryExW, SHCreateFileExtractIconW, SHCreateItemFromIDList, SHCreateItemFromParsingName, SHCreateItemFromRelativeName, SHCreateItemInKnownFolder, SHCreateItemWithParent, SHCreatePropSheetExtArray, SHCreateShellFolderView, SHCreateShellFolderViewEx, SHCreateShellItem, SHCreateShellItemArray, SHCreateShellItemArrayFromDataObject, SHCreateShellItemArrayFromIDLists, SHCreateShellItemArrayFromShellItem, SHCreateStdEnumFmtEtc, SHDefExtractIconA, SHDefExtractIconW, SHDestroyPropSheetExtArray, SHDoDragDrop, Shell_GetCachedImageIndexA, Shell_GetCachedImageIndexW, Shell_GetImageLists, Shell_MergeMenus, Shell_NotifyIconA, Shell_NotifyIconGetRect, Shell_NotifyIconW, ShellAboutA, ShellAboutW, ShellExecuteA, ShellExecuteExA, ShellExecuteExW, ShellExecuteW, SHEmptyRecycleBinA, SHEmptyRecycleBinW, SHEnumerateUnreadMailAccountsA, SHEnumerateUnreadMailAccountsW, SHEvaluateSystemCommandTemplate, SHFileOperationA, SHFileOperationW, SHFind_InitMenuPopup, SHFindFiles, SHFlushSFCache, SHFormatDrive, SHFree, SHFreeNameMappings, SHGetAttributesFromDataObject, SHGetDataFromIDListA, SHGetDataFromIDListW, SHGetDesktopFolder, SHGetDiskFreeSpaceA, SHGetDiskFreeSpaceExA, SHGetDiskFreeSpaceExW, SHGetDiskFreeSpaceW, SHGetDriveMedia, SHGetFileInfoA, SHGetFileInfoW, SHGetFolderLocation, SHGetFolderPathA, SHGetFolderPathAndSubDirA, SHGetFolderPathAndSubDirW, SHGetFolderPathEx, SHGetFolderPathW, SHGetIconOverlayIndexA, SHGetIconOverlayIndexW, SHGetIDListFromObject, SHGetImageList, SHGetInstanceExplorer, SHGetItemFromDataObject, SHGetItemFromObject, SHGetKnownFolderIDList, SHGetKnownFolderItem, SHGetKnownFolderPath, SHGetLocalizedName, SHGetNameFromIDList, SHGetNewLinkInfoA, SHGetNewLinkInfoW, SHGetPathFromIDListA, SHGetPathFromIDListEx, SHGetPathFromIDListW, SHGetPropertyStoreForWindow, SHGetPropertyStoreFromIDList, SHGetPropertyStoreFromParsingName, SHGetRealIDL, SHGetSetFolderCustomSettings, SHGetSetSettings, SHGetSettings, SHGetStockIconInfo, SHGetTemporaryPropertyForItem, SHGetUnreadMailCountW, SHHandleUpdateImage, SHInvokePrinterCommandA, SHInvokePrinterCommandW, SHIsFileAvailableOffline, SHLimitInputEdit, SHLoadInProc, SHLoadNonloadedIconOverlayIdentifiers, SHMapPIDLToSystemImageListIndex, SHMultiFileProperties, SHObjectProperties, SHOpenFolderAndSelectItems, SHOpenWithDialog, SHParseDisplayName, SHPathPrepareForWriteA, SHPathPrepareForWriteW, SHPropStgCreate, SHPropStgReadMultiple, SHPropStgWriteMultiple, SHQueryRecycleBinA, SHQueryRecycleBinW, SHQueryUserNotificationState, SHRemoveLocalizedName, SHReplaceFromPropSheetExtArray, SHResolveLibrary, SHRestricted, SHSetDefaultProperties, SHSetInstanceExplorer, SHSetKnownFolderPath, SHSetLocalizedName, SHSetTemporaryPropertyForItem, SHSetUnreadMailCountW, SHShellFolderView_Message, SHShowManageLibraryUI, SHSimpleIDListFromPath, SHTestTokenMembership, SHUpdateImageA, SHUpdateImageW, SHValidateUNC, SignalFileOpen, StgMakeUniqueName, Win32DeleteFile, WriteCabinetState Structures -DROPDESCRIPTION, DROPFILES, FILEDESCRIPTOR, FILEGROUPDESCRIPTOR, NRESARRAY, SHDRAGIMAGE, OLECMD, OLECMDTEXT, APPBARDATA, ASSOCIATIONELEMENT, NOTIFYICONDATA, NOTIFYICONIDENTIFIER, SHELLEXECUTEINFO, SHFILEINFO, SHFILEOPSTRUCT, SHQUERYRBINFO, SHSTOCKICONINFO, BROWSEINFO, CABINETSTATE, COORD, CSFV, DATABLOCKHEADER, DEFCONTEXTMENU, EXP_DARWIN_LINK, EXP_SPECIAL_FOLDER, EXP_SZ_LINK, HLOCK, HPIF, HPSXA, NT_CONSOLE_PROPS, NT_FE_CONSOLE_PROPS, OPENASINFO, PROPPRG, SFV_CREATE, SHChangeNotifyEntry, SHDESCRIPTIONID, SHELLFLAGSTATE, SHELLSTATE, SHFOLDERCUSTOMSETTINGS, CMINVOKECOMMANDINFOEX, COMDLG_FILTERSPEC, CM_COLUMNINFO, SORTCOLUMN, KNOWNFOLDER_DEFINITION, PREVIEWHANDLERFRAMEINFO, EXTRASEARCH, FOLDERSETTINGS, SV2CVW2_PARAMS, THUMBBUTTON, ITEMIDLIST, SHITEMID +CIDA, DROPDESCRIPTION, DROPFILES, FILEDESCRIPTOR, FILEGROUPDESCRIPTOR, NRESARRAY, SHDRAGIMAGE, OLECMD, OLECMDTEXT, APPBARDATA, ASSOCIATIONELEMENT, NOTIFYICONDATA, NOTIFYICONIDENTIFIER, SHELLEXECUTEINFO, SHFILEINFO, SHFILEOPSTRUCT, SHQUERYRBINFO, SHSTOCKICONINFO, BROWSEINFO, CABINETSTATE, COORD, CSFV, DATABLOCKHEADER, DEFCONTEXTMENU, EXP_DARWIN_LINK, EXP_SPECIAL_FOLDER, EXP_SZ_LINK, HLOCK, HPIF, HPSXA, NT_CONSOLE_PROPS, NT_FE_CONSOLE_PROPS, OPENASINFO, PROPPRG, SFV_CREATE, SHChangeNotifyEntry, SHDESCRIPTIONID, SHELLFLAGSTATE, SHELLSTATE, SHFOLDERCUSTOMSETTINGS, CMINVOKECOMMANDINFOEX, COMDLG_FILTERSPEC, CM_COLUMNINFO, SORTCOLUMN, KNOWNFOLDER_DEFINITION, PREVIEWHANDLERFRAMEINFO, EXTRASEARCH, FOLDERSETTINGS, SV2CVW2_PARAMS, THUMBBUTTON, ITEMIDLIST, SHITEMID Interfaces -IAutoComplete, IAutoComplete2, IOleCommandTarget, IObjectArray, IObjectCollection, IExtractIcon, IProgressDialog, IOpenControlPanel, IApplicationAssociationRegistration, IApplicationDestinations, IApplicationDocumentLists, IDefaultExtractIconInit, IEnumAssocHandlers, IEnumIDList, IFileSystemBindData, IFileSystemBindData2, IQueryInfo, IActionProgress, IActionProgressDialog, ICommDlgBrowser, ICommDlgBrowser3, IContextMenu, IContextMenu2, IContextMenu3, IContextMenuCB, ICopyHookA, ICopyHookW, IExplorerBrowser, IExplorerBrowserEvents, IExplorerPaneVisibility, IExtractImage, IFileDialog, IFileDialog2, IFileDialogControlEvents, IFileDialogCustomize, IFileDialogEvents, IFileOpenDialog, IFileOperationProgressSink, IFileSaveDialog, IModalWindow, IFileOperation, IColumnManager, IFolderView, IFolderView2, IResultsFolder, IInitializeWithFile, IInitializeWithItem, IInitializeWithStream, IInputObject, IInputObject2, IInputObjectSite, IKnownFolder, IKnownFolderManager, INamespaceWalk, INamespaceWalkCB, INamespaceWalkCB2, IObjectWithAppUserModelId, IObjectWithProgId, IObjectWithSite, IOperationsProgressDialog, IParentAndItem, IPreviewHandler, IPreviewHandlerFrame, IPreviewHandlerVisuals, ISearchFolderItemFactory, IServiceProvider, IShellExtInit, IEnumExtraSearch, IShellFolder, IShellFolder2, IEnumShellItems, IShellItem, IShellItem2, IShellItemArray, IShellItemImageFactory, IShellLibrary, IShellLinkDataList, IShellLinkW, IShellPropSheetExt, IFolderViewOptions, IShellBrowser, IShellFolderViewCB, IShellView, IShellView2, IShellView3, IStartMenuPinnedList, ICustomDestinationList, ITaskbarList, ITaskbarList2, ITaskbarList3, ITaskbarList4, IConditionFactory, IEntity, INamedEntity, IQueryParser, IQueryParserManager, IQuerySolution, IRelationship, ISchemaLocalizerSupport, ISchemaProvider, ITokenCollection, ICondition, IRichChunk, IThumbnailProvider +IAutoComplete, IAutoComplete2, IShellFolderViewDual, IOleCommandTarget, IShellWindows, IObjectArray, IObjectCollection, IExtractIcon, IProgressDialog, IOpenControlPanel, IApplicationAssociationRegistration, IApplicationDestinations, IApplicationDocumentLists, IDefaultExtractIconInit, IEnumAssocHandlers, IEnumIDList, IFileIsInUse, IFileSystemBindData, IFileSystemBindData2, IQueryInfo, IActionProgress, IActionProgressDialog, ICommDlgBrowser, ICommDlgBrowser3, IContextMenu, IContextMenu2, IContextMenu3, IContextMenuCB, ICopyHookA, ICopyHookW, IExecuteCommand, IExplorerBrowser, IExplorerBrowserEvents, IExplorerPaneVisibility, IExtractImage, IFileDialog, IFileDialog2, IFileDialogControlEvents, IFileDialogCustomize, IFileDialogEvents, IFileOpenDialog, IFileOperationProgressSink, IFileSaveDialog, IModalWindow, IFileOperation, IColumnManager, IFolderView, IFolderView2, IResultsFolder, IInitializeWithFile, IInitializeWithItem, IInitializeWithStream, IInputObject, IInputObject2, IInputObjectSite, IKnownFolder, IKnownFolderManager, INamespaceWalk, INamespaceWalkCB, INamespaceWalkCB2, IObjectWithSelection, IObjectWithAppUserModelId, IObjectWithProgId, IObjectWithSite, IOperationsProgressDialog, IParentAndItem, IPreviewHandler, IPreviewHandlerFrame, IPreviewHandlerVisuals, ISearchFolderItemFactory, IServiceProvider, IShellExtInit, IEnumExtraSearch, IShellFolder, IShellFolder2, IEnumShellItems, IShellItem, IShellItem2, IShellItemArray, IShellItemImageFactory, IShellLibrary, IShellLinkDataList, IShellLinkW, IShellPropSheetExt, IFolderViewOptions, IShellBrowser, IShellFolderViewCB, IShellView, IShellView2, IShellView3, IStartMenuPinnedList, ICustomDestinationList, ITaskbarList, ITaskbarList2, ITaskbarList3, ITaskbarList4, IConditionFactory, IConditionFactory2, IEntity, INamedEntity, IQueryParser, IQueryParserManager, IQuerySolution, IRelationship, ISchemaLocalizerSupport, ISchemaProvider, ITokenCollection, ICondition, IRichChunk, IThumbnailProvider latest diff --git a/PInvoke/ShlwApi/Vanara.PInvoke.ShlwApi.csproj b/PInvoke/ShlwApi/Vanara.PInvoke.ShlwApi.csproj index 51e964fd..c7a22be6 100644 --- a/PInvoke/ShlwApi/Vanara.PInvoke.ShlwApi.csproj +++ b/PInvoke/ShlwApi/Vanara.PInvoke.ShlwApi.csproj @@ -4,7 +4,7 @@ Methods, structures and constants imported from ShlwApi.dll. Copyright © 2017-2019 $(AssemblyName) - 2.1.3 + 2.2.0 net20;net35;net40;net45;netstandard2.0;netcoreapp2.0;netcoreapp2.1 Vanara.PInvoke.ShlwApi $(AssemblyName) diff --git a/PInvoke/TaskSchd/Vanara.PInvoke.TaskSchd.csproj b/PInvoke/TaskSchd/Vanara.PInvoke.TaskSchd.csproj index e1a9d4ad..b0562f6f 100644 --- a/PInvoke/TaskSchd/Vanara.PInvoke.TaskSchd.csproj +++ b/PInvoke/TaskSchd/Vanara.PInvoke.TaskSchd.csproj @@ -4,7 +4,7 @@ Methods, structures and constants imported for Task Scheduler 1.0 and 2.0 COM objects. Copyright © 2017-2019 $(AssemblyName) - 2.1.3 + 2.2.0 net20;net35;net40;net45;netstandard2.0;netcoreapp2.0;netcoreapp2.1 Vanara.PInvoke.TaskSchd $(AssemblyName) diff --git a/PInvoke/User32.Gdi/Vanara.PInvoke.User32.Gdi.csproj b/PInvoke/User32.Gdi/Vanara.PInvoke.User32.Gdi.csproj index 42036f2f..30c45394 100644 --- a/PInvoke/User32.Gdi/Vanara.PInvoke.User32.Gdi.csproj +++ b/PInvoke/User32.Gdi/Vanara.PInvoke.User32.Gdi.csproj @@ -4,7 +4,7 @@ Methods, structures and constants imported from User32.dll and specific to graphics or window management. Copyright © 2017-2019 $(AssemblyName) - 2.1.3 + 2.2.0 net20;net35;net40;net45 Vanara.PInvoke.User32.Gdi $(AssemblyName) diff --git a/PInvoke/User32/CorrelationReport.md b/PInvoke/User32/CorrelationReport.md index b96bddf2..d99ae997 100644 --- a/PInvoke/User32/CorrelationReport.md +++ b/PInvoke/User32/CorrelationReport.md @@ -1,5 +1,5 @@ ## Correlation report for user32.dll -### Methods (43% complete) +### Methods (47% complete) Native Method | Native DLL | Header | Managed Method --- | --- | --- | --- [ActivateKeyboardLayout](https://www.google.com/search?num=5&q=ActivateKeyboardLayout+site%3Amicrosoft.com) | user32.dll | | @@ -19,8 +19,8 @@ Native Method | Native DLL | Header | Managed Method [BeginPaint](https://www.google.com/search?num=5&q=BeginPaint+site%3Amicrosoft.com) | user32.dll | | [BlockInput](https://www.google.com/search?num=5&q=BlockInput+site%3Amicrosoft.com) | user32.dll | | [BringWindowToTop](http://msdn2.microsoft.com/en-us/library/bringwindowtotop) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.BringWindowToTop -[BroadcastSystemMessage](https://www.google.com/search?num=5&q=BroadcastSystemMessage+site%3Amicrosoft.com) | user32.dll | | -[BroadcastSystemMessageEx](https://www.google.com/search?num=5&q=BroadcastSystemMessageExA+site%3Amicrosoft.com) | user32.dll | | +[BroadcastSystemMessage](https://www.google.com/search?num=5&q=BroadcastSystemMessage+site%3Amicrosoft.com) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.BroadcastSystemMessage +[BroadcastSystemMessageEx](https://www.google.com/search?num=5&q=BroadcastSystemMessageExA+site%3Amicrosoft.com) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.BroadcastSystemMessageEx [CalculatePopupWindowPosition](http://msdn2.microsoft.com/en-us/library/calculatepopupwindowposition) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.CalculatePopupWindowPosition [CallMsgFilter](https://www.google.com/search?num=5&q=CallMsgFilter+site%3Amicrosoft.com) | user32.dll | winuser.h | Vanara.PInvoke.User32.CallMsgFilter [CallNextHookEx](http://msdn2.microsoft.com/en-us/library/callnexthookex) | user32.dll | winuser.h | Vanara.PInvoke.User32.CallNextHookEx @@ -118,7 +118,7 @@ Native Method | Native DLL | Header | Managed Method [DialogBoxIndirectParam](http://msdn2.microsoft.com/en-us/library/dialogboxindirectparam) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.DialogBoxIndirectParam [DialogBoxParam](http://msdn2.microsoft.com/en-us/library/dialogboxparam) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.DialogBoxParam [DisableProcessWindowsGhosting](https://www.google.com/search?num=5&q=DisableProcessWindowsGhosting+site%3Amicrosoft.com) | user32.dll | | -[DispatchMessage](https://www.google.com/search?num=5&q=DispatchMessageA+site%3Amicrosoft.com) | user32.dll | | +[DispatchMessage](https://www.google.com/search?num=5&q=DispatchMessageA+site%3Amicrosoft.com) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.DispatchMessage [DisplayConfigGetDeviceInfo](https://www.google.com/search?num=5&q=DisplayConfigGetDeviceInfo+site%3Amicrosoft.com) | user32.dll | | [DisplayConfigSetDeviceInfo](https://www.google.com/search?num=5&q=DisplayConfigSetDeviceInfo+site%3Amicrosoft.com) | user32.dll | | [DlgDirSelectComboBoxEx](https://www.google.com/search?num=5&q=DlgDirSelectComboBoxExA+site%3Amicrosoft.com) | user32.dll | | @@ -231,7 +231,7 @@ Native Method | Native DLL | Header | Managed Method [GetGUIThreadInfo](http://msdn2.microsoft.com/en-us/library/getguithreadinfo) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.GetGUIThreadInfo [GetIconInfo](http://msdn2.microsoft.com/en-us/library/geticoninfo) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.GetIconInfo [GetIconInfoEx](http://msdn2.microsoft.com/en-us/library/geticoninfoex) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.GetIconInfoEx -[GetInputState](https://www.google.com/search?num=5&q=GetInputState+site%3Amicrosoft.com) | user32.dll | | +[GetInputState](https://www.google.com/search?num=5&q=GetInputState+site%3Amicrosoft.com) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.GetInputState [GetKBCodePage](https://www.google.com/search?num=5&q=GetKBCodePage+site%3Amicrosoft.com) | user32.dll | | [GetKeyboardLayout](https://www.google.com/search?num=5&q=GetKeyboardLayout+site%3Amicrosoft.com) | user32.dll | | [GetKeyboardLayoutList](https://www.google.com/search?num=5&q=GetKeyboardLayoutList+site%3Amicrosoft.com) | user32.dll | | @@ -258,10 +258,10 @@ Native Method | Native DLL | Header | Managed Method [GetMenuItemRect](http://msdn2.microsoft.com/en-us/library/getmenuitemrect.htm) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.GetMenuItemRect [GetMenuState](http://msdn2.microsoft.com/en-us/library/getmenustate.htm) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.GetMenuState [GetMenuString](http://msdn2.microsoft.com/en-us/library/getmenustring.htm) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.GetMenuString -[GetMessage](https://www.google.com/search?num=5&q=GetMessageA+site%3Amicrosoft.com) | user32.dll | | -[GetMessageExtraInfo](https://www.google.com/search?num=5&q=GetMessageExtraInfo+site%3Amicrosoft.com) | user32.dll | | -[GetMessagePos](https://www.google.com/search?num=5&q=GetMessagePos+site%3Amicrosoft.com) | user32.dll | | -[GetMessageTime](https://www.google.com/search?num=5&q=GetMessageTime+site%3Amicrosoft.com) | user32.dll | | +[GetMessage](https://www.google.com/search?num=5&q=GetMessageA+site%3Amicrosoft.com) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.GetMessage +[GetMessageExtraInfo](https://www.google.com/search?num=5&q=GetMessageExtraInfo+site%3Amicrosoft.com) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.GetMessageExtraInfo +[GetMessagePos](https://www.google.com/search?num=5&q=GetMessagePos+site%3Amicrosoft.com) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.GetMessagePos +[GetMessageTime](https://www.google.com/search?num=5&q=GetMessageTime+site%3Amicrosoft.com) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.GetMessageTime [GetMonitorInfo](http://msdn2.microsoft.com/en-us/library/025a89c2-4bbd-4c8b-8367-3735fb5b872a) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.GetMonitorInfo [GetMouseMovePointsEx](https://www.google.com/search?num=5&q=GetMouseMovePointsEx+site%3Amicrosoft.com) | user32.dll | | [GetNextDlgGroupItem](http://msdn2.microsoft.com/en-us/library/getnextdlggroupitem) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.GetNextDlgGroupItem @@ -293,7 +293,7 @@ Native Method | Native DLL | Header | Managed Method [GetProcessDefaultLayout](http://msdn2.microsoft.com/en-us/library/getprocessdefaultlayout) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.GetProcessDefaultLayout [GetProcessWindowStation](http://msdn2.microsoft.com/en-us/library/f8929122-d277-4260-b2a7-5e76eb3ca876) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.GetProcessWindowStation [GetProp](http://msdn2.microsoft.com/en-us/library/getprop) | user32.dll | winuser.h | Vanara.PInvoke.User32.GetProp -[GetQueueStatus](https://www.google.com/search?num=5&q=GetQueueStatus+site%3Amicrosoft.com) | user32.dll | | +[GetQueueStatus](https://www.google.com/search?num=5&q=GetQueueStatus+site%3Amicrosoft.com) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.GetQueueStatus [GetRawInputBuffer](https://www.google.com/search?num=5&q=GetRawInputBuffer+site%3Amicrosoft.com) | user32.dll | | [GetRawInputData](https://www.google.com/search?num=5&q=GetRawInputData+site%3Amicrosoft.com) | user32.dll | | [GetRawInputDeviceInfo](https://www.google.com/search?num=5&q=GetRawInputDeviceInfoA+site%3Amicrosoft.com) | user32.dll | | @@ -352,8 +352,8 @@ Native Method | Native DLL | Header | Managed Method [InflateRect](https://www.google.com/search?num=5&q=InflateRect+site%3Amicrosoft.com) | user32.dll | | [InitializeTouchInjection](https://www.google.com/search?num=5&q=InitializeTouchInjection+site%3Amicrosoft.com) | user32.dll | | [InjectTouchInput](https://www.google.com/search?num=5&q=InjectTouchInput+site%3Amicrosoft.com) | user32.dll | | -[InSendMessage](https://www.google.com/search?num=5&q=InSendMessage+site%3Amicrosoft.com) | user32.dll | | -[InSendMessageEx](https://www.google.com/search?num=5&q=InSendMessageEx+site%3Amicrosoft.com) | user32.dll | | +[InSendMessage](https://www.google.com/search?num=5&q=InSendMessage+site%3Amicrosoft.com) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.InSendMessage +[InSendMessageEx](https://www.google.com/search?num=5&q=InSendMessageEx+site%3Amicrosoft.com) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.InSendMessageEx [InsertMenu](http://msdn2.microsoft.com/en-us/library/insertmenu.htm) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.InsertMenu [InsertMenuItem](http://msdn2.microsoft.com/en-us/library/insertmenuitem.htm) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.InsertMenuItem [InternalGetWindowText](http://msdn2.microsoft.com/en-us/library/internalgetwindowtext) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.InternalGetWindowText @@ -386,7 +386,7 @@ Native Method | Native DLL | Header | Managed Method [IsWow64Message](https://www.google.com/search?num=5&q=IsWow64Message+site%3Amicrosoft.com) | user32.dll | | [IsZoomed](http://msdn2.microsoft.com/en-us/library/iszoomed) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.IsZoomed [keybd_event](https://www.google.com/search?num=5&q=keybd_event+site%3Amicrosoft.com) | user32.dll | | -[KillTimer](https://www.google.com/search?num=5&q=KillTimer+site%3Amicrosoft.com) | user32.dll | | +[KillTimer](https://www.google.com/search?num=5&q=KillTimer+site%3Amicrosoft.com) | user32.dll | winuser.h | Vanara.PInvoke.User32.KillTimer [LoadBitmap](https://www.google.com/search?num=5&q=LoadBitmapA+site%3Amicrosoft.com) | user32.dll | | [LoadCursor](http://msdn2.microsoft.com/en-us/library/loadcursor) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.LoadCursor [LoadCursorFromFileA](http://msdn2.microsoft.com/en-us/library/loadcursorfromfile) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.LoadCursorFromFile @@ -441,12 +441,12 @@ Native Method | Native DLL | Header | Managed Method [PackDDElParam](https://www.google.com/search?num=5&q=PackDDElParam+site%3Amicrosoft.com) | user32.dll | | [PackTouchHitTestingProximityEvaluation](https://www.google.com/search?num=5&q=PackTouchHitTestingProximityEvaluation+site%3Amicrosoft.com) | user32.dll | | [PaintDesktop](https://www.google.com/search?num=5&q=PaintDesktop+site%3Amicrosoft.com) | user32.dll | | -[PeekMessage](https://www.google.com/search?num=5&q=PeekMessageA+site%3Amicrosoft.com) | user32.dll | | +[PeekMessage](https://www.google.com/search?num=5&q=PeekMessageA+site%3Amicrosoft.com) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.PeekMessage [PhysicalToLogicalPoint](http://msdn2.microsoft.com/en-us/library/physicaltologicalpoint) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.PhysicalToLogicalPoint [PhysicalToLogicalPointForPerMonitorDPI](https://www.google.com/search?num=5&q=PhysicalToLogicalPointForPerMonitorDPI+site%3Amicrosoft.com) | user32.dll | | -[PostMessage](https://www.google.com/search?num=5&q=PostMessageA+site%3Amicrosoft.com) | user32.dll | | -[PostQuitMessage](https://www.google.com/search?num=5&q=PostQuitMessage+site%3Amicrosoft.com) | user32.dll | | -[PostThreadMessage](https://www.google.com/search?num=5&q=PostThreadMessageA+site%3Amicrosoft.com) | user32.dll | | +[PostMessage](https://www.google.com/search?num=5&q=PostMessageA+site%3Amicrosoft.com) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.PostMessage +[PostQuitMessage](https://www.google.com/search?num=5&q=PostQuitMessage+site%3Amicrosoft.com) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.PostQuitMessage +[PostThreadMessage](https://www.google.com/search?num=5&q=PostThreadMessageA+site%3Amicrosoft.com) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.PostThreadMessage [PrintWindow](https://www.google.com/search?num=5&q=PrintWindow+site%3Amicrosoft.com) | user32.dll | | [PrivateExtractIcons](http://msdn2.microsoft.com/en-us/library/privateextracticons) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.PrivateExtractIcons [PtInRect](https://www.google.com/search?num=5&q=PtInRect+site%3Amicrosoft.com) | user32.dll | | @@ -469,14 +469,14 @@ Native Method | Native DLL | Header | Managed Method [RegisterSuspendResumeNotification](https://www.google.com/search?num=5&q=RegisterSuspendResumeNotification+site%3Amicrosoft.com) | user32.dll | | [RegisterTouchHitTestingWindow](https://www.google.com/search?num=5&q=RegisterTouchHitTestingWindow+site%3Amicrosoft.com) | user32.dll | | [RegisterTouchWindow](https://www.google.com/search?num=5&q=RegisterTouchWindow+site%3Amicrosoft.com) | user32.dll | | -[RegisterWindowMessage](https://www.google.com/search?num=5&q=RegisterWindowMessageA+site%3Amicrosoft.com) | user32.dll | | Vanara.PInvoke.User32_Gdi.RegisterWindowMessage +[RegisterWindowMessage](https://www.google.com/search?num=5&q=RegisterWindowMessageA+site%3Amicrosoft.com) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.RegisterWindowMessage [ReleaseCapture](https://www.google.com/search?num=5&q=ReleaseCapture+site%3Amicrosoft.com) | user32.dll | | [ReleaseDC](https://www.google.com/search?num=5&q=ReleaseDC+site%3Amicrosoft.com) | user32.dll | | [RemoveClipboardFormatListener](http://msdn2.microsoft.com/en-us/library/removeclipboardformatlistener) | user32.dll | winuser.h | Vanara.PInvoke.User32.RemoveClipboardFormatListener [RemoveMenu](http://msdn2.microsoft.com/en-us/library/removemenu.htm) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.RemoveMenu [RemoveProp](http://msdn2.microsoft.com/en-us/library/removeprop) | user32.dll | winuser.h | Vanara.PInvoke.User32.RemoveProp [RemoveThreadTSFEventAwareness](https://www.google.com/search?num=5&q=RemoveThreadTSFEventAwareness+site%3Amicrosoft.com) | user32.dll | | -[ReplyMessage](https://www.google.com/search?num=5&q=ReplyMessage+site%3Amicrosoft.com) | user32.dll | | +[ReplyMessage](https://www.google.com/search?num=5&q=ReplyMessage+site%3Amicrosoft.com) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.ReplyMessage [ReuseDDElParam](https://www.google.com/search?num=5&q=ReuseDDElParam+site%3Amicrosoft.com) | user32.dll | | [RIMEnableMonitorMappingForDevice](https://www.google.com/search?num=5&q=RIMEnableMonitorMappingForDevice+site%3Amicrosoft.com) | user32.dll | | [ScreenToClient](https://www.google.com/search?num=5&q=ScreenToClient+site%3Amicrosoft.com) | user32.dll | | Vanara.PInvoke.User32_Gdi.ScreenToClient @@ -485,10 +485,12 @@ Native Method | Native DLL | Header | Managed Method [ScrollWindowEx](https://www.google.com/search?num=5&q=ScrollWindowEx+site%3Amicrosoft.com) | user32.dll | | [SendDlgItemMessage](http://msdn2.microsoft.com/en-us/library/senddlgitemmessage) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.SendDlgItemMessage [SendInput](https://www.google.com/search?num=5&q=SendInput+site%3Amicrosoft.com) | user32.dll | | -[SendMessage](http://msdn2.microsoft.com/en-us/library/ms644950) | user32.dll | Winuser.h | Vanara.PInvoke.User32_Gdi.SendMessage [SendMessage](http://msdn2.microsoft.com/en-us/library/ms644950) | user32.dll | Winuser.h | Vanara.PInvoke.User32_Gdi.SendMessageUnsafe -[SendMessageTimeout](https://www.google.com/search?num=5&q=SendMessageTimeoutA+site%3Amicrosoft.com) | user32.dll | | -[SendNotifyMessage](https://www.google.com/search?num=5&q=SendNotifyMessageA+site%3Amicrosoft.com) | user32.dll | | +[SendMessage](http://msdn2.microsoft.com/en-us/library/ms644950) | user32.dll | Winuser.h | Vanara.PInvoke.User32_Gdi.SendMessage +[SendMessageCallbackA](https://www.google.com/search?num=5&q=SendMessageCallbackA+site%3Amicrosoft.com) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.SendMessageCallback +[SendMessageCallbackW](https://www.google.com/search?num=5&q=SendMessageCallbackW+site%3Amicrosoft.com) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.SendMessageCallback +[SendMessageTimeout](https://www.google.com/search?num=5&q=SendMessageTimeoutA+site%3Amicrosoft.com) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.SendMessageTimeout +[SendNotifyMessage](https://www.google.com/search?num=5&q=SendNotifyMessageA+site%3Amicrosoft.com) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.SendNotifyMessage [SetActiveWindow](https://www.google.com/search?num=5&q=SetActiveWindow+site%3Amicrosoft.com) | user32.dll | | [SetCapture](https://www.google.com/search?num=5&q=SetCapture+site%3Amicrosoft.com) | user32.dll | | [SetCaretBlinkTime](https://www.google.com/search?num=5&q=SetCaretBlinkTime+site%3Amicrosoft.com) | user32.dll | | @@ -522,7 +524,7 @@ Native Method | Native DLL | Header | Managed Method [SetMenuInfo](http://msdn2.microsoft.com/en-us/library/setmenuinfo.htm) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.SetMenuInfo [SetMenuItemBitmaps](http://msdn2.microsoft.com/en-us/library/setmenuitembitmaps.htm) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.SetMenuItemBitmaps [SetMenuItemInfo](http://msdn2.microsoft.com/en-us/library/setmenuiteminfo.htm) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.SetMenuItemInfo -[SetMessageExtraInfo](https://www.google.com/search?num=5&q=SetMessageExtraInfo+site%3Amicrosoft.com) | user32.dll | | +[SetMessageExtraInfo](https://www.google.com/search?num=5&q=SetMessageExtraInfo+site%3Amicrosoft.com) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.SetMessageExtraInfo [SetParent](http://msdn2.microsoft.com/en-us/library/setparent) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.SetParent [SetPhysicalCursorPos](http://msdn2.microsoft.com/en-us/library/setphysicalcursorpos) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.SetPhysicalCursorPos [SetProcessDefaultLayout](http://msdn2.microsoft.com/en-us/library/setprocessdefaultlayout) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.SetProcessDefaultLayout @@ -541,7 +543,7 @@ Native Method | Native DLL | Header | Managed Method [SetThreadDesktop](http://msdn2.microsoft.com/en-us/library/619c591f-54b7-4b61-aa07-fc57e05ee37a) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.SetThreadDesktop [SetThreadDpiAwarenessContext](https://www.google.com/search?num=5&q=SetThreadDpiAwarenessContext+site%3Amicrosoft.com) | user32.dll | | [SetThreadDpiHostingBehavior](https://www.google.com/search?num=5&q=SetThreadDpiHostingBehavior+site%3Amicrosoft.com) | user32.dll | | -[SetTimer](https://www.google.com/search?num=5&q=SetTimer+site%3Amicrosoft.com) | user32.dll | | +[SetTimer](https://www.google.com/search?num=5&q=SetTimer+site%3Amicrosoft.com) | user32.dll | winuser.h | Vanara.PInvoke.User32.SetTimer [SetUserObjectInformation](http://msdn2.microsoft.com/en-us/library/42ce6946-1659-41a3-8ba7-21588583b4bd) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.SetUserObjectInformation [SetUserObjectSecurity](https://www.google.com/search?num=5&q=SetUserObjectSecurity+site%3Amicrosoft.com) | user32.dll | | [SetWindowContextHelpId](https://www.google.com/search?num=5&q=SetWindowContextHelpId+site%3Amicrosoft.com) | user32.dll | | @@ -585,7 +587,7 @@ Native Method | Native DLL | Header | Managed Method [TrackPopupMenuEx](http://msdn2.microsoft.com/en-us/library/trackpopupmenuex.htm) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.TrackPopupMenuEx [TranslateAccelerator](https://www.google.com/search?num=5&q=TranslateAccelerator+site%3Amicrosoft.com) | user32.dll | | [TranslateMDISysAccel](https://www.google.com/search?num=5&q=TranslateMDISysAccel+site%3Amicrosoft.com) | user32.dll | | -[TranslateMessage](https://www.google.com/search?num=5&q=TranslateMessage+site%3Amicrosoft.com) | user32.dll | | +[TranslateMessage](https://www.google.com/search?num=5&q=TranslateMessage+site%3Amicrosoft.com) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.TranslateMessage [UnhookWindowsHook](https://www.google.com/search?num=5&q=UnhookWindowsHook+site%3Amicrosoft.com) | user32.dll | | [UnhookWindowsHookEx](http://msdn2.microsoft.com/en-us/library/unhookwindowshookex) | user32.dll | winuser.h | Vanara.PInvoke.User32.UnhookWindowsHookEx [UnhookWinEvent](https://www.google.com/search?num=5&q=UnhookWinEvent+site%3Amicrosoft.com) | user32.dll | | @@ -608,7 +610,7 @@ Native Method | Native DLL | Header | Managed Method [VkKeyScan](https://www.google.com/search?num=5&q=VkKeyScanA+site%3Amicrosoft.com) | user32.dll | | [VkKeyScanEx](https://www.google.com/search?num=5&q=VkKeyScanExA+site%3Amicrosoft.com) | user32.dll | | [WaitForInputIdle](https://www.google.com/search?num=5&q=WaitForInputIdle+site%3Amicrosoft.com) | user32.dll | | -[WaitMessage](https://www.google.com/search?num=5&q=WaitMessage+site%3Amicrosoft.com) | user32.dll | | +[WaitMessage](https://www.google.com/search?num=5&q=WaitMessage+site%3Amicrosoft.com) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.WaitMessage [WindowFromDC](https://www.google.com/search?num=5&q=WindowFromDC+site%3Amicrosoft.com) | user32.dll | | [WindowFromPhysicalPoint](http://msdn2.microsoft.com/en-us/library/windowfromphysicalpoint) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.WindowFromPhysicalPoint [WindowFromPoint](http://msdn2.microsoft.com/en-us/library/windowfrompoint) | user32.dll | winuser.h | Vanara.PInvoke.User32_Gdi.WindowFromPoint @@ -623,6 +625,7 @@ Native Structure | Header | Managed Structure [ALTTABINFO](http://msdn2.microsoft.com/en-us/library/alttabinfo) | winuser.h | Vanara.PInvoke.User32_Gdi+ALTTABINFO [ANIMATIONINFO](http://msdn2.microsoft.com/en-us/library/ms724197) | Winuser.h | Vanara.PInvoke.User32+ANIMATIONINFO [AUDIODESCRIPTION](http://msdn2.microsoft.com/en-us/library/aa379651) | Winuser.h | Vanara.PInvoke.User32+AUDIODESCRIPTION +[BSMINFO](https://www.google.com/search?num=5&q=BSMINFO+site%3Amicrosoft.com) | winuser.h | Vanara.PInvoke.User32_Gdi+BSMINFO [CBT_CREATEWND](http://msdn2.microsoft.com/en-us/library/cbt_createwnd.htm) | winuser.h | Vanara.PInvoke.User32+CBT_CREATEWND [CBTACTIVATESTRUCT](http://msdn2.microsoft.com/en-us/library/cbtactivatestruct.htm) | winuser.h | Vanara.PInvoke.User32+CBTACTIVATESTRUCT [CHANGEFILTERSTRUCT](http://msdn2.microsoft.com/en-us/library/changefilterstruct) | winuser.h | Vanara.PInvoke.User32_Gdi+CHANGEFILTERSTRUCT diff --git a/PInvoke/User32/Vanara.PInvoke.User32.csproj b/PInvoke/User32/Vanara.PInvoke.User32.csproj index 747bcde7..80a55520 100644 --- a/PInvoke/User32/Vanara.PInvoke.User32.csproj +++ b/PInvoke/User32/Vanara.PInvoke.User32.csproj @@ -4,7 +4,7 @@ Methods, structures and constants imported from User32.dll. Copyright © 2017-2019 $(AssemblyName) - 2.1.3 + 2.2.0 net20;net35;net40;net45;netstandard2.0;netcoreapp2.0;netcoreapp2.1 Vanara.PInvoke.User32 $(AssemblyName) @@ -25,10 +25,10 @@ Currently implements: Functions -AddClipboardFormatListener, AdjustWindowRect, AdjustWindowRectEx, AllowSetForegroundWindow, AnimateWindow, AnyPopup, AppendMenuA, AppendMenuW, ArrangeIconicWindows, BeginDeferWindowPos, BringWindowToTop, CalculatePopupWindowPosition, CallMsgFilterA, CallMsgFilterW, CallNextHookEx, CascadeWindows, ChangeClipboardChain, ChangeWindowMessageFilter, ChangeWindowMessageFilterEx, CheckDlgButton, CheckMenuItem, CheckMenuRadioItem, CheckRadioButton, ChildWindowFromPoint, ChildWindowFromPointEx, ClipCursor, CloseClipboard, CloseDesktop, CloseWindow, CloseWindowStation, CopyIcon, CountClipboardFormats, CreateCursor, CreateDesktopA, CreateDesktopExA, CreateDesktopExW, CreateDesktopW, CreateDialogIndirectParamA, CreateDialogIndirectParamW, CreateDialogParamA, CreateDialogParamW, CreateIcon, CreateIconFromResource, CreateIconFromResourceEx, CreateIconIndirect, CreateMenu, CreatePopupMenu, CreateWindowExA, CreateWindowExW, CreateWindowStationA, CreateWindowStationW, DefDlgProc, DeferWindowPos, DeleteMenu, DeregisterShellHookWindow, DestroyCursor, DestroyIcon, DestroyMenu, DestroyWindow, DialogBoxIndirectParamA, DialogBoxIndirectParamW, DialogBoxParamA, DialogBoxParamW, DrawEdge, DrawIcon, DrawIconEx, DrawMenuBar, DrawTextA, DrawTextW, EmptyClipboard, EnableMenuItem, EndDeferWindowPos, EndDialog, EndMenu, EndTask, EnumChildWindows, EnumClipboardFormats, EnumDesktopsA, EnumDesktopsW, EnumDesktopWindows, EnumDisplayMonitors, EnumPropsA, EnumPropsExA, EnumPropsExW, EnumPropsW, EnumThreadWindows, EnumWindows, EnumWindowStationsA, EnumWindowStationsW, ExitWindowsEx, FindWindowA, FindWindowExA, FindWindowExW, FindWindowW, GetActiveWindow, GetAltTabInfoA, GetAltTabInfoW, GetAncestor, GetClientRect, GetClipboardData, GetClipboardFormatNameA, GetClipboardFormatNameW, GetClipboardOwner, GetClipboardSequenceNumber, GetClipboardViewer, GetClipCursor, GetCursor, GetCursorInfo, GetCursorPos, GetDC, GetDesktopWindow, GetDialogBaseUnits, GetDlgCtrlID, GetDlgItem, GetDlgItemInt, GetDlgItemTextA, GetDlgItemTextW, GetForegroundWindow, GetGUIThreadInfo, GetIconInfo, GetIconInfoExA, GetIconInfoExW, GetLastActivePopup, GetLayeredWindowAttributes, GetMenu, GetMenuBarInfo, GetMenuCheckMarkDimensions, GetMenuDefaultItem, GetMenuInfo, GetMenuItemCount, GetMenuItemID, GetMenuItemInfoA, GetMenuItemInfoW, GetMenuItemRect, GetMenuState, GetMenuStringA, GetMenuStringW, GetMonitorInfoA, GetMonitorInfoW, GetNextDlgGroupItem, GetNextDlgTabItem, GetOpenClipboardWindow, GetParent, GetPhysicalCursorPos, GetPriorityClipboardFormat, GetProcessDefaultLayout, GetProcessWindowStation, GetPropA, GetPropW, GetShellWindow, GetSubMenu, GetSysColor, GetSysColorBrush, GetSystemMenu, GetSystemMetrics, GetThreadDesktop, GetTitleBarInfo, GetTopWindow, GetUpdatedClipboardFormats, GetUserObjectInformationA, GetUserObjectInformationW, GetWindow, GetWindowDisplayAffinity, GetWindowInfo, GetWindowLongA, GetWindowLongPtrA, GetWindowLongPtrW, GetWindowLongW, GetWindowModuleFileNameA, GetWindowModuleFileNameW, GetWindowPlacement, GetWindowRect, GetWindowTextA, GetWindowTextLengthA, GetWindowTextLengthW, GetWindowTextW, GetWindowThreadProcessId, HiliteMenuItem, InsertMenuA, InsertMenuItemA, InsertMenuItemW, InsertMenuW, InternalGetWindowText, InvalidateRect, IsChild, IsClipboardFormatAvailable, IsDialogMessageA, IsDialogMessageW, IsDlgButtonChecked, IsGUIThread, IsHungAppWindow, IsIconic, IsMenu, IsProcessDPIAware, IsWindow, IsWindowUnicode, IsWindowVisible, IsZoomed, LoadCursorA, LoadCursorFromFileA, LoadCursorFromFileW, LoadCursorW, LoadIconA, LoadIconW, LoadImageA, LoadImageW, LoadMenuA, LoadMenuIndirectA, LoadMenuIndirectW, LoadMenuW, LoadStringA, LoadStringW, LockSetForegroundWindow, LockWorkStation, LogicalToPhysicalPoint, LookupIconIdFromDirectory, LookupIconIdFromDirectoryEx, MapDialogRect, MapWindowPoints, MenuItemFromPoint, MessageBeep, MessageBoxA, MessageBoxIndirectA, MessageBoxIndirectW, MessageBoxW, ModifyMenuA, ModifyMenuW, MonitorFromPoint, MonitorFromRect, MonitorFromWindow, MoveWindow, OpenClipboard, OpenDesktopA, OpenDesktopW, OpenIcon, OpenInputDesktop, OpenWindowStationA, OpenWindowStationW, PhysicalToLogicalPoint, PrivateExtractIconsA, PrivateExtractIconsW, RealChildWindowFromPoint, RealGetWindowClassA, RealGetWindowClassW, RegisterClipboardFormatA, RegisterClipboardFormatW, RegisterHotKey, RegisterShellHookWindow, RegisterWindowMessageA, RegisterWindowMessageW, RemoveClipboardFormatListener, RemoveMenu, RemovePropA, RemovePropW, ScreenToClient, SendDlgItemMessageA, SendDlgItemMessageW, SendMessage, SendMessageA, SendMessageW, SetClipboardData, SetClipboardViewer, SetCursor, SetCursorPos, SetDlgItemInt, SetDlgItemTextA, SetDlgItemTextW, SetForegroundWindow, SetLayeredWindowAttributes, SetMenu, SetMenuDefaultItem, SetMenuInfo, SetMenuItemBitmaps, SetMenuItemInfoA, SetMenuItemInfoW, SetParent, SetPhysicalCursorPos, SetProcessDefaultLayout, SetProcessDPIAware, SetProcessWindowStation, SetPropA, SetPropW, SetSysColors, SetSystemCursor, SetThreadDesktop, SetUserObjectInformationA, SetUserObjectInformationW, SetWindowDisplayAffinity, SetWindowLong, SetWindowLongPtr, SetWindowPlacement, SetWindowPos, SetWindowsHookExA, SetWindowsHookExW, SetWindowTextA, SetWindowTextW, ShowCursor, ShowOwnedPopups, ShowWindow, ShowWindowAsync, ShutdownBlockReasonCreate, ShutdownBlockReasonDestroy, ShutdownBlockReasonQuery, SoundSentry, SwitchDesktop, SwitchToThisWindow, SystemParametersInfoA, SystemParametersInfoW, TileWindows, TrackMouseEvent, TrackPopupMenu, TrackPopupMenuEx, UnhookWindowsHookEx, UnregisterHotKey, UpdateLayeredWindow, UpdateLayeredWindowIndirect, WindowFromPhysicalPoint, WindowFromPoint +AddClipboardFormatListener, AdjustWindowRect, AdjustWindowRectEx, AllowSetForegroundWindow, AnimateWindow, AnyPopup, AppendMenuA, AppendMenuW, ArrangeIconicWindows, BeginDeferWindowPos, BringWindowToTop, BroadcastSystemMessage, BroadcastSystemMessageExA, BroadcastSystemMessageExW, CalculatePopupWindowPosition, CallMsgFilterA, CallMsgFilterW, CallNextHookEx, CascadeWindows, ChangeClipboardChain, ChangeWindowMessageFilter, ChangeWindowMessageFilterEx, CheckDlgButton, CheckMenuItem, CheckMenuRadioItem, CheckRadioButton, ChildWindowFromPoint, ChildWindowFromPointEx, ClipCursor, CloseClipboard, CloseDesktop, CloseWindow, CloseWindowStation, CopyIcon, CountClipboardFormats, CreateCursor, CreateDesktopA, CreateDesktopExA, CreateDesktopExW, CreateDesktopW, CreateDialogIndirectParamA, CreateDialogIndirectParamW, CreateDialogParamA, CreateDialogParamW, CreateIcon, CreateIconFromResource, CreateIconFromResourceEx, CreateIconIndirect, CreateMenu, CreatePopupMenu, CreateWindowExA, CreateWindowExW, CreateWindowStationA, CreateWindowStationW, DefDlgProc, DeferWindowPos, DeleteMenu, DeregisterShellHookWindow, DestroyCursor, DestroyIcon, DestroyMenu, DestroyWindow, DialogBoxIndirectParamA, DialogBoxIndirectParamW, DialogBoxParamA, DialogBoxParamW, DispatchMessageA, DispatchMessageW, DrawEdge, DrawIcon, DrawIconEx, DrawMenuBar, DrawTextA, DrawTextW, EmptyClipboard, EnableMenuItem, EndDeferWindowPos, EndDialog, EndMenu, EndTask, EnumChildWindows, EnumClipboardFormats, EnumDesktopsA, EnumDesktopsW, EnumDesktopWindows, EnumDisplayMonitors, EnumPropsA, EnumPropsExA, EnumPropsExW, EnumPropsW, EnumThreadWindows, EnumWindows, EnumWindowStationsA, EnumWindowStationsW, ExitWindowsEx, FindWindowA, FindWindowExA, FindWindowExW, FindWindowW, GetActiveWindow, GetAltTabInfoA, GetAltTabInfoW, GetAncestor, GetClientRect, GetClipboardData, GetClipboardFormatNameA, GetClipboardFormatNameW, GetClipboardOwner, GetClipboardSequenceNumber, GetClipboardViewer, GetClipCursor, GetCursor, GetCursorInfo, GetCursorPos, GetDC, GetDesktopWindow, GetDialogBaseUnits, GetDlgCtrlID, GetDlgItem, GetDlgItemInt, GetDlgItemTextA, GetDlgItemTextW, GetForegroundWindow, GetGUIThreadInfo, GetIconInfo, GetIconInfoExA, GetIconInfoExW, GetInputState, GetLastActivePopup, GetLayeredWindowAttributes, GetMenu, GetMenuBarInfo, GetMenuCheckMarkDimensions, GetMenuDefaultItem, GetMenuInfo, GetMenuItemCount, GetMenuItemID, GetMenuItemInfoA, GetMenuItemInfoW, GetMenuItemRect, GetMenuState, GetMenuStringA, GetMenuStringW, GetMessageA, GetMessageExtraInfo, GetMessagePos, GetMessageTime, GetMessageW, GetMonitorInfoA, GetMonitorInfoW, GetNextDlgGroupItem, GetNextDlgTabItem, GetOpenClipboardWindow, GetParent, GetPhysicalCursorPos, GetPriorityClipboardFormat, GetProcessDefaultLayout, GetProcessWindowStation, GetPropA, GetPropW, GetQueueStatus, GetShellWindow, GetSubMenu, GetSysColor, GetSysColorBrush, GetSystemMenu, GetSystemMetrics, GetThreadDesktop, GetTitleBarInfo, GetTopWindow, GetUpdatedClipboardFormats, GetUserObjectInformationA, GetUserObjectInformationW, GetWindow, GetWindowDisplayAffinity, GetWindowInfo, GetWindowLongA, GetWindowLongPtrA, GetWindowLongPtrW, GetWindowLongW, GetWindowModuleFileNameA, GetWindowModuleFileNameW, GetWindowPlacement, GetWindowRect, GetWindowTextA, GetWindowTextLengthA, GetWindowTextLengthW, GetWindowTextW, GetWindowThreadProcessId, HiliteMenuItem, InSendMessage, InSendMessageEx, InsertMenuA, InsertMenuItemA, InsertMenuItemW, InsertMenuW, InternalGetWindowText, InvalidateRect, IsChild, IsClipboardFormatAvailable, IsDialogMessageA, IsDialogMessageW, IsDlgButtonChecked, IsGUIThread, IsHungAppWindow, IsIconic, IsMenu, IsProcessDPIAware, IsWindow, IsWindowUnicode, IsWindowVisible, IsZoomed, KillTimer, LoadCursorA, LoadCursorFromFileA, LoadCursorFromFileW, LoadCursorW, LoadIconA, LoadIconW, LoadImageA, LoadImageW, LoadMenuA, LoadMenuIndirectA, LoadMenuIndirectW, LoadMenuW, LoadStringA, LoadStringW, LockSetForegroundWindow, LockWorkStation, LogicalToPhysicalPoint, LookupIconIdFromDirectory, LookupIconIdFromDirectoryEx, MapDialogRect, MapWindowPoints, MenuItemFromPoint, MessageBeep, MessageBoxA, MessageBoxIndirectA, MessageBoxIndirectW, MessageBoxW, ModifyMenuA, ModifyMenuW, MonitorFromPoint, MonitorFromRect, MonitorFromWindow, MoveWindow, OpenClipboard, OpenDesktopA, OpenDesktopW, OpenIcon, OpenInputDesktop, OpenWindowStationA, OpenWindowStationW, PeekMessageA, PeekMessageW, PhysicalToLogicalPoint, PostMessageA, PostMessageW, PostQuitMessage, PostThreadMessageA, PostThreadMessageW, PrivateExtractIconsA, PrivateExtractIconsW, RealChildWindowFromPoint, RealGetWindowClassA, RealGetWindowClassW, RegisterClipboardFormatA, RegisterClipboardFormatW, RegisterHotKey, RegisterShellHookWindow, RegisterWindowMessageA, RegisterWindowMessageW, RemoveClipboardFormatListener, RemoveMenu, RemovePropA, RemovePropW, ReplyMessage, ScreenToClient, SendDlgItemMessageA, SendDlgItemMessageW, SendMessage, SendMessageA, SendMessageCallbackA, SendMessageCallbackW, SendMessageTimeoutA, SendMessageTimeoutW, SendMessageW, SendNotifyMessageA, SendNotifyMessageW, SetClipboardData, SetClipboardViewer, SetCursor, SetCursorPos, SetDlgItemInt, SetDlgItemTextA, SetDlgItemTextW, SetForegroundWindow, SetLayeredWindowAttributes, SetMenu, SetMenuDefaultItem, SetMenuInfo, SetMenuItemBitmaps, SetMenuItemInfoA, SetMenuItemInfoW, SetMessageExtraInfo, SetParent, SetPhysicalCursorPos, SetProcessDefaultLayout, SetProcessDPIAware, SetProcessWindowStation, SetPropA, SetPropW, SetSysColors, SetSystemCursor, SetThreadDesktop, SetTimer, SetUserObjectInformationA, SetUserObjectInformationW, SetWindowDisplayAffinity, SetWindowLong, SetWindowLongPtr, SetWindowPlacement, SetWindowPos, SetWindowsHookExA, SetWindowsHookExW, SetWindowTextA, SetWindowTextW, ShowCursor, ShowOwnedPopups, ShowWindow, ShowWindowAsync, ShutdownBlockReasonCreate, ShutdownBlockReasonDestroy, ShutdownBlockReasonQuery, SoundSentry, SwitchDesktop, SwitchToThisWindow, SystemParametersInfoA, SystemParametersInfoW, TileWindows, TrackMouseEvent, TrackPopupMenu, TrackPopupMenuEx, TranslateMessage, UnhookWindowsHookEx, UnregisterHotKey, UpdateLayeredWindow, UpdateLayeredWindowIndirect, WaitMessage, WindowFromPhysicalPoint, WindowFromPoint Structures -METAFILEPICT, CBT_CREATEWND, CBTACTIVATESTRUCT, CWPRETSTRUCT, CWPSTRUCT, DEBUGHOOKINFO, EVENTMSG, HHOOK, KBDLLHOOKSTRUCT, MOUSEHOOKSTRUCT, MOUSEHOOKSTRUCTEX, MSLLHOOKSTRUCT, TRACKMOUSEEVENT, ACCESSTIMEOUT, ANIMATIONINFO, AUDIODESCRIPTION, FILTERKEYS, HELPINFO, HIGHCONTRAST, ICONMETRICS, MINIMIZEDMETRICS, MOUSEKEYS, MSGBOXPARAMS, NONCLIENTMETRICS, SERIALKEYS, SOUNDSENTRY, STICKYKEYS, TOGGLEKEYS, TOUCHPREDICTIONPARAMETERS, ICONINFO, NMHDR, CURSORINFO, USEROBJECTFLAGS, DLGITEMTEMPLATE, DLGTEMPLATE, MINMAXINFO, WINDOWPOS, ICONINFOEX, MDINEXTMENU, MENUBARINFO, MENUEX_TEMPLATE_HEADER, MENUEX_TEMPLATE_ITEM, MENUGETOBJECTINFO, MENUINFO, MENUITEMINFO, MENUITEMTEMPLATE, MENUITEMTEMPLATEHEADER, TPMPARAMS, MONITORINFO, MONITORINFOEX, GRPICONDIR, GRPICONDIRENTRY, ALTTABINFO, CHANGEFILTERSTRUCT, GUITHREADINFO, TITLEBARINFO, UPDATELAYEREDWINDOWINFO, WINDOWINFO, WINDOWPLACEMENT +METAFILEPICT, CBT_CREATEWND, CBTACTIVATESTRUCT, CWPRETSTRUCT, CWPSTRUCT, DEBUGHOOKINFO, EVENTMSG, HHOOK, KBDLLHOOKSTRUCT, MOUSEHOOKSTRUCT, MOUSEHOOKSTRUCTEX, MSLLHOOKSTRUCT, TRACKMOUSEEVENT, ACCESSTIMEOUT, ANIMATIONINFO, AUDIODESCRIPTION, FILTERKEYS, HELPINFO, HIGHCONTRAST, ICONMETRICS, MINIMIZEDMETRICS, MOUSEKEYS, MSGBOXPARAMS, NONCLIENTMETRICS, SERIALKEYS, SOUNDSENTRY, STICKYKEYS, TOGGLEKEYS, TOUCHPREDICTIONPARAMETERS, ICONINFO, NMHDR, CURSORINFO, USEROBJECTFLAGS, DLGITEMTEMPLATE, DLGTEMPLATE, MINMAXINFO, WINDOWPOS, ICONINFOEX, MDINEXTMENU, MENUBARINFO, MENUEX_TEMPLATE_HEADER, MENUEX_TEMPLATE_ITEM, MENUGETOBJECTINFO, MENUINFO, MENUITEMINFO, MENUITEMTEMPLATE, MENUITEMTEMPLATEHEADER, TPMPARAMS, BSMINFO, MONITORINFO, MONITORINFOEX, GRPICONDIR, GRPICONDIRENTRY, ALTTABINFO, CHANGEFILTERSTRUCT, GUITHREADINFO, TITLEBARINFO, UPDATELAYEREDWINDOWINFO, WINDOWINFO, WINDOWPLACEMENT latest diff --git a/PInvoke/UxTheme/Vanara.PInvoke.UxTheme.csproj b/PInvoke/UxTheme/Vanara.PInvoke.UxTheme.csproj index f177007c..6bd28c28 100644 --- a/PInvoke/UxTheme/Vanara.PInvoke.UxTheme.csproj +++ b/PInvoke/UxTheme/Vanara.PInvoke.UxTheme.csproj @@ -4,7 +4,7 @@ Methods, structures and constants imported from UxTheme.dll. Copyright © 2017-2019 $(AssemblyName) - 2.1.3 + 2.2.0 net20;net35;net40;net45 Vanara.PInvoke.UxTheme $(AssemblyName) diff --git a/PInvoke/VirtDisk/Vanara.PInvoke.VirtDisk.csproj b/PInvoke/VirtDisk/Vanara.PInvoke.VirtDisk.csproj index 16900f9a..168a52c4 100644 --- a/PInvoke/VirtDisk/Vanara.PInvoke.VirtDisk.csproj +++ b/PInvoke/VirtDisk/Vanara.PInvoke.VirtDisk.csproj @@ -4,7 +4,7 @@ Methods, structures and constants imported from VirtDisk.dll. Copyright © 2017-2019 $(AssemblyName) - 2.1.3 + 2.2.0 net20;net35;net40;net45;netstandard2.0;netcoreapp2.0;netcoreapp2.1 Vanara.PInvoke.VirtDisk $(AssemblyName) diff --git a/PInvoke/WinINet/Vanara.PInvoke.WinINet.csproj b/PInvoke/WinINet/Vanara.PInvoke.WinINet.csproj index 59920ff4..2897762a 100644 --- a/PInvoke/WinINet/Vanara.PInvoke.WinINet.csproj +++ b/PInvoke/WinINet/Vanara.PInvoke.WinINet.csproj @@ -4,7 +4,7 @@ Methods, structures and constants imported from WinINet.dll. Copyright © 2017-2019 $(AssemblyName) - 2.1.3 + 2.2.0 net20;net35;net40;net45;netstandard2.0;netcoreapp2.0;netcoreapp2.1 Vanara.PInvoke.WinINet $(AssemblyName) diff --git a/PInvoke/Ws2_32/Vanara.PInvoke.Ws2_32.csproj b/PInvoke/Ws2_32/Vanara.PInvoke.Ws2_32.csproj index ec102015..2c5f16ae 100644 --- a/PInvoke/Ws2_32/Vanara.PInvoke.Ws2_32.csproj +++ b/PInvoke/Ws2_32/Vanara.PInvoke.Ws2_32.csproj @@ -4,7 +4,7 @@ Methods, structures and constants imported from Ws2_32.dll. Copyright © 2017-2019 $(AssemblyName) - 2.1.3 + 2.2.0 net20;net35;net40;net45;netstandard2.0;netcoreapp2.0;netcoreapp2.1 Vanara.PInvoke.Ws2_32 $(AssemblyName) diff --git a/Security/Vanara.Security.csproj b/Security/Vanara.Security.csproj index b45fdb1f..ec5869ea 100644 --- a/Security/Vanara.Security.csproj +++ b/Security/Vanara.Security.csproj @@ -4,7 +4,7 @@ Classes for security related items derived from the Vanara PInvoke libraries. Includes extension methods for Active Directory and access control classes, methods for working with accounts, UAC, privileges, system access, impersonation and SIDs, and a full LSA wrapper. Copyright © 2017-2019 $(AssemblyName) - 2.1.3 + 2.2.0 net20;net35;net40;net45;netstandard2.0;netcoreapp2.0;netcoreapp2.1 Vanara.Security $(AssemblyName) diff --git a/System/Vanara.SystemServices.csproj b/System/Vanara.SystemServices.csproj index 3fb43445..f989e51b 100644 --- a/System/Vanara.SystemServices.csproj +++ b/System/Vanara.SystemServices.csproj @@ -4,7 +4,7 @@ Classes for system related items derived from the Vanara PInvoke libraries. Includes a class for working with virtual disks (including async methods), classes for BITS, and extensions for Process (privileges and elavation), FileInfo (compression info), and ServiceController (SetStartType) that pull extended information through native API calls. Copyright © 2017-2019 $(AssemblyName) - 2.1.3 + 2.2.0 net20;net35;net40;net45;netstandard2.0;netcoreapp2.0;netcoreapp2.1 Vanara.SystemServices $(AssemblyName) diff --git a/UnitTests/Properties/AssemblyInfo.cs b/UnitTests/Properties/AssemblyInfo.cs index 340973e4..18954572 100644 --- a/UnitTests/Properties/AssemblyInfo.cs +++ b/UnitTests/Properties/AssemblyInfo.cs @@ -16,5 +16,5 @@ using System.Runtime.InteropServices; [assembly: Guid("3c9e407f-9d0b-4b54-b181-ba5476b8d2dc")] // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("2.1.3.0")] -[assembly: AssemblyFileVersion("2.1.3.0")] +[assembly: AssemblyVersion("2.2.0.0")] +[assembly: AssemblyFileVersion("2.2.0.0")] diff --git a/WIndows.Forms/Vanara.Windows.Forms.csproj b/WIndows.Forms/Vanara.Windows.Forms.csproj index 419c2d80..43f60826 100644 --- a/WIndows.Forms/Vanara.Windows.Forms.csproj +++ b/WIndows.Forms/Vanara.Windows.Forms.csproj @@ -4,7 +4,7 @@ Classes for user interface related items derived from the Vanara PInvoke libraries. Includes extensions for almost all common controls to give post Vista capabilities, WinForms controls (panel, commandlink, enhanced combo boxes, IPAddress, split button, trackbar and themed controls), shutdown/restart/lock control, buffered painting, resource files, access control editor, simplifed designer framework for Windows.Forms. Copyright © 2017-2019 $(AssemblyName) - 2.1.3 + 2.2.0 net20;net35;net40;net45 Vanara.Windows.Forms $(AssemblyName) diff --git a/Windows.Shell/AssemblyReport.md b/Windows.Shell/AssemblyReport.md index d27a84a6..68e39a4a 100644 --- a/Windows.Shell/AssemblyReport.md +++ b/Windows.Shell/AssemblyReport.md @@ -5,6 +5,7 @@ Class | Description CommandVerb | Encapsulates a shortcut menu verb in the registry. CommandVerbDictionary | ControlPanel | Provides a means to open Control Panel items and get their paths. +DataObjectExtensions | IconLocation | Wraps the icon location string used by some Shell classes. IndirectString | Wraps the icon location string used by some Shell classes. ProgId | Represents a programmatic identifier in the registry for an application. diff --git a/Windows.Shell/ClipboardEx.cs b/Windows.Shell/ClipboardEx.cs new file mode 100644 index 00000000..0be6b660 --- /dev/null +++ b/Windows.Shell/ClipboardEx.cs @@ -0,0 +1,121 @@ +using System; +using System.Collections.Generic; +using System.Collections.Specialized; +using System.Drawing; +using System.IO; +using System.Reflection; +using System.Security.Permissions; +using System.Text; +using System.Windows.Forms; +using Vanara.Extensions; +using static Vanara.PInvoke.Ole32; +using static Vanara.PInvoke.User32; +using static Vanara.PInvoke.Shell32; +using System.Linq; +using IComDataObject = System.Runtime.InteropServices.ComTypes.IDataObject; +using System.Runtime.InteropServices.ComTypes; + +namespace Vanara.Windows.Shell +{ + internal static class ClipboardEx + { + public static void Clear() => Clipboard.Clear(); + public static bool ContainsAudio() => Clipboard.ContainsAudio(); + public static bool ContainsData(string format) => Clipboard.ContainsData(format); + public static bool ContainsFileDropList() => Clipboard.ContainsFileDropList(); + public static bool ContainsImage() => Clipboard.ContainsImage(); + public static bool ContainsText() => Clipboard.ContainsText(); + public static bool ContainsText(TextDataFormat format) => Clipboard.ContainsText(format); + public static Stream GetAudioStream() => Clipboard.GetAudioStream(); + public static object GetData(string format) => Clipboard.GetData(format); + public static System.Windows.Forms.IDataObject GetDataObject() => Clipboard.GetDataObject(); + public static IList GetFileDropList() => new List(Clipboard.GetFileDropList().Cast()); + public static Image GetImage() => Clipboard.GetImage(); + public static string GetText() => Clipboard.GetText(); + public static string GetText(TextDataFormat format) => Clipboard.GetText(format); + public static void SetAudio(byte[] audioBytes) => Clipboard.SetAudio(audioBytes); + public static void SetAudio(Stream audioStream) => Clipboard.SetAudio(audioStream); + public static void SetData(string format, object data) => Clipboard.SetData(format, data); + public static void SetDataObject(object data) => Clipboard.SetDataObject(data); + public static void SetDataObject(object data, bool copy) => Clipboard.SetDataObject(data, copy); + [UIPermission(SecurityAction.Demand, Clipboard = UIPermissionClipboard.OwnClipboard)] + public static void SetDataObject(object data, bool copy, int retryTimes, int retryDelay) => Clipboard.SetDataObject(data, copy, retryTimes, retryDelay); + public static void SetFileDropList(IEnumerable filePaths) => Clipboard.SetFileDropList(ToSC(filePaths)); + public static void SetImage(Image image) => Clipboard.SetImage(image); + public static void SetText(string text) => Clipboard.SetText(text); + public static void SetText(string text, TextDataFormat format) => Clipboard.SetText(text, format); + + internal static StringCollection ToSC(IEnumerable e) { var sc = new StringCollection(); if (e != null) sc.AddRange(e.ToArray()); return sc; } + + internal static string Id(this ShellDataFormat fmt) + { + var ansi = System.Text.Encoding.Default.IsSingleByte; + string cfval = null; + switch (fmt) + { + case ShellDataFormat.FileDescriptor: + cfval = ansi ? ShellClipboardFormat.CFSTR_FILEDESCRIPTORA : ShellClipboardFormat.CFSTR_FILEDESCRIPTORW; + break; + case ShellDataFormat.FileName: + cfval = ansi ? ShellClipboardFormat.CFSTR_FILENAMEA : ShellClipboardFormat.CFSTR_FILENAMEW; + break; + case ShellDataFormat.FileNameMap: + cfval = ansi ? ShellClipboardFormat.CFSTR_FILENAMEMAPA : ShellClipboardFormat.CFSTR_FILENAMEMAPW; + break; + case ShellDataFormat.InetUrl: + cfval = ansi ? ShellClipboardFormat.CFSTR_INETURLA: ShellClipboardFormat.CFSTR_INETURLW; + break; + case ShellDataFormat.AutoPlayLists: + cfval = ShellClipboardFormat.CFSTR_AUTOPLAY_SHELLIDLISTS; + break; + case ShellDataFormat.FileAttributes: + cfval = ShellClipboardFormat.CFSTR_FILE_ATTRIBUTES_ARRAY; + break; + case ShellDataFormat.InvokeCommandDropParam: + cfval = ShellClipboardFormat.CFSTR_INVOKECOMMAND_DROPPARAM; + break; + default: + cfval = GetSCFField("CFSTR_" + fmt.ToString().ToUpper()); + break; + } + return cfval ?? throw new ArgumentOutOfRangeException(nameof(fmt)); + + string GetSCFField(string fName) + { + var fi = typeof(ShellClipboardFormat).GetField(fName, BindingFlags.Public | BindingFlags.Static); + if (fi != null && fi.IsLiteral && !fi.IsInitOnly && fi.FieldType == typeof(string)) + return (string)fi.GetRawConstantValue(); + return null; + } + } + } + + internal enum ShellDataFormat + { + ShellIdList, + ShellIdListOffset, + NetResources, + FileDescriptor, + FileContents, + FileName, + PrinterGroup, + FileNameMap, + ShellUrl, + InetUrl, + PreferredDropEffect, + PerformedDropEffect, + PasteSucceeded, + InDragLoop, + MountedVolume, + PersistedDataObject, + TargetClsid, + LogicalPerformedDropEffect, + AutoPlayLists, + UntrustedDragDrop, + FileAttributes, + InvokeCommandDropParam, + ShellDropHandler, + DropDescription, + ZoneIdentifier, + } +} \ No newline at end of file diff --git a/Windows.Shell/IDataObjectExtensions.cs b/Windows.Shell/IDataObjectExtensions.cs new file mode 100644 index 00000000..085f6106 --- /dev/null +++ b/Windows.Shell/IDataObjectExtensions.cs @@ -0,0 +1,80 @@ +using System; +using System.Collections.Generic; +using System.Runtime.InteropServices.ComTypes; +using System.Text; +using System.Windows.Forms; +using Vanara.Extensions; +using static Vanara.PInvoke.Ole32; +using static Vanara.PInvoke.Shell32; +using IComDataObject = System.Runtime.InteropServices.ComTypes.IDataObject; + +namespace Vanara.Windows.Shell +{ + // TODO + public static class DataObjectExtensions + { + public static IReadOnlyList GetFileNameMap(this DataObject dobj) + { + var l = new List(); + if (dobj.GetDataPresent(ShellDataFormat.FileNameMap.Id())) + { + if (dobj.GetData(ShellDataFormat.FileNameMap.Id(), true) is string[] data) + l.AddRange(data); + } + return (IReadOnlyList)l; + } + + public static DROPEFFECT GetPreferredDropEffect(this DataObject dobj) + { + dobj.GetData(typeof(uint)); + var eff = DROPEFFECT.DROPEFFECT_NONE; + if (dobj is IComDataObject cdo) + { + var fc = MakeFORMATETC(ShellClipboardFormat.CFSTR_PREFERREDDROPEFFECT); + try + { + cdo.GetData(ref fc, out var medium); + if (medium.unionmember != default) + eff = (DROPEFFECT)medium.unionmember.ToStructure(); + ReleaseStgMedium(medium); + } + catch { } + } + return eff; + } + + public static IReadOnlyCollection GetShellIdList(this DataObject dobj) + { + var l = new List(); + if (dobj is IComDataObject cdo) + { + var fc = MakeFORMATETC(ShellClipboardFormat.CFSTR_SHELLIDLIST); + try + { + cdo.GetData(ref fc, out var medium); + if (medium.unionmember != default) + { + var cnt = (int)medium.unionmember.ToStructure() + 1; + foreach (var offset in medium.unionmember.Offset(sizeof(uint)).ToArray(cnt)) + l.Add(new PIDL(medium.unionmember.Offset(offset), true)); + } + ReleaseStgMedium(medium); + } + catch { } + } + return (IReadOnlyList)l; + } + + public static void SetTargetClsid(this DataObject dobj, in Guid clsid) => dobj.SetData(ShellClipboardFormat.CFSTR_TARGETCLSID, clsid); + + internal static FORMATETC MakeFORMATETC(string fmt, TYMED tymed = TYMED.TYMED_HGLOBAL) => new FORMATETC + { + cfFormat = (short)GetFormat(fmt).Id, + dwAspect = DVASPECT.DVASPECT_CONTENT, + lindex = -1, + tymed = tymed + }; + + private static DataFormats.Format GetFormat(string format) => DataFormats.GetFormat(format); + } +} diff --git a/Windows.Shell/ShellSearchConditions.cs b/Windows.Shell/ShellSearchConditions.cs new file mode 100644 index 00000000..f0297940 --- /dev/null +++ b/Windows.Shell/ShellSearchConditions.cs @@ -0,0 +1,8 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace Vanara.Windows.Shell +{ + // TODO : Block out classes +} \ No newline at end of file diff --git a/Windows.Shell/Vanara.Windows.Shell.csproj b/Windows.Shell/Vanara.Windows.Shell.csproj index 242f72c1..d31a2970 100644 --- a/Windows.Shell/Vanara.Windows.Shell.csproj +++ b/Windows.Shell/Vanara.Windows.Shell.csproj @@ -4,7 +4,7 @@ Classes for Windows Shell items derived from the Vanara PInvoke libraries. Includes shell items, files, icons, links, and taskbar lists. Copyright © 2017-2019 $(AssemblyName) - 2.1.3 + 2.2.0 net20;net35;net40;net45 Vanara.Windows.Shell $(AssemblyName) @@ -23,7 +23,7 @@ Currently implements: Classes -CommandVerb, CommandVerbDictionary, ControlPanel, IconLocation, IndirectString, ProgId, PropertyDescription, PropertyDescriptionList, PropertyStore, PropertyType, PropertyTypeList, RegBasedSettings, RegistryBasedVirtualDictionary<T>, ShellAssociation, ShellFileInfo, ShellFileNewOpEventArgs, ShellFileOperations, ShellFileOpEventArgs, ShellFolder, ShellImageList, ShellItem, ShellItemArray, ShellItemChangeEventArgs, ShellItemChangeWatcher, ShellItemPropertyStore, ShellItemPropertyUpdates, ShellLibrary, ShellLibraryFolders, ShellLink, ShellRegistrar, TaskbarList +CommandVerb, CommandVerbDictionary, ControlPanel, DataObjectExtensions, IconLocation, IndirectString, ProgId, PropertyDescription, PropertyDescriptionList, PropertyStore, PropertyType, PropertyTypeList, RegBasedSettings, RegistryBasedVirtualDictionary<T>, ShellAssociation, ShellFileInfo, ShellFileNewOpEventArgs, ShellFileOperations, ShellFileOpEventArgs, ShellFolder, ShellImageList, ShellItem, ShellItemArray, ShellItemChangeEventArgs, ShellItemChangeWatcher, ShellItemPropertyStore, ShellItemPropertyUpdates, ShellLibrary, ShellLibraryFolders, ShellLink, ShellRegistrar, TaskbarList Enumerations ChangeFilters, ExecutableType, FolderItemFilter, LibraryFolderFilter, LibraryViewTemplate, LinkResolution, OperationFlags, ShellIconType, ShellImageSize, ShellItemAttribute, ShellItemComparison, ShellItemDisplayString, ShellItemGetImageOptions, ShellItemToolTipOptions, TransferFlags, VerbMultiSelectModel, VerbPosition, VerbSelectionModel