Microsoft Foundation Classes (mfc.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.
CBitmap::SetBitmapBits
CBitmap                                     Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  DWORD SetBitmapBits( DWORD dwCount, LPSTR lpBits );
 
  Parameter   Description
 
  <dwCount>   Specifies the number of bytes pointed to by <lpBits>.
 
  <lpBits>    Points to the BYTE array that contains the bit values to be
              copied to the CBitmap object.
 
  Remarks
 
  Sets the bits of a bitmap to the bit values given by <lpBits>.
 
  Return Value
 
  The number of bytes used in setting the bitmap bits; 0 if the function
  fails.
 
  See Also
 
  ::SetBitmapBits
 
 
                                     -♦-