NetFreeAadJoinInformation function (lmjoin.h)

Frees the memory allocated for the specified DSREG_JOIN_INFO structure, which contains join information for a tenant and which you retrieved by calling the NetGetAadJoinInformation function.

Syntax

VOID NET_API_FUNCTION NetFreeAadJoinInformation(
  [in, optional] PDSREG_JOIN_INFO pJoinInfo
);

Parameters

[in, optional] pJoinInfo

Pointer to the DSREG_JOIN_INFO structure for which you want to free the memory.

Return value

This function does not return a value.

Requirements

Requirement Value
Minimum supported client Windows 10 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Target Platform Windows
Header lmjoin.h
Library Netapi32.lib
DLL Netapi32.dll

See also

DSREG_JOIN_INFO

NetGetAadJoinInformation