ShellDDEInit function

Registers the Shell Dynamic Data Exchange (DDE) services in the current process, notifying the system that the current process wishes to host DDE objects.


void ShellDDEInit(
  _In_ BOOL init


init [in]

Type: BOOL

TRUE to register the current process as DDE host; FALSE to unregister it.

Return value

This function does not return a value.


The process that calls this function acts as the Shell and is used to view the content of folders opened with the ShellExecute 'open' verb.

This function does not have an associated header or library file so it must be called by ordinal value. Call LoadLibrary with the DLL name (Shdocvw.dll) to obtain a module handle. Then call GetProcAddress with that module handle and the function ordinal number 118 to get the address of the function.


Minimum supported client
Windows XP, Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Shdocvw.dll (version 6.0 or later)