MagGetImageScalingCallback function (magnification.h)

Note  The MagGetImageScalingCallback function is deprecated in Windows 7 and later, and should not be used in new applications. There is no alternate functionality.
 

Retrieves the registered callback function that implements a custom transform for image scaling.

Syntax

MagImageScalingCallback MagGetImageScalingCallback(
  [in] HWND hwnd
);

Parameters

[in] hwnd

Type: HWND

The magnification window.

Return value

Type: MagImageScalingCallback

Returns the registered MagImageScalingCallback callback function, or NULL if no callback is registered.

Remarks

This function returns NULL if Windows Display Driver Model (WDDM) is not supported.

This function works only when Desktop Window Manager (DWM) is off.

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

MagImageScalingCallback

MagSetImageScalingCallback