Export (0) Print
Expand All

_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.

Important note Important

This class and its members cannot be used in applications that execute in the Windows Runtime.

class _U_RECT

Name

Description

_U_RECT::_U_RECT

The constructor.

Name

Description

_U_RECT::m_lpRect

Pointer to a 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

Show:
© 2014 Microsoft