PathUnQuoteSpaces (shlwapi)
Last changed: johnbell149@gmail.com-202.74.138.1

.
Summary
PathUnQuoteSpaces - Removes quotes from the beginning and end of a path

C# Signature:

/// <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);

VB.NET Signature

''' <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

VB Signature:

Public Declare Sub PathUnquoteSpaces Lib "shlwapi" Alias "PathUnquoteSpacesA" _
        (ByVal lpszPath As String)

User-Defined Types:

None.

Alternative Managed API:

Do you know one? Please contribute it!

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Documentation