       .biBitCount = 1
            .biCompression = BI_RGB
         End With
         With .bmiColors(0)
            .rgbBlue = 0: .rgbGreen = 0: .rgbRed = 0
         End With
         With .bmiColors(1)
            .rgbBlue = 255: .rgbGreen = 255: .rgbRed = 255
         End With
      End With
      lhBMPMask = CreateCompatibleBitmap(lhDCMaskCopy, tBMIH.biWidth,
       tBMIH.biHeight)
      If lhBMPMask &lt;&gt; 0 Then
         lhBMPMaskOld = SelectObject(lhDCMaskCopy, lhBMPMask)
         If lMaskHDC = 0 T