Obtaining the Window Handle List
Function
This API is used to obtain the window handle list.
Function Prototype
getRenderWindowInfoList(onGetRenderWindowInfoListResult?: (ret: SDKERR, reason: string, hwndInfo: HwndListInfo) => void): voidgetRenderWindowInfoList(onGetRenderWindowInfoListResult?: (ret: SDKERR, reason: string, hwndInfo: HwndListInfo) => void): void
Request Parameters
Parameter | Mandatory | Type | Description |
---|---|---|---|
onGetRenderWindowInfoListResult | Yes | (ret: SDKERR, reason: string, hwndInfo: HwndListInfo) => void | Callback of the window handle list, which is returned for GetRenderWindowInfoList requests. |
Return Values
void
Callback Method Parameters
(ret: SDKERR, reason: string, hwndInfo: HwndListInfo) => void
Parameter | Type | Description |
---|---|---|
ret | For details about SDKERR, see Error Code Reference. | Error code. |
reason | string | Error description. |
hwndInfo | HwndListInfo | Window handle information. |
Parameter | Type | Description |
---|---|---|
hwndInfoList | HwndInfo | Video window handle list. |
hwndListLength | number | Number of window handles in the list. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot