Dll Parameter Settings - Symantec WISESCRIPT PACKAGE EDITOR 8.0 - REFERENCE FOR WISE PACKAGE STUDIO V1.0 Reference

Table of Contents

Advertisement

DLL Parameter Settings

WiseScript
Corresponds to Win32
SDK type
short
SHORT
word
WORD
long
LONG, LRESULT, BOOL
dword
DWORD (Use this for any
parameter type that begins
with an "H" or ends with the
word "HANDLE," such as
HWND, HANDLE, HPEN,
HFONT, and LPHANDLE.)
string pointer
Use for any parameter that
ends in STR such as LPSTR
and LPTSTR.
short pointer
Pointer to SHORT or SHORT*
(use for PSHORT or LPSHORT)
word pointer
Pointer to WORD or WORD*
(use for PWORD or LPWORD)
long pointer
Pointer to LONG or LONG*
(use for PLONG or LPLONG)
WiseScript Package Editor Reference
Hide progress bar before calling function
If the .DLL has UI, you can us this to hide the progress bar.
If you write a .DLL, use CALLBACK or WINAPI in the declaration of the .DLL.
For help with .DLL development, review sample source code, such as GETCPU32.C, in
the DLL subdirectory of this product's installation directory. Also included is sample
source code for C and Delphi .DLLs written for WiseScript.
Calling Visual Basic ActiveX controls is not supported.
The sample scripts Application kill.wse, CheckDiskSpace.wse, Color.wse, and
Prompt.wse use this action. For details on sample scripts, see ScriptHelp.htm in the
Samples subdirectory of this product's installation directory.
The DLL Parameter Settings dialog box appears when you add a new parameter to a Call
DLL Function action. Add parameters in the order in which they appear in the .DLL's
function prototype.
To complete the dialog box
Parameter Type
Check the table below for alternate names for data types.
Corresponds to
Description
Visual Basic
type
Integer
16-bit, signed integer data type
Integer
16-bit, unsigned integer data type
Long, Boolean
32-bit, signed integer data type
Long
32-bit, unsigned integer data type
Long
32-bit pointer to an ANSI character
type null terminated string
Long
32-bit pointer to a SHORT data type
(see SHORT for the reference to this
data type)
Long
32-bit pointer to a WORD data type
(see WORD for the reference to this
data type)
Long
32-bit pointer to a LONG data type
(see LONG for the reference to this
data type)
WiseScript Actions
126

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Wisescript package editor 8.0

Table of Contents