Directory Services

DsFreeSpnArray

The DsFreeSpnArray function frees an array returned from the DsGetSpn function.

void DsFreeSpnArray(
  DWORD cSpn,
  LPTSTR* rpszSpn
);

Parameters

cSpn
[in] Specifies the number of elements contained in rpszSpn.
rpszSpn
[in] Pointer to an array returned from DsGetSpn.

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

DsGetSpn, Domain Controller and Replication Management Functions