38 #ifndef NSIMAGETOBITMAP_H_
39 #define NSIMAGETOBITMAP_H_
61 PRBool aIcon, PRUint32 aHotspotX, PRUint32 aHotspotY,
67 #define NS_IMAGE_TO_BITMAP_CID \
68 { 0x7ca6dc5f, 0xf216, 0x421d, \
69 { 0xad, 0x8f, 0x30, 0xc6, 0xe8, 0xfc, 0xc3, 0xe3 } }
70 #define NS_IMAGE_TO_BITMAP_CONTRACTID "@mozilla.org/widget/image-to-win32-hbitmap;1"
71 #define NS_IMAGE_TO_BITMAP_CLASSNAME "Image to bitmap converter"
NS_IMETHOD ConvertImageToBitmap(gfxImageSurface *aImage, HBITMAP &outBitmap)
struct HBITMAP__ * HBITMAP
NS_IMETHOD ConvertImageToCursor(gfxImageSurface *aImage, PRUint32 aHotspotX, PRUint32 aHotspotY, HCURSOR &outCursor)
NS_IMETHOD ConvertImageToIcon(gfxImageSurface *aImage, HICON &outIcon)
nsresult ImageToIcon(gfxImageSurface *aImage, PRBool aIcon, PRUint32 aHotspotX, PRUint32 aHotspotY, HICON &_retval)
NS_DECL_ISUPPORTS nsImageToBitmap()