GetPid call works