PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
UPNPExecuteAction (Function)
In French: UPNPExécuteAction
Runs an action on the UPnP service.
Example
SWITCH TableCount(TABLE_ParamIN)
CASE 0
arrResult = UPNPExecuteAction(myService, EDT_Action)
IF ErrorOccurred THEN
Info(ErrorInfo(errFullDetails))
RETURN
END
CASE 1
arrResult = UPNPExecuteAction(myService, EDT_Action, ...
TABLE_ParamIN[1].COL_Param)
IF ErrorOccurred THEN
Info(ErrorInfo(errFullDetails))
RETURN
END
CASE 2
arrResult = UPNPExecuteAction(myService, EDT_Action, ...
TABLE_ParamIN[1].COL_Param, ...
TABLE_ParamIN[2].COL_Param)
IF ErrorOccurred THEN
Info(ErrorInfo(errFullDetails))
RETURN
END
OTHER CASE
Info("Not supported")
RETURN
END
Syntax
<Result> = UPNPExecuteAction(<Service> , <Action>  [ , <Parameter 1> [ , <Parameter 2> [ , ... ]]])
<Result>: Array of character strings
Name of Array of Strings variable containing the result of the UPnP action run.
<Service>: upnpService variable
Name of upnpService variable corresponding to the service on which the action will be performed.
<Action>: Character string (with quotes)
Action to call on the service.
<Parameter 1>: Expected type of value (optional)
First parameter to pass to the UPnP service.
<Parameter 2>: Expected type of value (optional)
Second parameter to pass to the UPnP service.
Remarks
If the action is not run, the ErrorOccurred variable is set to True and ErrorInfo returns the error details.
Components
WINDEV wd230device.dll
Minimum required version
  • Version 19
This page is also available for…
Comments
Click [Add] to post a comment