- Merge aicom-network-fixes up to r36740
[reactos.git] / reactos / subsystems / win32 / win32k / include / surface.h
1 #ifndef _WIN32K_SURFACE_H
2 #define _WIN32K_SURFACE_H
3
4 #define GDIDEV(SurfObj) ((GDIDEVICE *)((SurfObj)->hdev))
5 #define GDIDEVFUNCS(SurfObj) ((GDIDEVICE *)((SurfObj)->hdev))->DriverFunctions
6
7 INT FASTCALL BitsPerFormat (ULONG Format);
8 ULONG FASTCALL BitmapFormat (WORD Bits, DWORD Compression);
9 HBITMAP FASTCALL IntCreateBitmap(IN SIZEL Size, IN LONG Width, IN ULONG Format, IN ULONG Flags, IN PVOID Bits);
10
11 #endif /* _WIN32K_SURFACE_H */