Partager via


GetNetworkInfoFromBlob

The GetNetworkInfoFromBlob function retrieves network information from a given BLOB.

DWORDGetNetworkInfoFromBlob(HBLOBhBlob,
LPNETWORKINFOlpNetworkInfo);

Parameters

  • hBlob
    [in] Handle to a BLOB.
  • lpNetworkInfo
    [in, out] A pointer to the user-allocated NETWORKINFO structure that is filled in.

Return Values

If the GetNetworkInfoFromBlob function is successful, the return value is NMERR_SUCCESS.

If the function is unsuccessful, the return value is a NMERR value that describes the error.

Remarks

The network information is stored in the BLOB NetworkInfo section of the BLOB NPP Owner category.

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

SetNetworkInfoInBlob, GetBoolFromBlob, GetClassIDFromBlob, GetDwordFromBlob, GetMacAddressFromBlob, GetNPPAddressFilterFromBlob, GetNPPPatternFilterFromBlob, GetNPPTriggerFromBlob, GetStringFromBlob, GetStringsFromBlob