Directory Services

DsFreeNameResult

The DsFreeNameResult function frees the memory held by a DS_NAME_RESULT structure. Use this function to free the memory allocated by the DsCrackNames function.

void DsFreeNameResult(
  DS_NAME_RESULTW* pResult
);

Parameters

pResult
Pointer to the DS_NAME_RESULT structure to be freed.

Return Values

This function has no return values.

Requirements

Client: Included in Windows XP and Windows 2000 Professional.
Server: Included in Windows Server 2003 and Windows 2000 Server.
Redistributable: Requires Active Directory Client Extension on Windows NT 4.0 SP6a and Windows 95/98/Me.
Unicode: Implemented as Unicode and ANSI versions on Windows NT/2000/XP.
Header: Declared in Ntdsapi.h.
Library: Use Ntdsapi.lib.

See Also

DS_NAME_RESULT, DsCrackNames, Domain Controller and Replication Management Functions