Share via


SelectNPPBlobFromTable

The SelectNPPBlobFromTable function selects a NIC from a supplied NPP BLOB table.

DWORDSelectNPPBlobFromTable(HWNDhwnd,
PBLOB_TABLEpBlobTable,
HBLOB*hBlob);

Parameters

  • hwnd
    [in] Handle to the window that displays the Select a network dialog box.
  • pBlobTable
    [in] Pointer to the supplied BLOB table. Network Monitor uses this table to populate the Select a network dialog box.
  • hBlob
    [out] Handle to the BLOB that represents the selected NIC.

Return Values

If the function is successful and the user selects a NIC, the return value is NMERR_SUCCESS; the BLOB pointed to by hBlob is filled in.

If the user does not select a NIC, the return value is NMERR_NO_NPP_SELECTED.

If the function is unsuccessful, the return value is another NMERR value.

Remarks

When called, Network Monitor displays the Select a network dialog box, which you can use to select a NIC. The NPP BLOB that represents the selected NIC returns to the calling application.

To learn the various ways you can select NICs, see Selecting a Network Interface Card

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 Npptools.lib.

DLL Requires Npptools.dll.

See Also

GetNPPBlobFromUI, GetNPPBlobTable, Special BLOB Entries