Platform SDK: Interprocess Communications

NDdeShareDel

The NDdeShareDel function deletes a DDE share from the DDE share database manager (DSDM).

UINT NDdeShareDel(
  LPTSTR lpszServer,     // server name
  LPTSTR lpszShareName,  // share name
  UINT wReserved         // reserved; must be zero
);

Parameters

lpszServer
[in] Pointer to a string that specifies the name of the server whose DSDM is to be modified.
lpszShareName
[in] Pointer to a string that specifies the name of the share to be deleted from the DSDM. This parameter cannot be NULL.
wReserved
[in] This parameter must be zero.

Return Values

If the function succeeds, the return value is NDDE_NO_ERROR.

If the function fails, the return value is an error code which can be translated into a text error message by calling NDdeGetErrorString.

Remarks

To delete a DDE share from the DSDM, you must have the appropriate privilege. The share creator has delete privilege.

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