From f6526a3d1ecf0976be241037f939b9229722cc15 Mon Sep 17 00:00:00 2001 From: anders_k Date: Mon, 16 Oct 2017 12:14:37 +0000 Subject: [PATCH] Fixed a broken MSDN link in the docs git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6932 212acab6-be3b-0410-9dea-997c60f758d6 --- Contrib/System/System.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Contrib/System/System.html b/Contrib/System/System.html index 47a065b1..c1cc16f4 100644 --- a/Contrib/System/System.html +++ b/Contrib/System/System.html @@ -381,7 +381,7 @@ DetailPrint $4

Callbacks

-

Callback functions are simply functions which are passed to a function and called back by it. They are frequently used to pass a possibly large set of data item by item. For example, EnumChildWindows uses a callback function. As NSIS functions are not quite regular functions, the System plug-in provides its own mechanism to support callback functions. It allows you to create callback functions and notifies you each time a callback function was called.

+

Callback functions are simply functions which are passed to a function and called back by it. They are frequently used to pass a possibly large set of data item by item. For example, EnumChildWindows uses a callback function. As NSIS functions are not quite regular functions, the System plug-in provides its own mechanism to support callback functions. It allows you to create callback functions and notifies you each time a callback function was called.

Creation of callback functions is done using Get and the callback creation syntax. As you will not call the callbacks yourself, the source of the parameters should be omitted using a dot. When the callback is called, the destination of the parameters will be filled with the values passed on to the callback. The value the callback will return is set by the source of the return "parameter". The destination of the return "parameter" should always be set as that's where System will notify you the callback was called.