unregister_message

Синтаксис

native unregister_message(iMsgId, registeredmsg);

Употреба

iMsgId
Message id
registeredmsg
Registered message id

Описание

Unregisters a message hook previously created with register_message().

Забележка

You must pass the proper message id and return value from the
message to unregister the message successfully.

Връщаща стойност

Id that can again be passed to register_message() on
success, or 0 if an invalid message id is passed

Грешка

If an invalid registered message handle is passed, an
error will be thrown.