Packet Sniffer SDK DLL Edition

HNLBAdapter :: Methods :: LbAdpCreate

 Previous Next

Creates an HNLBAdapter object.

Syntax:

HANDLE __stdcall LbAdpCreate();

Return values:

If the function succeeds, the return value will be the handle of the HNLBAdapter object. Otherwise the return value will be NULL. The one only reason for unsuccessful HNLBAdapter object creation can be a lack of memory.

Description:

Use LbAdpCreate to create an HNLBAdapter object, which is necessary for working with the TCP and UDP traffic, in which localhost participates.

Also HNLBAdapter object provides the information about local processes participating in such traffic.

See also:HNLBAdapter, LbAdpDestroy