Share via


CreateHandoffTable

The CreateHandoffTable function creates a handoff table that includes the handoff set information stored in the INI file of the parser.

DWORD WINAPICreateHandoffTable(LPSTRsecName,
LPSTRiniFile,
LPHANDOFFTABLE*hTable,
DWORDnMaxProtocolEntries,
DWORDbase);

Parameters

  • secName
    [in] String that indicates the section of the INI file where the handoff set information is located.
  • iniFile
    [in] String that includes the name of the parser INI file.
  • hTable
    [out] Handle to a HANDOFFTABLE structure created and maintained by Network Monitor.
  • nMaxProtocolEntries
    [in] Number that specifies the maximum number of entries that the handoff table can process.
  • base
    [in] Numerical base of handoff set numbers stored in the INI file.

Return Values

If the function is successful, the return value is the number of entries in the handoff table.

If the function is unsuccessful, the return value is zero.

Remarks

The handoff table created by Network Monitor is based on information provided in the parser INI. The returned handle to the handoff table can then be used to obtain a handle to one of the protocols included in the table. To obtain a handle of one of these protocols, call GetProtocolFromTable.

Notice that the parser application never accesses the HANDOFFTABLE structure directly. This structure is created and maintained by Network Monitor.

Requirements

Client Requires Windows XP, Windows 2000 Professional, or Windows NT Workstation 4.0.
Server Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.
Header

Declared in Netmon.h.

Library

Link to Nmapi.lib.

DLL Requires Nmapi.dll.

See Also

GetProtocolFromTable, HANDOFFTABLE