DrawPictureFrameInDIB(
LPBITMAPINFO:pbmi,
LPVOID:pBits,
LPRECT:prc,
int:iFrameSize,
int:iShadowSize
)
→ BOOL
The DrawPictureFrameInDIB function is used to draw a shadowed picture frame around an image. Use this in your viewer plugin to match the appearance of the internal Opus image viewer.
This function can only draw into a 24- or 32-bit DIB (device-independent bitmap.)