Platform SDK: Interprocess Communications

NDdeIsValidShareName

The NDdeIsValidShareName function determines whether a share name uses the proper syntax.

BOOL NDdeIsValidShareName(
  LPTSTR shareName   // share name
);

Parameters

shareName
[in] Pointer to a share name to validate. This parameter cannot be NULL.

Return Values

If the share name has valid syntax, the return value is nonzero.

If the share name does not have valid syntax, 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