Skip to content

Latest commit

 

History

History
131 lines (80 loc) · 2.95 KB

nddesharesetinfo.md

File metadata and controls

131 lines (80 loc) · 2.95 KB
description ms.assetid title ms.topic ms.date topic_type api_name api_type api_location
Sets DDE share information. This is usually done after editing.
002c73ce-7b35-4e8e-bb7e-0e1393b97ccc
NDdeShareSetInfo function (Nddeapi.h)
reference
05/31/2018
APIRef
kbSyntax
NDdeShareSetInfo
NDdeShareSetInfoA
NDdeShareSetInfoW
DllExport
Nddeapi.dll

NDdeShareSetInfo function

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

Sets DDE share information. This is usually done after editing.

Syntax

UINT NDdeShareSetInfo(
  _In_ LPTSTR lpszServer,
  _In_ LPTSTR lpszShareName,
  _In_ UINT   nLevel,
  _In_ LPBYTE lpBuffer,
  _In_ DWORD  cBufSize,
  _In_ WORD   sParmNum
);

Parameters

lpszServer [in]

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

lpszShareName [in]

The name of the share name whose information is to be modified. This parameter cannot be NULL.

nLevel [in]

The information level. This parameter must be 2.

lpBuffer [in]

A pointer to the NDDESHAREINFO structure that specifies the DDE share information to be stored in the DSDM. Currently the DDE share information is modified as a whole, that is, no partial edits are made. This parameter cannot be NULL.

cBufSize [in]

The size of the lpBuffer buffer, in bytes.

sParmNum [in]

The parameter index to be modified. The current implementation does not support partial modification; therefore, 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.

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
NDdeShareSetInfoW (Unicode) and NDdeShareSetInfoA (ANSI)

See also

Network Dynamic Data Exchange Overview

Network DDE Functions

NDDESHAREINFO

NDdeShareGetInfo