Skip to content

Commit

Permalink
Added coclass for IApplicationDocumentLists #399
Browse files Browse the repository at this point in the history
  • Loading branch information
dahall committed May 17, 2023
1 parent 19922b2 commit 701db19
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion PInvoke/Shell32/ShObjIdl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -946,7 +946,7 @@ public interface IApplicationDestinations
/// <summary>Allows an application to retrieve the most recent and frequent documents opened in that app, as reported via SHAddToRecentDocs</summary>
/// <securitynote>Critical: Suppresses unmanaged code security.</securitynote>
[SuppressUnmanagedCodeSecurity]
[ComImport, InterfaceType(ComInterfaceType.InterfaceIsIUnknown), Guid("3c594f9f-9f30-47a1-979a-c9e83d3d0a06")]
[ComImport, InterfaceType(ComInterfaceType.InterfaceIsIUnknown), Guid("3c594f9f-9f30-47a1-979a-c9e83d3d0a06"), CoClass(typeof(ApplicationDocumentLists))]
[PInvokeData("Shobjidl.h", MSDNShortId = "bb762502")]
public interface IApplicationDocumentLists
{
Expand Down Expand Up @@ -2626,6 +2626,11 @@ public class ApplicationAssociationRegistration { }
[ComImport, Guid("86c14003-4d6b-4ef3-a7b4-0506663b2e68"), ClassInterface(ClassInterfaceType.None)]
public class ApplicationDestinations { }

/// <summary>Implements CLSID_ApplicationDocumentLists to create IApplicationDocumentLists.</summary>
[PInvokeData("shobjidl_core.h")]
[ComImport, Guid("86bec222-30f2-47e0-9f25-60d11cd75c28"), ClassInterface(ClassInterfaceType.None)]
public class ApplicationDocumentLists { }

/// <summary>Class interface for IEnumerableObjectCollection.</summary>
[ComImport, Guid("2d3468c1-36a7-43b6-ac24-d3f02fd9607a"), ClassInterface(ClassInterfaceType.None)]
public class CEnumerableObjectCollection { }
Expand Down

0 comments on commit 701db19

Please sign in to comment.