Sidebar

Using Directory Opus
Configuration
Programming
Reference Section
reference:plugins:plugin_sdk:utility_functions:setdibitstodevicewrapper

SetDIBitsToDeviceWrapper(
     HDC:hdc,
     int:xDest,
     int:yDest,
     DWORD:w,
     DWORD:h,
     int:xSrc,
     int:ySrc,
     UINT:StartScan,
     UINT:cLines,
     CONST VOID*:lpvBits,
     CONST BITMAPINFO*:lpbmi,
     UINT:ColorUse
)
→ int

Arguments

hdc

[in]

xDest

[in]

yDest

[in]

w

[in]

h

[in]

xSrc

[in]

ySrc

[in]

StartScan

[in]

cLines

[in]

lpvBits

[in]

lpbmi

[in]

ColorUse

[in]

Description

The SetDIBitsToDeviceWrapper function is a wrapper for the Windows SetDIBitsToDevice function. If it is not available, the helper class calls SetDIBitsToDevice directly.

See the Windows API documentation for SetDIBitsToDevice for details of the parameters and return value.