Added missing constants from lmaccess.h

pull/256/head
dahall 2021-10-13 20:06:38 -06:00
parent cbb9ddc313
commit 0a9baa43be
1 changed files with 12 additions and 0 deletions

View File

@ -8,12 +8,24 @@ namespace Vanara.PInvoke
{
public static partial class NetApi32
{
/// <summary>Represents the number of days in a week.</summary>
public const uint SAM_DAYS_PER_WEEK = 7;
/// <summary>Represents the number of hours in a week.</summary>
public const uint SAM_HOURS_PER_WEEK = 24 * SAM_DAYS_PER_WEEK;
/// <summary>Represents the number of minutes in a week.</summary>
public const uint SAM_MINUTES_PER_WEEK = 60 * SAM_HOURS_PER_WEEK;
/// <summary>The units per day</summary>
public const uint UNITS_PER_DAY = 24;
/// <summary>The units per week</summary>
public const uint UNITS_PER_WEEK = UNITS_PER_DAY * 7;
/// <summary>Specify USER_MAXSTORAGE_UNLIMITED to use all available disk space.</summary>
public const uint USER_MAXSTORAGE_UNLIMITED = unchecked((uint)(-1));
private const int ENCRYPTED_PWLEN = 16;
/// <summary>A bitmask of flags that affect the operation.</summary>