Dll Parameter Settings - Symantec WISESCRIPT EDITOR 7.0 SP2 - FOR NS V1.0 Manual

Hide thumbs Also See for WISESCRIPT EDITOR 7.0 SP2 - FOR NS V1.0:
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.
WiseScript Editor Reference
Get Last Error Variable
When you call a Windows API function that uses the GetLastError() function to
report errors, select a variable to hold the return value of that function. Doing so
ensures that GetLastError() is called immediately following your function to prevent
problems that can occur when you debug the WiseScript.
Keep DLL loaded in memory after returning from function
By default, the Call DLL Function action loads a .DLL, calls a function in that .DLL,
and then unloads the .DLL. If you call many functions from a certain .DLL, then the
unload is unnecessary and can cause problems with certain .DLLs. To leave this .DLL
loaded, check this check box.
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.
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.
See also:
Passing Complex Structures to a .DLL: An Example
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
on page 42
40

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the WISESCRIPT EDITOR 7.0 SP2 - FOR NS V1.0 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents