Platform SDK: Interprocess Communications |
The NDdeTrustedShareEnum function retrieves the names of all network DDE shares that are trusted in the context of the calling process.
UINT NDdeTrustedShareEnum( LPTSTR lpszServer, // server name UINT nLevel, // information level LPBYTE lpBuffer, // buffer DWORD cBufSize, // size of buffer LPDWORD lpnEntriesRead, // number of names returned LPDWORD lpcbTotalAvailable // number of bytes available );
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/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