Switch on EMIDCreationFlags

Switch on EMIDCreationFlags