PROCESS_HANDLE should be a Long
Merged patch from timwr fixing process handle type