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

Last change on this file since 5655 was 4601, checked in by sandervl, 25 years ago

export BITMAP_GetWidthBytes

File size: 880 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//must use WIN32API as it's exported
22int WIN32API DIB_GetDIBWidthBytes( int width, int depth );
23
24int DIB_GetDIBImageBytes( int width, int height, int depth );
25int DIB_BitmapInfoSize( BITMAPINFO * info, WORD coloruse );
26int DIB_GetBitmapInfo( const BITMAPINFOHEADER *header, DWORD *width,
27 int *height, WORD *bpp, WORD *compr );
28void DIB_FixColorsToLoadflags(BITMAPINFO * bmi, UINT loadflags, BYTE pix);
29int WIN32API BITMAP_GetWidthBytes( INT width, INT depth );
30
31#endif
Note: See TracBrowser for help on using the repository browser.