[This is a preview of an interface that may appear in future releases of Windows.]
The GetClipboardSequenceNumber function returns the clipboard sequence number for the current window station.
DWORD GetClipboardSequenceNumber(VOID)
This function has no parameters.
The return value is the clipboard sequence number.
The system keeps a 32-bit serial number for the clipboard for each window station. This number is incremented whenever the contents of the clipboard change. You can track this value to determine whether the clipboard contents have changed and optimize creating DataObjects.