KasperskyOS Community Edition 1.1
Contents
Contents
KnNoticeSubscribeToObject()
This function is declared in the file coresrv/handle/notice_api.h
.
Retcode KnNoticeSubscribeToObject(Notice notice,
Handle object,
rtl_uint32_t evMask,
rtl_uintptr_t evId);
This function adds a "resource–event mask" entry to the notice
notification receiver so that it can receive notifications about events that occur with the object
resource and match the event mask evMask
.
Input parameter evId
defines the entry ID that is assigned by the user and is used to identify the entry in received notifications.
If successful, the function returns rcOk, otherwise it returns an error code.
For a usage example, see KnHandleCreateUserObject()
.