Windows 3.1 Device Drivers (ddag31qh.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
DeviceBitmap
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
WORD DeviceBitmap(lpDestDev, wCommand, lpBitmap, lpBits)
LPPDEVICE lpDestDev;
WORD wCommand;
LPBITMAP lpBitmap;
LPSTR lpBits;
 
Every graphics driver must export a DeviceBitmap function.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
lpDestDev  Points to a PDEVICE or PBITMAP structure specifying the
           destination device or bitmap.
 
wCommand   Specifies a command number determining the action to take.
 
lpBitmap   Points to a PBITMAP structure containing a description of the
           device bitmap.
 
lpBits     Points to a buffer containing the bits for the device bitmap.
 
Return Value
 
The return value is zero.
 
Comments
 
The export ordinal for this function is 16.
 
Since GDI does not currently use DeviceBitmap, implement the function as a
stub function that carries out no action and always returns zero. The
DeviceBitmap function carries out a specified action on a device bitmap. GDI
does not currently call the DeviceBitmap function.
 
                                      ♦