Lines Matching refs:infoSize
475 DWORD infoSize = 4096; in queryAllProcess() local
477 (SYSTEM_PROCESS_INFORMATION *) VirtualAlloc(NULL, infoSize, MEM_COMMIT, PAGE_READWRITE); in queryAllProcess()
483 SystemProcessInformation, infoPtr, infoSize, &needed) != 0) { in queryAllProcess()
492 infoSize += needed; in queryAllProcess()
494 NULL, infoSize, MEM_COMMIT, PAGE_READWRITE); in queryAllProcess()
498 SystemProcessInformation, infoPtr, infoSize, NULL) != 0) { in queryAllProcess()
526 DWORD infoSize = 4096; in queryAllHandles() local
528 (SYSTEM_HANDLE_INFORMATION *) VirtualAlloc(NULL, infoSize, MEM_COMMIT, PAGE_READWRITE); in queryAllHandles()
534 SystemHandleInformation, infoPtr, infoSize, &needed) != 0) { in queryAllHandles()
543 infoSize += needed; in queryAllHandles()
545 NULL, infoSize, MEM_COMMIT, PAGE_READWRITE); in queryAllHandles()
555 if (sNtQuerySystemInformationFunc(SystemHandleInformation, infoPtr, infoSize, NULL) != 0) { in queryAllHandles()