ReactOS 0.4.16-dev-974-g5022a45
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}
#define EINVAL
Definition: acclib.h:90
#define ERANGE
Definition: acclib.h:92
size_t const size_in_elements
GLuint GLuint GLsizei count
Definition: gl.h:1545
wchar_t *__cdecl wmemmove(_Out_writes_all_opt_(_N) wchar_t *_S1, _In_reads_opt_(_N) const wchar_t *_S2, _In_ size_t _N)
Definition: wchar.h:2652
#define _VALIDATE_RETURN_ERRCODE(expr, errorcode)