Example Code

function DestroyIpcSink(const IPC: PAnsiChar): BOOL; stdcall; // Arg1 specifies the uniquely named IPC sink in the calling process which was created with CreateIpcSink() // SwiPE internally destroys all remaining IPC sinks when the caller process terminates so there's no need to // explicitly do this unless you don't plan to use the sink for the lifetime of the process begin DestroyIpcSink('UNIQUE_IPC_NAME'); end;