mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 22:50:43 +00:00
kernel32: We no longer need the server start time in kernel32.
This commit is contained in:
parent
a5ff4b8088
commit
199c99d852
@ -41,8 +41,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(process);
|
|||||||
|
|
||||||
extern int CDECL __wine_set_signal_handler(unsigned, int (*)(unsigned));
|
extern int CDECL __wine_set_signal_handler(unsigned, int (*)(unsigned));
|
||||||
|
|
||||||
static ULONGLONG server_start_time;
|
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* set_entry_point
|
* set_entry_point
|
||||||
*/
|
*/
|
||||||
@ -83,12 +81,8 @@ static void set_entry_point( HMODULE module, const char *name, DWORD rva )
|
|||||||
*/
|
*/
|
||||||
static BOOL process_attach( HMODULE module )
|
static BOOL process_attach( HMODULE module )
|
||||||
{
|
{
|
||||||
SYSTEM_TIMEOFDAY_INFORMATION ti;
|
|
||||||
RTL_USER_PROCESS_PARAMETERS *params = NtCurrentTeb()->Peb->ProcessParameters;
|
RTL_USER_PROCESS_PARAMETERS *params = NtCurrentTeb()->Peb->ProcessParameters;
|
||||||
|
|
||||||
NtQuerySystemInformation( SystemTimeOfDayInformation, &ti, sizeof(ti), NULL );
|
|
||||||
server_start_time = ti.liKeBootTime.QuadPart;
|
|
||||||
|
|
||||||
/* Setup registry locale information */
|
/* Setup registry locale information */
|
||||||
LOCALE_InitRegistry();
|
LOCALE_InitRegistry();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user