Rediger

Del via


NDdeShareDel function

[Network DDE is no longer supported. Nddeapi.dll is present on Windows Vista, but all function calls return NDDE_NOT_IMPLEMENTED.]

Deletes a DDE share from the DDE share database manager (DSDM).

Syntax

UINT NDdeShareDel(
  _In_ LPTSTR lpszServer,
  _In_ LPTSTR lpszShareName,
  _In_ UINT   wReserved
);

Parameters

lpszServer [in]

The name of the server whose DSDM is to be modified.

lpszShareName [in]

The name of the share to be deleted from the DSDM. This parameter cannot be NULL.

wReserved [in]

Reserved. This parameter must be zero.

Return value

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

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Nddeapi.h
Library
Nddeapi.lib
DLL
Nddeapi.dll
Unicode and ANSI names
NDdeShareDelW (Unicode) and NDdeShareDelA (ANSI)

See also

Network Dynamic Data Exchange Overview

Network DDE Functions