VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Creates a bitmap type Picture object from a bitmap and palette

Waty Thierry  (60 Submissions)   Graphics   Visual Basic 4.0 (32-bit)   Unknown Difficulty   Tue 30th March 1999   Mon 8th February 2021

Creates a bitmap type Picture object from a bitmap and palette

API Declarations


' * Programmer Name : Waty Thierry
' * Web Site : www.geocities.com/ResearchTriangle/6311/
' * E-Mail : [email protected]
' * Date : 13/10/98
' * Time : 09:18
' * Module Name : Capture_Module
' * Module Filename : Capture.bas
' **********************************************************************
' * Comments : Creates a bitmap type Picture object from a bitmap
' * and palette
' **********************************************************************

Option Explicit

Private Type GUID
Data1 As Long
Data2 As Integer
Data3 As Integer
Data4(7) As Byte
End Type

Private Type PicBmp
Size As Long
nType As Long
hBmp As Long
hPal As Long
Reserved As Long
End Type

Private Declare Function OleCreatePictureIndirect Lib "olepro32.dll" (PicDesc As PicBmp, RefIID As GUID, ByVal fPictureOwnsHandle As Long, ipic As IPicture) As Long


Rate Creates a bitmap type Picture object from a bitmap and palette (1(1 Vote))
Creates a bitmap type Picture object from a bitmap and palette.bas

Creates a bitmap type Picture object from a bitmap and palette Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters