MagGetWindowTransform function (magnification.h)

Retrieves the transformation matrix associated with a magnifier control.

Syntax

BOOL MagGetWindowTransform(
  [in]  HWND          hwnd,
  [out] PMAGTRANSFORM pTransform
);

Parameters

[in] hwnd

Type: HWND

The magnification window.

[out] pTransform

Type: PMAGTRANSFORM

The transformation matrix.

Return value

Type: BOOL

Returns TRUE if successful, or FALSE otherwise.

Remarks

The transformation matrix specifies the magnification factor that the magnifier control applies to the contents of the source rectangle.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header magnification.h
Library Magnification.lib
DLL Magnification.dll

See also

MagSetWindowTransform