NDdeShareDel

The NDdeShareDel function is called to delete a DDE share from the DSDM.

UINT NDdeShareDel(
  LPTSTR lpszServer,     // server to execute on
  LPTSTR lpszShareName,  // name of share to delete
  UINT wReserved         // must be 0
);
 

Parameters

lpszServer
Address of the server name on which the DSDM will be modified.
lpszShareName
Address of the share name that is to be deleted from the DSDM. This parameter must not be NULL.
wReserved
This parameter must be 0.

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.

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