Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tried implementing ipersistidlist to no avail.
- Loading branch information
Showing
6 changed files
with
63 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
using System; | ||
using System.Runtime.InteropServices; | ||
|
||
namespace SharpShell.Interop | ||
{ | ||
/// <summary> | ||
/// Exposes methods that are used to persist item identifier lists. | ||
/// </summary> | ||
[ComImport, Guid("1079acfc-29bd-11d3-8e0d-00c04f6837d5"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] | ||
internal interface IPersistIDList : IPersist | ||
{ | ||
#region Overriden IPersist Methods | ||
|
||
int GetClassID(out Guid pClassID); | ||
|
||
#endregion | ||
|
||
/// <summary> | ||
/// Sets a persisted item identifier list. | ||
/// </summary> | ||
/// <param name="pidl">A pointer to the item identifier list to set.</param> | ||
/// <returns>If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.</returns> | ||
int SetIDList([In] IntPtr pidl); | ||
|
||
/// <summary> | ||
/// Gets an item identifier list. | ||
/// </summary> | ||
/// <param name="pidl">The address of a pointer to the item identifier list to get.</param> | ||
/// <returns>If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.</returns> | ||
int GetIDList([Out] out IntPtr pidl); | ||
} | ||
} |
Binary file modified
BIN
+0 Bytes
(100%)
SharpShell/SharpShell/NativeBridge/SharpShellNativeBridge64.dll
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters