38 #ifndef NSIIMAGETOBITMAP_H_
39 #define NSIIMAGETOBITMAP_H_
41 #include "nsISupports.h"
44 #define NSIIMAGETOBITMAP_IID \
45 { 0x337d3ffb, 0xf15f, 0x4df5, \
46 { 0x83, 0xe5, 0x4c, 0x7c, 0x3d, 0x59, 0x53, 0x92 } }
48 class gfxImageSurface;
NS_IMETHOD ConvertImageToBitmap(gfxImageSurface *aImage, HBITMAP &outBitmap)=0
NS_IMETHOD ConvertImageToIcon(gfxImageSurface *aImage, HICON &outIcon)=0
struct HBITMAP__ * HBITMAP
NS_IMETHOD ConvertImageToCursor(gfxImageSurface *aImage, PRUint32 aHotspotX, PRUint32 aHotspotY, HCURSOR &outCursor)=0
#define NSIIMAGETOBITMAP_IID