DLN_NOTIFICATION

Notification settings are passed to DlnRegisterNotification() function and DLN_REGISTER_NOTIFICATION_CMD command as DLN_NOTIFICATION structure:

 typedef struct _DLN_NOTIFICATION
 {
         uint16_t type.
         union
         {
             PDLN_CALLBACK callback;
 #ifdef WIN32
             HANDLE event;
             struct
             {
                 HWND handle;
                 UINT message;
             } windowMessage;
             struct
             {
                 DWORD thread;
                 UINT message;
             } threadMessage;
 #endif // WIN32
 #ifdef DLN_QT_INTERFACE
             struct
             {
                 const QObject* receiver;
                 const char* method;

             } qtSignal;
 #endif //  DLN_QT_INTERFACE
             uint8_t reserved[64];
         };

 } __PACKED_ATTR DLN_NOTIFICATION;