/// <summary>
/// Removes quotes from the beginning and end of a path
/// </summary>
/// <param name="lpsz">A pointer to a null-terminated string of length MAX_PATH that contains the path. When the function returns successfully, points to the string with beginning and ending quotation marks removed.</param>
[DllImport("shlwapi.dll", EntryPoint = "PathUnQuoteSpacesW", SetLastError = True, CharSet= CharSet.Unicode)]
static extern void PathUnQuoteSpaces([MarshalAs(UnmanagedType.LPTStr)]System.Text.StringBuilder lpsz);
''' <summary>
''' Removes quotes from the beginning and end of a path
''' </summary>
''' <param name="lpsz">A pointer to a null-terminated string of length MAX_PATH that contains the path. When the function returns successfully, points to the string with beginning and ending quotation marks removed.</param>
<DllImport("shlwapi.dll", EntryPoint:="PathUnQuoteSpacesW", SetLastError:=True, CharSet:=CharSet.Unicode)> _
Public Sub PathUnQuoteSpaces(<MarshalAs(UnmanagedType.LPTStr)>lpsz As System.Text.StringBuilder)
End Sub
Public Declare Sub PathUnquoteSpaces Lib "shlwapi" Alias "PathUnquoteSpacesA" _
(ByVal lpszPath As String)
None.
Do you know one? Please contribute it!
None.
Please add some!
Please add some!