Platform SDK: Active Directory, ADSI, and Directory Services

FreeADsStr

The FreeADsStr function frees the memory of a specified string created by AllocADsStr.

BOOL FreeADsStr(
  LPWSTR pStr 
);

Parameters

pStr
A string whose memory is to be freed.

Return Values

The function returns TRUE if the memory is freed. Otherwise, it returns FALSE.

Requirements

  Windows NT/2000: Requires Windows 2000 (or Windows NT 4.0 with DSClient).
  Windows 95/98: Requires Windows 95 or later (with DSClient).
  Header: Declared in Adshlp.h.
  Library: Included as a resource in ActiveDs.dll.

See Also

ADSI Functions, AllocADsStr