Using Win32 functions in Visual FoxPro Image Gallery
GDI+ Bitmap
..msdn
GdipBitmapGetPixel
GdipBitmapSetPixel
GdipBitmapSetResolution
GdipCloneBitmapArea
GdipCreateBitmapFromGdiDib
GdipCreateBitmapFromGraphics
GdipCreateBitmapFromHBITMAP
GdipCreateBitmapFromHICON
GdipCreateHBITMAPFromBitmap
GdipCreateHICONFromBitmap
Code examples:
Custom GDI+ class
GdipCreateBitmapFromGdiDib
..msdn    Add comment     W32 Constants      Translate this page
Creates a Bitmap object based on a BITMAPINFO structure and an array of pixel data.
Code examples:
Custom GDI+ class
Declaration:
GpStatus WINGDIPAPI GdipCreateBitmapFromGdiDib(
    GDIPCONST BITMAPINFO* gdiBitmapInfo, 
    VOID* gdiBitmapData, 
    GpBitmap** bitmap
)

FoxPro declaration:
DECLARE INTEGER GdipCreateBitmapFromGdiDib IN gdiplus;
    INTEGER   gdiBitmapInfo,;
    INTEGER   gdiBitmapData,;
    INTEGER @ hBitmap

Parameters:
gdiBitmapInfo
[in] Pointer to a Microsoft Windows Graphics Device Interface (GDI)BITMAPINFO structure.

gdiBitmapData
[in] Pointer to an array of bytes that contains the pixel data.

bitmap
[out] Handle to the GDI+ bitmap object.
Return value:
Returns 0 on success or gpstatus value in case of an error.
Word Index links for the GdipCreateBitmapFromGdiDib :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2004-12-05 11:40:39
Modified: 2004-12-05 11:44:17
Visited in last 7 days: 25
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.37), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.224.197.86)
13 sec.Function: 'LPtoDP'
27 sec.Function: 'DrawDibDraw'
39 sec.Function: 'CreateMD5SSOHash'
50 sec.
Function group: 'Dynamic-Link Library'
1.05 min.Function: 'GetEnvironmentVariable'
1.23 min.Function: 'WNetConnectionDialog1'
1.43 min.Function: 'waveInStart'
1.62 min.Function: 'GetVersionEx'
1.77 min.Function: 'FrameRgn'
1.95 min.Function: 'DestroyIcon'
Google
Advertise here!