win32clipboard.OpenClipboard
None = OpenClipboard(hWnd)
The OpenClipboard function opens the clipboard for examination and prevents other applications from modifying the clipboard content.
Parameters
Comments
OpenClipboard fails if another window has the clipboard open.An application should call the CloseClipboard function after every successful call to OpenClipboard.
The window identified by the hWnd parameter does not become the clipboard owner unless the EmptyClipboard function is called.
Win32 API References
Return Value
If the function succeeds, the return value is None.If the function fails, win32api.error is raised with the GetLastError info.