The Get Datasource HWND command is sent to the analyzer to get the handles for all datasources launched by the analyzer for a session. This command does not need to be explicitly issued: If this command has not been issued after the analyzer is started, it will automatically be called for any command that requires it. The command format is:
“Get Datasource HWND”
Response: “GET DATASOURCE HWND;<status>[;HWND list][;Reason=<reason>]” where a reason will only be supplied for FAILED status and HWND list will only be supplied for SUCCEEDED status.
HWND list will be a comma-delimited list of HWND values for each datasource in order of datasource ID in the format of “HWND<id>=<hwnd>” where “id” is the datasource ID and “hwnd” is the hexadecimal representation of the datasource main window HWND.