source: trunk/src/user32/dib.h@ 22012

Last change on this file since 22012 was 21916, checked in by dmik, 14 years ago

Merge branch gcc-kmk to trunk.

File size: 964 bytes
Line 
1/* $Id: dib.h,v 1.6 2000-11-15 20:44:26 sandervl Exp $ */
2
3/*
4 * Win32 DIB functions for OS/2
5 *
6 * Copyright 1999 Sander van Leeuwen (OS/2 Port)
7 *
8 * Based on Wine code (objects\dib.c):
9 *
10 * GDI device-independent bitmaps
11 *
12 * Copyright 1993,1994 Alexandre Julliard
13 *
14 * Project Odin Software License can be found in LICENSE.TXT
15 *
16 */
17
18#ifndef __DIB_H__
19#define __DIB_H__
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
25// must use WIN32API as it's exported
26int WIN32API DIB_GetDIBWidthBytes( int width, int depth );
27int WIN32API BITMAP_GetWidthBytes( INT width, INT depth );
28
29#ifdef __cplusplus
30} // extern "C"
31#endif
32
33int DIB_GetDIBImageBytes( int width, int height, int depth );
34int DIB_BitmapInfoSize( BITMAPINFO * info, WORD coloruse );
35int DIB_GetBitmapInfo( const BITMAPINFOHEADER *header, DWORD *width,
36 int *height, WORD *bpp, WORD *compr );
37void DIB_FixColorsToLoadflags(BITMAPINFO * bmi, UINT loadflags, BYTE pix);
38
39#endif
Note: See TracBrowser for help on using the repository browser.