NetValidatePasswordPolicyFree function (lmaccess.h)

The NetValidatePasswordPolicyFree function frees the memory that the NetValidatePasswordPolicy function allocates for the OutputArg parameter, which is a NET_VALIDATE_OUTPUT_ARG structure.


NET_API_STATUS NET_API_FUNCTION NetValidatePasswordPolicyFree(
  [in] LPVOID *OutputArg


[in] OutputArg

Pointer to the memory allocated for the OutputArg parameter by a call to the NetValidatePasswordPolicy function.

Return value

If the function frees the memory, or if there is no memory to free from a previous call to NetValidatePasswordPolicy, the return value is NERR_Success.

If the function fails, the return value is a system error code. For a list of error codes, see System Error Codes.


No special group membership is required to successfully execute this function.


Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header lmaccess.h (include Lm.h)
Library Netapi32.lib
DLL Netapi32.dll

See also


Network Management Functions

Network Management Overview