[Gdiplus 4/4] Implement GdipCloneImage
Huw Davies
huw at codeweavers.com
Wed Jul 2 04:26:20 CDT 2008
On Tue, Jul 01, 2008 at 09:41:22PM -0400, Adam Petaccia wrote:
> ---
> dlls/gdiplus/image.c | 19 +++++++++++++++++--
> dlls/gdiplus/tests/image.c | 6 ------
> 2 files changed, 17 insertions(+), 8 deletions(-)
>
> diff --git a/dlls/gdiplus/image.c b/dlls/gdiplus/image.c
> index bf2ac35..59ea837 100644
> --- a/dlls/gdiplus/image.c
> +++ b/dlls/gdiplus/image.c
> @@ -244,9 +244,24 @@ GpStatus WINGDIPAPI GdipCloneImage(GpImage *image, GpImage **cloneImage)
> + memcpy((*cloneImage)->picture, image->picture, sizeof(IPicture));
> +
> + return Ok;
> }
>
You can't simply copy an interface ptr like this.
Huw.
--
Huw Davies
huw at codeweavers.com
More information about the wine-devel
mailing list