win32gui.RegisterWindowMessage

int = RegisterWindowMessage(name)

Defines a new window message that is guaranteed to be unique throughout the system. The message value can be used when sending or posting messages.

Parameters

name : string/unicode

The string