CGDIRgn::CGDIRgn

CGDIRgn::CGDIRgn(CGDIRgn&rhs, boolbTransferOwnership)

Copy constructor. Takes an existing CGDIRgn instance and copies its contents to the new instance being constructed. If the object being copied is the owner of the handle, ownership's transference is controlled by the parameter bTransferOwnership.

Defined in: GDIObjects.h

Parameters

rhs

Object to copy from.

bTransferOwnership

If true and the object reference by rhs has ownership of the handle it wraps, ownership is transferred to the new instance.