The DdeUninitialize function frees all Dynamic Data Exchange Management Library (DDEML) resources associated with the calling application.
BOOL DdeUninitialize(
  DWORD idInst   // instance identifier
);
 If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
DdeUninitialize terminates any conversations currently open for the application.
  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in ddeml.h.
  Import Library: Use user32.lib.
Dynamic Data Exchange Management Library Overview, Dynamic Data Exchange Management Functions, DdeDisconnect, DdeDisconnectList, DdeInitialize