Packet Sniffer SDK DLL Edition

HNFileAdapter :: Properties :: FAdpGetAutoMode

 Previous Next

Return HNFileAdapter object automatic mode flag status.

Syntax:

BOOL __stdcall FAdpGetAutoMode(HANDLE hAdp);

Parameters:

hAdp

[in] HNFileAdapter object handle.

Return values:

If the function succeeds, the return value is the status of FileAdapter automatic mode flag. Default value is FALSE.

Description:

Use FAdpGetAutoMode to get status of the flag that defines if HNFileAdapter is working in the automatic mode.

Automatic mode of the HNFileAdapter object sets its working in the context of its internal thread. For read/write operations in the automatic mode please use FAdpOpenFile/FAdpCreateFile respectively.

To change AutoMode flag status please use FAdpSetAutoMode function.

To work with HNFileAdapter in AutoMode you should use HNQueue together with it (see HNFileAdapter.Queue property [Get/Set]).
See also:HNFileAdapter, FAdpOpenFile, FAdpCreateFile, HNQueue, FAdpGetQueue, FAdpSetQueue, FAdpSetAutoMode