(self)
return wp
Compatibility with ctypes.
        Allows passing transparently a Point object to an API call.
Compatibility with ctypes.
        Allows passing transparently a Point object to an API call.
Compatibility with ctypes . Allows passing transparently a Point object to an API call .
def _as_parameter_(self):
        """
        Compatibility with ctypes.
        Allows passing transparently a Point object to an API call.
        """
        wp                          = WINDOWPLACEMENT()
        wp.length                   = sizeof(wp)
        wp.flags                    = self.flags
        wp.showCmd                  = self.showCmd
        wp.ptMinPosition.x          = self.ptMinPosition.x
        wp.ptMinPosition.y          = self.ptMinPosition.y
        wp.ptMaxPosition.x          = self.ptMaxPosition.x
        wp.ptMaxPosition.y          = self.ptMaxPosition.y
        wp.rcNormalPosition.left    = self.rcNormalPosition.left
        wp.rcNormalPosition.top     = self.rcNormalPosition.top
        wp.rcNormalPosition.right   = self.rcNormalPosition.right
        wp.rcNormalPosition.bottom  = self.rcNormalPosition.bottom
        return wp
def _as_parameter_ ( self ) : wp = WINDOWPLACEMENT ( ) wp . length = sizeof ( wp ) wp . flags = self . flags wp . showCmd = self . showCmd wp . ptMinPosition . x = self . ptMinPosition . x wp . ptMinPosition . y = self . ptMinPosition . y wp . ptMaxPosition . x = self . ptMaxPosition . x wp . ptMaxPosition . y = self . ptMaxPosition . y wp . rcNormalPosition . left = self . rcNormalPosition . left wp . rcNormalPosition . top = self . rcNormalPosition . top wp . rcNormalPosition . right = self . rcNormalPosition . right wp . rcNormalPosition . bottom = self . rcNormalPosition . bottom return wp