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 NDdeShareEnumfunction. 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.