#ifndef _NTSAM_H
#ifndef _DOMAIN_PASSWORD_INFORMATION_DEFINED // defined in ntsecapi.h
/**
* The DOMAIN_PASSWORD_INFORMATION structure defines password length, history depth, age limits, and policy flags.
* \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.