Changed default flag for ShellItemPropertyStore to GPS_BESTEFFORT to prevent exceptions. #378

pull/382/head
David Hall 2023-03-08 14:28:51 -06:00
parent c37ef68f8b
commit 153533f7e0
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ namespace Vanara.Windows.Shell
private ShellItem shellItem;
/// <summary>The flags.</summary>
private GETPROPERTYSTOREFLAGS flags = GETPROPERTYSTOREFLAGS.GPS_DEFAULT;
private GETPROPERTYSTOREFLAGS flags = GETPROPERTYSTOREFLAGS.GPS_BESTEFFORT;
/// <summary>Initializes a new instance of the <see cref="ShellItemPropertyStore"/> class.</summary>
/// <param name="item">The ShellItem instance.</param>