CreateDibFromIcon

Create an SECDib object from an icon handle

Defined in: OdIcon.h

Syntax

BOOL CreateDibFromIcon( SECDib *pDib, HICON hIcon );

BOOL CreateDibFromIcon( SECDib *pDib, HICON hIcon, const COLORREF crFill );

Return Value

Non-zero if successful; otherwise zero.

Parameters

pDib

Pointer to structure into which new DIB will be copied.

hIcon

Icon handle.

crFill

Color to use for background of DIB.