MCPcopy Create free account
hub / github.com/MaxBelkov/visualsyslog / MySetLocalTime

Function MySetLocalTime

sourcecommon/utils.cpp:1860–1872  ·  view source on GitHub ↗

---------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

1858}
1859//---------------------------------------------------------------------------
1860void MySetLocalTime(TDateTime t)
1861{
1862 SYSTEMTIME st;
1863 DateTimeToSystemTime(t, st);
1864 if( ! SetLocalTime( &st ) )
1865 {
1866 DWORD error;
1867 String errmess = FormatLastError(error);
1868 throw Exception(errmess + " [" + error + "]");
1869 }
1870 // SetLocalTime ���� �������� 2 ���� ���� ������������ ������� �� ������ �����
1871 //SetLocalTime( &st );
1872}
1873//---------------------------------------------------------------------------
1874int GetCurrentElevationType(void)
1875{

Callers

nothing calls this directly

Calls 1

FormatLastErrorFunction · 0.85

Tested by

no test coverage detected