SelectNPPBlobFromTable function
The SelectNPPBlobFromTable function selects a NIC from a supplied NPP BLOB table.
Syntax
DWORD SelectNPPBlobFromTable(
_In_ HWND hwnd,
_In_ PBLOB_TABLE pBlobTable,
_Out_ 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 value
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
Requirement | Value |
---|---|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
Minimum supported server |
Windows 2000 Server [desktop apps only] |
Header |
|
Library |
|
DLL |
|