Reactos
at master 25 lines 689 B view raw
1/* 2 * PROJECT: ReactOS NT CRT library 3 * LICENSE: MIT (https://spdx.org/licenses/MIT) 4 * PURPOSE: Implementation of _invalid_parameter 5 * COPYRIGHT: Copyright 2025 Timo Kreuzer <timo.kreuzer@reactos.org> 6 */ 7 8#include <stdlib.h> 9#include <ndk/rtlfuncs.h> 10 11void 12__cdecl 13_invalid_parameter( 14 _In_opt_z_ wchar_t const* expression, 15 _In_opt_z_ wchar_t const* function_name, 16 _In_opt_z_ wchar_t const* file_name, 17 _In_ unsigned int line_number, 18 _In_ uintptr_t reserved) 19{ 20 DbgPrint("%ws:%u: Invalid parameter ('%ws') passed to C runtime function %ws.\n", 21 file_name, 22 line_number, 23 expression, 24 function_name); 25}