DsFreeDomainControllerInfo function
The DsFreeDomainControllerInfo function frees memory that is allocated by DsGetDomainControllerInfo for data about the domain controllers in a domain.
Syntax
VOID WINAPI DsFreeDomainControllerInfo( _In_ DWORD InfoLevel, _In_ DWORD cInfo, _In_ VOID *pInfo );
Parameters
- InfoLevel [in]
-
Indicates what version of the DS_DOMAIN_CONTROLLER_INFO structure should be freed. This parameter can be one of the following values.
-
The function frees the structure that contains DS_DOMAIN_CONTROLLER_INFO_1 data.
-
The function frees the structure that contains DS_DOMAIN_CONTROLLER_INFO_2 data.
- cInfo [in]
-
Indicates the number of items in pInfo.
- pInfo [in]
-
Pointer to an array of DS_DOMAIN_CONTROLLER_INFO structures to be freed.
Return value
This function does not return a value.
Requirements
|
Minimum supported client |
Windows Vista |
|---|---|
|
Minimum supported server |
Windows Server 2008 |
|
Header |
|
|
Library |
|
|
DLL |
|
|
Unicode and ANSI names |
DsFreeDomainControllerInfoW (Unicode) and DsFreeDomainControllerInfoA (ANSI) |
See also
- DS_DOMAIN_CONTROLLER_INFO_1
- DsGetDomainControllerInfo
- Domain Controller and Replication Management Functions