XTYP_REGISTER

3.1

#include <ddeml.h>

XTYP_REGISTER
hszBaseServName = hsz1; /* handle of base service-name string     */
hszInstServName = hsz2; /* handle of instance service-name string */

A DDE callback function receives this transaction type whenever a DDEML server application uses the DdeNameService function to register a service name or whenever a non-DDEML application that supports the System topic is started.

Parameters

hszBaseServName

Value of hsz1. Identifies the base service name being registered.

hszInstServName

Value of hsz2. Identifies the instance-specific service name being registered.

Return Value

This transaction does not return a value.

Comments

If the application specified the CBF_SKIP_REGISTRATIONS flag in the DdeInitialize function, this transaction is filtered.

An application cannot block this transaction type; the CBR_BLOCK return value is ignored.

An application should use the hszBaseServName parameter to add the service name to the list of servers available to the user. An application should use the hszInstServName parameter to identify which application instance has started.

See Also

DdeInitialize, DdeNameService