Platform SDK: Interprocess Communications |
The NDdeShareSetInfo function sets DDE share information. This is usually done after editing.
UINT NDdeShareSetInfo( LPTSTR lpszServer, // server name LPTSTR lpszShareName, // share name UINT nLevel, // information level LPBYTE lpBuffer, // share information buffer DWORD cBufSize, // size of buffer WORD sParmNum // parameter index );
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.
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.
Network Dynamic Data Exchange Overview, Network DDE Functions, NDDESHAREINFO, NDdeShareGetInfo