Skip to content

Latest commit

 

History

History
44 lines (27 loc) · 1.13 KB

File metadata and controls

44 lines (27 loc) · 1.13 KB

Home

Function name : GetClipboardSequenceNumber

Group: Clipboard - Library: user32


Retrieves the clipboard sequence number for the current window station.


Declaration:

DWORD WINAPI GetClipboardSequenceNumber(void);  

FoxPro declaration:

DECLARE INTEGER GetClipboardSequenceNumber IN user32  

Parameters:

This function has no parameters.


Return value:

The return value is the clipboard sequence number. If you do not have WINSTA_ACCESSCLIPBOARD access to the window station, the function returns zero.


Comments:

This number is incremented whenever the contents of the clipboard change or the clipboard is emptied.

The system keeps a serial number for the clipboard for each window station.

A copy-paste adds as many increments as the number of data formats placed on the clipboard.