Updated attributes and some parameters in IShellWindows

pull/83/head
David Hall 2019-10-23 12:07:06 -06:00
parent 33765e40ee
commit b6bc1544c6
1 changed files with 3 additions and 3 deletions

View File

@ -2402,7 +2402,7 @@ namespace Vanara.PInvoke
/// </remarks>
// https://docs.microsoft.com/en-us/windows/desktop/api/exdisp/nn-exdisp-ishellwindows
[PInvokeData("exdisp.h", MSDNShortId = "e609c8b6-2b2e-4188-894c-5c85960206ea")]
[ComImport, Guid("85CB6900-4D95-11CF-960C-0080C7F4EE85"), CoClass(typeof(ShellWindows))]
[ComImport, Guid("85CB6900-4D95-11CF-960C-0080C7F4EE85"), InterfaceType(ComInterfaceType.InterfaceIsIDispatch), CoClass(typeof(ShellWindows))]
public interface IShellWindows
{
/// <summary>Gets the number of windows in the Shell windows collection.</summary>
@ -2444,7 +2444,7 @@ namespace Vanara.PInvoke
/// <param name="swClass">A member of ShellWindowTypeConstants that specifies the type of window.</param>
/// <returns>The window's cookie.</returns>
[DispId(0x60020004)]
int RegisterPending([In] int lThreadId, [In, MarshalAs(UnmanagedType.Struct)] ref object pvarloc, [In, MarshalAs(UnmanagedType.Struct)] ref object pvarlocRoot, [In] ShellWindowTypeConstants swClass);
int RegisterPending([In] int lThreadId, [In, MarshalAs(UnmanagedType.Struct)] in object pvarloc, [In, MarshalAs(UnmanagedType.Struct)] in object pvarlocRoot, [In] ShellWindowTypeConstants swClass);
/// <summary>Revokes a Shell window's registration and removes the window from the Shell windows collection.</summary>
/// <param name="lCookie">The cookie that identifies the window to un-register.</param>
@ -2478,7 +2478,7 @@ namespace Vanara.PInvoke
/// <returns>A reference to the window's IDispatch interface, or NULL if no such window was found.</returns>
[return: MarshalAs(UnmanagedType.IDispatch)]
[DispId(0x60020008)]
object FindWindowSW([In, MarshalAs(UnmanagedType.Struct)] ref object pvarloc, [In, MarshalAs(UnmanagedType.Struct)] ref object pvarlocRoot, [In] ShellWindowTypeConstants swClass, out int pHWND, [In] ShellWindowFindWindowOptions swfwOptions);
object FindWindowSW([In, MarshalAs(UnmanagedType.Struct)] in object pvarloc, [In, MarshalAs(UnmanagedType.Struct)] in object pvarlocRoot, [In] ShellWindowTypeConstants swClass, out int pHWND, [In] ShellWindowFindWindowOptions swfwOptions);
/// <summary>Occurs when a new Shell window is created for a frame.</summary>
/// <param name="lCookie">The cookie that identifies the window.</param>