Пример #1
0
 public static extern void GetSystemTime(ref SYSTEMTIME lpSystemTime);
Пример #2
0
 public static extern int SystemTimeToTzSpecificLocalTime(ref TIME_ZONE_INFORMATION lpTimeZoneInformation,
     ref SYSTEMTIME lpUniversalTime, ref SYSTEMTIME lpLocalTime);
Пример #3
0
 public static extern int SystemTimeToFileTime(ref SYSTEMTIME lpSystemTime, ref FILETIME lpFileTime);
Пример #4
0
 public static extern int SetSystemTime(ref SYSTEMTIME lpSystemTime);
Пример #5
0
 public static extern int GetTimeFormat(int Locale, int dwFlags, ref SYSTEMTIME lpTime, string lpFormat,
     string lpTimeStr, int cchTime);
Пример #6
0
 public static extern int GetDateFormat(int Locale, int dwFlags, ref SYSTEMTIME lpDate, string lpFormat,
     string lpDateStr, int cchDate);