NDdeIsValidShareName

The NDdeIsValidShareName function is called to check a share name for proper syntax.

BOOL NDdeIsValidShareName(
  LPTSTR shareName   // points to share name to validate
);
 

Parameters

shareName
Address of a share name to validate. This parameter must not 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.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in nddeapi.h.
  Import Library: Use nddeapi.lib.
  Unicode: Implemented as Unicode and ANSI versions on Windows NT.

See also

Network Dynamic Data Exchange Overview, Network DDE Functions, NDdeShareAdd