NET_DVR_GetSTDAbility

Get the device capabilities.

API Definition

BOOL NET_DVR_GetSTDAbility(
  LONG                     lUserID,
  DWORD                    dwAbilityType,
  NET_DVR_STD_ABILITY      lpAbilityParam
);

Parameters

lUserID

[IN] Value returned by NET_DVR_Login_V40.

dwAbilityType

[IN] Capability types, which are different according to different functions.

lpAbilityParam

[IN/OUT] Capability details, including condition parameter, input parameter, output parameter, and so on (see details in the structure NET_DVR_STD_ABILITY), which are different according to different capability types.

Return Values

Returns TRUE for success, and returns FALSE for failure.

If FALSE is returned, you can call NET_DVR_GetLastError to get the error code.