Symantec WISESCRIPT PACKAGE EDITOR 7.0 SP2 - FOR WISE INSTALLATION STUDIO V1.0 Installation Manual page 129

Hide thumbs Also See for WISESCRIPT PACKAGE EDITOR 7.0 SP2 - FOR WISE INSTALLATION STUDIO V1.0:
Table of Contents

Advertisement

WiseScript
Corresponds to Win32
SDK type
dword pointer
Pointer to DWORD or
DWORD* (use for LPDWORD
or PDWORD)
string buffer
char [size]
WiseScript Package Editor Reference
Corresponds to
Visual Basic
type
Long
String
Note
If you are using the Win16 SDK, use word instead of dword for parameters that
start with H or end with HANDLE.
Buffer Length
If you set Parameter Type to string buffer, then this field is enabled. Enter the
number of string buffer characters. The limit is 446.
Passing type
Leave this set to Normal unless you are passing a complex structure to the .DLL. In
that case, select First element of structure for the first element in the structure,
and select Contained within structure for all subsequent elements of the
structure. You do not pass the structure name, just the elements inside it.
See
Passing Complex Structures to a .DLL: An Example
Value Source
Select the type of value to be passed: Variable (pass by reference), constant (pass
by value), constant with null value, or constant with window handle (pointing to the
installation window).
Variable Name
If Value Source is set to Variable, select or enter a variable.
Constant Value
If Value Source is set to Constant, enter a constant here. You can enter a variable
here (example: %NUMUSERS%).
Note
WiseScript Package Editor maintains backward compatibility with .DLLs written
specifically for the API available in previous versions so that you can continue to use
older scripts with the new WiseScript Package Editor. Because future versions of
WiseScript Package Editor might not support this API, it is not documented here. For
new installations, write standard .DLLs and specify their parameters as explained
above.
Compile both 16-bit and 32-bit functions using the large memory model, or
explicitly declare all pointers to the structure as far. WiseScript reserves 5 KB of
stack space for 16-bit .DLL functions you call, and 100 KB of stack space for 32-bit
.DLL functions you call. You must free any memory allocated by your .DLL routines.
WiseScript Actions
Description
32-bit pointer to a DWORD data type
(see DWORD for the reference to this
data type)
Use to place a character buffer of the
given size (number of characters)
into a structure. Use only with
structures.
on page 50
50

Advertisement

Table of Contents
loading

This manual is also suitable for:

Wisescript package editor 7.0 sp2

Table of Contents