Partial implementation for the following DDE APIs: