2362N/A * Copyright (c) 2006, 2009, Oracle and/or its affiliates. All rights reserved. 0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 0N/A * This code is free software; you can redistribute it and/or modify it 0N/A * under the terms of the GNU General Public License version 2 only, as 2362N/A * published by the Free Software Foundation. Oracle designates this 0N/A * particular file as subject to the "Classpath" exception as provided 2362N/A * by Oracle in the LICENSE file that accompanied this code. 0N/A * This code is distributed in the hope that it will be useful, but WITHOUT 0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 0N/A * version 2 for more details (a copy is included in the LICENSE file that 0N/A * accompanied this code). 0N/A * You should have received a copy of the GNU General Public License version 0N/A * 2 along with this work; if not, write to the Free Software Foundation, 0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 2362N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 0N/A * Creates B&W Bitmap with transparency mask from specified ARGB input data 0N/A * 0 for opaque pixels, 1 for transparent. 0N/A * MSDN article for ICONINFO says that 'for color icons, this mask only 0N/A * defines the AND bitmask of the icon'. That's wrong! If mask bit for 0N/A * specific pixel is 0, the pixel is drawn opaque, otherwise it's XORed 0N/A * Creates 32-bit ARGB V4 Bitmap (Win95-compatible) from specified ARGB input data 0N/A * The color for transparent pixels (those with 0 alpha) is reset to 0 (BLACK) 0N/A * to prevent errors on systems prior to XP. 1045N/A * Creates 32-bit premultiplied ARGB V4 Bitmap (Win95-compatible) from 1045N/A * specified ARGB Pre input data. 1045N/A * Transforms the given bitmap into an HRGN representing the transparency 1045N/A * Makes a copy of the given bitmap. Blends every pixel of the source 1045N/A * with the given blendColor and alpha. If alpha == 0, the function 1045N/A * simply makes a plain copy of the source without any blending. 1045N/A * Creates a 32 bit ARGB bitmap. Returns the bitmap handle. 1045N/A * The pointer to the bitmap data is stored into bitmapBitsPtr.