70. Unregister All (Command)
Unregister all event notification Request (Pascal STDCALL)
procedure UnregisterAllCallback; stdcall;
Answer1. Function call returns HResult (see 2.2.2 Result Code List )
Page 61 of 64
S_PN_RESULT_PID_BASE 0x02000000 Stack Successful
E_PN_RESULT_CODE_BASE 0x81000000 Successful
E_PN_RESULT_PID_BASE 0x82000000 Stack Error
S_PID002A_RESULT_SUCCESS S_PN_RESULT_PID_BASE + 0x00002A00 Command Successful E_PID002A_RESULT_FAILURE E_PN_RESULT_PID_BASE + 0x00002A00 Command Error
E_PID002A_INVALID_COMMAND E_PID002A_RESULT_FAILURE + 0x01
Command not supported by driver
E_PID002A_ALREADY_CONNECTED E_PID002A_RESULT_FAILURE + 0x08
Selected account is already connected
E_PID002A_INVALID_PANEL_ID E_PID002A_RESULT_FAILURE + 0x0C
Selected panel ID does not exists
E_PID002A_INVALID_ACCOUNT_NOT
_CONNECTED E_PID002A_RESULT_FAILURE + 0x0E
Cannot execute the selected command. (Please connect the account or wait connection completes, see:
RegisterConnectionStatusChan gedCallback )
E_PID002A_INVALID_COMMAND_NOT
_SUPPORTED E_PID002A_RESULT_FAILURE + 0x0F
Command not supported by the connected control panel E_PID002A_SESSION_TIMEOUT E_PID002A_RESULT_FAILURE + 0x10
Session expires due to inactivity timeout
E_PID002A_INVALID_DATETIME_FOR MAT
E_PID002A_INVALID_DATETIME_FORMA T + 0x11
Unable to update the control panel date and time (invalid date time format
E_PID002A_SMS_CALLBACK_CONNE
CTION_SUCCESS S_PID002A_RESULT_SUCCESS +0x03
Paradox driver has accepted the PCS incoming connection
E_PID002A_INVALID_XML_FORMAT E_PID002A_RESULT_FAILURE + 0x28 The XML format is invalid E_PID002A_INVALID_COM_PORT E_PID002A_RESULT_FAILURE + 0x29 The COM port is invalid E_PID002A_INVALID_BAUD_RATE E_PID002A_RESULT_FAILURE + 0x2A The baud rate is invalid E_PID002A_INVALID_IP_ADDRESS E_PID002A_RESULT_FAILURE + 0x2B The IP address is invalid E_PID002A_INVALID_IP_PORT E_PID002A_RESULT_FAILURE + 0x2C The IP port is invalid E_PID002A_INVALID_SITE_ID E_PID002A_RESULT_FAILURE + 0x2D
The SiteID does not exist in ParadoxMyHome E_PID002A_INVALID_IP_PASSWORD E_PID002A_RESULT_FAILURE + 0x2E The IP password is invalid E_PID002A_INVALID_COM_TYPE E_PID002A_RESULT_FAILURE + 0x2F
The communication type is invalid
E_PID002A_INVALID_USERCODE E_PID002A_RESULT_FAILURE + 0x30
The user code does not exist in the control panel
E_PID002A_INVALID_USER_RIGHTS E_PID002A_RESULT_FAILURE + 0x31
You do not have sufficient rights to perform this action; contact your system master
E_PID002A_COMMAND_TIMEOUT E_PID002A_RESULT_FAILURE + 0x32
The command timed out, no valid answer received
E_PID002A_PANEL_NOT_FOUND E_PID002A_RESULT_FAILURE + 0x33
Panel does not exist or is disconnected
E_PID002A_TASK_CANCELLED E_PID002A_RESULT_FAILURE + 0x34
The current task has been cancelled
Page 62 of 64 E_PID002A_INVALID_RECEIVER_NO E_PID002A_RESULT_FAILURE + 0x36 The receiver # does not exist E_PID002A_INVALID_AREA_NO E_PID002A_RESULT_FAILURE + 0x37 The area # does not exist E_PID002A_INVALID_ZONE_NO E_PID002A_RESULT_FAILURE + 0x38 The zone # does not exist E_PID002A_INVALID_PGM_NO E_PID002A_RESULT_FAILURE + 0x39 The pgm # does not exist E_PID002A_INVALID_DOOR_NO E_PID002A_RESULT_FAILURE + 0x3A The door # does not exist E_PID002A_INVALID_USER_NO E_PID002A_RESULT_FAILURE + 0x3B The user # does not exist E_PID002A_INVALID_ACCOUNT_NO E_PID002A_RESULT_FAILURE + 0x3C The account # does not exist E_PID002A_INVALID_SCHEDULE_NO E_PID002A_RESULT_FAILURE + 0x3D The schedule # does not exist E_PID002A_INVALID_ACCESS_LEVEL
_NO E_PID002A_RESULT_FAILURE + 0x3E
The access level # does not exist E_PID002A_PMH_ERROR_PANEL_NO
T_FOUND E_PID002A_RESULT_FAILURE + 0x3F The panel serial # is notregistered to ParadoxMyHome E_PID002A_PMH_ERROR_NO_MODU
LE E_PID002A_RESULT_FAILURE + 0x40
The selected panel serial # does not include any module registered to ParadoxMyHome E_PID002A_PMH_ERROR_NO_ANSW
ER_TIMEOUT E_PID002A_RESULT_FAILURE + 0x41
The command timed out, no valid answer received from
ParadoxMyHome E_PID002A_NO_VIDEO_FILE E_PID002A_RESULT_FAILURE + 0x42
No video file found for selected event
E_PID002A_INVALID_VIDEO_FOLDER E_PID002A_RESULT_FAILURE + 0x43
The selected video folder is invalid
S_IP100_RESULT_SUCCESS 0x03000000 IP Module Successful
E_IP100_RESULT_FAILURE 0x83000000 IP Module Error
E_IP100_WEB_PAGE_IN_USE E_IP100_RESULT_FAILURE + 0x02
Failed to connect; IP Module web page currently in used (please try later)
E_IP100_BAD_USERNAME E_IP100_RESULT_FAILURE + 0x03
Failed to connect; IP Module user name entered is invalid E_IP100_BAD_PASSWORD E_IP100_RESULT_FAILURE + 0x04
Failed to connect; IP Module password entered is invalid
E_IP100_NEWARE_IN_USE E_IP100_RESULT_FAILURE + 0x05
Failed to connect; NEware/Winload is currently connected (please try later)
S_PID0004_RESULT S_PN_RESULT_PID_BASE + 0x00000400 Winload Protocol Successful E_PID0004_ERROR E_PN_RESULT_PID_BASE + 0x00000400 Winload Protocol Error E_PID0004_ERROR_AUTHFAIL_PCPS
WD E_PID0004_ERROR + 0x03
Failed to connect; User Code/Password entered is invalid E_PID0004_ERROR_AUTHFAIL_PNLID E_PID0004_ERROR + 0x04
Failed to connect; Panel ID entered is invalid E_PID0004_ERROR_AUTHFAIL_USRID E_PID0004_ERROR + 0x05
Failed to connect; User Code entered is invalid
E_PID0004_ERROR_AUTHFAIL_PNLR
EPORTING E_PID0004_ERROR + 0x06
Failed to connect; Control panel is currently reporting to the central station
(please try later) E_PID0004_ERROR_PARTITIONINLOC
KOUT E_PID0004_ERROR + 0x0A
Failed to connect; Control panel is in partition lockout (please try later)
Page 63 of 64 E_PID0004_ERROR_PANELWILLDISC
ONNECT E_PID0004_ERROR + 0x0B
Failed to connect; Control panel cannot connect for the moment (please try later)
E_PID0004_ERROR_PANELNOTCONN
ECTED E_PID0004_ERROR + 0x0C
Unable to execute command; Control panel is not connected E_PID0004_ERROR_PANELALREADY
CONNECTED E_PID0004_ERROR + 0x0D
Failed to connect; Control panel is already connected E_PID0004_ERROR_SOFTWAREOVER
MODEM E_PID0004_ERROR + 0x0E
Failed to connect; Another software is currently connected over the phone (please try later)
S_PN_RESULT_CHANNEL_BASE 0x05000000 Channel Successful
E_PN_RESULT_CHANNEL_BASE 0x85000000 Channel Error
S_PN_RESULT_CHANNEL_SOCKET S_PN_RESULT_CHANNEL_BASE + 0x00000200 Socket Successful E_PN_RESULT_CHANNEL_SOCKET E_PN_RESULT_CHANNEL_BASE + 0x00000200 Socket Error E_PN_CHNL_SOCKET_INVALID_ADD RESS E_PN_RESULT_CHANNEL_SOCKET + 0x01 Failed to connect;
Invalid control panel IP Address
E_PN_CHNL_SOCKET_HOST_UNREA CHABLE
E_PN_RESULT_CHANNEL_SOCKET + 0x02
Failed to connect;
Unable to connect to destination IP address (Host is unreachable, please verify control panel network settings) E_PN_CHNL_CONNECT_FAILED E_PN_RESULT_CHANNEL_BASE + 0x01
Failed to connect; Unable to connect socket
Video on demand Video on demand
E_VIDEO_ RESULT_SUCCESS S_PID002A_RESULT_SUCCESS Video Successful
E_VIDEO_ RESULT_FAILURE 0x80000000 Video Error
E_VIDEO_ ERROR_LOGIN_REFUSED E_VIDEO_ RESULT_FAILURE +0x00 Login refused, unknown error E_VIDEO_
ERROR_LOGIN_INVALID_DEVELOPER_KEY
E_VIDEO_ RESULT_FAILURE + 0x01
Login refused, invalid developer key E_VIDEO_ ERROR_LOGIN_INVALID_SERVER_PASSWOR D E_VIDEO_ RESULT_FAILURE + 0x02
Login refused, invalid server password
E_VIDEO_
ERROR_LOGIN_CONTROLPANEL_DOWN
E_VIDEO_ RESULT_FAILURE + 0x03
Login refused, control panel link is down
E_VIDEO_
ERROR_LOGIN_INVALID_USERCODE
E_VIDEO_ RESULT_FAILURE + 0x04
Login refused, invalid user code
E_VIDEO_ ERROR_ LOGIN_ALREADY_IN
E_VIDEO_ RESULT_FAILURE + 0x05
Login refused, user already logged in
E_VIDEO_ ERROR_
LOGIN_TOO_MANY_ATTEMPTS
E_VIDEO_ RESULT_FAILURE + 0x07
Login refused, too many connections for this user code E_VIDEO_ ERROR_
LOGIN_PRIVACY_MODE_ACTIVE
E_VIDEO_ RESULT_FAILURE + 0x08
Login refused, privacy mode active
E_VIDEO_ ERROR_REQUEST_MALFORMED
E_VIDEO_ RESULT_FAILURE + 0x40000
Request failed, request malformed
E_VIDEO_ ERROR_INVALID_SESSION_KEY
E_VIDEO_ RESULT_FAILURE + 0x40001
Request failed, invalid session key
E_VIDEO_ ERROR_INVALID_ACTION
E_VIDEO_ RESULT_FAILURE + 0x40002
Request failed, invalid action id E_VIDEO_
ERROR_INSUFFICIENT_USER_RIGHTS
E_VIDEO_ RESULT_FAILURE + 0x40003
Request failed, insufficient user rights
Page 64 of 64 0x40004 E_VIDEO_ ERROR_DOWNLOAD_REQUEST_MALFORMED E_VIDEO_ RESULT_FAILURE + 0x60000
Item download failed, request malformed
E_VIDEO_
ERROR_DOWNLOAD_INVALID_SESSION_KEY
E_VIDEO_ RESULT_FAILURE + 0x60001
Item download failed,invalid session key
E_VIDEO_ ERROR_DOWNLOAD_ INSUFFICIENT_USER_RIGHTS
E_VIDEO_ RESULT_FAILURE + 0x60002
Item download failed, insufficient user rights
E_VIDEO_
ERROR_DOWNLOAD_INVALID_ITEM_ID
E_VIDEO_ RESULT_FAILURE + 0x60003
Item download failed, invalid item id
E_VIDEO_
ERROR_DOWNLOAD_UNAVAILABLE
E_VIDEO_ RESULT_FAILURE + 0x60004
Item download failed, item is not downloadable
E_VIDEO_ ERROR_PLAY_ REQUEST_MALFORMED
E_VIDEO_ RESULT_FAILURE + 0x70000
Item play failed, request malformed
E_VIDEO_
ERROR_PLAY_INVALID_SESSION_KEY
E_VIDEO_ RESULT_FAILURE + 0x70001
Item play failed,invalid session key
E_VIDEO_ ERROR_PLAY_ INSUFFICIENT_USER_RIGHTS
E_VIDEO_ RESULT_FAILURE + 0x70002
Item play failed, insufficient user rights
E_VIDEO_ ERROR_PLAY_INVALID_ITEM_ID
E_VIDEO_ RESULT_FAILURE + 0x70003
Item play failed, invalid item id
E_VIDEO_ ERROR_PLAY_INVALID_ACTION_ID
E_VIDEO_ RESULT_FAILURE + 0x70004
Item play failed, invalid action id E_VIDEO_
ERROR_PLAY_AUTHENTIFICATION_FAILED
E_VIDEO_ RESULT_FAILURE + 0x70008
Item play failed, authentication failed
E_VIDEO_ ERROR_PLAY_FILE_NOT_FOUND
E_VIDEO_ RESULT_FAILURE + 0x70009
Item play failed, file not found E_VIDEO_
ERROR_LOGOUT_REQUEST_MALFORMED
E_VIDEO_ RESULT_FAILURE + 0x120000
Logout failed, request malformed E_VIDEO_
ERROR_LOGOUT_INVALID_SESSION_KEY
E_VIDEO_ RESULT_FAILURE + 0x120001
Logout failed, invalid session key E_VIDEO_ ERROR_LOGOUT_
CONTROLPANEL_DOWN
E_VIDEO_ RESULT_FAILURE + 0x120002
System logout failed, CP link is down, Server logout succeeded E_VIDEO_ ERROR_INVALID_IP_ADDRESS
E_VIDEO_ RESULT_FAILURE + 0xFF001
The IP address of the selected module is invalid E_VIDEO_ ERROR_LOGIN_TIMEOUT_NO_ANSWER_FRO M_MODULE E_VIDEO_ RESULT_FAILURE + 0xFF006
Login timeout, no valid answer received from module E_VIDEO_
ERROR_LOGIN_INVALID_DATA_FROM_MODU LE
E_VIDEO_ RESULT_FAILURE + 0xFF007
Login error, data received from module is invalid E_VIDEO_ ERROR_LOGOUT_TIMEOUT_NO_ANSWER_FR OM_MODULE E_VIDEO_ RESULT_FAILURE + 0xFF008
Logout timeout, no valid answer received from module E_VIDEO_
ERROR_LOGOUT_INVALID_DATA_FROM_MOD ULE
E_VIDEO_ RESULT_FAILURE + 0xFF009
Logout error, data received from module is invalid