DsFreeSpnArray function

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

Syntax


void WINAPI DsFreeSpnArray(
  _In_ DWORD  cSpn,
  _In_ LPTSTR *rpszSpn
);

Parameters

cSpn [in]

Specifies the number of elements contained in rpszSpn.

rpszSpn [in]

Pointer to an array returned from DsGetSpn.

Return value

This function does not return a value.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Ntdsapi.h

Library

Ntdsapi.lib

DLL

Ntdsapi.dll

Unicode and ANSI names

DsFreeSpnArrayW (Unicode) and DsFreeSpnArrayA (ANSI)

See also

DsGetSpn
Domain Controller and Replication Management Functions

 

 

Show: