Searched refs:hJob (Results 1 – 1 of 1) sorted by relevance
58 static HANDLE hJob = nullptr; in limitMem() local63 if (nullptr == hJob) { in limitMem()64 if (nullptr == (hJob = CreateJobObject(nullptr, nullptr))) { in limitMem()68 if (0 == AssignProcessToJobObject(hJob, GetCurrentProcess())) { in limitMem()73 if (0 == SetInformationJobObject(hJob, JobObjectExtendedLimitInformation, in limitMem()