# IRsSysMessageReceiver Interface Reference

Inherits IUnknown.

List of all members.

## Public Member Functions
HRESULT | OnSysMessage (MSGID msgId, IRsUnknownMsg *pMsg)

## Detailed Description

Interface which must be implemented by package to receive system messages.
System messages are system-wide events which need to be processed by packages:
(e.g. new scene creation, finishing context load, etc...)

## Member Function Documentation

HRESULT IRsSysMessageReceiver::OnSysMessage | ( | MSGID | msgId,
|  | IRsUnknownMsg * | pMsg |
| ) |  |  |

System message handler

Parameters:

  | msgId | Message type identifier (See MSG_SYS_... GUIDS
  | pMsg | Message carrying additional information about system event