WiseScript Editor Reference 48
WiseScript Actions
To complete the dialog box
z Parameter Type
Check the table below for alternate names for data types.
Note
If you are using the Win16 SDK, use word instead of dword for parameters that
start with H or end with HANDLE.
z 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.
z 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,
WiseScript Corresponds to Win32
SDK type
Corresponds to
Visual Basic
type
Description
short SHORT Integer 16-bit, signed integer data type
word WORD Integer 16-bit, unsigned integer data type
long LONG, LRESULT, BOOL Long, Boolean 32-bit, signed integer data type
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.)
Long 32-bit, unsigned integer data type
string pointer Use for any parameter that
ends in STR such as LPSTR
and LPTSTR.
Long 32-bit pointer to an ANSI character
type null terminated string
short pointer Pointer to SHORT or SHORT*
(use for PSHORT or LPSHORT)
Long 32-bit pointer to a SHORT data type
(see SHORT for the reference to this
data type)
word pointer Pointer to WORD or WORD*
(use for PWORD or LPWORD)
Long 32-bit pointer to a WORD data type
(see WORD for the reference to this
data type)
long pointer Pointer to LONG or LONG*
(use for PLONG or LPLONG)
Long 32-bit pointer to a LONG data type
(see LONG for the reference to this
data type)
dword pointer Pointer to DWORD or
DWORD* (use for LPDWORD
or PDWORD)
Long 32-bit pointer to a DWORD data type
(see DWORD for the reference to this
data type)
string buffer char [size] String Use to place a character buffer of the
given size (number of characters)
into a structure. Use only with
structures.