gdiplus: Add stub for GdipBitmapSetPixel.
This commit is contained in:
parent
88bdc0c110
commit
a3221e7f23
|
@ -42,7 +42,7 @@
|
||||||
@ stub GdipBitmapGetHistogramSize
|
@ stub GdipBitmapGetHistogramSize
|
||||||
@ stdcall GdipBitmapGetPixel(ptr long long ptr)
|
@ stdcall GdipBitmapGetPixel(ptr long long ptr)
|
||||||
@ stdcall GdipBitmapLockBits(ptr ptr long long ptr)
|
@ stdcall GdipBitmapLockBits(ptr ptr long long ptr)
|
||||||
@ stub GdipBitmapSetPixel
|
@ stdcall GdipBitmapSetPixel(ptr long long long)
|
||||||
@ stdcall GdipBitmapSetResolution(ptr long long)
|
@ stdcall GdipBitmapSetResolution(ptr long long)
|
||||||
@ stdcall GdipBitmapUnlockBits(ptr ptr)
|
@ stdcall GdipBitmapUnlockBits(ptr ptr)
|
||||||
@ stdcall GdipClearPathMarkers(ptr)
|
@ stdcall GdipClearPathMarkers(ptr)
|
||||||
|
|
|
@ -87,6 +87,21 @@ GpStatus WINGDIPAPI GdipBitmapGetPixel(GpBitmap* bitmap, INT x, INT y,
|
||||||
return NotImplemented;
|
return NotImplemented;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
GpStatus WINGDIPAPI GdipBitmapSetPixel(GpBitmap* bitmap, INT x, INT y,
|
||||||
|
ARGB color)
|
||||||
|
{
|
||||||
|
static int calls;
|
||||||
|
TRACE("bitmap:%p, x:%d, y:%d, color:%08x\n", bitmap, x, y, color);
|
||||||
|
|
||||||
|
if(!bitmap)
|
||||||
|
return InvalidParameter;
|
||||||
|
|
||||||
|
if(!(calls++))
|
||||||
|
FIXME("not implemented\n");
|
||||||
|
|
||||||
|
return NotImplemented;
|
||||||
|
}
|
||||||
|
|
||||||
/* This function returns a pointer to an array of pixels that represents the
|
/* This function returns a pointer to an array of pixels that represents the
|
||||||
* bitmap. The *entire* bitmap is locked according to the lock mode specified by
|
* bitmap. The *entire* bitmap is locked according to the lock mode specified by
|
||||||
* flags. It is correct behavior that a user who calls this function with write
|
* flags. It is correct behavior that a user who calls this function with write
|
||||||
|
|
Loading…
Reference in New Issue