gdiplus: Partly implement GdipCreateFromHDC2
This commit is contained in:
parent
ca4d35fe48
commit
bfffb4f461
|
@ -89,7 +89,7 @@
|
||||||
@ stub GdipCreateFontFromDC
|
@ stub GdipCreateFontFromDC
|
||||||
@ stdcall GdipCreateFontFromLogfontA(ptr ptr ptr)
|
@ stdcall GdipCreateFontFromLogfontA(ptr ptr ptr)
|
||||||
@ stdcall GdipCreateFontFromLogfontW(ptr ptr ptr)
|
@ stdcall GdipCreateFontFromLogfontW(ptr ptr ptr)
|
||||||
@ stub GdipCreateFromHDC2
|
@ stdcall GdipCreateFromHDC2(long long ptr)
|
||||||
@ stdcall GdipCreateFromHDC(long ptr)
|
@ stdcall GdipCreateFromHDC(long ptr)
|
||||||
@ stdcall GdipCreateFromHWND(long ptr)
|
@ stdcall GdipCreateFromHWND(long ptr)
|
||||||
@ stub GdipCreateFromHWNDICM
|
@ stub GdipCreateFromHWNDICM
|
||||||
|
|
|
@ -744,9 +744,19 @@ end:
|
||||||
}
|
}
|
||||||
|
|
||||||
GpStatus WINGDIPAPI GdipCreateFromHDC(HDC hdc, GpGraphics **graphics)
|
GpStatus WINGDIPAPI GdipCreateFromHDC(HDC hdc, GpGraphics **graphics)
|
||||||
|
{
|
||||||
|
return GdipCreateFromHDC2(hdc, NULL, graphics);
|
||||||
|
}
|
||||||
|
|
||||||
|
GpStatus WINGDIPAPI GdipCreateFromHDC2(HDC hdc, HANDLE hDevice, GpGraphics **graphics)
|
||||||
{
|
{
|
||||||
GpStatus retval;
|
GpStatus retval;
|
||||||
|
|
||||||
|
if(hDevice != NULL) {
|
||||||
|
FIXME("Don't know how to hadle parameter hDevice\n");
|
||||||
|
return NotImplemented;
|
||||||
|
}
|
||||||
|
|
||||||
if(hdc == NULL)
|
if(hdc == NULL)
|
||||||
return OutOfMemory;
|
return OutOfMemory;
|
||||||
|
|
||||||
|
|
|
@ -51,6 +51,7 @@ GpStatus WINGDIPAPI GdipSetPenStartCap(GpPen*,GpLineCap);
|
||||||
GpStatus WINGDIPAPI GdipSetPenWidth(GpPen*,REAL);
|
GpStatus WINGDIPAPI GdipSetPenWidth(GpPen*,REAL);
|
||||||
|
|
||||||
GpStatus WINGDIPAPI GdipCreateFromHDC(HDC,GpGraphics**);
|
GpStatus WINGDIPAPI GdipCreateFromHDC(HDC,GpGraphics**);
|
||||||
|
GpStatus WINGDIPAPI GdipCreateFromHDC2(HDC,HANDLE,GpGraphics**);
|
||||||
GpStatus WINGDIPAPI GdipCreateFromHWND(HWND,GpGraphics**);
|
GpStatus WINGDIPAPI GdipCreateFromHWND(HWND,GpGraphics**);
|
||||||
GpStatus WINGDIPAPI GdipCreateLineBrush(GDIPCONST GpPointF*,GDIPCONST GpPointF*,
|
GpStatus WINGDIPAPI GdipCreateLineBrush(GDIPCONST GpPointF*,GDIPCONST GpPointF*,
|
||||||
ARGB,ARGB,GpWrapMode,GpLineGradient**);
|
ARGB,ARGB,GpWrapMode,GpLineGradient**);
|
||||||
|
|
Loading…
Reference in New Issue