The NDdeShareGetInfo function is called to retrieve DDE share information from the DSDM. This is usually done for editing.
UINT NDdeShareGetInfo(
LPTSTR lpszServer, // server to execute on
LPTSTR lpszShareName, // name of share
UINT nLevel, // info level must be 2
LPBYTE lpBuffer, // contains (NDDESHAREINFO) + data
DWORD cBufSize, // size of buffer
LPDWORD lpnTotalAvailable, // number of bytes available
LPWORD lpnItems // item mask for partial getinfo
);
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. If the lpBuffer parameter is NULL, it returns NDDE_BUF_TOO_SMALL.
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.
Network Dynamic Data Exchange Overview, Network DDE Functions, NDDESHAREINFO, NDdeShareSetInfo