Packet Sniffer SDK DLL Edition

HNAdapter :: Methods :: AdpCreate

 Previous Next

Creates an HNAdapter object.

Syntax:

HANDLE __stdcall AdpCreate();

Return values:

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

Description:

Creates an HNAdapter object, which is necessary for working with the network adapter.

HNAdapter object provides the traffic capturing and sending, the tracing of the network adapter status, and traffic statistics gathering.

See also:HNAdapter, AdpDestroy