Unicode Controls & Classes for VB6 - Version 4

clsCommonWrapper.GetBmpInfo Method

Utility function, returns information for a certain image handle

Syntax
Public Sub GetBmpInfo (ByVal hBmp As Long, _
ByRef retWidth As Long, _
ByRef retHeight As Long, _
ByRef retBpp As eBppType, _
ByRef retScan As Long)
Parameters
Parameter Description
ByVal hBmp As Long The source bitmap to check (can be a BITMAP object or a DIB SECTION object)
ByRef retWidth As Long (OUT) The width of the bitmap
ByRef retHeight As Long (OUT) The height of the bitmap
ByRef retBpp As eBppType (OUT) The resolution of the bitmap
ByRef retScan As Long (OUT) the scan width of the bitmap (the number of bytes used for a row of bitmap data)
Remarks