GetCommandDDEOrigin

Description

When called by the DDE server application, obtains the application name parameter used by the DDE client sending the command.

Syntax

GetCommandDDEOrigin ( applstring )

Returns

Integer. Returns 1 if it succeeds and -1 if an error occurs (such as the function was called in the wrong context). If applstring is null, GetCommandDDEOrigin returns null.