mirror of https://github.com/BOINC/boinc.git
svn path=/trunk/boinc/; revision=20567
This commit is contained in:
parent
768f3bfe0b
commit
94e789c0d8
|
@ -67,7 +67,7 @@ int get_procinfo_XP(vector<PROCINFO>& pi) {
|
||||||
ULONG cbBuffer = 128*1024; // 128k initial buffer
|
ULONG cbBuffer = 128*1024; // 128k initial buffer
|
||||||
PVOID pBuffer = NULL;
|
PVOID pBuffer = NULL;
|
||||||
PSYSTEM_PROCESSES pProcesses = NULL;
|
PSYSTEM_PROCESSES pProcesses = NULL;
|
||||||
statid DWORD pid = 0;
|
static DWORD pid = 0;
|
||||||
|
|
||||||
if (!pid) {
|
if (!pid) {
|
||||||
pid = GetCurrentProcessId();
|
pid = GetCurrentProcessId();
|
||||||
|
|
Loading…
Reference in New Issue