ReactOS 0.4.16-dev-2110-ge3521eb
wmemmove_s.cpp File Reference
#include <corecrt_internal.h>
#include <wchar.h>
Include dependency graph for wmemmove_s.cpp:

Go to the source code of this file.

Functions

errno_t __cdecl wmemmove_s (wchar_t *const destination, size_t const size_in_elements, wchar_t const *const source, size_t const count)
 

Function Documentation

◆ wmemmove_s()

errno_t __cdecl wmemmove_s ( wchar_t *const  destination,
size_t const  size_in_elements,
wchar_t const *const  source,
size_t const  count 
)

Definition at line 17 of file wmemmove_s.cpp.

23{
24 if (count == 0)
25 return 0;
26
27#pragma warning(suppress:__WARNING_HIGH_PRIORITY_OVERFLOW_POSTCONDITION)
28 _VALIDATE_RETURN_ERRCODE(destination != nullptr, EINVAL);
31
32#pragma warning(suppress:__WARNING_BANNED_API_USAGEL2) /* 28726 */
33 wmemmove(destination, source, count);
34 return 0;
35}
size_t const size_in_elements
#define EINVAL
Definition: errno.h:44
#define ERANGE
Definition: errno.h:55
static wchar_t *__cdecl wmemmove(wchar_t *dst, const wchar_t *src, size_t n)
Definition: wchar.h:72
GLuint GLuint GLsizei count
Definition: gl.h:1545
#define _VALIDATE_RETURN_ERRCODE(expr, errorcode)