Managing DDE Shares

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

    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.