Plattform Windows 95: Supporterad. Windows 98: Supporterad. Windows NT: Requires Windows NT 3.1 eller senare. Windows 2000: Supporterad. Windows CE: Requires Windows CE 1.0 eller senare. Returnerar Vid fel returneras 0, (Windows NT, 2000: använd GetLastError för att fånga felkoden). Om det går bra returneras ett icke noll-värde. Parameters hdcDest A handle to the device context of the device which receives the transfered image block. nXDest The x-coordinate of the point to position the upper-left corner of the transfered image block. nYDest The y-coordinate of the point to position the upper-left corner of the transfered image block. nWidth The width in pixels of the image block. nHeight The height in pixels of the image block. hdcSrc A handle to the device context of the device which contains the image block to transfer. nXSrc The x-coordinate of the upper-left corner of the image block to transfer. nYSrc The y-coordinate of the upper-left corner of the image block to transfer. dwRop One of the following flags identifying the raster operation to use to transfer the image block. Each raster operation uses the RGB color value of the source and/or target pixel to determine the new color of the target pixel. BLACKNESS Fill the destination rectangle with the color whose index is 0 in the physical palette (which is black by default). CAPTUREBLT Windows 98, 2000: Include any windows layered on top of the window being used in the resulting image. DSTINVERT Invert the colors in the destination rectangle. MERGECOPY Merge the colors of the source rectangle with the specified pattern using the bitwise AND operator. MERGEPAINT Merge the colors of the inverted source rectangle with the colors of the destination rectangle using the bitwise OR operator. NOMIRRORBITMAP Windows 98, 2000: Prevent the bitmap from being mirrored. NOTSRCCOPY Copy the inverted source rectangle to the destination rectangle. NOTSRCERASE Combine the colors of the source and destination rectangles using the bitwise OR operator and then invert the resulting color. PATCOPY Copy the specified pattern into the destination bitmap. PATINVERT Combine the colors of the specified pattern with the colors of the destination rectangle using the bitwise XOR operator. PATPAINT Combine the colors of the specified pattern with the colors of the inverted source rectangle using the bitwise OR operator. Combine the result of that operation with the colors of the destination rectangle using the bitwise OR operator. SRCAND Combine the colors of the source and destination rectangles using the bitwise AND operator. SRCCOPY Copy the source rectangle directly into the destination rectangle. SRCERASE Combine the inverted colors of the destination rectangle with the colors of the source rectange using the bitwise AND operator. SRCINVERT Combine the colors of the source and destination rectangles using the bitwise XOR operator. SRCPAINT Combine the colors of the source and destination rectangles using the bitwise OR operator. WHITENESS Fill the destination rectangle with the color whose index is 1 in the physical palette (which is white by default). Constant Definitions Const BLACKNESS = &H42 ' Const CAPTUREBLT = ??? Const DSTINVERT = &H550009 Const MERGECOPY = &HC000CA Const MERGEPAINT = &HBB0226 ' Const NOMIRRORBITMAP = ??? Const NOTSRCCOPY = &H330008 Const NOTSRCERASE = &H1100A6 Const PATCOPY = &HF00021 Const PATINVERT = &H5A0049 Const PATPAINT = &HFB0A09 Const SRCAND = &H8800C6 Const SRCCOPY = &HCC0020 Const SRCERASE = &H440328 Const SRCINVERT = &H660046 Const SRCPAINT = &HEE0086 Const WHITENESS = &HFF0062 2024-04-23" />