Share via


CImage::GetDC

Retrieves the device context that currently has the image selected into it.

HDC GetDC( ) const throw( );

Return Value

A handle to a device context.

Remarks

For each call to GetDC, you must have a subsequent call to ReleaseDC.

Requirements

Header: atlimage.h

See Also

Reference

CImage Class

CImage::GetBits

CImage::GetBPP

Other Resources

CImage Members