DLN_NOTIFICATION_TYPE_EVENT_OBJECT (0x02)

The library uses an event object to notify the application. Specify valid handle to the event object in event member of the DLN_NOTIFICATION structure. As there is no possibility to pass parameters, handle to the device that generated the event is not sent. Specify HDLN_ALL_DEVICES (0) constant as the device handle when you call the DlnGetMessage() function.