ShlwApiPathRemoveExtension Method
Note: This API is now obsolete.
Namespace: DevCase.Win32.NativeMethodsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("ShlwApi.dll", CharSet = CharSet.Auto, BestFitMapping = false,
ThrowOnUnmappableChar = true, SetLastError = true)]
[ObsoleteAttribute("This function is deprecated. We recommend the use of the NativeMethods.PathCchRemoveExtension in its place.",
false)]
public static void PathRemoveExtension(
StringBuilder path
)
<DllImportAttribute("ShlwApi.dll", CharSet := CharSet.Auto, BestFitMapping := false,
ThrowOnUnmappableChar := true, SetLastError := true>]
<ObsoleteAttribute("This function is deprecated. We recommend the use of the NativeMethods.PathCchRemoveExtension in its place.",
false)>
Public Shared Sub PathRemoveExtension (
path As StringBuilder
)
Dim path As StringBuilder
ShlwApi.PathRemoveExtension(path)
public:
[DllImportAttribute(L"ShlwApi.dll", CharSet = CharSet::Auto, BestFitMapping = false,
ThrowOnUnmappableChar = true, SetLastError = true)]
[ObsoleteAttribute(L"This function is deprecated. We recommend the use of the NativeMethods.PathCchRemoveExtension in its place.",
false)]
static void PathRemoveExtension(
StringBuilder^ path
)
[<DllImportAttribute("ShlwApi.dll", CharSet = CharSet.Auto, BestFitMapping = false,
ThrowOnUnmappableChar = true, SetLastError = true)>]
[<ObsoleteAttribute("This function is deprecated. We recommend the use of the NativeMethods.PathCchRemoveExtension in its place.",
false)>]
static member PathRemoveExtension :
path : StringBuilder -> unit
No code example is currently available or this language may not be supported.
Parameters
- path StringBuilder
-
A pointer to a null-terminated string of length MAX_PATH from which to remove the extension.