Category : C Source Code
Archive   : WINCAP31.ZIP
Filename : DIBUTIL.H

 
Output of file : DIBUTIL.H contained in archive : WINCAP31.ZIP
/*
* dibutil.h
*
* Copyright (c) 1991 Microsoft Corporation. All rights reserved.
*
* Header file for Device-Independent Bitmap (DIB) API. Provides
* function prototypes and constants for the following functions:
*
* AllocRoomForDIB() - Allocates memory for a DIB
*
*/


/* DIB constants */
#define PALVERSION 0x300

/* DIB macros */
#define IS_WIN30_DIB(lpbi) ((*(LPDWORD)(lpbi)) == sizeof(BITMAPINFOHEADER))
#define RECTWIDTH(lpRect) ((lpRect)->right - (lpRect)->left)
#define RECTHEIGHT(lpRect) ((lpRect)->bottom - (lpRect)->top)

/* function prototypes */
HANDLE AllocRoomForDIB(BITMAPINFOHEADER bi, HBITMAP hBitmap);


  3 Responses to “Category : C Source Code
Archive   : WINCAP31.ZIP
Filename : DIBUTIL.H

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/