{
/* Open the user's key */
Status = RtlOpenCurrentUser(KEY_WRITE, &UserKey);
- if (!NT_SUCCESS(Status)) return(Status);
+ if (!NT_SUCCESS(Status)) return Status;
/* Initialize the registry location */
RtlInitUnicodeString(&KeyName, L"Control Panel\\International");
/* Initialize the object attributes */
InitializeObjectAttributes(&ObjectAttributes,
- &KeyName,
- OBJ_CASE_INSENSITIVE | OBJ_KERNEL_HANDLE,
- UserKey,
- NULL);
+ &KeyName,
+ OBJ_CASE_INSENSITIVE | OBJ_KERNEL_HANDLE,
+ UserKey,
+ NULL);
/* Check if we don't have a default locale yet */
if (!DefaultLocaleId)
_SEH2_EXCEPT(ExSystemExceptionFilter())
{
/* Return exception code */
- return _SEH2_GetExceptionCode();
+ _SEH2_YIELD(return _SEH2_GetExceptionCode());
}
_SEH2_END;