mirror of
https://github.com/reactos/reactos.git
synced 2024-10-19 07:28:18 +00:00
c2d0d784c7
- Create a branch to do a proper merge of USB work from a trunk base instead of from cmake-bringup - In the future, DO NOT under any circumstances branch another branch. This leads to merge problems! svn path=/branches/usb-bringup-trunk/; revision=55018
21 lines
480 B
C
21 lines
480 B
C
|
|
#include <errno.h>
|
|
|
|
extern void * __pInvalidArgHandler;
|
|
|
|
void _invalid_parameter(
|
|
const wchar_t * expression,
|
|
const wchar_t * function,
|
|
const wchar_t * file,
|
|
unsigned int line,
|
|
uintptr_t pReserved);
|
|
|
|
#ifndef _LIBCNT_
|
|
#define MSVCRT_INVALID_PMT(x) _invalid_parameter(NULL, NULL, NULL, 0, 0)
|
|
#define MSVCRT_CHECK_PMT(x) ((x) || (MSVCRT_INVALID_PMT(0),0))
|
|
#else
|
|
/* disable secure crt parameter checks */
|
|
#define MSVCRT_CHECK_PMT
|
|
#define MSVCRT_INVALID_PMT
|
|
#endif
|