Corrected parameter validation in CreateProcess