ReactOS  0.4.15-dev-506-ga3ec01c
dib.h
Go to the documentation of this file.
1 #pragma once
2 
6  LONG *height, WORD *planes, WORD *bpp, DWORD *compr, DWORD *size );
10 
11 /* Those functions permit to tranparently work with a BITMAPCOREINFO structure */
13 /* Pass Usage = -1 if you don't want to convert the BITMAPINFO back to BITMAPCOREINFO */
15 
16 INT
19  HDC hDC,
21  UINT StartScan,
22  UINT ScanLines,
23  LPBYTE Bits,
25  UINT Usage,
26  UINT MaxBits,
27  UINT MaxInfo);
28 
29 HBITMAP
30 NTAPI
32  _In_reads_(cjPackedDIB )PVOID pvPackedDIB,
33  _In_ UINT cjPackedDIB,
34  _In_ ULONG uUsage);
35 
36 #define DIB_PAL_BRUSHHACK 3
GLint GLint GLsizei width
Definition: gl.h:1546
VOID FASTCALL DIB_FreeConvertedBitmapInfo(BITMAPINFO *converted, BITMAPINFO *orig, DWORD Usage)
Definition: dibobj.c:2116
INT APIENTRY DIB_GetDIBImageBytes(INT width, INT height, INT depth)
Definition: dibobj.c:1967
HBITMAP APIENTRY DIB_CreateDIBSection(PDC dc, CONST BITMAPINFO *bmi, UINT usage, LPVOID *bits, HANDLE section, DWORD offset, DWORD ovr_pitch)
Definition: dibobj.c:1725
_Must_inspect_result_ _In_ USAGE _In_ USHORT _In_ USAGE Usage
Definition: hidpi.h:382
#define _In_reads_(size)
Definition: no_sal2.h:228
static HDC
Definition: imagelist.c:92
GLintptr offset
Definition: glext.h:5920
HPALETTE FASTCALL BuildDIBPalette(CONST BITMAPINFO *bmi)
INT FASTCALL DIB_BitmapInfoSize(const BITMAPINFO *info, WORD coloruse)
Definition: dibobj.c:1979
Definition: parser.c:55
#define FASTCALL
Definition: nt_native.h:50
GLenum GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * bits
Definition: glext.h:10929
int32_t INT
Definition: typedefs.h:57
struct TraceInfo Info
HPALETTE FASTCALL DIB_MapPaletteColors(PPALETTE ppal, CONST BITMAPINFO *lpbmi)
Definition: dibobj.c:2008
unsigned char * LPBYTE
Definition: typedefs.h:53
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
long LONG
Definition: pedump.c:60
int FASTCALL DIB_GetBitmapInfo(const BITMAPINFOHEADER *header, LONG *width, LONG *height, WORD *planes, WORD *bpp, DWORD *compr, DWORD *size)
Definition: dibobj.c:1932
static int __cdecl compr(const void *a, const void *b)
Definition: bidi.c:641
HBITMAP NTAPI GreCreateDIBitmapFromPackedDIB(_In_reads_(cjPackedDIB) PVOID pvPackedDIB, _In_ UINT cjPackedDIB, _In_ ULONG uUsage)
Definition: dibobj.c:1607
Definition: polytest.cpp:40
GLsizeiptr size
Definition: glext.h:5919
unsigned short WORD
Definition: ntddk_ex.h:93
unsigned long DWORD
Definition: ntddk_ex.h:95
GLint GLint GLsizei GLsizei GLsizei depth
Definition: gl.h:1546
GLsizeiptr const GLvoid GLenum usage
Definition: glext.h:5919
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
#define _In_
Definition: no_sal2.h:204
static HDC hDC
Definition: 3dtext.c:33
unsigned int UINT
Definition: ndis.h:50
BITMAPINFO *FASTCALL DIB_ConvertBitmapInfo(CONST BITMAPINFO *bmi, DWORD Usage)
Definition: dibobj.c:2052
unsigned int ULONG
Definition: retypes.h:1
static const WCHAR dc[]
DWORD bpp
Definition: surface.c:182
static HBITMAP
Definition: button.c:44
static HBITMAP hBitmap
Definition: timezone.c:26
#define CONST
Definition: pedump.c:81
#define APIENTRY
Definition: api.h:79
INT APIENTRY GreGetDIBitsInternal(HDC hDC, HBITMAP hBitmap, UINT StartScan, UINT ScanLines, LPBYTE Bits, LPBITMAPINFO Info, UINT Usage, UINT MaxBits, UINT MaxInfo)
Definition: dibobj.c:671