The SetBitmapBits function sets the bits of color data for a bitmap to the specified values.
The SetBitmapBits function is included only for compatibility with earlier versions of Windows. For Win32-based applications, use the SetDIBits function.
LONG SetBitmapBits(
HBITMAP hbmp, |
// handle of bitmap |
DWORD cBytes, |
// number of bytes in bitmap array |
CONST VOID *lpBits |
// address of array with bitmap bits |
); |
If the function succeeds, the return value is the number of bytes used in setting the bitmap bits.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
The array identified by lpBits must be WORD aligned.
file: /Techref/os/win/api/win32/func/src/f76_5.htm, 2KB, , updated: 2000/4/7 11:19, local time: 2024/11/23 11:05,
3.138.121.79:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://sxlist.com/techref/os/win/api/win32/func/src/f76_5.htm"> SetBitmapBits</A> |
Did you find what you needed? |
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. |
Welcome to sxlist.com! |
.