Skip to content

NET_SDK_ApiInterface

Interface Definition

1
2
3
4
5
6
7
BOOL NET_SDK_ApiInterface(
    LONG lUserID,
    char* sendXML,
    char* strUrl,
    LPVOID lpOutBuffer,
    DWORD dwOutBufferSize,
    LPDWORD lpBytesReturned);
1
2
3
4
5
6
7
public static extern Boolean NET_SDK_ApiInterface(
    Int32 lUserID,
    string sendXML,
    string strUrl,
    IntPtr lpOutBuffer,
    UInt32 dwOutBufferSize,
    ref int lpBytesReturned);

Function Description

API protocol transparent transmission interface (supports public network).

Parameter Description

Parameters Type Remark
lUserIDin LONG User ID, the return value of NET_SDK_Login or NET_SDK_LoginEx.
sendXMLin char* The XML content in the API protocol.
strUrlin char* URL field of the API protocol. (Does not include IP and port. For example, the original API protocol is http://[:port]/PtzStopCruise[/channelId], and here the URL is PtzStopCruise/channelId).
lpOutBufferout LPVOID Receive data buffer pointer.
dwOutBufferSizein DWORD The size of the receive data buffer pointer.
lpBytesReturnedout LPDWORD The actual size of the returned data.

Return Value

  • type:BOOL

  • remark:Returns TRUE if successful, FALSE if failed.

Remarks

None

Error Code