_U_RECT Class
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

_U_RECT Class 

This argument adapter class allows either RECT pointers or references to be passed to a function that is implemented in terms of pointers.

class _U_RECT

The class defines two constructor overloads: one accepts a RECT& argument and the other accepts an LPRECT argument. The first constructor stores the address of the reference argument in the class's single data member, m_lpRect. The argument to the pointer constructor is stored directly without conversion.

Header: atlwin.h

© 2015 Microsoft