LONG AddImageFromHandleWithColorMask ( OLE_HANDLE handle, OLE_COLOR rgbColor ) |
The rgbColor parameter is a double word (4 bytes) value in the format 0x00BBGGRR. The low-order byte contains a value for the relative intensity of red; the second byte contains a value for green; and the third byte contains a value for blue. The high-order byte must be zero.
The return value is an image identifier in the document's images collection and can be used in GetImageHeight, GetImageResolution, GetImageWidth, TransformImage, ShowImage, DrawImage.