mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-27 03:43:36 +00:00
26 lines
689 B
C
26 lines
689 B
C
/*
|
|
* PROJECT: ReactOS NT CRT library
|
|
* LICENSE: MIT (https://spdx.org/licenses/MIT)
|
|
* PURPOSE: Implementation of _invalid_parameter
|
|
* COPYRIGHT: Copyright 2025 Timo Kreuzer <[email protected]>
|
|
*/
|
|
|
|
#include <stdlib.h>
|
|
#include <ndk/rtlfuncs.h>
|
|
|
|
void
|
|
__cdecl
|
|
_invalid_parameter(
|
|
_In_opt_z_ wchar_t const* expression,
|
|
_In_opt_z_ wchar_t const* function_name,
|
|
_In_opt_z_ wchar_t const* file_name,
|
|
_In_ unsigned int line_number,
|
|
_In_ uintptr_t reserved)
|
|
{
|
|
DbgPrint("%ws:%u: Invalid parameter ('%ws') passed to C runtime function %ws.\n",
|
|
file_name,
|
|
line_number,
|
|
expression,
|
|
function_name);
|
|
}
|