###User Defined Function###
_WinAPI_RegisterWindowMessage

###Description###
Defines a new window message that is guaranteed to be unique throughout the system

###Syntax###
#include <WinAPI.au3>
_WinAPI_RegisterWindowMessage ( $sMessage )


###Parameters###
@@ParamTable@@
$sMessage
	String that specifies the message to be registered
@@End@@

###ReturnValue###
@@ReturnTable@@
Success:	A message identifier in the range 0xC000 through 0xFFFF
Failure:	0, call <a href="_WinAPI_GetLastError.htm">_WinAPI_GetLastError()</a> to get extended error information
@@End@@


###Remarks###
The RegisterWindowMessage function is used to register messages for communicating between two cooperating
applications. If two different applications register the same message string, the applications return the same
message value. The message remains registered until the session ends.


###Related###


###See Also###
@@MsdnLink@@ RegisterWindowMessage
