However, I had another #filePreOpenProcess callback and it was being read in first for some reason. This was weird since the second callback was listed after the one listed above. Anyway – combining the two pieces using a function and calling that with one callback works.