ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Miscellaneous Windows functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Miscellaneous Windows functions
The miscellaneous Windows functions are as follows:
APIRuns a function found in an external DLL.
APIConfigureModifies the options for calling API and CallDLL32.
BitcoinValidAddressChecks whether a Bitcoin wallet address is valid.
CallDLL32Runs a function found in an external DLL.
CallInterfaceRuns a method of an interface of an object implemented in a DLL external to the WINDEV framework.
COMCallMethodRuns a method of an interface of a COM object instantiated by COMCreateInstance.
COMCreateInstanceInstantiates a COM object (Component Object Model).
COMQueryInterfaceCalls the QueryInterface method of the specified COM object to get a specific interface of this object so that it can be used with COMCallMethod.
CreateShortcutCreates a shortcut on the Windows desktop, in the "Start" menu of Windows or in a specific directory.
DeleteShortcutDeletes a shortcut previously created by CreateShortcut from the Windows desktop, from the "Start" menu of Windows or from a specific directory.
FreeDLLFrees the 32-bit library (DLL) that was loaded in memory by LoadDLL.
HiWordReturns the two high bytes of an integer.
IBANValidChecks the validity of an International Bank Acount Number (IBAN).
IconInstallCreates an icon (associated with a program) in a group of Windows programs, with the associated command line.
InstanceReturns the "system handle" (HINSTANCE) of the current program.
KeyPressedChecks which key is pressed.
LoadDLLLoads the specified library (DLL) in memory.
LoWordReturns the two low bytes of an integer.
MakeIntegerBuilds a 4-byte integer from two 2-byte integers.
OpenSSLCheckChecks, via a public key, that the signature of data performed with the OpenSSL library is correct.
PingChecks whether a network address can be reached by using the ICMP protocol (similar to the PING network utility).
sComputeCrc16Checks a character string before and after transmission between WINDEV applications and WEBDEVsites.
sComputeCrc32Calculates the Cyclical Redundancy Check (CRC) of buffer.
SendKeySimulates the keystrokes and the mouse actions.
TransferCopies a block of bytes or a fixed-length string from a memory address into another one.
WindowsVersionReturns the runtime mode of Windows.

You also have the ability to use the following types of variables:
API descriptionAn API Description variable is used to describe an API, its parameters, its return value and its calling options by programming.
Related Examples:
Strings with APIs Unit examples (WINDEV): Strings with APIs
[ + ] Using strings with APIs.
The following functions are used:
- StringRetrieve
- Transfer
WD SystemAPIs Training (WINDEV): WD SystemAPIs
[ + ] This example presents the use of the Windows APIs. Several WLanguage functions are used to perform the following operations:

- Hide the system buttons of an MDI child window
- Enumerate the opened windows
- Retrieve/Modify the time of a double click
- Retrieve the idle time on the computer
- Empty the recycle bin (by using or not an "API descriptor" variable)
- Change the screen background
- Modify the caret (input cursor) of an edit control
- Share a directory
- Delete a share

These functions use the Windows APIs. See the help window for more details.
WD Screen Saver Training (WINDEV): WD Screen Saver
[ + ] This example illustrates the creation of a screen saver with the WLanguage functions.
The following topics are presented in this example:
1/ the periodic call to a procedure ("timers")
2/ the management of Windows events
3/ the system functions (call to Windows APIs)
To use the screen saver:
- Rename the executable (.EXE) to.SCR
- Copy the file to the directory of Windows (Ex: C:\WINDOWS)
- Open the window for the display properties of the desktop
- Choose the "Screen Saver" tab
- Select the screen saver generated by WINDEV
WD DirectX Training (WINDEV): WD DirectX
[ + ] DirectX is a set of libraries (or APIs) intended for programming multimedia applications.
This example includes an internal component allowing you to use DirectX 9.0 in your WINDEV applications.
All the APIs and interfaces of DirectX 9 have been implemented.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/22/2023

Send a report | Local help