mirror of https://github.com/lianthony/NT4.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
351 B
22 lines
351 B
#ifndef HC_H
|
|
#include "hc.h"
|
|
#endif
|
|
|
|
#ifndef __CBMPINFO__
|
|
#define __CBMPINFO__
|
|
|
|
class CBmpInfo
|
|
{
|
|
public:
|
|
PBITMAPINFO pbmi; // pbmi and pbih point to same data
|
|
PBITMAPINFOHEADER pbih;
|
|
HBITMAP hbmp;
|
|
|
|
CBmpInfo(HBITMAP hbmp, int cColors = -1);
|
|
~CBmpInfo();
|
|
int cclrs;
|
|
};
|
|
|
|
int STDCALL GetBitCount(int cColors);
|
|
|
|
#endif // __CBMPINFO__
|