22 #ifndef FREERDP_GDI_BITMAP_H
23 #define FREERDP_GDI_BITMAP_H
25 #include <freerdp/api.h>
26 #include <freerdp/gdi/gdi.h>
33 FREERDP_API UINT32 gdi_GetPixel(
HGDI_DC hdc, UINT32 nXPos, UINT32 nYPos);
34 FREERDP_API UINT32 gdi_SetPixel(
HGDI_DC hdc, UINT32 X, UINT32 Y, UINT32 crColor);
35 FREERDP_API BYTE* gdi_GetPointer(
HGDI_BITMAP hBmp, UINT32 X, UINT32 Y);
37 FREERDP_API
HGDI_BITMAP gdi_CreateBitmap(UINT32 nWidth, UINT32 nHeight, UINT32 format,
39 FREERDP_API
HGDI_BITMAP gdi_CreateBitmapEx(UINT32 nWidth, UINT32 nHeight, UINT32 format,
40 UINT32 stride, BYTE* data,
void (*fkt_free)(
void*));
41 FREERDP_API
HGDI_BITMAP gdi_CreateCompatibleBitmap(
HGDI_DC hdc, UINT32 nWidth, UINT32 nHeight);
43 FREERDP_API BOOL gdi_BitBlt(
HGDI_DC hdcDest, INT32 nXDest, INT32 nYDest, INT32 nWidth,
44 INT32 nHeight,
HGDI_DC hdcSrc, INT32 nXSrc, INT32 nYSrc, DWORD rop,
45 const gdiPalette* palette);
47 typedef BOOL (*p_BitBlt)(
HGDI_DC hdcDest, INT32 nXDest, INT32 nYDest, INT32 nWidth,
48 INT32 nHeight,
HGDI_DC hdcSrc, INT32 nXSrc, INT32 nYSrc, DWORD rop);