This function closes the clipboard, allowing other applications to open it with the WinOpenClipbrd function.
#define INCL_WINCLIPBOARD /* Or use INCL_WIN, INCL_PM, */ #include <os2.h> HAB hab; /* Anchor-block handle. */ BOOL rc; /* Success indicator. */ rc = WinCloseClipbrd(hab);