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
Constants used by the Windows functions:
ConstantUseWLanguage functions
apiAnsiCharacterThe API parameter or the API return variable is an Ansi character.API description variable
apiAnsiStringThe API parameter or the API return variable is an Ansi string.API description variable
apiBooleanThe API parameter or the API return variable is a boolean.API description variable
apiBufferThe API parameter or the API return variable is a buffer.API description variable
apiCharacter
The API parameter or the API return variable is an Ansi character if the project is in Ansi mode, or a Unicode character if the project is in Unicode mode.
API description variable
apiFreeDLLIf the DLL was loaded to call the API, it will be unloaded. This constant is ignored if the DLL was already loaded during the call to the API.API description variable
apiInt_1The API parameter or the API return variable is a 1-byte integer.API description variable
apiInt_2The API parameter or the API return variable is a 2-byte integer.API description variable
apiInt_4The API parameter or the API return variable is a 4-byte integer.API description variable
apiInt_8The API parameter or the API return variable is a 8-byte integer.API description variable
apiLockThreads
  • Used to find out whether API or CallDLL32 locks the threads during its execution.
  • If this constant is used in the API Description variable, the call to the API locks all the current threads. This is used to protect the external DLL from the multi-thread calls.
APIParameter
API description variable
apiReal_4The API parameter or the API return variable is a 4-byte real.API description variable
apiReal_8The API parameter or the API return variable is an 8-byte real.API description variable
apiRestoreSystemSettings
  • Used to find out whether API or CallDLL32 restores the regional system settings (language, display of decimals, ...) after the execution of the Windows API.
  • If this constant is used in the API Description variable, the system parameters will be restored after the call to the API. Indeed, some APIs modify the system parameters.
APIParameter
API description variable
apiStringThe API parameter or the API return variable is a string.API description variable
apiSystemIntThe API parameter or the API return variable is a system integer.API description variable
apiUnicodeCharacterThe API parameter or the API return variable is a Unicode character.API description variable
apiUnicodeStringThe API parameter or the API return variable is a Unicode string.API description variable
apiUnsignedInt_1The API parameter or the API return variable is an unsigned 1-byte integer.API description variable
apiUnsignedInt_2The API parameter or the API return variable is an unsigned 2-byte integer.API description variable
apiUnsignedInt_4The API parameter or the API return variable is an unsigned 4-byte integer.API description variable
apiUnsignedInt_8The API parameter or the API return variable is an unsigned 8-byte integer.API description variable
CDECLConvention for calling an API: method used: CDECLAPI description variable
kpAltControl key used: AltKeyPressed
kpControlControl key used: CtrlKeyPressed
kpEscapeControl key used: ESCKeyPressed
kpLButtonControl key used: Left mouse buttonKeyPressed
kpRButtonControl key used: Right mouse buttonKeyPressed
kpShiftControl key used: UpdKeyPressed
shortcutDesktopCreates or deletes a shortcut on the Windows desktopCreateShortcut, DeleteShortCut
shortcutFindWindows8Shortcut created for the search in Windows 8 for all computer users. The shortcut is not found on the home screen.
If the system used is not Windows 8, the shortcut is created in the "Start .. Programs" menu of Windows for all computer users.
CreateShortcut, DeleteShortCut
shortcutFreeCreates or deletes a shortcut in the specified directoryCreateShortcut, DeleteShortCut
shortcutProgramCreates or deletes a shortcut in the "Start .. Programs" menu of WindowsCreateShortcut, DeleteShortCut
shortcutQuickLaunchCreates or deletes a shortcut in the quick launch bar (Windows 98 and later)CreateShortcut, DeleteShortCut
shortcutStartCreates or deletes a shortcut in the "Start" menu of Windows for all the users of the computer. CreateShortcut, DeleteShortCut
shortcutStartupCreates or deletes a shortcut in the "Start .. Programs .. Startup" menu of Windows for all the users of the computer. CreateShortcut, DeleteShortCut
shortcutUserDesktopCreates or deletes a shortcut on the Windows desktop for the current user of the computer. CreateShortcut, DeleteShortCut
shortcutUserProgramCreates or deletes a shortcut in the "Start .. Programs" menu of Windows for the current user of the computer. CreateShortcut, DeleteShortCut
shortcutUserStartCreates or deletes a shortcut in the "Start" menu of Windows for the current user of the computer. CreateShortcut, DeleteShortCut
shortcutUserStartupCreates or deletes a shortcut in the "Start .. Programs .. Startup" menu of Windows for the current user of the computer. CreateShortcut, DeleteShortCut
STDCALLConvention for calling an API: method used: STDCALLAPI description variable
swsIconicOpens the application window in minimized modeCreateShortcut
swsMaximizeOpens the application window in maximized modeCreateShortcut
swsNormalOpens the application window in standard modeCreateShortcut
THISCALLConvention for calling an API: method used: THISCALLAPI description variable
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help