NET_DVR_SDKChannelToISAPI

Convert channel No. between the private protocol and a text protocol.

API Definition

BOOL NET_DVR_SDKChannelToISAPI(  
  LONG    lUserID, 
  LONG    lInChannel,
  BOOL    bSDKToISAPI
);

Parameters

lUserID

[IN] Value returned by NET_DVR_Login_V40.

lInChannel

[IN] Channel No.

bSDKToISAPI

[OUT] Channel No. conversion type: "TRUE"-convert channel No. of private protocol to that of text protocol, "FALSE"-convert channel No. of text protocol to that of private protocol.

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.