# DdeConnect

```csharp
[DllImport("user32.dll", SetLastError = true)]
public static extern IntPtr DdeConnect(
   IntPtr idInst,
   IntPtr hszService,
   IntPtr hszTopic,
   IntPtr pCC
);
```

Microsoft documentation: [Link](https://learn.microsoft.com/en-us/windows/win32/api/ddeml/nf-ddeml-ddeconnect)
