System.WideStrUtils.WStrDispose

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure WStrDispose(Str: PWideChar);

C++

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

Properties

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

Description

Disposes of a PWideChar.

WStrDispose is provided for backward compatibility. WStrDispose disposes of a PWideChar that was previously allocated with WStrAlloc or WStrNew.

If Str is nil (Delphi) or NULL (C++), WStrDispose does nothing.

See Also