Scroll to navigation

DisplayDib(3w) Wine API DisplayDib(3w)

NAME

DisplayDib (DISPDIB.1)

SYNOPSIS

WORD DisplayDib
(
LPBITMAPINFO lpbi,
LPSTR lpBits,
WORD wFlags
)
 

PARAMS

lpbi [In] DIB header with resolution and palette.
lpBits [In] Bitmap bits to show.
[In] .
 

DESCRIPTION

Disables GDI and takes over the VGA screen to show DIBs in full screen.
 

FLAGS

DISPLAYDIB_NOPALETTE: don't change palette DISPLAYDIB_NOCENTER: don't center bitmap DISPLAYDIB_NOWAIT: don't wait (for keypress) before returning DISPLAYDIB_BEGIN: start of multiple calls (does not restore the screen) DISPLAYDIB_END: end of multiple calls (restores the screen) DISPLAYDIB_MODE_DEFAULT: default display mode DISPLAYDIB_MODE_320x200x8: Standard VGA 320x200 256 colors DISPLAYDIB_MODE_320x240x8: Tweaked VGA 320x240 256 colors.
 

RETURNS

DISPLAYDIB_NOERROR: success DISPLAYDIB_NOTSUPPORTED: function not supported DISPLAYDIB_INVALIDDIB: NULL or invalid DIB header DISPLAYDIB_INVALIDFORMAT: invalid DIB format DISPLAYDIB_INVALIDTASK: not called from current task.
 

BUGS

Waiting for keypresses is not implemented.
 

IMPLEMENTATION

Declared in "dispdib.h".
Implemented in "dlls/dispdib.dll16/dispdib.c".
Debug channel "ddraw".
Oct 2012 Wine API