[PATCH 1/3] ntdll: Store the actual used value in error cases.