* autoload.cc (timeBeginPeriod): Autoload.
* dcrt0.cc (dll_crt0_1): Use timeBeginPeriod to set default resolution to 1 ms. * pinfo.cc (pinfo::thisproc): Set ppid for redirected _pinfo blocks too. (pinfo::init): Avoid using VirtualQuery. Just rely on the assumption that procinfo will be populated. * pinfo.h (_pinfo::ppid): Move into redirected block.
This commit is contained in:
@ -643,6 +643,7 @@ LoadDLLfunc (SetParent, 8, user32)
|
||||
LoadDLLfunc (SetProcessWindowStation, 4, user32)
|
||||
LoadDLLfunc (SetThreadDesktop, 4, user32)
|
||||
|
||||
LoadDLLfunc (timeBeginPeriod, 4, winmm)
|
||||
LoadDLLfuncEx3 (waveInAddBuffer, 12, winmm, 1, 0, 1)
|
||||
LoadDLLfuncEx3 (waveInClose, 4, winmm, 1, 0, 1)
|
||||
LoadDLLfuncEx3 (waveInGetNumDevs, 0, winmm, 1, 0, 1)
|
||||
|
Reference in New Issue
Block a user