System.WideStrUtils.WStrDispose

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

procedure WStrDispose(Str: PWideChar);

C++

extern DELPHI_PACKAGE void __fastcall WStrDispose(System::WideChar * Str);

Propriétés

Type Visibilité  Source Unité  Parent
procedure
function
public
System.WideStrUtils.pas
System.WideStrUtils.hpp
System.WideStrUtils System.WideStrUtils

Description

Libère un PWideChar.

WStrDispose est fournie pour assurer la compatibilité descendante. WStrDispose restitue un PWideChar qui a été précédemment alloué à l'aide de WStrAlloc ou WStrNew.

Si Str est à nil (Delphi) ou NULL (C++), WStrDispose ne fait rien.

Voir aussi