Win32ApiSetDIBitsToDevice Method (IntPtr, Int32, Int32, UInt32, UInt32, Int32, Int32, UInt32, UInt32, IntPtr, Win32ApiBITMAPINFO, UInt32)
|
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntax[DllImportAttribute("gdi32")]
public static int SetDIBitsToDevice(
IntPtr hdc,
int XDest,
int YDest,
uint dwWidth,
uint dwHeight,
int XSrc,
int YSrc,
uint uStartScan,
uint cScanLines,
IntPtr lpvBits,
ref Win32ApiBITMAPINFO lpbmi,
uint fuColorUse
)
<DllImportAttribute("gdi32">]
Public Shared Function SetDIBitsToDevice (
hdc As IntPtr,
XDest As Integer,
YDest As Integer,
dwWidth As UInteger,
dwHeight As UInteger,
XSrc As Integer,
YSrc As Integer,
uStartScan As UInteger,
cScanLines As UInteger,
lpvBits As IntPtr,
ByRef lpbmi As Win32ApiBITMAPINFO,
fuColorUse As UInteger
) As Integer
public:
[DllImportAttribute(L"gdi32")]
static int SetDIBitsToDevice(
IntPtr hdc,
int XDest,
int YDest,
unsigned int dwWidth,
unsigned int dwHeight,
int XSrc,
int YSrc,
unsigned int uStartScan,
unsigned int cScanLines,
IntPtr lpvBits,
Win32ApiBITMAPINFO% lpbmi,
unsigned int fuColorUse
)
[<DllImportAttribute("gdi32")>]
static member SetDIBitsToDevice :
hdc : IntPtr *
XDest : int *
YDest : int *
dwWidth : uint32 *
dwHeight : uint32 *
XSrc : int *
YSrc : int *
uStartScan : uint32 *
cScanLines : uint32 *
lpvBits : IntPtr *
lpbmi : Win32ApiBITMAPINFO byref *
fuColorUse : uint32 -> int
OpenCvSharp.Win32Api.SetDIBitsToDevice = function(hdc, XDest, YDest, dwWidth, dwHeight, XSrc, YSrc, uStartScan, cScanLines, lpvBits, lpbmi, fuColorUse);
Parameters
- hdc
- Type: SystemIntPtr
- XDest
- Type: SystemInt32
- YDest
- Type: SystemInt32
- dwWidth
- Type: SystemUInt32
- dwHeight
- Type: SystemUInt32
- XSrc
- Type: SystemInt32
- YSrc
- Type: SystemInt32
- uStartScan
- Type: SystemUInt32
- cScanLines
- Type: SystemUInt32
- lpvBits
- Type: SystemIntPtr
- lpbmi
- Type: OpenCvSharpWin32ApiBITMAPINFO
- fuColorUse
- Type: SystemUInt32
Return Value
Type:
Int32
See Also