Index   Commented   Search   About

Managing DDE Shares

Network DDE provides functions that allow you to delete a share, get or set share information, or enumerate shares.

  • Deleting a DDE Share A server can remove a DDE share by using the NDdeShareDel function.

  • Getting and Setting DDE Share Information You can retrieve information about a DDE share by using the NDdeShareGetInfo function. You can also change information about the share by using the NDdeShareSetInfo function.

  • Enumerating DDE Shares You can enumerate the existing DDE shares for a computer by using the NDdeShareEnum function. You can enumerate the trusted DDE shares by using the NDdeTrustedShareEnum function.

You can enumerate the users connected to your DDE shares by using the NetSessionEnum function.

  • Changing the DDE Share Name To change the name of a DDE share, an application must delete the old share and create a new share.

pics/WIN3200000004.gif To change the share name

  1. Retrieve the share information using NDdeShareGetInfo.

  2. Remove the share using NDdeShareDel.

  3. Change the lpszShareName member of the NDDESHAREINFO structure returned by NDdeShareGetInfo.

  4. Pass the modified NDDESHAREINFO structure to NDdeShareAdd.

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

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

Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun