共用方式為


CBitmap::GetBitmap

Retrieves image properties for the attached bitmap.

int GetBitmap(
   BITMAP* pBitMap
);

Parameters

  • pBitMap
    Pointer to a BITMAP Structure structure that will receive the image properties. This parameter must not be NULL.

Return Value

Nonzero if the method was successful; otherwise 0.

Requirements

Header: afxwin.h

See Also

Reference

CBitmap Class

Hierarchy Chart

BITMAP Structure