PM_DataSourceConstructURL

Note: This page includes content based on the F1 documentation for Centura development. It may be partially converted to support APF development, but should be regarded to be of uncertain actuality. It is provided as is. Eventually, it should be replaced by documentation available from within Visual Studio.

Const.PM_DataSourceConstructURL

Application or the framework sends this message to an object to get an URL representation of the current object and state. The framework will use this message in the AddToFavorites method where the user in a later time should be able to navigate back to the current window.

Parameters

Name Description
nWhat = wParam Standard method parameter. Possible values are Const.METHOD_Inquire, Const.METHOD_Execute
lParam Unused

Returns

For Const.METHOD_Execute the return value is a HString pointer / SalString to the formatted URL where the string is STRING_Null if an error occured.

For Const.METHOD_Inquire the return value is TRUE or FALSE depending on if the DataSource supports this message and if it's currently available.