|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| No
| Win32s
| Yes
| Import Library
| nddeapi.lib
| Header File
| nddeapi.h
| Unicode
| WinNT
| Platform Notes
| None
|
|
|
NDdeTrustedShareEnum
The NDdeTrustedShareEnumfunction lists the names of all network DDE shares that are trusted in the
context of the calling process.
UINT NDdeTrustedShareEnum(
LPTSTR lpszServer,
| // server to execute on
| UINT nLevel,
| // must be 0
| LPBYTE lpBuffer,
| // pointer to buffer
| DWORD cBufSize,
| // size of buffer
| LPDWORD lpnEntriesRead,
| // number of names returned
| LPDWORD lpcbTotalAvailable
| // number of bytes available
| );
|
|
Parameters
lpszServer
Address of the server name on which the DSDM resides.
nLevel
Must be 0.
lpBuffer
Address of a buffer supplied to accept the list of trusted DDE shares. The
list of trusted DDE shares is returned as a sequence of null-separated strings
terminating with a double null at the end. This parameter can be NULL. If the lpBuffer is NULL, the DSDM returns the size of buffer required to hold the list of
shares in the lpcbTotalAvailable field.
cBufSize
Specifies the size of the supplied buffer addressed by lpBuffer. This parameter must be 0 if lpBuffer is NULL.
lpnEntriesRead
Address of a variable to receive the total number of trusted shares being
enumerated. This parameter must not be NULL.
lpcbTotalAvailable
Address of a variable to receive the total number of bytes needed in the
buffer to store the list of trusted DDE shares. This parameter must not be NULL.
Return Values
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.
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|