#ifndef _NTSAM_H
#ifndef _DOMAIN_PASSWORD_INFORMATION_DEFINED // defined in ntsecapi.h
/**
* DOMAIN_PASSWORD_INFORMATION contains password policy parameters for the domain.
* \sa https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-samr/
*/
typedef struct _DOMAIN_PASSWORD_INFORMATION
{
USHORT MinPasswordLength;
USHORT PasswordHistoryLength;
ULONG PasswordProperties;
LARGE_INTEGER MaxPasswordAge;
LARGE_INTEGER MinPasswordAge;
} DOMAIN_PASSWORD_INFORMATION, *PDOMAIN_PASSWORD_INFORMATION;
View code on GitHubThis type is documented in the [MS-SAMR] specification.