Added System plug-in B and H types

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6954 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2017-11-30 21:38:49 +00:00
parent e3e6ee73bc
commit ebfe3bf6d2
4 changed files with 42 additions and 21 deletions

View file

@ -254,12 +254,20 @@ DetailPrint $4
<td>pointer (and other pointer sized types like handles and HWNDs)</td>
</tr>
<tr>
<th>b</th>
<td>int8, byte</td>
</tr>
<tr>
<th>h</th>
<td>int16, short</td>
</tr>
<tr>
<th>i</th>
<td>int (includes char, byte, short and so on)</td>
<td>int32 (includes char, byte, short and so on when used as a pointer)</td>
</tr>
<tr>
<th>l</th>
<td>large integer, int64</td>
<td>int64, large integer</td>
</tr>
<tr>
<th>m</th>
@ -299,22 +307,22 @@ DetailPrint $4
</tr>
<tr>
<th>&amp;t<i>N</i></th>
<td>array of <i>N</i> text characters TCHAR (structures only)</td>
<td>array of <i>N</i> TCHAR text characters (structures only)</td>
</tr>
<tr>
<th>&amp;m<i>N</i></th>
<td>array of <i>N</i> ANSI characters CHAR (structures only)</td>
<td>array of <i>N</i> CHAR ANSI characters (structures only)</td>
</tr>
<tr>
<th>&amp;w<i>N</i></th>
<td>array of <i>N</i> Unicode characters WCHAR (structures only)</td>
<td>array of <i>N</i> WCHAR Unicode characters (structures only)</td>
</tr>
<tr>
<th>&amp;g<i>N</i></th>
<td><i>N</i> bytes of GUID (structures only)</td>
<th>&amp;g<i>16</i></th>
<td><i>16</i> bytes of GUID (structures only)</td>
</tr>
</table>
<p>Additionally, each type can be prefixed with an asterisk to denote a pointer. When using an asterisk, the System plug-in still expects the value of the parameter, rather than the pointer's address. To pass a direct address, use `p' with no asterisk. A <a href="#pointer">usage example</a> is available. <a href="#memfuncs">Alloc</a> returns addresses and its return value should therefore be used with `p', without an asterisk.</p>
<p>Additionally, each type (except <i>b</i>, <i>h</i>, <i>k</i> and <i>@</i>) can be prefixed with an asterisk to denote a pointer. When using an asterisk, the System plug-in still expects the value of the parameter, rather than the pointer's address. To pass a direct address, use `p' with no asterisk. A <a href="#pointer">usage example</a> is available. <a href="#memfuncs">Alloc</a> returns addresses and its return value should therefore be used with `p', without an asterisk.</p>
</blockquote>
<h4>Available Sources and Destinations</h4>