CCM_GETVERSION message

Gets the version number for a control set by the most recent CCM_SETVERSION message.

Parameters

wParam

Must be zero.

lParam

Must be zero.

Return value

Returns the version number set by the most recent CCM_SETVERSION message. If no such message has been sent, it returns zero.

Remarks

This message does not return the DLL version. See Shell Versions for a discussion of how to use DllGetVersion to retrieve the current DLL version.

Note

The version number is set on a control by control basis, and may not be the same for all controls.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h