3rd Party Application Requirements
17
Building Technologies
048_DMS_DMS8000_Generic_DVR_Integration_Guide_MP4.50_A6V10331273_a_en
Fire Safety & Security Products
06.2012
WM_SIZE
WM_MOVE
WM_CLOSE
Refer to 3.2.3 at p.18 for links to the Windows development library.
3.2
Reference tables
3.2.1
Timeouts
Description timeout
Value (sec)
Meaning
Timeout to create the process.
3
Timeout expired waiting for idle input for the new created
process.
Timeout to search application’s
main window.
5
The timeout expires when the main window is not found
(for the Application=%s identified by the ProcessId=xx and
the ThreadId=xx) within the maximum delay from activa-
tion. In this case, the external application cannot be con-
trolled.
Timeout to close the application.
5
The timeout expires when the application does not termi-
nate within the maximum delay from the closing com-
mand. In this case, the external application is forced to
terminate.
When a timeout expires, a specific event log is added to Windows Event Viewer
with event source = GenericDVRViewer.
3.2.2
Event Logs
When Message
Parameters
Type
Process created
Process created with command line ss
ss: string (command parame-
ters in command line).
Information
Main window not
found
Main window not found for Applica-
tion=ss ProcessId=xx ThreadId=xx
after the timeout tt msec. The external
application cannot be controlled.
ss = Application Name
xx = Process & thread ID
tt = Timeout
Warning
Process closing
(custom message)
Error detected sending message to the
external application. Handle=hh
hh = windows ID
Warning
Process closing
(standard message)
Error detected sending WM_CLOSE
message to the external application.
Handle=hh
hh = windows ID
Warning
Closing timeout ex-
pired
Closing timeout expired. The external
application will be forced to terminate.
Warning
Application’s main
window detected
The external application main window
is: Hwnd=hh ProcessId=xx
ThreadId=xx
Detected by the Class cc
hh = Windows ID
xx = Process & thread ID
cc = Windows Class name
Information
Application’s main
windows detected
The external application main window
is: Hwnd=hh ProcessId=xx
ThreadId=xx
Detected by the Title tt
hh = Windows ID
xx = Process & thread ID
cc = Windows Title
Information
Summary of Contents for MM8000
Page 23: ......