msvcr100: Add wmemmove_s and wmemcpy_s

Alexandre Julliard julliard at
Sun Aug 26 03:29:49 CDT 2012

Dan Kegel <dank at> writes:

> I asked Alexandre what
> needed before it could be reviewed.  He said it needed to adapt
> to the recent parameter checking changes.  I see that
> when he took my patch
> and committed it as
> he could remove a few assignments to *MSVCRT__errno()
> because MSVCRT_CHECK_PMT now does that for you.
> But msvcr100's wmemmove_s/wmemcpy_s are different; they
> do not change errno.  Tests in my patch confirm this.  So
> changing msvcr100's CHECK_PMT macro to assign to errno
> doesn't seem appropriate.

They do set errno, the tests are broken. Check how it's done in msvcr90.

Alexandre Julliard
julliard at

More information about the wine-devel mailing list