Platform SDK: Interprocess Communications

NDdeIsValidAppTopicList

The NDdeIsValidAppTopicList function determines whether an application and topic string ("AppName|TopicName") uses the proper syntax.

BOOL NDdeIsValidAppTopicList(
  LPTSTR targetTopic     // application and topic string
);

Parameters

targetTopic
[in] Pointer to the application and topic string to validate. This parameter cannot be NULL.

Return Values

If the targetTopic parameter has valid syntax, the return value is nonzero.

If the function fails, the return value is zero.

Remarks

This function is also called by NDdeShareAdd when it creates the DDE share.

Requirements

  Windows NT/2000: Requires Windows NT 3.1 or later.
  Header: Declared in Nddeapi.h.
  Library: Use Nddeapi.lib.
  Unicode: Implemented as Unicode and ANSI versions on Windows NT/2000.

See Also

Network Dynamic Data Exchange Overview, Network DDE Functions, NDdeShareAdd