NET_DVR_MatrixSceneControl

Control scene switch.

API Definition

BOOL NET_DVR_MatrixSceneControl(
  LONG   lUserID,
  DWORD  dwSceneNum,
  DWORD  dwCmd,
  DWORD  dwCmdParam
)

Parameters

lUserID

[IN] User ID, which is returned by NET_DVR_Login_V40.

dwSceneNum

[IN] Scene No., which can be got from the capability set.

dwCmd

[IN] Command type: 1-scene switch, 2-initializing the scene (clear the current configuration), 3-force to swich scene, 4-save the scene.

dwCmdParam

[IN] Command parameter, reserved.

Return Value

Return TRUE for success and FALSE for failure. If FALSE is returned, you can call NET_DVR_GetLastError to get the error code.